Script component parameter 'script' is wrong in the documentation
-----------------------------------------------------------------

         Key: TAPESTRY-963
         URL: http://issues.apache.org/jira/browse/TAPESTRY-963
     Project: Tapestry
        Type: Bug

  Components: Documentation  
    Versions: 4.0.2    
    Reporter: Leonardo Quijano Vincenzi
    Priority: Trivial


In the Script component description 
(http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Script.html) 
two parameters are declared:

scriptPath      String          in      no               The path of a resource 
(on the classpath) containing the script. One of either scriptPath or 
scriptAsset must be specified.
scriptAsset     IAsset  in      no              A reference to a script as an 
IAsset parameter. One of either scriptPath or scriptAsset must be specified.

But in Script's JWC file, the scriptPath "property" is mapped to the parameter 
"script":

  <parameter name="script" property="scriptPath" >
    <description>
    The resource path of the script to execute.
    </description>
  </parameter>

Even the examples in Script's documentation use "script" instead of 
"scriptPath". This can be confusing to the user.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to