Hello!

If I call ActionContext.getParamters() or
ServletActionContext.getParameters() in WW2 the returned
Collection consists of objects not castable to String. the
getClass().getName() method returns 

[Ljava.lang.String

as classname. I had to use ServletActionContext.getRequest() to access the
correct request parameters.

is this desired to be a WW2 bug?

regards,
Hans

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
BOGAERT Mathias
Gesendet: Mittwoch, 10. Dezember 2003 13:16
An: [EMAIL PROTECTED]
Betreff: [OS-webwork] Empty string property now "" instead of null?


Hi,

When a form field (single textfield) is not filled, the request param is an
empty string, which translates to an empty string array
(ParametersInterceptor), but my property setter is called with an empty
string. Should't that be null?

Cheers,
Mathias


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does
SourceForge.net help you be more productive?  Does it help you create better
code?  SHARE THE LOVE, and help us help YOU!  Click Here:
http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
Ikarus GuardNT hat dieses eMail auf Viren und Trojaner untersucht. Nichts
Verdächtiges gefunden.

keine Anlagen gefunden
-------------------------------------------------------

Ikarus GuardNT hat dieses eMail auf Viren und Trojaner untersucht.
Nichts Verdächtiges gefunden.

keine Anlagen gefunden
-------------------------------------------------------




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to