[ 
https://issues.apache.org/jira/browse/TAP5-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837510#action_12837510
 ] 

Howard M. Lewis Ship commented on TAP5-1026:
--------------------------------------------

I'm having trouble verifying this bug; many of Tapestry's builtin components 
use this feature.  Example:

@SupportsInformalParameters
@IncludeJavaScriptLibrary("linksubmit.js")
@Events(EventConstants.SELECTED + " by default, may be overridden")
public class LinkSubmit implements ClientElement


So, it's picking up linksubmit.js (i.e., 
classpath:org/apache/tapestry5/corelib/components/linksubmit.js) just fine.  
What exception are you seeing?

> since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous 
> rule
> --------------------------------------------------------------------------------
>
>                 Key: TAP5-1026
>                 URL: https://issues.apache.org/jira/browse/TAP5-1026
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Sven Homburg
>
> since revision 911470 behavior of @IncludeJavaScriptLibrary breaks previous 
> rule
> If i create a component that included some javascript code via 
> @IncludeJavaScriptLibrary
> i must tell @IncludeJavaScriptLibrary the complete package name to read the 
> javascript file
> even if that file resist in the same package as the component.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to