diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-09-03 23:22:24 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-09-03 23:22:24 +0000 |
commit | 6d88a992b5e92c09527c7915a7e2c8da09acb95e (patch) | |
tree | 5dcb469f1c78ca87823e46e3cd88ead39285df02 /actionpack/lib/action_view/helpers | |
parent | 5b6fb1356c672dc0cae157072d1340bb98f5b9f1 (diff) | |
download | rails-6d88a992b5e92c09527c7915a7e2c8da09acb95e.tar.gz rails-6d88a992b5e92c09527c7915a7e2c8da09acb95e.tar.bz2 rails-6d88a992b5e92c09527c7915a7e2c8da09acb95e.zip |
Added deprecation language for in_place_editor and auto_complete_field that both pieces will become plugins by Rails 2.0 [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/java_script_macros_helper.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/helpers/java_script_macros_helper.rb b/actionpack/lib/action_view/helpers/java_script_macros_helper.rb index f7523b843f..8ce2940aeb 100644 --- a/actionpack/lib/action_view/helpers/java_script_macros_helper.rb +++ b/actionpack/lib/action_view/helpers/java_script_macros_helper.rb @@ -7,6 +7,8 @@ module ActionView # editing relies on ActionController::Base.in_place_edit_for and the autocompletion relies on # ActionController::Base.auto_complete_for. module JavaScriptMacrosHelper + # DEPRECATION WARNING: This method will become a separate plugin when Rails 2.0 ships. + # # Makes an HTML element specified by the DOM ID +field_id+ become an in-place # editor of a property. # @@ -64,6 +66,8 @@ module ActionView javascript_tag(function) end + # DEPRECATION WARNING: This method will become a separate plugin when Rails 2.0 ships. + # # Renders the value of the specified object and method with in-place editing capabilities. # # See the RDoc on ActionController::InPlaceEditing to learn more about this. @@ -75,6 +79,8 @@ module ActionView in_place_editor(tag_options[:id], in_place_editor_options) end + # DEPRECATION WARNING: This method will become a separate plugin when Rails 2.0 ships. + # # Adds AJAX autocomplete functionality to the text input field with the # DOM ID specified by +field_id+. # @@ -153,6 +159,8 @@ module ActionView javascript_tag(function) end + # DEPRECATION WARNING: This method will become a separate plugin when Rails 2.0 ships. + # # Use this method in your view to generate a return for the AJAX autocomplete requests. # # Example action: @@ -172,6 +180,8 @@ module ActionView content_tag("ul", items.uniq) end + # DEPRECATION WARNING: This method will become a separate plugin when Rails 2.0 ships. + # # Wrapper for text_field with added AJAX autocompletion functionality. # # In your controller, you'll need to define an action called |