hi , I just use a behavior in multipart form, and it cannot hold the data of
form when it triger.
adType.add(new AjaxFormComponentUpdatingBehavior(ClientEvent.CHANGE)
{
protected void onUpdate(final AjaxRequestTarget target) {
String value = (String) adType.getModelObject();
if (StringUtils.isBlank(value)) {
return;
}
additionContainer.setVisible(flag);
target.addComponent(form);
}
when it trigger , the data before typing will lost.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user