I am converting one of my Tapestry 3 application to
Tapestry 4 and run into
following problem.
In all my page specification, I have a property for
the page title :
<property name="pageTitle"
initial-value="literal:Welcome" />
In the Java class of my border component, I try to
retrieve
the pageTitle property in finishLoad method :
public void finishLoad(){
BasePage page = (BasePage) getPage();
String title =
page.getSpecification().getProperty("pageTitle");
// do something with title
}
But page.getSpecification().getProperty("pageTitle")
always return null.
This works in Tapestry 3.
It would be appreciated if someone could point out my
mistake.
Thanks !
Shing
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail
http://uk.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]