Hello,
I would like to create component for HTML editor on the web page using
HTMLArea javascript library. It requires to specify relative or absolute
location of its resources on the web site. How should I get this path
using wicket?
I put the library's resources in the package
wicket.extensions.htmleditor (it contains javascript files, css files,
html files and image files). I would like to provide init script (like
in the date picker wicket extension) which will specify this resources
base URL in the javascript markup. I checked in the HTML files generated
by wicket and found that wicket creates resources using following
schema:
/${wicket.servlet.mapping}/resources/${fully.qualified.class.name.of.the.referencing.class}/${resource.or.file.name}
ie.
/wicket-examples/forminput/resources/wicket.extensions.markup.html.datepicker.DatePicker/calendar.js
Can I safely use
"/wicket-examples/forminput/resources/wicket.extensions.markup.html.datepicker.DatePicker/
" part of above example for setting HTML area library home in the
javascript? How should I generate this string?
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user