This worked well eventually:

     <head>
         <title wicket:id="catPageTitle"> </title>
     </head> 

Thanks for the pointer..




chickabee wrote:
> 
> Thanks, A little better but not quite there yet.
> Now I have my tag as:
>      <head>
>          <title><s-p-a-n wicket:id="catPageTitle"></s-p-a-n></title>
>      </head>
> 
> And page title shows as:
> <s-p-a-n wicket:id="catPageTitle">My Dynamic Page Title</s-p-a-n>
> 
> Expected page title is:
> My Dynamic Page Title
> 
> It is rendering the wicket tag itself in the page title which is kinda
> funny...
> 
> Any more clues??  Thanks !!
> 
> 
> 
> 
> 
> 
> Gwyn wrote:
>> 
>> On Saturday, September 22, 2007, 10:48:50 PM, chickabee
>> <[EMAIL PROTECTED]> wrote:
>> 
>>> -----Posting agagin so that span tag is visible------
>> 
>>> Hi, I am looking for some insight on how to render page title
>>> dynamically in
>>> wicket. I tried:
>>> <html>
>>>     <head>
>>>         <title><s-p-a-n wicket:id="catPageTitle"/></title>
>>>     </head>
>>>     <body>
>>>     </body>
>>> </html>
>> 
>>> Note : s-p-s-n = span
>> 
>>> But, apparently wicket tags are not recognized under <head>,  How can I
>>> achieve this functionality?? Thanks.
>> 
>> http://cwiki.apache.org/WICKET/faqs.html#FAQs-Myspantagdoesn%2527tgetrendered
>> 
>> /Gwyn
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Dynamic-Page-Titles-%21-tf4502385.html#a12841066
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to