Re: [OT] PropertyEditor

2006-03-16 Thread Mujahid Ali
Yep thats what I ended up doing. The code (Locale)ExpressionEvaluatorManager.evaluate("locale", expr,Locale.class, this, pageContext) was working against standard.jar (1.0).So just not sure why this is breaking all of a sudden. Thanks, Mujahid Frank W. Zammetti wrote: I'm not sure

Re: [OT] PropertyEditor

2006-03-16 Thread Frank W. Zammetti
I'm not sure about the convertor, but could you instead just do: String localCode = (String)ExpressionEvaluatorManager.evaluate("locale", expr, String.class, this, pageContext); Locale locale = new Locale(localCode); At least that way your only asking the ExpressionEvaluatorManager to deal with a

[OT] PropertyEditor

2006-03-16 Thread Mujahid Ali
I have a custom tag in which I am evaluating an attribute as follow: (Locale)ExpressionEvaluatorManager.evaluate("locale", expr, Locale.class, this, pageContext) But I get an error: javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "locale" with value