Why not make some basepage you extend from webpage, ad a method
getPageTitle() or something.
Then let al your pages extend from that basepage.
From any panel (maybe even component) you can do getWebPage(), cast
this to your basepage class and you can get the title.
Thijs
Joe Toth wrote:
I have a component that needs the page title of any page its on. Is
there an easy way to get that without making the page title a wicket
component on every page?
Is parsing the rendered page my only option?
Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]