You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2013/07/02 15:20:06 UTC

svn commit: r1498918 - /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ScriptTagDeclaration.java

Author: lofwyr
Date: Tue Jul  2 13:20:06 2013
New Revision: 1498918

URL: http://svn.apache.org/r1498918
Log:
Documentation

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ScriptTagDeclaration.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ScriptTagDeclaration.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ScriptTagDeclaration.java?rev=1498918&r1=1498917&r2=1498918&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ScriptTagDeclaration.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/ScriptTagDeclaration.java Tue Jul  2 13:20:06 2013
@@ -27,8 +27,9 @@ import org.apache.myfaces.tobago.compone
 import org.apache.myfaces.tobago.internal.taglib.declaration.HasIdBindingAndRendered;
 
 /**
- * This tag adds script files to include to the rendered page.
- * Deprecated (CSP): This tag adds client side script to the rendered page.
+ * This tag adds script files to include into the rendered page.
+ * <p/>
+ * Deprecated (because of CSP): This tag adds client side script to the rendered page.
  */
 @Tag(name = "script")
 @UIComponentTag(
@@ -40,6 +41,11 @@ import org.apache.myfaces.tobago.interna
     isTransparentForLayout = true,
     allowedChildComponenents = "NONE")
 public interface ScriptTagDeclaration extends HasIdBindingAndRendered {
+
+  /**
+   * File name to include into the rendered page.
+   * @param file A JavaScript file.
+   */
   @TagAttribute()
   @UIComponentTagAttribute()
   void setFile(String file);