On Sat, Jan 17, 2009 at 7:30 PM, Andrei Ivanov <andrei.iva...@gmail.com> wrote:
> Hello,
> I have a date converter that does something like this:
>
> String value = values[0];
> Locale locale = (Locale) context.get(ActionContext.LOCALE);
> DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, locale);
> Date date = df.parse(value);
>
> The locale is set in the context by the
> com.opensymphony.xwork2.interceptor.I18nInterceptor
>
> After upgrading struts and xwork it seems this code doesn't work
> anymore, because of the changes
> made in ParametersInterceptor, which clear the stack values (begining
> with "boolean clearableStack = newStack instanceof
> ClearableValueStack;")
>
> What can I do to make it work again?
>
> Thank you
>

Anyone?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to