sorry its looks awfull again: in hte directory web-inf of your war portal instance create a directory callae portal-layout.xml with this:
<?xml version="1.0" encoding="UTF-8"?> | <layouts> | <layout> | <name>myLAYOUT</name> | <uri>/layouts/index.jsp</uri> | <uri state="maximized">/layouts/maximized.jsp</uri> | <regions> | <region name="left"/> | <region name="center"/> | <region name="navigation"/> | </regions> | </layout> | </layouts> then in the war file create the dir /layouts/index.jsp with this code: <%@ page import="org.jboss.portal.server.PortalConstants"%> | <%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p" %> | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | <html xmlns="http://www.w3.org/1999/xhtml"> | <head> | | | <title>YOUR TITLE</title> | | | <meta http-equiv="Content-Type" content="text/html;"/> | <!-- to correct the unsightly Flash of Unstyled Content. --> | <script type="text/javascript"></script> | <!-- inject the theme; default to the Nphalanx theme if nothing is selected for the portal or the page --> | <p:theme themeName='Nphalanx'/> | <!-- insert header content that was possibly set by portlets on the page --> | <p:headerContent/> | | </head> | | <body id="body"> | <div id="portal-container"> | <div id="sizer"> | <div id="expander"> | <div id="logoName"></div> | <table border="0" cellpadding="0" cellspacing="0" id="header-container"> | <tr> | <td align="center" valign="top" id="header"> | <p:region regionName='navigation' regionID='navigation'/> | <div id="spacer"></div> | </td> | </tr> | </table> | <div id="content-container"> | <!-- insert the content of the 'left' region of the page, and assign the css selector id 'regionA' --> | <p:region regionName='left' regionID='regionA'/> | <!-- insert the content of the 'center' region of the page, and assign the css selector id 'regionB' --> | <p:region regionName='center' regionID='regionB'/> | <hr class="cleaner"/> | | <div id="footer-container" class="portal-copyright">Powered by <a class="portal-copyright" | href="http://www.vianauta.com">Vianauta</a><br/> | <span id="Tema por"></span> | </div> | </div> | </div> | </div> | </div> | </body> | </html> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923426#3923426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923426 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
