Announcement

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

    How to debug problems with SmartGWT app on iPad

    The main Canvas of our app consists of an HTML flow header with a TabSet beneath it. When the app is first loaded there are no tabs in the tab set. We show a login dialog. Once the user logs in we add tabs to the tab set. All works fine in a standard browser, but on the iPad the header shows up, the login window works fine, but then none of the tabs show up.

    I've enabled the javascript console on the iPad and it shows "no errors". What else can I check?

    #2
    The Developer Console is functional on iPad & iPhone, so look for SC warnings and look in the Watch Tab to see if the component exist but are misplaced, or a similar issue.

    Comment


      #3
      Also, if you aren't already using it, the "iPhone Simulator" that comes for free with XCode for the Mac also supports iPad, and runs at the speed of the MacBook Pro instead of the actual mobile device (very snappy).

      Comment


        #4
        I've got the SGWT console open and in the Watch tab I can see the TabSet with a TabBar and PaneContainer but no tabs. Nothing out of the ordinary on the Results tab. Just a WARN message AutoObserver:Use addInterfaceProperties() to add methods to interface [Class AutoObserver]. But I see that when running in a regular browser.

        Comment


          #5
          Make sure you've checked all the boxes to see the full set of components (hidden, undrawn, etc). If the tabs definitely aren't there in the Watch Tab, as you would for desktop troubleshooting, verify that your addTab() calls are actually occurring by adding logging.

          Finally, if you think you've got a framework bug, narrow it down to a test case.

          Comment

          Working...
          X