[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1737) JBoss EL sends null as blank
Gavin King (JIRA)
jira-events at lists.jboss.org
Thu Aug 2 01:43:49 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1737?page=comments#action_12370816 ]
Gavin King commented on JBSEAM-1737:
------------------------------------
yew, what a horrible behavior...
> JBoss EL sends null as blank
> ----------------------------
>
> Key: JBSEAM-1737
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1737
> Project: JBoss Seam
> Issue Type: Bug
> Components: EL
> Affects Versions: 2.0.0.BETA1
> Environment: Jboss 4.2 GA, Mac 10.4.8
> Reporter: Damian Harvey
> Assigned To: Pete Muir
>
> If you have a method call from a JSF page that passes a null string, this will be blank rather than null in the method.
> eg. the page:
> <s:link action="#{testNull.test(null)}" value="Send Null"/>
> and in the method:
> public void test(String str) {
> log.info("String : #0. Is null? #1", str, str==null);
> }
> the result is : "String : . Is null? false"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list