what you should do is:
RepeatingView r=new RepeatingView(....);
WebMarkupContainer item=new WebMarkupContainer(r, r.newChildId());
new Label(item, "view"..
new Label(item, "create",...
johan
On 9/27/06, Alberto Bueno <[EMAIL PROTECTED]> wrote:
Hi,
In Wicket 1.2 I had this code:
RepeatingView r = new RepeatingView("form");
r.add(new Label("view","view"));
r.add(new Label("create","create"));
add(r);
Now in trunk I have:
RepeatingView r = new RepeatingView(form, "toolbar");
new Label(r, "view","view");
new Label(r, "create","create");
but this code doesn't run now. If I change the ids of the labels by
numbers like:
RepeatingView r = new RepeatingView(form, "toolbar");
new Label(r, "1","view");
new Label(r, "2","create");
then it works. But my problem is that I have predefined components with
their specific ids and I cannot
change these ids.
Why doesn't it run as previous version? Are there another solution to
use another kind of ids?
Thanks
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
