[jbosstools-issues] [JBoss JIRA] Assigned: (JBIDE-6360) Need to validate view-id locations in pages.xml

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue Jun 15 07:35:46 EDT 2010


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

Alexey Kazakov reassigned JBIDE-6360:
-------------------------------------

    Assignee: Viacheslav Kabanovich  (was: Alexey Kazakov)


Slava, looks like we already do such a validation for Graphical tab. If we can reuse it for source page then please do it. Otherwise we can create a simple wst validator.

> Need to validate view-id locations in pages.xml
> -----------------------------------------------
>
>                 Key: JBIDE-6360
>                 URL: https://jira.jboss.org/browse/JBIDE-6360
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Seam
>    Affects Versions: 3.1.0.GA
>            Reporter: Samuel Mendenhall
>            Assignee: Viacheslav Kabanovich
>            Priority: Minor
>             Fix For: 3.2.x
>
>
> Currently one can put a wrong view-id in a navigation in pages.xml and JBoss Tools does not complain about it.  It would be nice to have a compile time checking so that 
> <page view-id="/home.xhtml" action=
> "#{identity.isLoggedIn}">
>    <navigation>
>        <rule if="#{identity.loggedIn}">
>            <redirect view-id="/man.xhtml"/>
>        </rule>
>    </navigation>
> </page>
> for example is flagged as /man.xhtml is spelled wrong, it should be /main.xhtml

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list