Crate
submit button programitically
To create a submit
button in OAF page Programatically use the code below:
OASubmitButtonBean
oasb =
(OASubmitButtonBean)pageContext.getWebBeanFactory().createWebBean(pageContext,
"BUTTON_SUBMIT");
OAAdvancedTableBean
oatb
=(OAAdvancedTableBean)webBean.findChildRecursive("WOResultsTab");
oasb.setID("SubmitPrintButton");
oasb.setUINodeName("SubmitPrintButton");
oasb.setEvent("SubmitPrintButton");
oasb.setText("Click
Here");
oatb.setFooter(oasb);
No comments:
Post a Comment