Author: hlship
Date: Fri Feb 26 23:08:35 2010
New Revision: 916850
URL: http://svn.apache.org/viewvc?rev=916850&view=rev
Log:
Deprecate more methods of RenderSupport, and fix some JavaDoc typos
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/RenderSupport.java
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/RenderSupport.java
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/RenderSupport.java?rev=916850&r1=916849&r2=916850&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/RenderSupport.java
(original)
+++
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/RenderSupport.java
Fri Feb 26 23:08:35 2010
@@ -30,7 +30,8 @@
* When rendering, a <script> block will be added to the bottom of the
page (just before the </body> tag).
* The scripting statements added to this block will be executed, on the
client, only once the page has fully loaded.
* <p>
- * The methods in this interface are largely being replaced with a new
environmental interface, {...@link JavascriptSupport}.
+ * The methods in this interface are largely being replaced with a new
environmental interface,
+ * {...@link JavascriptSupport}.
* <p>
* RenderSupport is normally accessed within a component by using the
{...@link Environmental} annotation on a component
* field. In addition, RenderSupport may also be accessed as a service (the
service
@@ -79,7 +80,7 @@
*
* @param scriptURLs
* URL strings of scripts
- * @deprecated Use {...@link
JavascriptSupport#importJavascriptLibrary(Asset) instead}
+ * @deprecated Use {...@link
JavascriptSupport#importJavascriptLibrary(Asset)} instead
* @throws RuntimeException
* <strong>always</strong> as of 5.2.0
*/
@@ -92,6 +93,7 @@
* @param classpaths
* array of paths. Symbols in the paths are expanded, then the
paths are each converted into an
* asset.
+ * @deprecated Use {...@link
JavascriptSupport#importJavascriptLibrary(Asset)} instead
*/
void addClasspathScriptLink(String... classpaths);
@@ -162,6 +164,7 @@
* the name of the function (on the client-side Tapestry
object) to invoke.
* @param parameter
* the object to pass to the function
+ * @deprecated Use {...@link JavascriptSupport#addInitializerCall(String,
JSONObject)} instead
*/
void addInit(String functionName, JSONObject parameter);
@@ -182,7 +185,7 @@
/**
* Invoked to set focus on a rendered field. Takes into account priority,
meaning that a field with errors will take
- * precendence over a merely required field, and over a field that is
optional. The value
+ * precedence over a merely required field, and over a field that is
optional. The value
* {...@link org.apache.tapestry5.FieldFocusPriority#OVERRIDE} can be used
to force a particular field to receive
* focus.
*