cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Legg <david.l...@searchevent.co.uk>
Subject Re: Error in documentation of Cocoon forms Union widget
Date Wed, 16 Sep 2009 08:23:16 GMT
Hi Robby,

Thanks for spotting that. It seems you are not the only one that has 
mentioned it... it was commented on back in December 2005! I have 
updated the daisy version of this document 
(http://cocoon.zones.apache.org/daisy/cdocs/g1/g2/g7/forms/widgets/741.html) 
but it will have to be published before it makes it to the live site. I 
never have had the courage to do that!

Regards,
David Legg


Robby Pelssers wrote:
>
> http://cocoon.apache.org/2.2/blocks/forms/1.0/741_1_1.html has a 
> mistakeā€¦ Inside the <fd:group> the <fd:widgets> tags are missing in 
> this example.
>
> <fd:field id="testcase">
>
> <fd:datatype base="string"/>
>
> <fd:selection-list>
>
> <fd:item value="case1"><fd:label>Case 1</fd:label></fd:item>
>
> <fd:item value="case2"><fd:label>Case 2</fd:label></fd:item>
>
> </fd:selection-list>
>
> </fd:field>
>
> <fd:union id="testunion" case="testcase">
>
> <fd:widgets>
>
> <fd:group id="case1">
>
> <fd:field id="field1">
>
> <fd:datatype base="string"/>
>
> </fd:field>
>
> <fd:field id="field2">
>
> <fd:datatype base="string"/>
>
> </fd:field>
>
> </fd:group>
>
> <fd:group id="case2">
>
> <fd:field id="field1">
>
> <fd:datatype base="long"/>
>
> </fd:field>
>
> <fd:field id="field2">
>
> <fd:datatype base="long"/>
>
> </fd:field>
>
> </fd:group>
>
> </fd:widgets>
>
> </fd:union>
>
> Cheers,
>
> Robby Pelssers
>

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


Mime
View raw message