Hi Paulo,

I am not sure if I am understanding what you want to do... But it looks like you are trying to insert a kind of Javascript function with a index to be retrieved on the fly. If I am in the right way, I belive that you need to process the sale forecast value before and make it ready to be placed there. I am not sure that Display Tag could execute your function when the client clicks over the column title link.

Please, correct me if I am wrong. I´d like to know how to achieve that as well.

Best Regards,
José Renato.

Paulo Freitas escreveu:
Hi everybody,
I was just wondering how could I pass a paramente on the sortProperty in the display:column tag. I wanna be able to do something like this: <display:column sortProperty="saleForecastValue(${index})" sortable="true" defaultorder="descending" title='<div align="center">${fMonth}</div></br>'><bean:write name="saleforecast" />
  </display:column>
but unfortunatelly, it's not being accepted and I'm getting the following error message:
  org.displaytag.exception.RuntimeLookupException: LookupException while trying to fetch property 
"saleForecastValue(4)". Cause: Error looking up property "saleForecastValue(4)" in object 
type "ca.tci.toyota.model.part.vo.PartFrcstInfo"..
org.displaytag.exception.RuntimeLookupException: LookupException while trying to fetch property 
"saleForecastValue(4)". Cause: Error looking up property "saleForecastValue(4)" in object 
type "ca.tci.toyota.model.part.vo.PartFrcstInfo"..

  I hope someone can shed a light on this for me.
Thanks in advance,
  Paulo.

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to