You need to put your action in a transition action :
showTable {
on('upload') {
// ... the code from your uploadCSV action state ...
}.to "convertKML"
}
on error, it will go back to the showTable view, on success to convertKML.
Please refer to the user guide, § 6.5.2. All this is explained there.
You should (re)read the chapter 6.5 carefully. It helped for me :-)
jyro215 a écrit :
> It ends up that the problem is with my .gsp and not my controller. I'm
> trying to make it so a file upload initiates the uploadCSV action. How
> would I make a form so that when a submit button is pressed it goes to
> uploadCSV?
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email