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

Reply via email to