Hi All,
-
My web page is comprised of Header portlet, body portlet and footer portlet (in a shell).
Could you please advise, depending on user actions in body portlet, how can I set values to CAF elements present in Header portlet?
My intended functionality is given below. (But below code is not working in body portlet - as it is not able to identify control with id headerPortletElementControlId which is present in header portlet)
javascript in body portlet:
if(true){
CAF.model('#{activePageBean.clientIds["headerPortletElementControlId"]}').setValue('New Value');
}
Set Parent portlet CAF element value from child portlet
2) Depending on user actions in a child window, how can I set values to CAF elements present in Parent window?
I would have achieved this functionality in JSP pages with below code. Could you please advise how to achieve the same in the portlets designed with CAF elements.
window.opener.document.getElementById('parentJSPPageElementControlId').value = 'New Value';
Kind regards,
Raja sekhar Kintali
#MWS-CAF-Task-Engine#webMethods-BPMS#webMethods