Hi,
The sample from the javadocs works:
Java:
RepeatingView view = new RepeatingView("repeater");
view.add(new Label("1", "hello"));
view.add(new Label("2", "goodbye"));
view.add(new Label("3", "good morning"));
Markup:
Yields:
hello
goodbye
good morning
However, I can't seem to add a label to a BoomarkablePageLink in the same
way... does anyone have an idea of how to do this?
I was trying
RepeatingView view = new RepeatingView("repeater");
view.add(new BookmarkablePageLink("1", MyPage.class).add(new Label("1",
"hello")));
with the same markup to no avail.
Thanks, Jason
--
View this message in context:
http://www.nabble.com/a-simple-RepeatingView-to-display-links-with-labels-tp22256741p22256741.html
Sent from the Wicket - User mailing list archive at Nabble.com.