cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: [Woody] field with selection-list (nice to have).
Date Wed, 26 Nov 2003 19:02:04 GMT
On Wed, 2003-11-26 at 03:59, Joe Latty wrote:
> Sorry to nag about selection lists but a nice to have would be
> something like
>  
> <wd:field id="city">
>  <wd:datatype base="string"/>
>  <wd:selection-list>
>      <wd:repeater id="cityList">
>        <wd:option value="cityCode" label="cityName>
>      </wd:repeater>       
>  </wd:selection-list>
> </wd:field>   
>  
> Then you could have a drop down list or use 
> <wi:styling type="checkbox|radio"/>

Putting a repeater inside a selection-list makes no sense, why would you
want to do that?

Radio button styling is already there, use:
<wi:styling list-type="radio"/>

Checkbox styling is available if you use the multivaluefield widget:
<wi:styling list-type="checkbox"/>

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


Mime
View raw message