When my portlet does something by clicking on an action URL (
renderResponse.createActionURL), I set some attributes in the performAction
method (i.e. actionRequest.setAttribute("current_state", stateABC))
I intend to have the doView retrieves this state and then select an appropriate
JSP to dispatch to.
BUT, in doView(), the renderRequest.getAttribute("current_state") is null....
Is it the expected behaviour? Why is it so?
I want the state to last for just the request scope, so, when the goes to
another page and then back again, my portlet will display a default state....
How can I achieve so?? (Because i found the actionResponse.setRenderParameter()
will last for not just the request scope... but until I have another render URL
/ action URL clicked).
Thanks in advance!!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955325#3955325
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955325
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user