cocoon-users mailing list archives

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

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

I get this structure:

     <fd:group id="part_${}">

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

Fon: +49 (0)76 72  48 17 12
Fax: +49 (0)76 72  48 17 28

View raw message