java code String onActivate(EventContext eventContext){ if(eventContext.getCount==0){ return "index"; } if(eventContext.getCount==1){ //do something } // ... }
Object onSubmitComment(@RequestParameter(COMMENT_PARAM) String comment){ //do something } I used firebug and found that client receive "/" as response. I noticed that the onActivate method had been called. I have to use both onActivate and onSubmitComment event for my page. What should I do?