3 Replies Latest reply: Sep 18, 2013 6:19 PM by Rajesh K Duraisamy RSS

    Problem with hidden handle methods


      Hello everyone,


      I'm having a problem where I have a handle method on a hidden input and the "submitvalue" attribute set to "true". The form with this handle method is submitted via javascript/ajax.

      I have done this with other forms and it works fine, but with some classes I get this error:


      javax.servlet.ServletException: Cannot get value of property: myHandleMethod of item class MyFormHandlerClass. Path to property: MyFormHandler.myHandleMethod


      It seems to me that the handle method is not being interpreted correctly, because when I change the input to "submit" and remove the "submitvalue" attribute, it works.


      Any thoughts?