You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jason Johnston <co...@lojjic.net> on 2005/09/10 17:00:22 UTC

[Fwd: Difference between and ?]

(This message was sent to my personal address; forwarding to the users 
list.  Discussion should take place there.  There was also a zip 
attachment but the mailing list rejects it.)

-------- Original Message --------
Subject: 	Difference between and ?
Date: 	Sat, 10 Sep 2005 13:41:44 +0530
From: 	<vi...@wipro.com>
To: 	<co...@lojjic.net>



Hi,

What's the difference between <fd:group> and <fd:struct>?

I have attached my code snippet below & also attached my template &
definition files(union.zip).

I'm getting following error If I have used <fd:group> in the definition
file.

*cause: org.apache.avalon.framework.service.ServiceException:
Non-existing component for this hint (Key='group')*

/ <!--fd:union id="description_u" case="description_c">
       <fd:widgets>
         <fd:group id="visible">
           <fd:widgets>
             <fd:field id="description">
               <fd:datatype base="string" />
             </fd:field>
           </fd:widgets>
         </fd:group>
         <fd:group id="disabled">
           <fd:widgets></fd:widgets>
         </fd:group>
         <fd:group id="hidden">
           <fd:widgets></fd:widgets>
         </fd:group>
       </fd:widgets>
     </fd:union-->


     <fd:union id="description_u" case="description_c">
       <fd:widgets>
         <fd:struct id="visible">
           <fd:widgets>
             <fd:field id="description">
               <fd:datatype base="string" />
             </fd:field>
           </fd:widgets>
         </fd:struct>
         <fd:struct id="disabled">
           <fd:widgets></fd:widgets>
         </fd:struct>
         <fd:struct id="hidden">
           <fd:widgets></fd:widgets>
         </fd:struct>
       </fd:widgets>
     </fd:union>/
//
Thanks,
   Vijay.



Confidentiality Notice

The information contained in this electronic message and any attachments
to this message are intended
for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.


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