[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1443) allow SeamTest to test navigation rules with "from-action"

Matt Drees (JIRA) jira-events at lists.jboss.org
Tue Jun 12 23:26:11 EDT 2007


allow SeamTest to test navigation rules with "from-action"
----------------------------------------------------------

                 Key: JBSEAM-1443
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1443
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Test Harness
    Affects Versions: 1.3.0.ALPHA
         Environment: Seam cvs - june 12 2007
            Reporter: Matt Drees
            Priority: Minor


Currently integration tests run most navigation rules in pages.xml, which is awesome.  However, ones like 
<navigation from-action="#{familyOverviewManager.done}">
   <rule if="#{not registrationManager.isManaged}">
      <render view-id="/persistRegistration"/>
   </rule>
</navigation>

are not run, because of the 'from-action' attribute.  Currently SeamTest has something like

         String outcome = getInvokeApplicationOutcome();
         facesContext.getApplication().getNavigationHandler().handleNavigation(
                  facesContext, null, outcome);

Could this be changed to something like

         String outcome = getInvokeApplicationOutcome();
         String fromAction = getInvokeApplicationFromAction();
         facesContext.getApplication().getNavigationHandler().handleNavigation(
                  facesContext, fromAction, outcome);
?


-- 
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