/** * @see org.opencms.workplace.list.A_CmsListDialog#displayDialog() */ @Override public void displayDialog() throws JspException, IOException, ServletException { getList().setShowTitle(false); super.displayDialog(); }
/** * Returns the resource name of the selected resource.<p> * * @return the resource name of the selected resource or null if no resource was selected */ public String getSelectedResourceName() { String resParam = getJsp().getRequest().getParameter(getListId() + LIST_RACTION_SEL); if (CmsStringUtil.isNotEmpty(resParam)) { CmsListItem item = getList().getItem(resParam); return (String)item.get(LIST_COLUMN_NAME); } return null; }
/** * Returns the resource name of the selected resource.<p> * * @return the resource name of the selected resource or null if no resource was selected */ public String getSelectedResourceName() { String resParam = getJsp().getRequest().getParameter(getListId() + LIST_RACTION_SEL); if (CmsStringUtil.isNotEmpty(resParam)) { CmsListItem item = getList().getItem(resParam); return (String)item.get(LIST_COLUMN_NAME); } return null; }
/** * @see org.opencms.workplace.list.A_CmsListDialog#displayDialog() */ @Override public void displayDialog() throws JspException, IOException, ServletException { getList().setShowTitle(false); super.displayDialog(); }
/** * Creates a new select resource list ordered and searchable by name.<p> * * @param jsp an initialized JSP action element * @param listId the id of the displayed list * @param listName the name of the list */ protected A_CmsSelectResourceList(CmsJspActionElement jsp, String listId, CmsMessageContainer listName) { super(jsp, listId, listName); // hide print button getList().getMetadata().getIndependentAction(CmsListPrintIAction.LIST_ACTION_ID).setVisible(false); // suppress the box around the list getList().setBoxed(false); }
/** * Creates a new select resource list ordered and searchable by name.<p> * * @param jsp an initialized JSP action element * @param listId the id of the displayed list * @param listName the name of the list */ protected A_CmsSelectResourceList(CmsJspActionElement jsp, String listId, CmsMessageContainer listName) { super(jsp, listId, listName); // hide print button getList().getMetadata().getIndependentAction(CmsListPrintIAction.LIST_ACTION_ID).setVisible(false); // suppress the box around the list getList().setBoxed(false); }
/** * Default constructor.<p> * * @param jsp an initialized JSP action element * @param listId the id of the displayed list * @param listName the name of the list * @param sortedColId the a priory sorted column * @param sortOrder the order of the sorted column * @param searchableColId the column to search into */ protected A_CmsSelectResourceList( CmsJspActionElement jsp, String listId, CmsMessageContainer listName, String sortedColId, CmsListOrderEnum sortOrder, String searchableColId) { super(jsp, listId, listName, sortedColId, sortOrder, searchableColId); // hide print button getList().getMetadata().getIndependentAction(CmsListPrintIAction.LIST_ACTION_ID).setVisible(false); // suppress the box around the list getList().setBoxed(false); }
/** * Default constructor.<p> * * @param jsp an initialized JSP action element * @param listId the id of the displayed list * @param listName the name of the list * @param sortedColId the a priory sorted column * @param sortOrder the order of the sorted column * @param searchableColId the column to search into */ protected A_CmsSelectResourceList( CmsJspActionElement jsp, String listId, CmsMessageContainer listName, String sortedColId, CmsListOrderEnum sortOrder, String searchableColId) { super(jsp, listId, listName, sortedColId, sortOrder, searchableColId); // hide print button getList().getMetadata().getIndependentAction(CmsListPrintIAction.LIST_ACTION_ID).setVisible(false); // suppress the box around the list getList().setBoxed(false); }