[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1443) allow SeamTest to test navigation rules with "from-action"
Gavin King (JIRA)
jira-events at lists.jboss.org
Mon Jun 18 01:21:11 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1443?page=all ]
Gavin King closed JBSEAM-1443.
------------------------------
Fix Version/s: 1.3.0.BETA1
Resolution: Done
Assignee: Gavin King
Added invokeAction()
> 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
> Assigned To: Gavin King
> Priority: Minor
> Fix For: 1.3.0.BETA1
>
> Attachments: fromAction.txt
>
>
> 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}">
> <raise-event type="persistRegistration"/>
> <render view-id="/registrationHomePage"/>
> </rule>
> <rule>
> <render view-id="/registrationHomePage"/>
> </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