Hi
I'm new to wicket and I have a listview which dynamically creates links. I'm
using the following code to anchor links so that when the user clicks a
link, it will be directed to the correct area in the page.
protected void populateItem(ListItem item)
{
Link boardLink = new Link("boardLink")
{
public void onClick()
{
}
};
Label descriptionLabel = new Label("description");
descriptionLabel.setOutputMarkupId(true);
boardLink.setAnchor(descriptionLabel);
item.add(descriptionLabel);
item.add(boardLink );
}
..........................................................
However this code is not working. How should i modify the code.
Thanks
--
View this message in context:
http://www.nabble.com/Anchor-Links-tp16930767p16930767.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]