Minor typo... I also had a stylesheet which is inconsequential to this
and I removed it from the e-mail. The import really is:

@Import(library="classpath:util.js")

Adam

On Mon, Nov 22, 2010 at 11:13 AM, Adam Zimowski <zimowsk...@gmail.com> wrote:
> Hi,
>
> In my component class I have:
>
> @Import(stylesheet="library="classpath:util.js")
>
> In the module:
>
> public static void
> contributeClasspathAssetAliasManager(MappedConfiguration<String,
> String> configuration) {
>  // see http://markmail.org/thread/rq4vp7hi437smsrh
>  configuration.add("js", "/");
> }
>
> The file util.js lives directly under src/
>
> Page renders fine, but tapestry rendered reference trims first
> character from my file name:
> <script src="/assets/ac7583cf1b184d5f/js/til.js"
> type="text/javascript"></script>
>
> Of course the file is inaccessible that way, but if I manually add the
> missing 'u' I can see it.
>
> Is this a bug or am I doing something wrong?
>
> Adam
>

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

Reply via email to