This is a known bug and will be fixed as soon as Ognl 2.6.4 comes out
(any day I'm told).

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Micha³ Mosiewicz
Sent: Wednesday, October 15, 2003 2:22 PM
To: opensymphony-webwork
Subject: [OS-webwork] Question: how do I convert to null

I'm trying to add my convert and to convert empty parameters to null
values.
But it seems that in such case, OGNL takes the null value as a signal
that
conversion was not successful. So it backs up to using original String[]
as
method argument, which simply doesn't work.

How should I deal with that? I'm trying to catch the conversion problems
in
my customized ParameterInterceptor, but it seems that I have
OgnlException
for every null value.

As far as I can see this is related to poor handling of exceptions in
Ognl
itself... does anybody know if there are some changes to Ognl planned to
fix
that?

-- Mike



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to