[jboss-dev-forums] [Design of JBoss Portal] - Deployment option to title portal pages (Enhancement?)

evl123 do-not-reply at jboss.com
Wed Aug 30 13:53:59 EDT 2006


Dear portal developers,

As best as I understand JBossPortal 2.4

server\default\deploy\jboss-portal.sar\portal-core.war\layouts\generic
index.jsp
maximized.jsp

Has the HTML page title set to PortalConstants.VERSION.toString()

It would be much nicer to have a page title property
set in the deployment xml file.

deployment/page elment would have (optional)
page.title

deployment/portal should have a default
page.title (in case the page didn't define one)

This way you get flexible global portal title or individual page titles

This may already be doable, if someone could explain what objects are available in the layout jsps (e.g. how can one access Page properties?) 
to replace the PortalConstants.VERSION.toString() with the property instead.

Thanks,
Eric

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968449#3968449

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968449



More information about the jboss-dev-forums mailing list