Hello I'm having the follogin problem.

I've created this Annotation for my library
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface DojoInitialization {
    String dojoSource() default
"asset:../assets/dojot5/dojotoolkit/dojo-${dojo-release-version}/dojo/dojo.js";
    String djConfig() default "parseOnLoad: true";
}

the server returns:

Could not convert
'asset:../assets/dojot5/dojotoolkit/1.0-SNAPSHOT/dojo/dojo.js' into a
component parameter binding: Unable to locate asset
'classpath:net/sourceforge/tapestryjfly/dojotapestry5demo/assets/dojot5/dojotoolkit/1.0-SNAPSHOT/dojo/dojo.js'
(the file does not exist).

into the jar the resource is located at:
net/sourceforge/tapestryjfly/dojotapestry5/dojo-1.2.3/dojo/dojo.js

and into the library module I have :
public static void contributeClasspathAssetAliasManager(
            MappedConfiguration<String, String> configuration)
    {
        configuration.add("dojot5/dojotoolkit/1.0-SNAPSHOT",
"net/sourceforge/tapestryjfly/dojotapestry5/dojo-1.2.3");
        configuration.add("dojot5/integration/1.0-SNAPSHOT",
"net/sourceforge/tapestryjfly/dojotapestry5/integration");
    }

How the dojoSource default should be ?

Thanks in advance,
kiuma

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to