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

Alexey Kazakov (JIRA) issues at jboss.org
Thu Dec 12 15:52:32 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-16295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-16295:
-----------------------------------

    Attachment: scr.png
                scr2.png


Does your project have JBT KB support enabled?

!scr.png!

If yes, then that eclipse validation is supposed to be disabled.

If not, then you cad disable this buggy eclipse validation:

!scr2.png!
                
> 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: upstream
>            Reporter: Lincoln Baxter III
>            Assignee: Alexey Kazakov
>         Attachments: scr.png, scr2.png, 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