Class StructuredObjectSelect

java.lang.Object
com.groiss.wf.html.StructuredObjectSelect

public class StructuredObjectSelect extends Object
Utility for selecting structured objects.
  • Constructor Details

    • StructuredObjectSelect

      public StructuredObjectSelect()
  • Method Details

    • show

      public Page show(HttpServletRequest req) throws Exception
      Shows a window for selecting objects and object components. The objects must be stored in forms, the components are the subforms Example: Form product, subform 1: versions, subform 2: components The method will show a select box for selecting products. When the user clicks on a product the versions and components of these products can be selected. The request parameters are: classname - the name of the form class subforms - comma separated list of subform ids titles - comma separated list of titles for the select lists fields - comma separated list of field names where the selected values will be written.
      Throws:
      Exception
    • fillValues

      public void fillValues(HttpServletRequest req, HttpServletResponse res) throws Exception
      Throws:
      Exception