[ http://issues.apache.org/jira/browse/TAPESTRY-547?page=all ]
     
Howard M. Lewis Ship resolved TAPESTRY-547:
-------------------------------------------

    Fix Version: 4.0
     Resolution: Fixed
      Assign To: Howard M. Lewis Ship

I now think this is correct behavior; really, the script is expected to be 
located relative to the file containing the <inject> or @InjectScript.

> @InjectScript computes the location differently the <inject type="script"/>
> ---------------------------------------------------------------------------
>
>          Key: TAPESTRY-547
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-547
>      Project: Tapestry
>         Type: Bug
>   Components: Annotations
>     Versions: 4.0
>     Reporter: Howard M. Lewis Ship
>     Assignee: Howard M. Lewis Ship
>      Fix For: 4.0

>
> The @InjectScript annotation calculates the location of the script relative 
> to the .class file for the component.  The <inject type="script"/> 
> calculcates the location relative to the .jwc file (possibly a virtual .jwc 
> file if no real file exists).  For an application component, this is the 
> difference between WEB-INF/foo.script and classpath:/bif/baf/foo.script.

-- 
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