Hi all,
I'm looking to migrate our app to GWT 2.4 over a few releases. As part of this, we're building some new components in GWT 2.4 and integrating them into Tapestry 5 (ugh, I know). I've got the request factory stuff sorted, and we have some components working well when they're part of the page on load.
What seems challenging is incorporating GWT modules after the page has loaded.
Basic scenario:
- User arrives at a Tapestry page
- User clicks on a Tapestry link that uses Tapestry Zones to pull in a tapestry component that is basically a gwt html placeholder
What's happening is that the html and necessary scripts are added to the page, but onmoduleload is never called. The .nocache.js is executed, and I don't see any errors. I'm trying to dig into this, but I'm a bit new to the "guts" of GWT. A description of how this works and some spots where I might stick some js breakpoints in order to sort all this out would be very helpful.
It's possible Tapestry's zone ajax functionality is loading things out of order as compared to what GWT needs/expects (e.g. must html elements be present in page before script executes? etc...).
Any insights into this would be hugely helpful.
Thanks,
Taylor