[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2345) pages-2.0.xsd handling of <Navigation> doesn't allow standard rules and a null-accepting implicit rule

Matt Drees (JIRA) jira-events at lists.jboss.org
Sat Jan 5 12:57:43 EST 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2345?page=comments#action_12393923 ] 
            
Matt Drees commented on JBSEAM-2345:
------------------------------------

Ah, yes, that's much better.  Thanks Pete.

> pages-2.0.xsd handling of <Navigation> doesn't allow standard rules and a null-accepting implicit rule
> ------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-2345
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2345
>             Project: JBoss Seam
>          Issue Type: Bug
>    Affects Versions: 2.0.0.GA
>            Reporter: Matt Drees
>         Assigned To: Pete Muir
>            Priority: Minor
>             Fix For: 2.0.1.GA
>
>         Attachments: pages-2.0.xsd-patch.txt
>
>
> pages-2.0.xsd doesn't allow something like this:
> <page view-id="/admin/manage/registrants/confirmDeleteRegistrant.xhtml">
>    <navigation from-action="#{registrantController.deleteSelectedRegistrant}">
>       <rule if="#{not empty registration.existingRegistrants}">
>          <redirect view-id="/admin/manage/registrants/showRegistration.xhtml"/>
>       </rule>
> 	   		
>       <redirect view-id="/admin/registrantSearching.xhtml"/>
>    </navigation>
> </page>
> The XSD file doesn't allow a set of <rule>s *and* an implicit rule, even though Pages.java handles it correctly.

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

        



More information about the seam-issues mailing list