You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2009/05/27 19:27:19 UTC
svn commit: r779252 -
/incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java
Author: sabob
Date: Wed May 27 17:27:18 2009
New Revision: 779252
URL: http://svn.apache.org/viewvc?rev=779252&view=rev
Log:
javadoc
Modified:
incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java
Modified: incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java?rev=779252&r1=779251&r2=779252&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java Wed May 27 17:27:18 2009
@@ -298,6 +298,12 @@
* <b>Please note:</b> when setting this flag to true, the file JavaScript
* file "<tt>control.js</tt>" must already be included in the Page or
* Control, it won't be included automatically.
+ * <p/>
+ * <b>Also note:</b> for {@link org.apache.click.Context#isAjaxRequest() Ajax}
+ * requests the JsScript content won't be registered with the
+ * "<tt>addLoadEvent</tt>" function because Ajax requests does not trigger
+ * the browser's DOM loaded event. Instead the JsScript content will be
+ * evaluated immediately by the browser.
*
* @param executeOnDomReady indicates whether the JsScript content must be
* executed as soon as the browser DOM is ready.