currently we have a myfaces application running in Jboss portal (2.0.2/2.2). Now we want to integrate a tree structure (like in the management portlet). Each node represents a pdf document. On click on a node this document should be shown right of the tree structure. I thought about using a IFrame in the faces page. But how can I show the right data of the node in this frame. I always get the portal start page in the iframe. I saw a thread in the JIRA (http://jira.jboss.com/jira/browse/JBPORTAL-694?page=all) but I can not find the associated files in the portlet swap.
Is there another standard solution for this requirement?
thanks in advance
I have not gotten around to fixing the build and posting the IFrame code yet. However, I don't think this will fix your problem.
This ifram you are wanting will have to be embedded in the same portlet as the tree. So you can create an iframe in there, that takes a url parameter of the pdf, and then the iframe can dynamically call the pdf and display it in the same portlet window.