[jboss-user] [JBoss Portal] - Re: portal layout
Soon5
do-not-reply at jboss.com
Wed Nov 28 01:45:31 EST 2007
Hy There,
Yes you can. You have to do two Things.
You find the Folder where the Layouts are under $JBOSSDEPLOY\jboss-portal.sar\portal-core.war\layouts
First copy one of the standard layouts to another folder in the layouts-subfolder for example "MyLayout". Inside you find two jsp files. One for the "normal" layout (index.jsp) and one for the layout when one portlet is maximized (maximized.jsp). You can edit and design this files with everything known from JSP, HTML and whatever you like.
To get this new layout to work, you go to the \WEB-INF Folder of jboss-core.war. There you find the portal-layouts.xml file. Open that, and copy the XML Structure of one standard layout, and replace the URLs to the files.
After that, and a restart of the Application Server, you can select the layout in the admin Portal.
I hope my description helps, it's realy easy, you will see.
Greetings
Soon5
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108309#4108309
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108309
More information about the jboss-user
mailing list