Form form = new Form("edit.form", new CompoundPropertyModel(MixinFactory.wrap(partner, new PartnerMixin(partner))));
method signature for MixinFactory.wrap: public static Object wrap(Object parent, Object... mixins);
...
Partner partner = (Partner)MixinFactory.upwrap(getForm().getModelObject());
And then in PartnerMixin I have methods like getZipCode/setZipCode, getPhoneNumber/setPhoneNumber, etc. Works for me until you guys come up with improved converters.
If anyone interested, I can submit source code for MixinFactory.
Alex
On 5/5/06, Eelco Hillenius <
[EMAIL PROTECTED]> wrote:
> And I would not worry about converters too much... I mean, it is definitely
> should be addressed in the next release or so, but I don't think it is a
> barrier to wider wicket adoption.
They will be: https://sourceforge.net/tracker/index.php?func=detail&aid=1453022&group_id=119783&atid=684975
:)
Eelco
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop