/** * @see org.opencms.workplace.list.A_CmsListDialog#actionDialog() */ @Override public void actionDialog() throws JspException, ServletException, IOException { updateGroupList(); super.actionDialog(); }
/** * Performs the dialog actions depending on the initialized action and displays the dialog form if needed.<p> * * @param writeLater if <code>true</code> no output is written, * you have to call manually the <code>{@link #defaultActionHtml()}</code> method. * * @throws JspException if dialog actions fail * @throws IOException if writing to the JSP out fails, or in case of errors forwarding to the required result page * @throws ServletException in case of errors forwarding to the required result page */ public void displayDialog(boolean writeLater) throws JspException, IOException, ServletException { actionDialog(); if (writeLater) { return; } writeDialog(); }
/** * Performs the dialog actions depending on the initialized action and displays the dialog form if needed.<p> * * @param writeLater if <code>true</code> no output is written, * you have to call manually the <code>{@link #defaultActionHtml()}</code> method. * * @throws JspException if dialog actions fail * @throws IOException if writing to the JSP out fails, or in case of errors forwarding to the required result page * @throws ServletException in case of errors forwarding to the required result page */ public void displayDialog(boolean writeLater) throws JspException, IOException, ServletException { actionDialog(); if (writeLater) { return; } writeDialog(); }
/** * Display method for two list dialogs, executes actions, but only displays if needed.<p> * * @param writeLater if <code>true</code> no output is written, * you have to call manually the <code>{@link #defaultActionHtml()}</code> method. * * @throws JspException if dialog actions fail * @throws IOException if writing to the JSP out fails, or in case of errros forwarding to the required result page * @throws ServletException in case of errros forwarding to the required result page */ public void displayDialog(boolean writeLater) throws JspException, IOException, ServletException { // perform the active list actions m_activeWp.actionDialog(); if (m_activeWp.isForwarded()) { return; } Iterator<A_CmsListDialog> i = m_wps.iterator(); while (i.hasNext()) { A_CmsListDialog wp = i.next(); wp.refreshList(); } if (writeLater) { return; } writeDialog(); }
/** * Display method for two list dialogs, executes actions, but only displays if needed.<p> * * @param writeLater if <code>true</code> no output is written, * you have to call manually the <code>{@link #defaultActionHtml()}</code> method. * * @throws JspException if dialog actions fail * @throws IOException if writing to the JSP out fails, or in case of errros forwarding to the required result page * @throws ServletException in case of errros forwarding to the required result page */ public void displayDialog(boolean writeLater) throws JspException, IOException, ServletException { // perform the active list actions m_activeWp.actionDialog(); if (m_activeWp.isForwarded()) { return; } Iterator i = m_wps.iterator(); while (i.hasNext()) { A_CmsListDialog wp = (A_CmsListDialog)i.next(); wp.refreshList(); } if (writeLater) { return; } writeDialog(); }
/** * @see org.opencms.workplace.list.A_CmsListDialog#actionDialog() */ @Override public void actionDialog() throws JspException, ServletException, IOException { super.actionDialog(); // ensure the list is correcly sorted if (CmsStringUtil.isEmptyOrWhitespaceOnly(getList().getSortedColumn())) { getList().setSortedColumn(LIST_COLUMN_VERSION); } }
/** * @see org.opencms.workplace.list.A_CmsListDialog#actionDialog() */ @Override public void actionDialog() throws JspException, ServletException, IOException { super.actionDialog(); // ensure the list is correcly sorted if (CmsStringUtil.isEmptyOrWhitespaceOnly(getList().getSortedColumn())) { getList().setSortedColumn(LIST_COLUMN_VERSION); } }
/** * Display method for two list dialogs, executes actions, but only displays if needed.<p> * * @param writeLater if <code>true</code> no output is written, * you have to call manually the <code>{@link #defaultActionHtml()}</code> method. * * @throws JspException if dialog actions fail * @throws IOException if writing to the JSP out fails, or in case of errors forwarding to the required result page * @throws ServletException in case of errors forwarding to the required result page */ public void displayDialog(boolean writeLater) throws JspException, IOException, ServletException { // perform the active list actions m_activeWp.actionDialog(); if (m_activeWp.isForwarded()) { return; } m_activeWp.refreshList(); m_passiveWp.refreshList(); if (writeLater) { return; } JspWriter out = m_activeWp.getJsp().getJspContext().getOut(); out.print(defaultActionHtml()); }
/** * @see org.opencms.workplace.list.A_CmsListDialog#actionDialog() */ @Override public void actionDialog() throws JspException, ServletException, IOException { // set selected type I_CmsListDirectAction action = getList().getMetadata().getColumnDefinition(LIST_COLUMN_SELECT).getDirectAction( LIST_ACTION_SEL); if (action != null) { String selected = getParamSelectedType(); if (selected != null) { ((CmsListItemSelectionAction)action).setSelectedItemId(selected); } } super.actionDialog(); }
/** * @see org.opencms.workplace.list.A_CmsListDialog#actionDialog() */ @Override public void actionDialog() throws JspException, ServletException, IOException { // set selected type I_CmsListDirectAction action = getList().getMetadata().getColumnDefinition(LIST_COLUMN_SELECT).getDirectAction( LIST_ACTION_SEL); if (action != null) { String selected = getParamSelectedType(); if (selected != null) { ((CmsListItemSelectionAction)action).setSelectedItemId(selected); } } super.actionDialog(); }
/** * Display method for two list dialogs, executes actions, but only displays if needed.<p> * * @param writeLater if <code>true</code> no output is written, * you have to call manually the <code>{@link #defaultActionHtml()}</code> method. * * @throws JspException if dialog actions fail * @throws IOException if writing to the JSP out fails, or in case of errors forwarding to the required result page * @throws ServletException in case of errors forwarding to the required result page */ public void displayDialog(boolean writeLater) throws JspException, IOException, ServletException { // perform the active list actions m_activeWp.actionDialog(); if (m_activeWp.isForwarded()) { return; } m_activeWp.refreshList(); m_passiveWp.refreshList(); if (writeLater) { return; } JspWriter out = m_activeWp.getJsp().getJspContext().getOut(); out.print(defaultActionHtml()); }