Ivelin Ivanov wrote:
> Piroumian Konstantin wrote:
>
>>> From: Yromem.com MailingList [mailto:[EMAIL PROTECTED]]
>>> I was thinking about a default javabeans, with N parameter :
>>> 1. where to go when the form is validated ?
>>> 2. what is the validator file ?
>>> 3. other ?
>>
>>
>>
>> I suspect that you have a little wrong understanding of XMLForms.
>> The XMLForm were intended to implement the Model - View - Controller
>> pattern, where:
>>
>> Model - is your Instance data that holds the form data (JavaBean or
>> DOM object) (See http://www.w3c.org/ - XForms).
>>
>> View - an XML description of the form that is transformed by the
>> XMLFormTransformer, filled by the instance date, then transformed into
>> desired format by XSLT
>>
>> Controller - currently, the role of the controller performs the
>> sitemap, but you can use some other (maybe the flowmap) approach to
>> control
>> the sequence of actions, states, etc. - flow - of your application.
>
>
>
> Minor note. The controller would ideally be the sitemap or the flow
> engine. However in many practical situations, control and flow is
> handled by java code accessible in an Action. This is how Struts
> applications work.
Our "Action" is not a struts "Action", and has a different meaning.
Our controller is the sitemap and the flow stuff.
Actions are "plugins" for these two defined controllers.
--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>