« Return to Thread: Sorting and WebWork

Sorting and WebWork

by Richard Wallace-2 :: Rate this Message:

Reply to Author | View in Thread

Hello,

I'm trying to use displaytag with WebWork.  I want my columns to be sortable.  The problem that I'm having is that the urls that are generated are causing problems for the WebWork setting values on actions from the parameters.  For instance, the parameter name "d-4002248-o" causes the exception:

2007-02-08 10:35:14,422 4178666 ERROR [btpool0-24] com.opensymphony.xwork.util.OgnlValueStack  (OgnlValueStack.java:158) - Error setting expr 'd-400224
with value '[Ljava.lang.String;@1c33b55'
ognl.InappropriateExpressionException : Inappropriate OGNL expression: (d - 4002248) - o
        at ognl.SimpleNode.setValueBody(SimpleNode.java:257)

This throws off the processing of the other parameters which causes values on my action to not get set. 

Is there an easy way to change the name of these parameters?  I tried sortName but that didn't work.  Any other suggestions?

Thanks,
Rich

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@...
https://lists.sourceforge.net/lists/listinfo/displaytag-user

 « Return to Thread: Sorting and WebWork