Using eValid on a GWT application

Applying eValid to AJAX applications that require advanced DOM-based methods.

Using eValid on a GWT application

Postby mabe » Mon Oct 19, 2009 3:41 pm

We are using eValid on a GWT application and every time we update
our app our entire set of starts failing? What gives?
mabe
 
Posts: 8
Joined: Wed Mar 18, 2009 9:39 am

Re: Using eValid on a GWT application

Postby eValid » Mon Oct 26, 2009 11:09 am

mabe wrote:We are using eValid on a GWT application and every time we update our app our entire set of starts failing? What gives?


GWT is a very powerful tool, for sure, but what you have found out the hard way is that GWT assigns element IDs using its own number scheme. When the entire application is "rebuilt" then GWT's system re-invents the assigned numbers, as you have found obviously to your dismay.

What we have found in these cases is that you need to move away from using element IDs as the pivots for AJAX synchronizations, and instead pivot those synchronizations on some other element in the page that IS invariant across build-to-build boundaries. We have used page elements such as anchor tags or input item tags with success.

(Just to be totally accurate here, it is important to point out that the eValid Adaptive Playback feature might fail in the case of a GWT application which has had it's ID tags given new values. The reason for this is that Adaptive Playback depends on ID tags as the nominal page invariants.)

The eValid Team
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons