cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: [MVC] OJB+Woody+Flow
Date Thu, 17 Jul 2003 22:39:48 GMT
On Fri, 2003-07-18 at 00:07, Antonio Gallardo wrote:
[...]
> 
> View - Woody recieves a bean from the controller. Make form validation and
> return the bean to the controller.

Just to make sure that you got it right: you can't just give a bean to
Woody. Woody builds its own form-datastructure that will be used to
collect user-entered data. The actual initial population of this
datastructure with your bean's data, and afterwards putting the form's
data back in bean, is up to you. Fortunately, this is where's Marc's
binding stuff comes to help, which allows to do this by specifying a
mapping between the two (in an XML file).

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


Mime
View raw message