Portlet Factory, Version 6.1.2


 

Hidden Input builder

Use the Hidden Input builder to pass in form data that the user does not specify.

The Hidden Input builder adds an <input type=hidden> element to one or more pages in the model. You can use the Hidden Input builder to pass data during a form submission that the user does not specify, fro example, the current time, or any other information that you need, but do not want the user to specify.

Use an indirect reference to pass a value from the model as a hidden input

You can pass the value of a variable or a value returned by a method or service call by specifying its name in the Reference Chooser.

Use Java code to pass the current date or other computed value

You can pass a value computed from Java code with the following syntax:
 ${Java/webAppAccess.getHttpServletRequest().getLocale()}

Passes the locale of the user to the action processing the form.

Parent topic: Builder help


Library | Support |