[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1083) Page parameters not working on captured in #{redirect.captureCurrentView}
Felix Ho?feld (JIRA)
jira-events at lists.jboss.org
Tue Mar 20 12:36:34 EDT 2007
Page parameters not working on captured in #{redirect.captureCurrentView}
-------------------------------------------------------------------------
Key: JBSEAM-1083
URL: http://jira.jboss.com/jira/browse/JBSEAM-1083
Project: JBoss Seam
Issue Type: Bug
Components: Security
Affects Versions: 1.2.0.GA
Environment: Windows XP, JDK 1.6.0, JBoss 4.2.1.CR1
Reporter: Felix Ho?feld
The page params defined in pages.xml are not saved during the call to captureCurrentView.
I ran this through the debugger and traced the bug down to org.jboss.seam.core.Pages.getViewRootValues(FacesContext facesContext). Things go wrong when retriving the page parameters:
Code:
for ( Param pageParameter: page.getParameters() )
{
Object object = Contexts.getPageContext().get( pageParameter.getName() );
if (object!=null)
{
parameters.put( pageParameter.getName(), object );
}
}
It loops correctly over my parameters but it fails to retrieve them: pageParamter.getName() delivers the name of my parameter correctly but but Contexts.getPageContext().get() always returns null. So nothing is ever put into the parameters map.
--
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