-
1. Re: How to arrange Fragments
mholzner Sep 29, 2005 10:05 AM (in response to dhexus)I must say that your question is not very clear to me, but I believe you want to take a look at layouts and themes. Perhaps also at the Catalog portlet that handles the menu/navigation right now.
We're working on documentation of these features. Please stay tuned. -
2. Re: How to arrange Fragments
dhexus Oct 3, 2005 4:25 AM (in response to dhexus)ok, let's say it this way: i have a layout-jsp where
<td class="magicColumn"> <p:region regionName='putithere'/> </td> <td class="nextColumn"> <p:region regionName='thisisfix'/> </td>
and a css style-sheet file definingtd.magicColumn { background-color:#FFFFFF; width:70%; } td.nextColumn { background-color:#AAAAAA; width:20%; }
Now I want to have a certain window/portlet/fragment at "thisisfix" and load different windows/.. dynamically into "putithere".
..any ideas? -
3. Re: How to arrange Fragments
mholzner Oct 3, 2005 7:49 AM (in response to dhexus)until we have a UI for it (in 2.2) you'll need to assign the window in the xxx-portal.xml , like :
... <pages> <default-page>default</default-page> <page> <page-name>default</page-name> <window> <window-name>TestPortletWindow</window-name> <instance-ref>TestPortletInstance</instance-ref> <region>center</region> <height>0</height> </window>
where 'region' matches the name you provide in the region tag (so in your case 'putithere' or 'thisisfix'), and 'height' lets you order the portlets inside one region -
4. Re: How to arrange Fragments
jlaskowski Oct 3, 2005 8:15 AM (in response to dhexus)
I'm not sure how it could work, but to add to Martin's message, you could also render a portlet only when a application/session/request parameter is set. You would then end up with a controller portlet and when appropriate parameter is set, it would dispatch render request to a portlet of your choice.
You would have to use IPC and some portal functionality.
Jacek