> Just a side question : when using a CompoundPropertyModel, is there a
> way to "dispose" it later on the process or is it done automatically ?

It seems that in the current implementation you could call
setObject(null). Better is to provide a model as the target; for this
model you can implement any attach/ detach behavior you want.

> For example, I use a Value Object (VO) to edit my user profile
> (because there are some extra data to consider). Is this VO deleted
> when the page onSubmit processing is done ?
>
> In fact I've understood it's not deleted, but I'm kind of surprised
> there is no way apart from the detachable model to deal with this kind
> of issue.

You could by setObject(null). Or by providing a model that does that
as the target.

Eelco

-------------------------------------------------------------------------
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

Reply via email to