Yes, sorry.
You need to override
#isTransparentResolver()

WebMarkupContainer htmlTag = new WebMarkupContainer("html") {
        public boolean isTransparentResolver()
{
return true;
}
};

On Fri, Jan 21, 2011 at 12:25 PM, Mike Mander <[email protected]> wrote:

> Am 21.01.2011 09:17, schrieb Martin Grigorov:
>
>  Try with :
>>
>> in .html:
>> <html wicket:id="html">
>> ....
>>
>> in .java:
>> WebMarkupContainer htmlTag = new WebMarkupContainer("html");
>> htmlTag.add(new SimpleAttributeModifier("lang",
>> getSession().getLocale().toString());
>> htmlTag.setTransparentResolver(true); // check the javadoc of this method
>>
>> On Fri, Jan 21, 2011 at 8:19 AM, Mike Mander<[email protected]>  wrote:
>>
>>  Thanks Martin for your reply.
>
> But i couldn't find
>
> WebMarkupContainer.setTransparentResolver
>
> There is only a Border.setTransparentResolver in wicket 1.4.15
>
>
> Thanks
> Mike
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to