Hi,
have a look at those classes:

ContextRelativeResource
ContextRelativeResourceReference

Vit

On 07/31/2017 01:01 PM, lucast wrote:
Thank you, Maxim.

Since I am managing all css files and js files form my java class, I was
wondering if there is an equivalent to the HTML of <link rel="stylesheet"
href="css/style.css" ... that one could use from the java class.

The only motivation is to try to manage as much as I can from the class, and
keep the HMTL to a bare minimum.

I can have a css file that lives alongside the java class, I just thought
that it would be nice to have all css files under a single location, under
webapp file. However, this is more of a Would-Like-To-Have than anything
else.

Thanks once more,

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/using-CssResourceReference-for-css-file-that-lives-in-webapp-tp4678358p4678360.html
Sent from the Users forum mailing list archive at Nabble.com.

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




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

Reply via email to