Great Martin. Thanks alot it works as expected.
My solution:
LocalizedHtmlTag.java
import org.apache.wicket.behavior.SimpleAttributeModifier;
import org.apache.wicket.markup.html.WebMarkupContainer;
public class LocalizedHtmlTag extends WebMarkupContainer {
public LocalizedHtmlTag(String id
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 wrote:
> Am 21.01.2011 09:17, schrieb Martin Grigorov:
>
> Tr
Am 21.01.2011 09:17, schrieb Martin Grigorov:
Try with :
in .html:
in .java:
WebMarkupContainer htmlTag = new WebMarkupContainer("html");
htmlTag.add(new SimpleAttributeModifier("lang",
getSession().getLocale().toString());
htmlTag.setTransparentResolver(true); // check the javadoc of thi
Try with :
in .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
With further investigation i found a hint on using an IMarkupFilter.
Is there an example with this for my problem?
Thanks
Mike
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users
Hello,
i'm new to wicket and the mailing list. I already checked the search
machines but didn't found anything.
i have to migrate a jsp. In the jsp there is a html tag like this:
http://www.w3.org/1999/xhtml";
xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd";
lang