You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by abangkis <ab...@gmail.com> on 2018/04/29 15:11:17 UTC
Replacing JQuery and Adding JQuery UI in Tapestry 5.4
Hi I've overriden jquery in my layout
@Import(
stylesheet = {
"classpath:/META-INF/assets/vendor/font-awesome/css/font-awesome.css",
"classpath:/META-INF/assets/vendor/jquery/css/jquery-ui.css",
"classpath:/META-INF/assets/css/sb-admin-2.css"},
library = {
"classpath:/META-INF/assets/vendor/jquery/js/jquery.js",
"classpath:/META-INF/assets/vendor/jquery/js/jquery-ui.js",
}
)
public class PlainLayout {
}
The pages uses confirm-mixin, and confirm mixin require jquery modal. But
when i add jquery-ui library i keep getting the error
Unable to locate asset
'classpath:META-INF/assets/vendor/jquery/css/%22images%2Fui-icons_555555_256x240.png%22
I confirm that the file exist, there's a weird extra %22 on the path.
The only clue i got is this
https://github.com/eddyson-de/tapestry-webjars/issues/4
Is there a workaround for this?
TIA
--
http://www.mreunionlabs.net/ <http://www.mreunion-labs.net/>
twitter : @mreunionlabs @abangkis
page : https://plus.google.com/104168782385184990771