That path is youre webapplication context and youre wicket servlet name
That is constant for youre application. You don't generate that at all
you only make/register
Resources to the SharedResources.
So every application will have this resource with this path:
/resources/wicket.extensions.markup.html.datepicker.DatePicker/calendar.js
But I would like create reusable component - how could it know what is
the web application context and wicket servlet name? Should I just use:
Component.getApplication(), WebApplication.getWicketServlet().getName()
and getServletContext().getServletContextName()
or there is some utility method in wicket for this purpose?
Best regards,
Piotr
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user