I see that when i just use "layout/layout.css" it searches in the package
of my component.
Is it possible to tell link it a resource at the root of classpath ?



2014-07-03 15:11 GMT+02:00 squallmat . <squall...@gmail.com>:

> Thank you, it works now.
>
>
>
> 2014-07-03 14:50 GMT+02:00 Thiago H de Paula Figueiredo <
> thiag...@gmail.com>:
>
> On Thu, 03 Jul 2014 09:33:31 -0300, squallmat . <squall...@gmail.com>
>> wrote:
>>
>>  I should have seen that before, but in my console I have:
>>>
>>> Caused by: java.lang.IllegalArgumentException: Unknown prefix for asset
>>> path 'asset:layout/layout.css'.
>>>
>>
>> ^^^ Here's the missing information for figuring out the problem. When
>> posting an exception, please post the full stack trace, as you did here. ;)
>>
>>
>>  @Import(stylesheet = "asset:layout/layout.css")
>>>>
>>>
>> Use just "layout/layout.css" (if the asset is in the classpath) or
>> "context:layout/layout.css" (if the asset is in the context).
>>
>> --
>> Thiago H. de Paula Figueiredo
>> Tapestry, Java and Hibernate consultant and developer
>> http://machina.com.br
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

Reply via email to