Perhaps I don't understand your use case. I'm using CPM all over the shop, and letting auto CPM propagation take care of itself.
If the property is obtained from some other way, then obviously you would need to supply it to the form field - in the same way there are multi constructors for most form fields. Perhaps open the source of "TextField" and piece together how that behaves. Rgds Ned dukehoops wrote: > > I thought that as well, but turns out in that case > MyFormComponent.getModelObject() returns MyPojo, and NOT MyProperty. That > presents two problems: > -MyFormComponent does not really need to know of MyPojo to begin with > (what if MyProperty is obtained some other way) > -in MyFormComponent.convertInput, I need to eventually > setConvertedInput(MyProperty), and in onBeforeRender the corollary > getModelObject. > -- View this message in context: http://www.nabble.com/please-review-my-CompoundPropertyModel-use-tp19868935p19871374.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]
