This
snippet must be placed in an EGL JSF Handler part. This snippet has
the following prerequisites:
- The JSP page has a data table.
- The names of the JSP identifiers have not been changed from the
default.
- The page is defined as request in scope in faces-config.xml,
not session.
To insert and configure this snippet, follow these directions:
The code that is inserted by this snippet follows:
function getVal()
javaLib.store((objId)"context",
"javax.faces.context.FacesContext",
"getCurrentInstance");
javaLib.store((objId)"root",
(objId)"context", "getViewRoot");
javaLib.store((objId)"parm",
(objId)"root",
"findComponent",
"form1:table1:param1");
recVar = javaLib.invoke((objId)"parm",
"getValue");
end