Package com.groiss.wf.html
Class StructuredObjectSelect
java.lang.Object
com.groiss.wf.html.StructuredObjectSelect
Utility for selecting structured objects.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fillValues
(HttpServletRequest req, HttpServletResponse res) show
(HttpServletRequest req) Shows a window for selecting objects and object components.
-
Constructor Details
-
StructuredObjectSelect
public StructuredObjectSelect()
-
-
Method Details
-
show
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
- Throws:
Exception
-