|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Integrating DisplayTag in TapestryHello 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-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Integrating DisplayTag in TapestrySorry, the format screwed up.
What i basically want is 'group by' property in a grid table. How can this be achieved, anyone ? Thanks. > 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-unsubscribe@... > For additional commands, e-mail: users-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Integrating DisplayTag in TapestryOn Thu, Jul 2, 2009 at 8:58 AM, jose luis
sanchez<joseluis.sanchez@...> wrote: > Sorry, the format screwed up. > What i basically want is 'group by' property in a grid table. > How can this be achieved, anyone ? It will not solve your whole problem, but Tapestry's component that is more similar to DisplayTag is Grid: http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html -- Thiago --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Integrating DisplayTag in TapestryYes, i'm actually using grid with great success in other pages of my
app, but it's missing the 'group by' facility displaytag gives to me. > On Thu, Jul 2, 2009 at 8:58 AM, jose luis > sanchez<joseluis.sanchez@...> wrote: > >> Sorry, the format screwed up. >> What i basically want is 'group by' property in a grid table. >> How can this be achieved, anyone ? >> > > It will not solve your whole problem, but Tapestry's component that is > more similar to DisplayTag is Grid: > http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |