[
https://jira.jboss.org/jira/browse/JBSEAM-4261?page=com.atlassian.jira.pl...
]
Gino Miceli updated JBSEAM-4261:
--------------------------------
Description:
Seam component:
@Name("test")
public class Wrapper {
@Unwrap
public String getAString() {
return null;
}
}
JSF page:
<html
xmlns="http://www.w3.org/1999/xhtml">
<body>
#{empty test ? 'test is null' : test.class.name}
</body>
</html>
Outputs
Wrapper_$$_javassist_seam_2
This behavior appeared after updating from 2.1.1.GA to 2.1.2.GA.
Similar to JBSEAM-283
was:
Seam component:
@Name("test")
public class Wrapper {
@Unwrap
public String getAString() {
return null;
}
}
JSF page:
<html>
<head
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<title>Unwrap test</title>
</head>
<body>
#{empty test ? 'test is null' : test.class.name}
</body>
</html>
Outputs
Wrapper_$$_javassist_seam_2
This behavior appeared after updating from 2.1.1.GA to 2.1.2.GA.
Similar to JBSEAM-283
When an @Unwrap annotated method returns null, JSF EL returns the
wrapper itself
--------------------------------------------------------------------------------
Key: JBSEAM-4261
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4261
Project: Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.1.2.GA
Reporter: Gino Miceli
Seam component:
@Name("test")
public class Wrapper {
@Unwrap
public String getAString() {
return null;
}
}
JSF page:
<html
xmlns="http://www.w3.org/1999/xhtml">
<body>
#{empty test ? 'test is null' : test.class.name}
</body>
</html>
Outputs
Wrapper_$$_javassist_seam_2
This behavior appeared after updating from 2.1.1.GA to 2.1.2.GA.
Similar to JBSEAM-283
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira