search for: in_place_editor_options

Displaying 5 results from an estimated 5 matches for "in_place_editor_options".

2006 Apr 03
0
Using "in_place_editor_options" for script.aculo.us options?
I was just learning about the "in_place_editor_field" tag when reading thru RAILs Recipes. What is "in_place_editor_options" for???? I was hoping after reading the script.aculo.us documentation that I could do something like this. <%= in_place_editor_field :contact, column.name, {:tag => ''div''}, { :cancelText => ''Never Mind...''} %> Here is the documentation...
2006 Aug 02
2
Passing Ajax.InPlaceEditor options
...rious forms of these options: <%= in_place_editor_field :platform, :name, {}, { :highlightcolor => "#EAEAEA" } %> <%= in_place_editor_field :platform, :name, {}, { "highlightcolor" => "#EAEAEA" } %> <%= in_place_editor_field :platform, :name, {}, :in_place_editor_options => { :highlightcolor => "#EAEAEA" } %> None of those worked, no error and no difference in the Ruby generated javascript code. Thanks in advance. Kyle Heon www.kyleheon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails...
2006 Nov 04
2
in_place_editor_field submitOnBlur & okButton=false options?
I have a few in_place_editor_fields working fine. I can access some of the script.aculo.us options such as :cols, :save_text, :cancel_text, but how do I access the okButton = false & submitOnBlur options? Basically, I want no submit button, a cancel button, and the ability to submit when I tab out of the field. Is this doable without writing a helper? (avoiding digging that deep so
2006 Jul 24
2
InPlaceSelectEditor question
I''m attempting to use the example given in the Rails Recipes book chapter 2, to create a select drop-down using the InPlaceEditor function (modified to be InPlaceSelectEditor. The example given works (a country list drop-down), but I''m attempting to use it to display a list of items generated from an object in another table that is linked to the table that I''m editing.
2006 Mar 25
0
in_place_collection_editor
...= --- actionpack/lib/action_view/helpers/java_script_macros_helper.rb (revision 3940) +++ actionpack/lib/action_view/helpers/java_script_macros_helper.rb (working copy) @@ -72,6 +72,86 @@ tag.to_content_tag(tag_options.delete(:tag), tag_options) + in_place_editor(tag_options[:id], in_place_editor_options) end + + # Makes an HTML element specified by the DOM ID +field_id+ become an in-place + # editor of a property using a selection list populated by the . + # + # A form is automatically created and displayed when the user clicks the element, + # something like this:...