[jboss-user] [JBoss Seam] - Re: Does redirect.captureCurrentView save page parameters?
Delphi's Ghost
do-not-reply at jboss.com
Mon Sep 17 11:47:38 EDT 2007
Yep, that works....Thanks for the response!
FYI for the next unfortunate soul that comes across this. Instead of using :
| @RequestParameter
| private Long myId
|
you need to take out the request parameter annotation and just have the member declaration.
In your bean interface add the following methods :
| Long getMyId();
| void setMyId(Long myId);
|
and implement these two methods in your session bean to get/set the myId member.
In pages.xml for the page that needs the parameter put :
| <param name="myId" value="#{MyBean.myId}"/>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085120#4085120
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085120
More information about the jboss-user
mailing list