The only way I found is to hold reference to added border inside to be
extended class and to do
getBorder().add(new Link(link));
in child constructor.
May be there exists better approach?
On Mon, Mar 2, 2009 at 11:41 PM, Anton Veretennikov
anton.veretenni...@gmail.com wrote:
Hello!
I'm again with borders. May be I'm not using them right...
Is everything okey with this mix of border and child:
Block.html:
wicket:panel
div wicket:id=border
wicket:child /
/div
/wicket:panel
Block.java (extends Panel)
add(new RoundedCornersPanelGrey(border));
ChildBlock.html:
wicket:extend
a wicket:id=linklink/a
/wicket:extend
ChildBlock.java (extends Block)
add(new Link(link)
It doesn't work with border in Block (can't find component).
It works only without border or with border in ChildBlock around a.
-- Tony.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org