Re: [Wicket-user] set attributes of HTML tag of page ?

2006-09-06 Thread ali
i use 1.2 beta1 On Mon, 28 Aug 2006 10:43:20 +0430, Martijn Dashorst [EMAIL PROTECTED] wrote: If you use trunk, then you need to provide the parent as well in the constructor: WebMarkupContainer html = new WebMarkupContainer(this, html); where this is the page. -- Using

Re: [Wicket-user] set attributes of HTML tag of page ?

2006-08-29 Thread ali
i use wicket 1.2 beta1. On Mon, 28 Aug 2006 10:43:20 +0430, Martijn Dashorst [EMAIL PROTECTED] wrote: If you use trunk, then you need to provide the parent as well in the constructor: WebMarkupContainer html = new WebMarkupContainer(this, html); where this is the page.

Re: [Wicket-user] set attributes of HTML tag of page ?

2006-08-28 Thread ali
i use 1.2 beta1 , i try checkout trunk from svn but not be success. WebMarkupContainer html = new WebMarkupContainer(html); html.add(new AttributeModifier(dir, true, myModel)); add(html); html wicket:id=html ... but wicket throw exception wicket.WicketRuntimeException: Programming error:

Re: [Wicket-user] set attributes of HTML tag of page ?

2006-08-28 Thread Martijn Dashorst
If you use trunk, then you need to provide the parent as well in the constructor: WebMarkupContainer html = new WebMarkupContainer(this, html); where this is the page. Martijn On 8/28/06, ali [EMAIL PROTECTED] wrote: i use 1.2 beta1 , i try checkout trunk from svn but not be success.

[Wicket-user] set attributes of HTML tag of page ?

2006-08-27 Thread ali
Hi everyone. i want set dir on tag html of page ? it's seem that AttributeModifier or onComponentTagBody only work on components has a related tag . page component is root Wicket know it relate to html but i know how set ? very thanks for best your java web framework. -- Using Opera's

Re: [Wicket-user] set attributes of HTML tag of page ?

2006-08-27 Thread Eelco Hillenius
You can just attach a Wicket component to the html tag, no problem. WebMarkupContainer html = new WebMarkupContainer(html); html.add(new AttributeModifier(dir, true, myModel)); add(html); or in 2.0 WebMarkupContainer html = new WebMarkupContainer(this, html); html.add(new AttributeModifier(dir,