Hi all.

In my project I need to generate edit form for a class like this:

class Section{
 List<Section> subSectionList;
 List<Field> fieldList;
}


I tried to implement SectionEditComponent with following html template:

<table cellspacing="10">
<tr jwcid="@For" source="ognl:subsectionsList" value="ognl:subsection" element="tr"> <td><span jwcid="@SectionEditComponent" section="ognl:subsection"/></td>
   </tr>
<tr jwcid="@For" source="ognl:fieldList" value="ognl:field" element="tr">
       <td><span jwcid="@Insert" value="ognl:field.name"/></td>
       <td><span jwcid="@TextField" value="ognl:field.value"/></td>
   </tr>
</table>


But Tapestry 4.1 says that I have recursive components references and throws an exception.

Probably I'm doing something wrong, maybe my task should be done in completely different manner.. Any ideas?
Is there any way to develop visual editor for such a recursive classes?


Best regards,
Dmitry.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to