Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7DR#3
-
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;
}
<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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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 ] |
Adnan Durrani
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
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 ] |
Brad Kroeger
created issue -