Hello All.

I am currently developing an application using tapestry 5.1.0.5, and well, quite amazed by the advantages and ease of development it gives to me ( being used to struts 1.x :-) ).

But now, i'm facing a problem, that i used to solve with Displaytag, and have not found any similar in tapestry.

Maybe someone could point me in the right direction ?


I want to display a treegrid-menu , like this ..


Column 1 Column 2  Column 3
0 1 10
                 11
                                   110
2 20
                                   201
I hope you get the point ...

Obviously, the column may be dinamically generated, depending on the menu depth ( already stored in a tree like structure )

Here is the code i used previously ...
I have no way to make tapestry integrate with the 'c' jsp tags ..

<display:table id="row" name="sessionScope.plantable" >
<display:column property="MainOption" title="Main Menu" group="1" sortable="true"/>
   <c:forEach begin="2" end="${MenuDepth}" var="column">
<c:set var="title" scope="page">Sub-Menu <c:out value="${column-1}"/></c:set> <c:set var="SubOption" scope="page">SubOption<c:out value="${column-1}"/></c:set> <display:column property="${SubOption}" title="${title}" group="${column}"/>
   </c:forEach>
</display:table>


Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to