Sorry.  I don't think I understand your problem.  When you say the stack is
being cleared are you seeing nulls in your converter for values that were
previously populated on the stack by the Parameters Interceptor?



Andrei Ivanov-2 wrote:
> 
> On Sat, Jan 17, 2009 at 7:30 PM, Andrei Ivanov <[email protected]>
> 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: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/stack-values-in-converter-tp21518740p21556233.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to