it is possible. if your interface has the getters/setters that the property model needs then you just pass in the interface into the property model.

one thing to watch out for is that when a form component updates the model it will first clone it to support versioning. so you can either (1) disable versioning (2) use the proxy from wicket-spring project to wrap your interface if you do not want your interface and its backing object to be serialized into the session.

-Igor


On 2/21/06, Jeremy Levy <[EMAIL PROTECTED]> wrote:

Is using a local interface for an EJB for a propertymodel possible?  I think I can conceptualize this when loading a form to populate the data, however what if I want to do it to then populate the data to the local interface?  Should I create a intermediately POJO?

 

Thanks in advance, this is my first Wicket project.

 

Jeremy


Reply via email to