click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r779252 - /incubator/click/trunk/click/framework/src/org/apache/click/element/JsScript.java
Date Wed, 27 May 2009 17:27:19 GMT
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.



Mime
View raw message