This tag evaluates an expression and places the result in the
javax.servlet.jsp.PageContext object, where the data is available to the JSP EL and JSP scriptlet.
This tag can be used to extract data from forms, Controller files, and any data binding context and
make it available to scriptlets.
In the following example, the getData tag gets the value of a property in the page flow and
makes it available to the JSP via the JSP EL implicit object ${pageScope} .
<netui-data:getData resultId="myData" value="${pageFlow.myData}"/>
The following scriptlet extracts the data from the PageContext object and writes it to
the rendered HTML:
${pageScope.myData}
In this first example, the <netui-data:getData> tag loads data into the
javax.servlet.jsp.PageContext 's
attribute map. |