You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by maisonneuve nico <ni...@hotmail.com> on 2003/07/30 19:55:59 UTC

Woody : multipage Form and File Upload Widget

hi ,
i begin with woody form, and i would know:
- if it's possible to create a multi-page form (like XMLForm example) ?
- is a File upload widget exist ?
- how create a rule validation ?

thank in advance

_________________________________________________________________
MSN Messenger 6  http://g.msn.fr/FR1001/866 : plus de personnalisation, plus 
de fun pour vous et vos amisÂ…


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Woody : multipage Form and File Upload Widget

Posted by Bruno Dumon <br...@outerthought.org>.
On Wed, 2003-07-30 at 19:55, maisonneuve nico wrote:
> hi ,
> i begin with woody form, and i would know:
> - if it's possible to create a multi-page form (like XMLForm example) ?

there's no special support in woody for that, but you can simply create
multiple separate forms.

> - is a File upload widget exist ?

No. You can of course manage the file-upload seperate from Woody.

> - how create a rule validation ?

The best way to find out is to look at existing validation rule
implementations. For each validation rule you need to write two classes:
the builder, which can create the validation rule based on an XML
configuration (DOM Element), and the validation rule class itself. Both
need to implement a specific interface. Finally you need to configure
the new validation rule in the cocoon.xconf file. Just search for the
validation-rules element over there. The "name" that you configure there
is the same as the tag you'll need to use the form definition.

Note that Woody is still under heavy development, and much of this could
change.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org