THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
If you want to leverage Tapestry's localization support, you may want to make use of an expansion and the "asset:" or "context:" binding prefix:
Code Block | ||||
---|---|---|---|---|
| ||||
<head> <link href="${context:css/site.css}" rel="stylesheet" type="text/css"/> . . . |
The "context:" prefix means that the remainder of the expansion is a path to a context asset, a resource in the web application root (src/main/webapp in your workspace). By contrast, the "asset:" prefix tells Tapestry to look in the class path. See Assets.
Using the @Import Annotation
...