/** * @see org.opencms.workplace.list.A_CmsListDialog#executeListIndepActions() */ @Override public void executeListIndepActions() { if (LIST_IACTION_USERS.equals(getParamListAction())) { getList().getMetadata().getIndependentAction(LIST_IACTION_USERS).setVisible(false); getList().getMetadata().getIndependentAction(LIST_IACTION_GROUPS).setVisible(true); } else if (LIST_IACTION_GROUPS.equals(getParamListAction())) { getList().getMetadata().getIndependentAction(LIST_IACTION_USERS).setVisible(true); getList().getMetadata().getIndependentAction(LIST_IACTION_GROUPS).setVisible(false); } super.executeListIndepActions(); }
/** * @see org.opencms.workplace.list.A_CmsListDialog#executeListIndepActions() */ @Override public void executeListIndepActions() { if (LIST_IACTION_USERS.equals(getParamListAction())) { getList().getMetadata().getIndependentAction(LIST_IACTION_USERS).setVisible(false); getList().getMetadata().getIndependentAction(LIST_IACTION_GROUPS).setVisible(true); } else if (LIST_IACTION_GROUPS.equals(getParamListAction())) { getList().getMetadata().getIndependentAction(LIST_IACTION_USERS).setVisible(true); getList().getMetadata().getIndependentAction(LIST_IACTION_GROUPS).setVisible(false); } super.executeListIndepActions(); }
/** * 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); }
/** * Public constructor.<p> * * @param jsp an initialized JSP action element */ public CmsShowOrgUnitResourceList(CmsJspActionElement jsp) { super(jsp, LIST_ID, Messages.get().container(Messages.GUI_ORGUNIT_RESOURCES_LIST_NAME_0)); List<CmsResource> resourceList; try { resourceList = OpenCms.getOrgUnitManager().getResourcesForOrganizationalUnit(getCms(), getParamOufqn()); } catch (CmsException e) { resourceList = new ArrayList<CmsResource>(); } Collections.sort(resourceList); m_collector = new CmsShowOrgUnitResourcesCollector(this, resourceList); getList().getMetadata().getIndependentAction(CmsListIndependentAction.ACTION_EXPLORER_SWITCH_ID).setVisible( false); }
/** * Public constructor with JSP action element.<p> * * @param jsp an initialized JSP action element * @param resourcename the name of the resource to display deleted entries for * @param readTree display deleted resources for the subtree */ public CmsDeletedResourcesList(CmsJspActionElement jsp, String resourcename, boolean readTree) { super( jsp, LIST_ID, Messages.get().container(Messages.GUI_DELETED_RESOURCES_LIST_NAME_0), null, CmsListOrderEnum.ORDER_ASCENDING, null); // set the style to show common workplace dialog layout setParamStyle(""); // prevent paging, usually there are only few model files getList().setMaxItemsPerPage(Integer.MAX_VALUE); // hide print button getList().getMetadata().getIndependentAction(CmsListPrintIAction.LIST_ACTION_ID).setVisible(false); // suppress the box around the list getList().setBoxed(false); // hide title of the list //getList().setShowTitle(false); m_readTree = readTree; m_resourcename = resourcename; }
/** * Public 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 */ public A_CmsListResourceTypeDialog( CmsJspActionElement jsp, String listId, CmsMessageContainer listName, String sortedColId, CmsListOrderEnum sortOrder, String searchableColId) { super(jsp, listId, listName, sortedColId, sortOrder, searchableColId); // set the style to show common workplace dialog layout setParamStyle(""); // prevent paging, usually there are only few model files getList().setMaxItemsPerPage(Integer.MAX_VALUE); // hide print button getList().getMetadata().getIndependentAction(CmsListPrintIAction.LIST_ACTION_ID).setVisible(false); // suppress the box around the list getList().setBoxed(false); // hide title of the list getList().setShowTitle(false); }
/** * Public 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 */ public A_CmsListResourceTypeDialog( CmsJspActionElement jsp, String listId, CmsMessageContainer listName, String sortedColId, CmsListOrderEnum sortOrder, String searchableColId) { super(jsp, listId, listName, sortedColId, sortOrder, searchableColId); // set the style to show common workplace dialog layout setParamStyle(""); // prevent paging, usually there are only few model files getList().setMaxItemsPerPage(Integer.MAX_VALUE); // hide print button getList().getMetadata().getIndependentAction(CmsListPrintIAction.LIST_ACTION_ID).setVisible(false); // suppress the box around the list getList().setBoxed(false); // hide title of the list getList().setShowTitle(false); }
/** * Public constructor with JSP action element.<p> * * @param jsp an initialized JSP action element * @param resourcename the name of the resource to display deleted entries for * @param readTree display deleted resources for the subtree */ public CmsDeletedResourcesList(CmsJspActionElement jsp, String resourcename, boolean readTree) { super( jsp, LIST_ID, Messages.get().container(Messages.GUI_DELETED_RESOURCES_LIST_NAME_0), null, CmsListOrderEnum.ORDER_ASCENDING, null); // set the style to show common workplace dialog layout setParamStyle(""); // prevent paging, usually there are only few model files getList().setMaxItemsPerPage(Integer.MAX_VALUE); // hide print button getList().getMetadata().getIndependentAction(CmsListPrintIAction.LIST_ACTION_ID).setVisible(false); // suppress the box around the list getList().setBoxed(false); // hide title of the list //getList().setShowTitle(false); m_readTree = readTree; m_resourcename = resourcename; }
getMetadata().getSearchAction().getShowAllAction().setVisible(showAll); if (!m_metadata.isSelfManaged()) { if (CmsStringUtil.isEmptyOrWhitespaceOnly(searchFilter)) {
getMetadata().getSearchAction().getShowAllAction().setVisible(showAll); if (!m_metadata.isSelfManaged()) { if (CmsStringUtil.isEmptyOrWhitespaceOnly(searchFilter)) {