Event Based Fire Action
We can use Action type as "Fire Action" if we want to trigger some action when a button clicked.
String event = pageContext.gerParameter(OAWebBeanConstants.EVENT_PARAM);
String src = pageContext.gerParameter(OAWebBeanConstants.SOURCE_PARAM);
if("eventname".equals(event) && "button name".equals(src));
String object name like(input value) = pageContext.getParameter("Input field");
OA"ItemstyleName"Bean bean = (OA"ItemstyleName"Bean) WebBean.findChildRecursive.("Output filed");
if(bean!=null)
String displyname = " "+objectname;
bean.setValue(pageContext,object name/displayname);
0 Comments