[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1737) JBoss EL sends null as blank

Damian Harvey (JIRA) jira-events at lists.jboss.org
Sun Jul 29 11:12:47 EDT 2007


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


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