I don't think we support that right now. But I can imagine such a thing being build in Wicket. Feel free to add a feature request here: http://issues.apache.org/jira/browse/WICKET. No guarantees when it will be handled, though if you can provide a patch (start digging in the code to see how <wicket:head> tags are handled, as this should probably use a similar construct) that would speed things up considerably.
Eelco On 1/29/07, dukejansen <[EMAIL PROTECTED]> wrote: > > 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 > ------------------------------------------------------------------------- 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