[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3168) Allow page params to put values directly into the event scope

Daniel Wiell (JIRA) jira-events at lists.jboss.org
Tue Jul 15 03:58:26 EDT 2008


Allow page params to put values directly into the event scope
-------------------------------------------------------------

                 Key: JBSEAM-3168
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-3168
             Project: Seam
          Issue Type: Feature Request
    Affects Versions: 2.0.2.SP1
            Reporter: Daniel Wiell


It would be great if a request parameter could be put directly into the event scope:

<page view-id="/test.xhtml">
    <param name="testParam" value="#{test}"/>
</page>

Currently this gives an exception:

java.lang.NullPointerException
	at org.jboss.seam.navigation.Param.validateConvertedValue(Param.java:248)
	at org.jboss.seam.navigation.Pages.convertAndValidateStringValuesInPageContext(Pages.java:753)
	at org.jboss.seam.navigation.Pages.postRestore(Pages.java:400)
	at org.jboss.seam.jsf.SeamPhaseListener.postRestorePage(SeamPhaseListener.java:544)
	at org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:390)
	at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:226)
	at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:192)
	at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175)

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