Eelco,

This sounds easy enough, I'll give it try.

I was hoping for something I could do in the markup, though, so that my web
designers could easily modify the body class in subclassed page's markup
without having to modify code.

Any chance?

-Jason


Eelco Hillenius wrote:
> 
> Haven't tried it myself, but looking at the code, calling (your web
> page).getBodyContainer().getBodyContainer() should get you the 'real'
> body container, to which you should be able to add AttributeModifiers.
> 
> Eelco
> 
> 
> On 1/28/07, dukejansen <[EMAIL PROTECTED]> wrote:
>>
>> Is there any way to allow inherited page markup to update or contribute
>> to
>> the body tag's attributes (other than onLoad and onUnload, which seems to
>> be
>> covered).
>>
>> Specifically, I'd like to have a single base page which is then
>> subclassed
>> to provide different page behaviors, and I want to be able to specify the
>> body "class" attribute in the subclassed pages' markup.
>>
>> Using Wicket 1.2.4.
>>
>> Any tips?
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-let-subclassed-page-contribute-to-body-tag-attributes--tf3133595.html#a8682952
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-let-subclassed-page-contribute-to-body-tag-attributes--tf3133595.html#a8693630
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to