com.groiss.wf.html
Class StructuredObjectSelect
java.lang.Object
com.groiss.wf.html.StructuredObjectSelect
- All Implemented Interfaces:
- Public
public class StructuredObjectSelect
- extends Object
- implements Public
Utility for selecting structured objects. This class does not implement the Public interface.
If you need such an utility you must write s subclass and overwrite the show method: There you should
set the classname with req.addParameter and call super.show(req) .
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructuredObjectSelect
public StructuredObjectSelect()
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 this 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
@enterprise 8.0.10809 Copyright © 2001-2012 Groiss Informatics GmbH. All Rights Reserved.