Really ?! .. but in which version has been implemented.

I'm using Wicket 1.2.3 and adding a javascript using the following code:

add( new JavaScriptReference("sortable_js", new
ResourceReference(getClass(),"sortable/sortabletable.js")))

Is not translating the path for relative resources ..


Thanks, Paolo



On 4/16/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:

> document.getElementById('a-image-element').src =
> '/path-to-image/resource.gif';

Also by relatively addressing those images. There are quite a few
components that do this (for instance wicket-datetime's DatePicker
component).

Eelco

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to