cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: [forms] multivaluefields without selection lists
Date Fri, 21 Oct 2005 08:26:56 GMT
On Thu, 2005-10-20 at 22:54 -0600, Antonio Gallardo wrote:
> Bruno Dumon wrote:
> 
> >Hi,
> >
> >I have removed the restriction that multivaluefields cannot have a
> >selection list, and added a rendering for multivaluefields without
> >selection lists.
> >
> >It consists of an input field with a listbox below it, entries are added
> >by entering something in the input field and pressing enter. It is of
> >course possible to remove items (by selecting them and pressing delete)
> >and it is also possible to rearrange them (using ctrl+up/down arrow,
> >this also works when multiple items are selected). To replace the
> >selected item, you can press ctrl+enter in the input field.
> >
> >I have added an example of this to the form1 sample.
> >  
> >
> Thanks Bruno!
> 
> Can this work with a validator?

It is just a new rendering for the existing multivaluefield widget, so
the normal server-side validation works as always.

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


Mime
View raw message