[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-4261) When an @Unwrap annotated method returns null, JSF EL returns the wrapper itself
Gino Miceli (JIRA)
jira-events at lists.jboss.org
Tue Jun 23 05:05:57 EDT 2009
[ https://jira.jboss.org/jira/browse/JBSEAM-4261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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.
was:
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
> 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.
--
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
More information about the seam-issues
mailing list