I would just do this using RJS:
render :update { |page| page.alert "alert message" }
Sean Wolfe
master nerd of
i heart squares, inc.
3711 N. Ravenswood Ave. #147 Chicago, IL 60613
http://www.iheartsquares.com
:: Raised By an 8" Floppy Disk (tm) ::
On Jul 30, 2007, at 3:06 PM, Shandy Nantz wrote:
>
> Is there a render :alert to make a popup box display from the
> controller? Or anything similiar? Just grasping at straws. I know
> there
> has to be a way to do this. I am trying to get a popup box to show
> if a
> validation check fails. Thanks,
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---