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

Daniel Wiell (JIRA) jira-events at lists.jboss.org
Mon Mar 30 04:46:22 EDT 2009

    [ https://jira.jboss.org/jira/browse/JBSEAM-3168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12459563#action_12459563 ] 

Daniel Wiell commented on JBSEAM-3168:

<param name="testParam" value="#{requesScopet['test']}" /> works fine.

So this turned out not to be an issue - just something to keep in mind when upgrading from Seam 1.x.

> Allow page params to put values directly into the event scope
> -------------------------------------------------------------
>                 Key: JBSEAM-3168
>                 URL: https://jira.jboss.org/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: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list