Gregory Pierce
2007-01-22 22:52:43 UTC
OKay, so I have something that I think should be pretty
straightforward, but I'm not sure what the proper way is to implement
this. I have a table that is listing the files in a directory on the
server and I have an upload button there. When its clicked, a div
appears that shows the file upload interface. When I click the
upload, the upload closure in my FileController is called, but after
its done - I want to refresh the div that is showing the list of
files. I'm not sure how to accomplish this. I know I shouldn't have
any script or anything in the controller (because that would be
evil), but I don't want to go to a gsp file either. All I really want
is to have a default render behavior when that action is completed.
Any ideas?
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
straightforward, but I'm not sure what the proper way is to implement
this. I have a table that is listing the files in a directory on the
server and I have an upload button there. When its clicked, a div
appears that shows the file upload interface. When I click the
upload, the upload closure in my FileController is called, but after
its done - I want to refresh the div that is showing the list of
files. I'm not sure how to accomplish this. I know I shouldn't have
any script or anything in the controller (because that would be
evil), but I don't want to go to a gsp file either. All I really want
is to have a default render behavior when that action is completed.
Any ideas?
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email