[
http://jira.jboss.com/jira/browse/JBSEAM-1443?page=all ]
Matt Drees updated JBSEAM-1443:
-------------------------------
Description:
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);
?
was:
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);
?
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
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