ICEmobile
  1. ICEmobile
  2. MOBI-1040

mobi:inputText type="number" causes malformed XML on IE8, IE9 and page update not completed.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3 Final
    • Fix Version/s: 1.3.1
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      jsf2 IE8 IE9 icemobile

      Description

      Can be seen on icemobile/trunk, with mobileshowcase example app.

      Get new session from IE8 or IE9 so cache is cleared.
      go to mobileshowcase app in browser and go directly to html5Input page. Enter something in the input and then either hit enter or click submit Button. Page does not update. Occasionally get Malformed XML error, but page is not updated unless the page is refreshed.
      If you comment out the <mobi:inputText type="number"/> then page is updated without problem.
      Is there something that is causing this problem (used to have some html5input code previously in component.js that dealt with this, but is no longer there...is there something that can be done for IE8 & IE9 to get around this?).
      or...should something be done in component to render <input type="text" when IE8 and IE9 are detected?.
      Or...is something else at play. Philip said he could see 2 page submits and updates, but I could not.

        Activity

        Judy Guglielmin created issue -
        Hide
        Judy Guglielmin added a comment -

        for review before assigning?

        Show
        Judy Guglielmin added a comment - for review before assigning?
        Judy Guglielmin made changes -
        Field Original Value New Value
        Assignee Steve Maryka [ steve.maryka ] Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Description can be seen on trunk, with mobileshowcase example app.

        Get new session from IE8 or IE9 so cache is cleared.
        go to mobileshowcase app in browser and go directly to html5Input page. Enter something in the input and then either hit enter or click submit Button. Page does not update. Occasionally get Malformed XML error, but page is not updated unless the page is refreshed.
        If you comment out the <mobi:inputText type="number"/> then page is updated without problem.
        Is there something that is causing this problem (used to have some html5input code previously in component.js that dealt with this, but is no longer there...is there something that can be done for IE8 & IE9 to get around this?).
        or...should something be done in component to render <input type="text" when IE8 and IE9 are detected?.
        Or...is something else at play. Philip said he could see 2 page submits and updates, but I could not.
        Can be seen on icemobile/trunk, with mobileshowcase example app.

        Get new session from IE8 or IE9 so cache is cleared.
        go to mobileshowcase app in browser and go directly to html5Input page. Enter something in the input and then either hit enter or click submit Button. Page does not update. Occasionally get Malformed XML error, but page is not updated unless the page is refreshed.
        If you comment out the <mobi:inputText type="number"/> then page is updated without problem.
        Is there something that is causing this problem (used to have some html5input code previously in component.js that dealt with this, but is no longer there...is there something that can be done for IE8 & IE9 to get around this?).
        or...should something be done in component to render <input type="text" when IE8 and IE9 are detected?.
        Or...is something else at play. Philip said he could see 2 page submits and updates, but I could not.
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Mircea Toma [ mircea.toma ]
        Fix Version/s 1.3.1 [ 11376 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41305 Thu Jun 05 14:33:56 MDT 2014 mircea.toma MOBI-1040 Modified InputTextRender to avoid setting the 'type' attribute to 'number' for IE9 or less since it is not supported by these browsers.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/inputText/InputTextRenderer.java
        Hide
        Mircea Toma added a comment -

        Modified InputTextRender to avoid setting the 'type' attribute to 'number' for IE9 or less since it is not supported by these browsers.

        Show
        Mircea Toma added a comment - Modified InputTextRender to avoid setting the 'type' attribute to 'number' for IE9 or less since it is not supported by these browsers.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        Verified Icemobile Build 351, mobileshowcase, Tomcat 7, IE 8, 9. Submit occurs unless a non number is entered into the Number field.

        Show
        Liana Munroe added a comment - Verified Icemobile Build 351, mobileshowcase, Tomcat 7, IE 8, 9. Submit occurs unless a non number is entered into the Number field.
        Ken Fyten made changes -
        Security Private [ 10001 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: