You'll need to make some mods for displaytag to work with S2. 1. You'll need to add an acceptableParameterName method to your classes, we just add it to our base class. 2. You have to add the Displaytag responseOverrideFilter to your web.xml for the export to work
Having said all that, we are moving away from display tag and to jQuery Datatables. Honestly our life has become so much easier since we started incorporating more client side javascript. The code is easier to follow, ajax calls make security a breeze and the server load is considerably lighter. Z. On 14/05/11 12:04 AM, "Miguel" <mig...@almeida.at> wrote: >Speaking of which, Dave, have you used displaytag recently? > >It seems to have been abandoned. It's good for regular usage, but as >time goes by we start having some problems. > >For example, with the export options (displaytag can export to excel, >pdf, etc automatically) we see a ognl WARN: > >WARN [CommonsLogger.java:60] : Error setting expression '6578706f7274' >with value '[Ljava.lang.String;@385b5df0' >ognl.ExpressionSyntaxException: Malformed OGNL expression: 6578706f7274 >[ognl.ParseException: Encountered " <INT_LITERAL> "7274 "" at line 1, >column 9. > >This is due to the fact that displaytag's export url is >Someaction.action?6578706f7274=1&d-16533-e=5 and 6578706f7274 doesn't >seem to be valid on recent versions. > >Miguel Almeida > > >Dave,On Wed, 2011-05-11 at 08:06 -0400, Dave Newton wrote: > >> >> DisplayTag is open-source, BTW. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org