Re: How to determine the Type of a Bean Property from String based OGNL Expression

2009-02-09 Thread Torsten Krah
Am Freitag, 16. Januar 2009 18:13:49 schrieb dusty: > If you have the action can you use Reflection to step through the > properties and find the types that way? I am using now BeanIntrospection + Parsing the failed Expression. How can i get there without parsing the String and tokenizing the "ogn

Re: How to determine the Type of a Bean Property from String based OGNL Expression

2009-01-16 Thread dusty
Point-Anhänge. > Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html > > Really, I'm not out to destroy Microsoft. That will just be a > completely unintentional side effect." > -- Linus Torvalds > > > -- View this message in context: http

How to determine the Type of a Bean Property from String based OGNL Expression

2009-01-16 Thread Torsten Krah
I want to customize the conversion error messages to be more special in cases of wrong types. Using a custom interceptor this is possible to do but lets say the map contains an error for the field "rule.date". Thats the OGNL expression, telling me that getRule().setDate(Date a) failed, because