com.groiss.wf.html
Class StructuredObjectSelect

java.lang.Object
  extended by com.groiss.wf.html.StructuredObjectSelect
All Implemented Interfaces:
Public

public class StructuredObjectSelect
extends java.lang.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) .


Constructor Summary
StructuredObjectSelect()
           
 
Method Summary
 void fillValues(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 Page show(javax.servlet.http.HttpServletRequest req)
          Shows a window for selecting objects and object components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructuredObjectSelect

public StructuredObjectSelect()
Method Detail

show

public Page show(javax.servlet.http.HttpServletRequest req)
          throws java.lang.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:
java.lang.Exception

fillValues

public void fillValues(javax.servlet.http.HttpServletRequest req,
                       javax.servlet.http.HttpServletResponse res)
                throws java.lang.Exception
Throws:
java.lang.Exception


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.