Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    (no) Touch Events for HTMLPane on iPad

    Hi Iso,

    I have a native JS component which I modified to use touch events rather than mouse motion events on iOS. This component as such works on the iPad. However I need to embed it into an S'GWT application as an HTMLPane. In this case it seems the touch events are not propagated at all. Can u help?

    Thx,

    Ekki

    * GWT Rocks! * SmartGWT Rocks Even Harder! * GWT 2.0.3,
    SmartGWT PRO 2.3, JRE 1.6.0_20, Eclipse 3.6 *
    * Xcode 3.2.2 * iOS 3.0 (Base OS) *

    #2
    Not yet. Post the usual necessary information.

    Comment


      #3
      The plain URL works on the iPad, not so if wrapped into S'GWT AND WebKit. S'GWT alone works.

      Ekki

      Code:
          public void onModuleLoad() {
              HTMLPane tCanvas = new HTMLPane();
              tCanvas.setWidth100();
              tCanvas.setHeight100();
              tCanvas.setShowEdges(false);
              tCanvas.setContentsURL("http://services.EasternGraphics.com/w-3dv");
              HashMap<String, String> tArgs = new HashMap<String, String>();
              tArgs.put("planning", "00000000-0000-0000-0000-0000000ebe02");
              tCanvas.setContentsURLParams(tArgs);
              tCanvas.setContentsType(ContentsType.PAGE);
              tCanvas.show();

      Comment


        #4
        We don't generally just dive into a site and start debugging. Try putting together a test case that shows that you can't get the events you're expecting.

        Comment


          #5
          Hi Iso,

          this is not a Support issue any longer as the behavior appears even w/o S'GWT (sorry for not checking any possible configuration before). Anyway, you may decide to give me a hint. As soon as my JS module is wrapped by the Apple Web-Kit the touch events are not received properly although they're ok if the JS module is directly called by Safari on the iPad. Wrapping S'GWT things such as a TileGrid by the Web-Kit works with touch events, so obviously it is possible even thru Wb-Kit... I would appreciate any kind of hint.

          TIA Ekki

          Comment


            #6
            As expected just a different browser footprint in WebKit mode we've to consider. Thread closed. Cya Ekki

            Comment


              #7
              Originally posted by CI-CUBE
              Hi Iso,

              this is not a Support issue any longer as the behavior appears even w/o S'GWT (sorry for not checking any possible configuration before). Anyway, you may decide to give me a hint.ipad2 smart cover
              ipad 2 case
              ipad 2 covers As soon as my JS module is wrapped by the Apple Web-Kit the touch events are not received properly although they're ok if the JS module is directly called by Safari on the iPad. Wrapping S'GWT things such as a TileGrid by the Web-Kit works with touch events, so obviously it is possible even thru Wb-Kit... I would appreciate any kind of hint.

              TIA Ekki
              Post the usual necessary information.

              Comment

              Working...
              X