How to use link

2009-08-26 Thread Gerald Fernando
Hello Friends, this is my code add(new ListView(people, p.writeNews(arts)) { @Override protected void populateItem(ListItem item) { RSSReader person = (RSSReader)item.getModelObject(); item.add(new Label(title,

Re: How to use link

2009-08-26 Thread Robin Sander
You have to add a Link instance to the item, for example item.add(new BookmarkablePageLinkVoid(link, TargetPage.class); If you want to have a label inside the link add the label to the link instead of the item and use a markup like: a href=# wicket:id=linkspan wicket:id=titlename/span/a

Re: How to use link

2009-08-26 Thread Gerald Fernando
Thankk you robin i have used external link that is working fine ThanksRegards, Gerald A On Wed, Aug 26, 2009 at 7:52 PM, Robin Sander robin.san...@gmx.net wrote: You have to add a Link instance to the item, for example item.add(new BookmarkablePageLinkVoid(link, TargetPage.class); If you