There is no reason that shouldnt work, I have whitespace similar to
that in all my code.
Dean.
On 14/03/06, Keshavan, Rango <[EMAIL PROTECTED]> wrote:
> I was wondering if something like this is a possibility? It is not
> working right now, is there some way to get it to work?
>
> Instead of writing
>
> <display:table name="someList" varTotals="totals">
> <display:column property="itemName"/>
> <display:column property="price" total="true"/>
> <display:footer>
> <tr>
> <td>Total Bill:</td>
> <td><c:out value="${totals.column2}" /></td>
> <tr>
> </display:footer>
> </display:table>
>
> How can we write
>
> <display:table
> name="someList"
> varTotals="totals">
> <display:column
> property="itemName"/>
> <display:column
> property="price"
> total="true"/>
> <display:footer>
> <tr>
> <td>Total Bill:</td>
> <td><c:out value="${totals.column2}" /></td>
> <tr>
> </display:footer>
> </display:table>
>
>
> Thanks!
>
>
> ----------
> Rango Keshavan
> 617 563 2435
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> [mailto:displaytag-user-
> > [EMAIL PROTECTED] On Behalf Of Nathan Maves
> > Sent: Tuesday, March 14, 2006 1:40 PM
> > To: [email protected]
> > Subject: [displaytag-user] Initial sort issues when using a column
> > decorator
> >
> > First off I am using the 1.1 version.
> >
> >
> > I have a List of POJO's of which on of the columns is a
> > java.lang.Long representing a number of minutes.
> >
> > I have created a column decorator that displays the data as "3d 5h
> > 28m". All of this works perfect,
> >
> > I have defined the column as below.
> >
> > <display:column property="value" title="Time" sortable="true"
> > decorator="lighthouse.decorators.DateDecorator"/>
> >
> > The issue that I have is that when I specify that the table have a
> > defaultsort it is not sorting the column correctly. The page
> > displays the column as if it was sorted but in reality it is not. If
> > I click on the column title it will sort properly. Just not for the
> > initial display.
> >
> >
> > Here is the full code
> >
> > <display:table class="mars" name="cases" id="row"
> > requestURI="ViewCases.do" defaultsort="8" defaultorder="descending">
> > <display:column property="caseId" title="Case ID" />
> > <display:column property="customerName" title="Customer
> > Name" sortable="true"/>
> > <display:column property="status" title="Status"
> > sortable="true"/>
> > <display:column property="serviceLevel" title="Service
> > Level" sortable="true"/>
> > <display:column property="severity" title="Severity"
> > sortable="true"/>
> > <display:column title="Owner" sortable="true">
> > ${row.firstName} ${row.lastName}
> > </display:column>
> > <display:column property="groupName" title="Group"
> > sortable="true"/>
> > <display:column property="value" title="Time"
> > sortable="true" decorator="lighthouse.decorators.DateDecorator"/>
> > <display:column property="value" title="Time"/>
> > </display:table>
> >
> > Any help would be great and I love the product so far!
> >
> > Nathan
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > language
> > that extends applications into web and mobile media. Attend the live
> > webcast
> > and join the prime developer group breaking into this new coding
> > territory!
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > _______________________________________________
> > displaytag-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user