public int getGroupId(IWContext iwc) throws Exception {
   /** @todo cach */
   if (groupId != -1) {
     GenericGroup gr =
         ProjectBusiness.getProjectParticipantGroup(
             groupId, ProjectBusiness.getCurrentProjectId(iwc));
     if (gr != null) {
       return gr.getID();
     }
   }
   return -1;
 }
  public PresentationObject getHandlerObject(String name, String stringValue, IWContext iwc) {
    DropdownMenu menu = new DropdownMenu(name);

    try {
      List list = ProjectBusiness.getInstance().getCategoryTypes();
      if (list != null) {
        Iterator iter = list.iterator();
        while (iter.hasNext()) {
          IPCategoryType item = (IPCategoryType) iter.next();
          menu.addMenuElement(item.getID(), item.getName());
        }
      }
    } catch (SQLException ex) {
      ex.printStackTrace();
    }
    menu.setSelectedElement(stringValue);

    return (menu);
  }