[
http://jira.jboss.com/jira/browse/JBSEAM-1083?page=all ]
Gavin King closed JBSEAM-1083.
------------------------------
Resolution: Rejected
Negative. That is only one of the two places a page parameter might be.
And I do not believe that this is nonworking. It works for me in the examples.
You must provide a testcase if you want me to take this seriously.
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