AjaxLink link = new AjaxLink("selectItem") {
public void onClick(AjaxRequestTarget target) {
currentItem = item;
target.addComponent(currentItemContainer);
}
};
public class CurrentItemContainer extends WebMarkupContainer {
public CurrentItemContainer(String id) {
super(id);
setOutputMarkupId(true);
add(new Label("currentItemName", currentItem.getName()));
}
}
my ajax link fires, and streams back the CurrentItemContainer, but it does not have the newly selected item for model. I'm sure wicket supports this somehow, and i've checked through the ajax examples, but I haven't come across anything yet.
------------------------------------------------------------------------- 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user