ICEmobile
  1. ICEmobile
  2. MOBI-532

inputText type="date" not working in Android container

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 Final
    • Fix Version/s: 1.3 Beta
    • Component/s: Faces, Spring
    • Labels:
      None
    • Environment:
      n/a

      Description


      The android container does not render the native date control when input[type="date"] is rendered. And rendering this has other drawbacks, such as the placeholder text not appearing.

        Activity

        Hide
        Ted Goddard added a comment -

        Retest and determine if component changes are needed to render appropriate markup for android container. May be device and operating system dependent.

        Show
        Ted Goddard added a comment - Retest and determine if component changes are needed to render appropriate markup for android container. May be device and operating system dependent.
        Hide
        Philip Breau added a comment -

        Retested on Nexus 4 and 7, Android 4.2.2. No date picker is displayed and neither is the placeholder text displayed.

        Show
        Philip Breau added a comment - Retested on Nexus 4 and 7, Android 4.2.2. No date picker is displayed and neither is the placeholder text displayed.
        Hide
        Philip Breau added a comment -

        I propose that we detect the Android container in the renderer and render an input type="text", which will at least allow the placeholder text to be shown.

        Show
        Philip Breau added a comment - I propose that we detect the Android container in the renderer and render an input type="text", which will at least allow the placeholder text to be shown.
        Hide
        Philip Breau added a comment -

        Revision: 34632
        Author: philip.breau
        Date: May-01-13 2:41:15 PM
        Message:
        MOBI-532 inputText type="date" not working in Android container

        • rendering input type="text" for type date inputText on Android container
        • also fixed two broken passthru attributes, 'cols', and 'rows'

          Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/InputTextTag.java

        Revision: 34631
        Author: philip.breau
        Date: May-01-13 2:28:30 PM
        Message:
        MOBI-532 inputText type="date" not working in Android container

        • rendering input type="text" for type date inputText on Android container

          Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/inputText/InputText.java
          Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/inputText/InputTextRenderer.java

        Show
        Philip Breau added a comment - Revision: 34632 Author: philip.breau Date: May-01-13 2:41:15 PM Message: MOBI-532 inputText type="date" not working in Android container rendering input type="text" for type date inputText on Android container also fixed two broken passthru attributes, 'cols', and 'rows' Modified : /icemobile/trunk/icemobile/jsp/src/main/java/org/icemobile/jsp/tags/InputTextTag.java Revision: 34631 Author: philip.breau Date: May-01-13 2:28:30 PM Message: MOBI-532 inputText type="date" not working in Android container rendering input type="text" for type date inputText on Android container Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/inputText/InputText.java Modified : /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/inputText/InputTextRenderer.java

          People

          • Assignee:
            Philip Breau
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: