It should be possible.
See how PackageResourceReference looks up the asset by using the 'scope'
class to load it as a resource.
You can roll your own resource reference that loads from the class path:
AnyClass.class.getClassLoader().getResource("/some/absolute/path/my.css")

Martin Grigorov
Wicket Training and Consulting


On Wed, Mar 5, 2014 at 5:55 PM, infiniter <infini...@gmail.com> wrote:

> Sorry, I forgot to mention that there are no Java classes inside that
> project, so is it even possible to reference those assets?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/css-and-js-files-in-subproject-tp4664775p4664799.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
>
>

Reply via email to