Ah, cool thanks - I've done all that just didn't put the MyDomImpl in com.google.gwt.user.client.impl...
Cheers, Dave On Dec 31, 1:15 am, fvisticot <fvisti...@gmail.com> wrote: > Hello, > I have worked on the pb and i have made some progress !!! > > 1. I have overloaded the DOMImpl class. The new overloaded class must > be in a package named com.google.gwt.user.client.impl > 2. I have created dedicated events (extending DomEvent) > 3. I have created dedicated handlers (extending EventHandler) > 4. I have created dedicated HasHandlers > 5. In my module file i have added: > > <replace-with class="com.google.gwt.user.client.impl.MyDomImpl"> > <when-type-is class="com.google.gwt.user.client.impl.DOMImpl"/> > <when-property-is name="user.agent" value="safari"/> > </replace-with> > > 6. I have created a new Widget implementing the > public HandlerRegistration add<Your>Handler(<Your>Handler handler) { > return addDomHandler(handler, <Your>Event.getType()); > } > 7. My application create the new widget and call the > add<Your>Handler... > > ... and it works perfectly... > > Hope it can help... > > On 31 déc, 01:28, DaveC <david.andrew.chap...@googlemail.com> wrote: > > > > > It seems I'm trying to do the same > > thinghttp://groups.google.com/group/google-web-toolkit/browse_thread/threa...... > > and have come up against the same barriers. > > > If I find the answer I'll let you know. > > > Cheers, > > Dave > > > On Dec 30, 10:23 pm, fvisticot <fvisti...@gmail.com> wrote: > > > > I would like to manage the iPhone touchstart touchmove... events with > > > a clean solution. > > > It seems that i need to create my own DOMImpl for the iPhone and link > > > this new DOMImpl to the iPhone userAgent. > > > > Do i need to recompile the GWT sources for that ? > > > It seems that i can not override the DOMImplSafari...so it seems that > > > a re-compilation is required... > > > > I there a document/tuto with the differents mandatory steps to create > > > a new DOMImpl ? > > > Is there a list of class to implement when adding a new DOMImpl ? > > > (DOMImpl, UserAgent.gwt.xml, Creating new DomEvent...) > > > > Is there allready a DOMImplIphone implementation (GoogleWave is > > > available on the iPhone....pearhaps are they using a dedicated > > > implementation) ?? > > > > Fred. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.