Hi,

Wicket can repeat markup, see here:

https://ci.apache.org/projects/wicket/guide/8.x/single.html#_displaying_multiple_items_with_repeaters

Have fun
sven



Am 05.05.2018 um 22:56 schrieb athag...@csd.auth.gr:
The question is about as simple as it gets:
in the HelloWorld! example a single String is printed on the server by adding one new Label in the .java file in a such manner:
 add(new Label("id", "what I actualy want to print");

Therefore, in order to print a single string I must've predefined it the .html file:
 <span wicket:id="id">"Message goes here"</span>

The question is: how do I print the contents of an ArrayList with an unknown and non-static ammount of Strings? In other words, how do I print a number of Strings without having predefined their ammount in the html file ?

Thanks in advance!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to