You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/07/15 21:21:14 UTC

[jira] Resolved: (TAPESTRY-963) Script component parameter 'script' is wrong in the documentation

     [ 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org