I’ve been having the weirdest issue with Grails 2.0M1 (nee 1.4M1). My application ran fine with “grails run-app”, but would fail when did a “grails tomcat deploy” and deployed to either Tomcat 6 or Tomcat 7. The error I was getting was…
ERROR initWebApplicationContext, Context initialization failed
org.springframework.beans.factory.access.BootstrapException: Error...
I’ve been using PhoneGap along with jQuery Mobile to do some protoyping work for a client on a range of mobile devices. When testing on Android 2.2 (HTC Desire in my case), I noticed a nasty flicker on the CSS swipe transition. Seems others have seen this too. On my device it seems to occur once at the start of the transition, and once at the end.
Anyways, after much googling, the stackoverflow...
You want to include a link to one of your Grails actions (say an AJAX target link) in one of your JavaScript files. What to do?
Well you could just inline your JavaScript in your GSP file, right? Then you can just access all the GSP tags you like and the problem just goes away, right?
<r:script>
console.log("Now hacking on ${assessment.id}");
$.ajax({
type: 'GET',
url:...