cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nyre, Valerie" <V.N...@oxseed.com>
Subject Cocoon FORMS: How to get children of a group widget
Date Mon, 26 Jul 2010 12:25:07 GMT
Hello

Somehow I am stuck and cannot find a function to iterate through widgets within a group:

I get this structure:

<fd:form
  <fd:widgets>
     <fd:group id="part_${partEditor.partTypeUse.partType.id}">
       <fd:widgets>
       .....



and I get a handle on the fd:group element.

I can do a Form parentItem = widget.getForm();
But when I do parentItem.getChildren(), I only receive the group and not the widgets embedded
within the group.
Because I have no clues as to the ids (names) of the widgets within the group, I cannot do
a lookupWidget()....

How do you solve such situations?

Thank you for any helpful advice



Valerie Nyre











Mit freundlichen Grüßen
With kind regards

Valerie Nyre
Dokumentation

Fon: +49 (0)76 72  48 17 12
Fax: +49 (0)76 72  48 17 28
mailto: v.nyre@oxseed.com<mailto:v.nyre@oxseed.com>


Mime
View raw message