ICEfaces
  1. ICEfaces
  2. ICE-10363

mobi:geolocation disabled and rendered attributes not working

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.0.0.GA, 4.1
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:
      ICEfaces 4 trunk r43111. Tomcat 7. Desktop browsers, ios 7, android 4.4.2
    • Assignee Priority:
      P2

      Description

      The rendered and disabled attributes do not work as intended in the mobi:geolocation test app.
      1.) When rendered= false, the component is still visible on the page.
      2.) When disabled = false the component does not have a ghosted appearance and the button can still be pressed.
      But in either case no data is submitted when the attributes = false.

      Test app /geolocationDynAttribute.jsf located at:
      http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Manual/geolocation

        Activity

        Liana Munroe created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ] Mircea Toma [ mircea.toma ]
        Assignee Priority P2 [ 10011 ]
        Hide
        Mircea Toma added a comment - - edited

        The mobi:geolocation is properly disabled or not rendered, the component renders just inline javascript code to enable the geolocation causing no visible change in the page. The 'Locate me' button is rendered by a separate h:commandButton.

        The fix modifies the h:commmandButton to stop render (or be disabled) when mobi:geolocation is not rendered (or disabled).

        Show
        Mircea Toma added a comment - - edited The mobi:geolocation is properly disabled or not rendered, the component renders just inline javascript code to enable the geolocation causing no visible change in the page. The 'Locate me' button is rendered by a separate h:commandButton . The fix modifies the h:commmandButton to stop render (or be disabled) when mobi:geolocation is not rendered (or disabled).
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces4 trunk r43872. Tomcat 7, IE 11, FF 34, Chrome 39.

        Show
        Liana Munroe added a comment - Verified ICEfaces4 trunk r43872. Tomcat 7, IE 11, FF 34, Chrome 39.
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Liana Munroe
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: