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
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.
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:
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.
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
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,