Is it possible for a controller to throw up a message box?

I need my controller to give some feedback to the user by popping up a
message box. Does anyone have any ideas how this can be done?

Thanks

–John

jh100000 wrote:

I need my controller to give some feedback to the user by popping up a
message box. Does anyone have any ideas how this can be done?

Not sure why’d you want to do this, but it could be achieved via clever
use of Ajax and an RJS template.

On 8/10/06, jh100000 [email protected] wrote:

I need my controller to give some feedback to the user by popping up a
message box. Does anyone have any ideas how this can be done?

page.alert

http://api.rubyonrails.com/classes/ActionView/Helpers/PrototypeHelper/JavaScriptGenerator/GeneratorMethods.html#M000438