[richfaces-issues] [JBoss JIRA] Reopened: (RF-1519) <t:savestate> auto save request scope bean to session scope

Anton Belevich (JIRA) jira-events at lists.jboss.org
Wed Dec 26 10:40:45 EST 2007


     [ http://jira.jboss.com/jira/browse/RF-1519?page=all ]

Anton Belevich reopened RF-1519:
--------------------------------

      Assignee: Anton Belevich  (was: Viktor Volkov)
             
user wrote: 

i test navigate from page1 to page2 through action ,it's ok.
but in my enviorment ,i use iframe in page,left is navigate tree,right is iframe,user click left tree entry,iframe filled page content,if tree
have two entry,when exchange page from tree entry,"error" appear.
i think ,through ie's address ,i can simply test this question,first i type http://127.0.0.1:8090/test/testRichfacesTable1.faces,this backBean don't fetch data,
fetch data in method doSearch,i click search button ,this action execute doSearch method,data is showing,second i type http://127.0.0.1:8090/test/testRichfacesTable2.faces
,when testRichfacesTable2.faces show,i type first page http://127.0.0.1:8090/test/testRichfacesTable1.faces,page data yet exists,in version 3.01,data don't appear ,because
create new backBean.
this is my quetion.

> <t:savestate> auto save request scope bean to session scope 
> ------------------------------------------------------------
>
>                 Key: RF-1519
>                 URL: http://jira.jboss.com/jira/browse/RF-1519
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>         Environment: windows xp sp2
> tomcat 5.5
> eclpise 3.2
> jdk 1.5.08
> myfaces1.5
> facelets 1.1.13
>            Reporter: shi long
>         Assigned To: Anton Belevich
>             Fix For: 3.2.0, 3.1.3
>
>
> when i use ajax4jsf1.1.10 and tomhawk 1.5,richfaces3.0 facelets 1.1.10 in developement,no problem.
> but when i upgrade to use richfaces3.1.0 later version, remain  other package(tomhawk,facelets),
> for example:
> page1.xhtml
> <t:saveState value="bean1"></t:saveState>
> ....
> page2.xhtml
> <t:saveState value="bean2"></t:saveState>
> bean1 and bean2 both in request  scope 
> <managed-bean-scope>request  </managed-bean-scope>
> in jsf page,when i in page1.jsf,bean1only create once,in page1.jsf,state saved .
> when i click into page2.jsf  ,then ,click into page1.jsf,in richfaces3.0 ,old bean1 destroy,new bean1 create,but in richfaces3.1.0 ,old bean1 yet exist.
> so i guess richfaces3.1.0 auto transfer request scope bean to session.
> because from tomhawk documention,when bean not contain t:saveState in page ,request scope bean will destroy.
> sorry ,i don't master english language,i wish my question can read by others. thanks

-- 
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 richfaces-issues mailing list