[ http://issues.apache.org/jira/browse/TAPESTRY-963?page=all ]

Jesse Kuhnert resolved TAPESTRY-963.
------------------------------------

    Resolution: Fixed

Fixed

> Script component parameter 'script' is wrong in the documentation
> -----------------------------------------------------------------
>
>                 Key: TAPESTRY-963
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-963
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 4.0.2
>            Reporter: Leonardo Quijano Vincenzi
>            Priority: Trivial
>             Fix For: 4.1
>
>
> 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