[jbosstools-issues] [JBoss JIRA] (JBIDE-16295) JSF XHTML Validator is too restrictive when analyzing method return types

Lincoln Baxter III (JIRA) issues at jboss.org
Thu Dec 12 15:32:35 EST 2013


    [ https://issues.jboss.org/browse/JBIDE-16295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930958#comment-12930958 ] 

Lincoln Baxter III commented on JBIDE-16295:
--------------------------------------------

See screenshots for example.
                
> JSF XHTML Validator is too restrictive when analyzing method return types
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-16295
>                 URL: https://issues.jboss.org/browse/JBIDE-16295
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: jsf
>            Reporter: Lincoln Baxter III
>         Attachments: Screen Shot 2013-12-12 at 3.22.28 PM.png, Screen Shot 2013-12-12 at 3.22.40 PM.png
>
>
> The validator reports that only "String" may be returned from JSF action methods, but this is actually not the case. Any object may be returned, and .toString() will be called on it before JSF processes the navigation case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list