Thanks jan a million. Its working now!!!

Just to add for more information sake

The wicket:id attribute should be as follows
<html wicket:id="html">

</html>


Also I used a SimpleAttributeModifier and its working!!!


Thanks,
Franklin.



Jan Kriesten wrote:
> 
> 
> hi,
> 
> just add a wicket:id to <html> and then within your page:
> 
> ---
>     MarkupContainer html, container;
>     html = new WebMarkupContainer( "html" )
>     {
>       private static final long serialVersionUID = 1L;
> 
>       @Override
>       public boolean isTransparentResolver()
>       {
>         return true;
>       }
>     };
> 
>     html.add( new AttributeModifier( "xml:lang", lang ) );
>     html.add( new AttributeModifier( "lang", lang ) );
>     add( html );
> ---
> 
> all other elements can then added directly to the page as well.
> 
> best regards, --- jan.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-can-I-switch-page-direction-%28LTR-RTL%29--tf4805391.html#a14028129
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