[jboss-user] [JBoss Portal] - Re: Page Title
evl123
do-not-reply at jboss.com
Wed Aug 30 13:48:21 EDT 2006
Good question,
I dug around and found the title is generated by the layout jsps
server\default\deploy\jboss-portal.sar\portal-core.war\layouts\generic
index.jsp
maximized.jsp
So quick and dirty is to replace that value
or
create a new layout id and clone and change the default set.
But a much nicer way would be 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?)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968446#3968446
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968446
More information about the jboss-user
mailing list