[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3168) Allow page params to put values directly into the event scope
Jakub Janczak (JIRA)
jira-events at lists.jboss.org
Sun Mar 29 11:28:22 EDT 2009
[ https://jira.jboss.org/jira/browse/JBSEAM-3168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12459512#action_12459512 ]
Jakub Janczak commented on JBSEAM-3168:
---------------------------------------
have you checked the form
<param name="testParam" value="#{request['test']}" />
??
> 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