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;
}
-
Hide
- component-showcase1.war
- 6.42 MB
- Brad Kroeger
-
- META-INF/MANIFEST.MF 0.1 kB
- WEB-INF/classes/org/.../common/Person.class 2 kB
- WEB-INF/.../ButtonsAndLinksBean.class 1 kB
- WEB-INF/classes/.../AxisChartBean.class 2 kB
- WEB-INF/classes/org/.../charts/Chart.class 2 kB
- WEB-INF/classes/.../ChartFactory.class 5 kB
- WEB-INF/classes/.../ChartMediator.class 7 kB
- WEB-INF/classes/.../CombinedChartBean.class 6 kB
- WEB-INF/classes/.../DynamicPieChart.class 6 kB
- WEB-INF/classes/.../PieChartBean.class 4 kB
- WEB-INF/classes/org/.../charts/Sales.class 2 kB
- WEB-INF/.../ColumnsBean$CellKey.class 1 kB
- WEB-INF/classes/.../ColumnsBean.class 4 kB
- WEB-INF/classes/.../DataTableBean$1.class 2 kB
- WEB-INF/classes/.../DataTableBean.class 6 kB
- WEB-INF/classes/.../dataTable/RowBean.class 0.8 kB
- WEB-INF/classes/.../SortableList.class 1.0 kB
- WEB-INF/classes/.../DragDropController.class 4 kB
- WEB-INF/classes/.../dragDrop/Inventory.class 3 kB
- WEB-INF/classes/.../InventoryInterface.class 0.5 kB
- WEB-INF/classes/.../InventoryItem.class 2 kB
- WEB-INF/classes/.../AppearFadeBean.class 2 kB
- WEB-INF/classes/.../effects/Effects.class 8 kB
- WEB-INF/classes/.../HighlightBean.class 2 kB
- WEB-INF/classes/.../effects/MoveBean.class 3 kB
- WEB-INF/classes/.../PulsateBean.class 2 kB
- WEB-INF/classes/.../FilesGroupRecord.class 0.7 kB
- WEB-INF/.../FilesGroupRecordBean.class 3 kB
- WEB-INF/classes/.../FilesRecord.class 2 kB
- WEB-INF/.../FilesRecordsManager.class 4 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
revision : 15581
Show
Adnan Durrani
added a comment - revision : 15581
Attaching a copy of the component-showcase application with debugging output.