on a imported page a I have a form with a textarea and a submit button. On the named tag of submit button I added a Form Submit Action, which calls a method. Heres the source code:
<form name= 'ChangeMeta' method= 'post'> <textarea rows= '1' cols= '45' id= 'newMeta' name= 'newMeta'><%= meta%></textarea> <input type= 'hidden' name= 'docId' id= 'docId' value= '<%= docId %>'/> <input type= 'submit' id= 'submit' name= 'submit' value= 'Change Meta-Data'/> </form>
The compiled code in the browser looks like that
<FORM name= "ChangeMeta" method= "post"> <TEXTAREA rows= "1" cols= "45" id= "newMeta" name= "newMeta">Daily News</TEXTAREA> <INPUT type= "hidden" name= "docId" id= "docId" value= '1325'> <INPUT type= "submit" id= "submit" name= "submit" value= "Change Meta-Data" action= '/BR_Widgets/webengine/factory/widget/Dispatcher/Action!_pageDispatcher/...'> </FORM>
In the Form Action Event Builder I set the method as Action and typed as Input Mappings the two parameters of textarea and hidden field.
In the method I would like process the parameters.
However the variables are not the problem, yet, because after submit nothing happens. The method wont called.
Can anybody help me?