aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/java_script_macros_helper.rb10
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