Remove or Update methods are not getting called when click update or remove button is being click. I can see the log message from preBind() method every time either button is clicked but never got to the corresponding action.
2008-04-17 11:03:31,376 INFO TestFileActionBean.preBind - preBind: C:\test\test.dat in my jsp I have ... <stripes:text name="filename" id="fileName" /> <stripes:button class="btn" value="Remove" name="remove" onclick="invokeRemove(this.form, this.name, 'xmlResult')" /> <stripes:button class="btn" value="Update" name="update" onclick="invokeUpdate(this.form, this.name, 'xmlResult')" /> ... In ActionBean class ... @DontValidate public void preBind() { log.info("preBind: " + file + " : " + filename); } @DefaultHandler @DontValidate public Resolution load() { log.info("loading: "); return new ForwardResolution("/pages/fileform.jsp"); } public Resolution remove() { log.info("removing: "); return new StreamingResolution("test", new StringReader("this is a test")); } public Resolution update() { log.info("updating: "); return new StreamingResolution("test", new StringReader("this is a test")); } ... -- View this message in context: http://www.nabble.com/Action-not-getting-called-tp16744830p16744830.html Sent from the stripes-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users