[jboss-user] [JBoss Portal] - Re: lossing of attributes in the request scope of jsf

vadymkarpenko do-not-reply at jboss.com
Fri Nov 10 04:08:11 EST 2006


I understand that this looks like a very simple problem.
But I still have a question on our example "HelloWorldJSFPortlet". In this portlet you are using 


  |    <managed-bean>
  |       <description>Basic UserBean</description>
  |      <managed-bean-name>user</managed-bean-name>
  | <managed-bean-class>org.jboss.portlet.hello.bean.User</managed-bean-class>
  |       <managed-bean-scope>session</managed-bean-scope>
  |    </managed-bean>
  | 

and it works ok because the score is session. But if you change the scope to request it doesn't work.
I have started this example like web app in tomcat, and it works ok with the scope request.
So I think that this is some of the problem of jsf portlet.

I have examined portal-core.war on this aspect . You have there beans in the request scope but you are using them to change session scope beans. So you are not using there request scope beans at the result page.

I will appreciate if you will answer on this problem.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984824#3984824

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984824



More information about the jboss-user mailing list