search for: link_to_remote_redbox

Displaying 3 results from an estimated 3 matches for "link_to_remote_redbox".

2007 Feb 25
5
Dynamically uploading a list that's already in a form
I have the classic case of: Posts, and Categories. When the user submits a post, he has a drop-down list of categories. I want to put a "Add category" link next to the list of categories. This is already inside a form, so a "link_to_remote" that creates a small AJAX form inside the "submit post" form will not work because that will mean to embed a form in another
2006 Nov 04
0
Prototype observe issues
...e events working in Safari again by assigning body:keypress the above action but firefox hated that completely. I also need to be able to remove the observer when I make a call to RedBox plugin which opens up a form. I can do this in safari no problem when using the following code: <%= link_to_remote_redbox ''Click Here'', {:url => my_url_path (@object), :method => :get, :loading => "Event.stopObserving (document,''keypress'', Myapp. myObserver);"} %> And I reset the observer if I click on the close link without submitting the form without a p...
2008 Jan 19
5
Open a (redbox) modal popup from inside a controller?
Hi, I''m trying to open a modal popup window using redbox to display a styled notification/alert to the user. The helpers in the redbox documentation only describe how to open a redbox when the user clicks on a link, e.g., link_to_redbox() or link_to_remote_redbox(). Is there any way to open a redbox, or a different type rails- compatible modal popup, from inside a controller action? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group....