This content has been marked as final.
Show 3 replies
-
1. Re: Nested Container in Portal.xml
shannonsumner Mar 1, 2012 10:40 AM (in response to fredcurry)I know this is an old post - but this is exactly what I want to do. Did you have any luck setting this up?
Thanks,
Shannon
-
2. Re: Nested Container in Portal.xml
jferreyram Mar 8, 2012 5:26 PM (in response to shannonsumner)Hi
This is a two-column distribution, which must be placed inside <portal-layout> tag of portal.xml
<!-- container of two columns --> <container id="MainContainer" template="system:/groovy/portal/webui/container/UITableAutofitColumnContainer.gtmpl"> <access-permissions>Everyone</access-permissions> <!-- left column --> <container id="LeftContainer" template="system:/groovy/portal/webui/container/UIContainer.gtmpl" width="650px"> <access-permissions>Everyone</access-permissions> </container> <!-- right column --> <container id="RightContainer" template="system:/groovy/portal/webui/container/UIContainer.gtmpl"> <access-permissions>Everyone</access-permissions> </container> </container>
In this case, I'm using 3 attributes:
- template: it defines the container type (mandatory).
- id: an identificator for container (optional, defined by developer)
- width: the width of container (optional)
Regards
Jorge
-
3. Re: Nested Container in Portal.xml
hoang_to Mar 8, 2012 10:50 PM (in response to jferreyram)You could find configuration for some nested container in web/portal/src/main/webapp/WEB-INF/conf/uiconf/portal/webui/container/ContainerConfigOption.groovy