Hi,
I am seeking your suggestions on the best way to implement the following scenario. I have tried a few options and they are mentioned here as well.
We have a Portlet with 6 views which are Tabs and are accessed by clicking on an item in a table and rendered on the same iframe as the table is located. We have done this by using Portlet URL script Block (PUSB) with extended portlet url (XPU). The parameters to the Tabs are configured in the parameters settings of the PUSB and the XPU just has the Base Page URL and the the first Tab view specified in the Target view and render type as “render”. This works as desired.
Now, we have the same requirement as above but with the following subtle difference.
We cannot use the PUSB and XPU as above because this page will have all the rows in the table displayed on the same page without pagination(unlike the previous case where only 10 rows are displayed in a page). And why is that a problem? Because the PUSB + XPU creates about 20 lines of HTML content(javascript), and if we have around 500 rows, the browser takes an unbearably long time to load the page with the additional 10000 lines apart from the others.
I have tried Portlet Simple Link with Portlet URL and opened the Target in new windows with Target = _blank, but with this, when one Item is opened and another item is opened later in a new window and you go back to the first item window, it gets the data of the second item. (Hope that made sense!!).
So, we want to display the Portlet now on a modal dialog with specified size and accessed from the rows of the table.
Can someone please suggest the best way to achieve this?
(Async Command Link? Portlet Simple Link? API? Javascript?)
And BTW, forgot to mention that every new item opened must always open in the first tab and not the tab that was viewed in the previous instance.
Thank you for your response in advance, much appreciated.
Best regards,
Raj
#webMethods#webMethods-BPMS#MWS-CAF-Task-Engine