ICEmobile
  1. ICEmobile
  2. MOBI-761

mobi ajax defaults and support causing NPE for mobi inputText for some mobile devices

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3 Beta
    • Fix Version/s: 1.3 Final
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      icemobile jsf components inputText

      Description

      the default event for inputText is "change" which is basically "blur" on some devices. when using event="blur" can get encode to work (but had to remove some of the logic copied over from ace in CoreRenderer to override the event) What is registered with that event must be used by that behavior's event. No javascript on this component, so non-standard approach. (renderer just makes the direct call to submit). Had to modify decode for flipswitch and inputText as it was trying to decode even if that component was not responsible for submit. created test in mobitest/ajax/mobiAjaxInTabset.jsf for this jira.

        Activity

        Judy Guglielmin created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Description the default event for inputText is "change" which is no supported by all devices. when using event="blur" can get encode to work (but had to remove some of the logic copied over from ace in CoreRenderer to override the event) What is registered with that event must be used by that behavior's event. No javascript on this component, so non-standard approach. (renderer just makes the direct call to submit).
        Now problem with decode, or with any desktop browser. Will have to review the mobile devices and events supported as well as submitted parameters and what decode is getting.
        the default event for inputText is "change" which is basically "blur" on some devices. when using event="blur" can get encode to work (but had to remove some of the logic copied over from ace in CoreRenderer to override the event) What is registered with that event must be used by that behavior's event. No javascript on this component, so non-standard approach. (renderer just makes the direct call to submit). Had to modify decode for flipswitch and inputText as it was trying to decode even if that component was not responsible for submit. created test in mobitest/ajax/mobiAjaxInTabset.jsf for this jira.
        Hide
        Judy Guglielmin added a comment -

        found another issue in the focus management for inputText which has a problem on some mobile devices (android for sure) not sure about bb....was previously fixed for singleSubmit but not mobi:ajax.

        Show
        Judy Guglielmin added a comment - found another issue in the focus management for inputText which has a problem on some mobile devices (android for sure) not sure about bb....was previously fixed for singleSubmit but not mobi:ajax.
        Hide
        Judy Guglielmin added a comment -

        rev 35656 trunk (ee)

        Show
        Judy Guglielmin added a comment - rev 35656 trunk (ee)
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35656 Thu May 30 10:35:18 MDT 2013 judy.guglielmin MOBI-761 with test in mobitest for functionality requirement specified in Jira (validation on mobi:inputText using mobi:ajax in presence of other mobi tags).
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/renderkit/CoreRenderer.java
        Commit graph ADD /icemobile/trunk/icemobile/jsf/components/tests/mobitest/src/main/webapp/ajax/mobiAjaxInTabset.xhtml
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/tests/mobitest/src/main/webapp/ajaxComponents.html
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/tests/mobitest/src/main/java/org/icefaces/mobile/layout/LayoutBean.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/flipswitch/FlipSwitchRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/inputText/InputTextRenderer.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/ajax/AjaxBehaviorHandler.java
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Hide
        Judy Guglielmin added a comment -

        rev 35662 for 1.3 branch commit

        Show
        Judy Guglielmin added a comment - rev 35662 for 1.3 branch commit
        Hide
        Judy Guglielmin added a comment -

        both 1.3 branch and trunk

        Show
        Judy Guglielmin added a comment - both 1.3 branch and trunk
        Judy Guglielmin made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #35662 Thu May 30 14:09:47 MDT 2013 judy.guglielmin MOBI-761 for 1.3 branch
        Files Changed
        Commit graph ADD /icemobile/branches/icemobile-1.3.0/icemobile/jsf/components/tests/mobitest/src/main/webapp/ajax/mobiAjaxInTabset.xhtml
        Commit graph MODIFY /icemobile/branches/icemobile-1.3.0/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Commit graph MODIFY /icemobile/branches/icemobile-1.3.0/icemobile/jsf/components/component/src/org/icefaces/mobi/renderkit/CoreRenderer.java
        Commit graph MODIFY /icemobile/branches/icemobile-1.3.0/icemobile/jsf/components/tests/mobitest/src/main/webapp/ajaxComponents.html
        Commit graph MODIFY /icemobile/branches/icemobile-1.3.0/icemobile/jsf/components/tests/mobitest/src/main/java/org/icefaces/mobile/layout/LayoutBean.java
        Commit graph MODIFY /icemobile/branches/icemobile-1.3.0/icemobile/jsf/components/component/src/org/icefaces/mobi/component/ajax/AjaxBehaviorHandler.java
        Commit graph MODIFY /icemobile/branches/icemobile-1.3.0/icemobile/jsf/components/component/src/org/icefaces/mobi/component/flipswitch/FlipSwitchRenderer.java
        Commit graph MODIFY /icemobile/branches/icemobile-1.3.0/icemobile/jsf/components/component/src/org/icefaces/mobi/component/inputText/InputTextRenderer.java

          People

          • Assignee:
            Steve Maryka
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: