I think this code would work:
@Environmental
private JavaScriptSupport javaScriptSupport;
@Inject
@Path("css/material/bootstrap-material-design.css")
private Asset materialDesignCss;
void setupRender(){
javaScriptSupport.importStylesheet(new
StylesheetLink(materialDesignCss, new Styles
I'm writing a T5.4 app from scratch rather than a migration.
I keep getting this stack dump, I've taken out the got5 dependency, but
still get much the same error.
Any pointers to what this could be? I'm basing my code off the hotel
booking example.
John
HTTP ERROR 500
Problem accessing /Conte
I'm moving my prototype pages to T5.4.
I've put this on my Layout class:
@Import(stylesheet
= {"context:/layout/style.css",
"context:/layout/jquery.mobile-1.4.5.min.css"}, library
= {"context:/js/init.js","jquery.mobile-1.4.5.min.js"})
How do I handle the media attributes (see bel
Hi,
I'm developing an SPA style app in which the geolocation needs to be
captured by JS on initial page render then fed back to the page so it
triggers AJAX loading of the dynamic zones in the page that depend on the
location.
How would I go about that?
regards,
John