[jboss-user] [JBoss Seam] - Re: need a solution, commandbutton triggers a session start
liudan2005
do-not-reply at jboss.com
Thu May 17 06:40:42 EDT 2007
my ejb.
| @Stateless
| @Name("myBean")
| public class MyBean implements MyBeanInterface{
|
| @In(create=true)
| MyState myState;
|
| public String search(){
| return doSearch(myState.getSearchString());
|
| }
|
| }
|
my page
|
| <h:inputText value="#{myState.searchString}" />
| <h:commandButton action="#{myBean.search}" value="Search Now" />
|
If I open the page and wait until session times out. if I click on "Search Now", myBean.search is not invoked.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046438#4046438
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046438
More information about the jboss-user
mailing list