Hi,
I am trying to get a modal dialog in a view that call another portlet.
Porlet A displays a list of orders in a table with ID column.
I would like click on ID and show the modal dialog containing the Portlet B (This portlet show the order details calling a webservice. Portlet B has 3 input parameter and the webservice is set to autorefresh)
Actually:
-I put on ID value a link that when i click it open the modal dialog (“Client-Side Events → Click” value: CAF.model(‘#{activePageBean.clientIds[“modalDialog”]}’).show()
-In the modal dialog I put the “importTemplateView” with the Portlet B path value.
-I add 3 ControlParameter in the ImportTemplateView binding each one with the corresponding value from the resulset of Portlet A
When I click on ID I visualize the modal dialog with the portlet B but with empty fields.
Is it the correct way? There are other methods to open a portlet like modal dialog for satisfy my requirement?
Thanks
Bye