Wednesday, June 27, 2012

Call activity from JSP (java) (Html section or fragment)


<% String activityName = "GetDependentsDetails";pega_rules_pegarulesutilities.callActivity(tools.findPage("pyWorkPage"),[a1] activityName,tools.getParameterPage())[a2] ;%>
<pega:include name="DisplayDependents" type="Rule-HTML-Section"/>


 [a1]Hardcode pyWorkPage (we used data class so we have to call activity at work class. Because we hard code that .IF activity at work class we can called tools.getPrimaryPage ();
 [a2]Pass parameter page as use this


No comments:

Post a Comment