Package org.jresearch.gossip.forms

Examples of org.jresearch.gossip.forms.ProcessGroupForm


   */
  public ActionForward process(ActionMapping mapping, ActionForm form,
      HttpServletRequest request, HttpServletResponse response)
      throws SystemException {
    ForumDAO dao = ForumDAO.getInstance();
    ProcessGroupForm pgForm = (ProcessGroupForm) form;
    try {
     
      dao.deleteGroup(pgForm.getGid());
      log(request, "logs.LOG13", pgForm.getGid());
    } catch (SQLException sqle) {
      getServlet().log("Connection.process", sqle);
      throw new SystemException(sqle);
    }
    return (mapping.getInputForward());
View Full Code Here


   */
  public ActionForward process(ActionMapping mapping, ActionForm form,
      HttpServletRequest request, HttpServletResponse response)
      throws SystemException {
    ForumDAO dao = ForumDAO.getInstance();
    ProcessGroupForm pgForm = (ProcessGroupForm) form;
    try {
     
      Group group = dao.getGroupInfo(pgForm.getGid());
      request.setAttribute("group_name", group.getName());
      request.setAttribute("group_sort", group.getSort());
      request.setAttribute("gid", pgForm.getGid());
    } catch (SQLException sqle) {
      getServlet().log("Connection.process", sqle);
      throw new SystemException(sqle);
    }
    return (mapping.findForward("editGroup"));
View Full Code Here

TOP

Related Classes of org.jresearch.gossip.forms.ProcessGroupForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.