[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2345) pages-2.0.xsd handling of <Navigation> doesn't allow standard rules and a null-accepting implicit rule
Christian Bauer (JIRA)
jira-events at lists.jboss.org
Mon Dec 3 16:52:51 EST 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-2345?page=all ]
Christian Bauer closed JBSEAM-2345.
-----------------------------------
Resolution: Won't Fix
Just use a <rule> without any if or if-outcome attribute.
> 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
> Priority: Minor
>
> 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