* mperham:
> 
> I have a Wicket application which supports 10 different languages.  We need
> to dynamically add the current locale tag to the <html> tag like this:
> 
> <html ... xml:lang="en-US">
> 
> Using the standard WebMarkupContainer + AttributeModifier does not work; it
> seems to be very difficult to change content outside of the standard body
> content.  Does anyone know how to add a dynamic attribute to the <html> tag?

I would probably register a custom IMarkupFilter rather than
using a Component.
-- 
     Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to