ICEfaces
  1. ICEfaces
  2. ICE-2639

ice:gMapControl Render Attribute Not Working

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7DR#3
    • Fix Version/s: 1.7Beta1, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Windows XP Professional
      Jboss 4.0.5.GA

      Description

      I am attempting to have the ice:gMapControl render/not render in the new component showcase, but I cannot get it to work. Here is what I'm doing, I did it initially without the locateAddress attribute on the ice:gMap component and tried again with the attribute, it still does not work:

                    <ice:gMap id="gmap"
                                        locateAddress="#{gmap.locateAddress}">

                        <ice:gMapControl id="largectrl"
                                                         name="#{msgs['page.gMap.controls.control1']}"
                                                        rendered="#{gmap.renderControl1}"/>
                    </ice:gMap>

      The rendered attribute is toggled with the following:

              <ice:selectBooleanCheckbox id="cntrl1"
                                                                   value="#{gmap.renderControl1}"
                                                                  partialSubmit="true"
                                                                  valueChangeListener="#{gmap.findAddress}"/>

      I have tried this with and without the valueChangeListener which causes the component to render a new map:

            public boolean isLocateAddress() {
                  if (locateAddress) {
                        locateAddress = false;
                        return true;
                  }
                  return false;
            }

        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Adnan Durrani [ adnan.durrani ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Fix Version/s 1.7Beta1 [ 10121 ]
        Fix Version/s 1.7 [ 10080 ]
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Adnan Durrani added a comment -

        revision : 15581

        Show
        Adnan Durrani added a comment - revision : 15581
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #15581 Wed Jan 16 16:07:00 MST 2008 adnan.durrani Fix for ICE-2639(ice:gMapControl Render Attribute Not Working)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/gmap/GMapControl.java
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Assignee Priority P2
        Assignee Ken Fyten [ ken.fyten ] Adnan Durrani [ adnan.durrani ]
        Brad Kroeger made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Brad Kroeger made changes -
        Field Original Value New Value
        Attachment component-showcase1.war [ 10782 ]
        Hide
        Brad Kroeger added a comment -

        Attaching a copy of the component-showcase application with debugging output.

        Show
        Brad Kroeger added a comment - Attaching a copy of the component-showcase application with debugging output.
        Brad Kroeger created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: