Thanks Rick for the reply.
When I put the property i didn't see the link in that column.

Could you please provide me an example of how to use decorator for this?

Thanks

--- On Fri, 18/3/11, Rick.Wellman <rick.well...@kiewit.com> wrote:

From: Rick.Wellman <rick.well...@kiewit.com>
Subject: Re: [displaytag-user] Display tag with total=true and href
To: displaytag-user@lists.sourceforge.net
Date: Friday, 18 March, 2011, 9:23 PM

Displaytag is trying to convert your entire href string into a number (which 
it/java obviously cannot do).  I notice that you’re not using the property 
attribute on the tag; you may have to use that with a decorator to get the 
desired effect.  From: sumathie s [mailto:sumathi...@yahoo.co.in] 
Sent: Friday, March 18, 2011 10:48 AM
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] Display tag with total=true and href  Hi 

Having an issue with using total= true and href to open in the new window in 
the display column

                    <display:column 
                        class="numbercell" title="Budget Line Balance Amount" 
total="true"
                        format="{0,number, currency}"  >
                        
                        <a href="glBalanceInquiry.do target_blank  /><c:out 
value="${row.currentBudgetLineBalanceAmount}" /></a>
                        
                        </display:column>

Error message

java.lang.ClassCastException: java.lang.String cannot be cast to 
java.lang.Number
    at org.displaytag.model.HeaderCell.addToTotal(HeaderCell.java:593)
    at org.displaytag.model.HeaderCell.addCell(HeaderCell.java:618)


Please help

Thanks  
-----Inline Attachment Follows-----

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
-----Inline Attachment Follows-----

_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to