struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <mart...@apache.org>
Subject Re: [S2] Parameters Interceptor and Dojo
Date Fri, 08 Dec 2006 04:16:17 GMT
On 12/7/06, Musachy Barroso <mbarroso@wfscorp.com> wrote:
>
> To prevent browser caching, Dojo adds a parameter "dojo.preventCache"
> with a random value to the request, this results in an exception like:
>
> 2006-12-07 09:54:07,916 ERROR
> (com.opensymphony.xwork2.interceptor.ParametersInterceptor:191) -
> ParametersInterceptor - [setParameters]: Unexpected Exception catched:
> Error setting expression 'dojo.preventCache' with value
> '[Ljava.lang.String;@2130c2'
>
> Somebody already mentioned it on the users list, and I saw it today.
> Given that Dojo is distributed with S2, can we ignore this parameter in
> the ParametersInterceptor to avoid the exception?


I think we have to, at least for now. The parameter name is not currently
customisable (although that would make a fine enhancement request for Dojo
:).

--
Martin Cooper


regards
> musachy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message