Hi,
I actually created a pivot table which has the cell data filled with images. I would like to have these images to function as 'CommangImageLink' and onclick of the image ... should open a popup to display the details about that intersection.
For ex : I have Products Vs State as Row & Column Header. For each intersection of Product Vs State .... depends upon the availability of the inventory should render an image. And on click of the image .. should display the details of the inventory for that intersection in a pop up.
Does any one of you have any idea about this.
FYI ... here is the piece of code which im using. When use this code ... getting the below mentioned exception.
<dvt:pivotTable id="pt1" var="cellData" varStatus="cellStatus"
inlineStyle="width:800px;height:350px"
value="#{bindings.MecOverviewJobsVO.pivotTableModel}"
binding="#{backingBeanScope.backing_jsff_mecStatusview.pt1}"
sizing="auto" pivotLabelVisible="false">
<dvt:dataCell>
<!--af:activeImage source="#{cellData.dataValue == 0 ? '/images/green.jpg;':(cellData.dataValue == 1? '/images/yellow.jpg;':(cellData.dataValue == 2?'/images/red.jpg;':(cellData.dataValue == 3?'/images/blue.jpg;':'/images/white.JPG;')))}"
binding="#{backingBeanScope.backing_jsff_mecStatusview.ai1}"
id="ai1"/-->
<af:commandImageLink id="cil1" icon="#{cellData.dataValue == 0 ? '/images/green.jpg;':(cellData.dataValue == 1? '/images/yellow.jpg;':(cellData.dataValue == 2?'/images/red.jpg;':(cellData.dataValue == 3?'/images/blue.jpg;':'/images/white.JPG;')))}"
actionListener="#{backingBeanScope.backing_jsff_mecStatusview.imageClicked}"/>
<af:popup id="showDetailsPopUp"
binding="#{backingBeanScope.backing_jsff_mecStatusview.showDetailsPopUp}">
<af:dialog id="d1" title="Hi..."/>
</af:popup>
</dvt:dataCell>
</dvt:pivotTable>
EXCEPTION ..........
DCUtil> <findSpelObject> [7517] DCUtil, returning:oracle.adfinternal.view.faces.dvt.model.binding.pivotTable.FacesPivotTableBinding, for MecOverviewJobsVO
<UIXRegion> <_warn> Error processing viewId: /mecui-flow/mecStatusview URI: /jsff/mecStatusview.jsff actual-URI: /jsff/mecStatusview.jsff.
oracle.dss.util.transform.TransformRuntimeException: DVT-2015 Slice -1 exceeds boundary 9.
oracle.dss.util.SliceOutOfRangeException: DVT-2015 Slice -1 exceeds boundary 9.
at oracle.dss.util.transform.CubicDataAccess.getValue(CubicDataAccess.java:908)
at oracle.dss.util.transform.CubicDataAccess.getValue(CubicDataAccess.java:1448)
at oracle.adf.view.faces.bi.component.pivotTable.UIPivotTable.getCurrentCellContext(UIPivotTable.java:1202)
at oracle.adf.view.faces.bi.component.pivotTable.UIPivotTable.getStamps(UIPivotTable.java:1113)
at oracle.adf.view.faces.bi.component.pivotTable.UIGrid._restoreStampState(UIGrid.java:1362)
at oracle.adf.view.faces.bi.component.pivotTable.UIGrid.postCellDataChange(UIGrid.java:830)
at oracle.adf.view.faces.bi.component.pivotTable.UIPivotTable.postCellDataChange(UIPivotTable.java:1315)
at oracle.adf.view.faces.bi.component.pivotTable.UIGrid.setCellKey(UIGrid.java:506)
<DCIteratorBinding> <releaseDataInternal> [7527] Releasing iterator binding:MecOverviewJobsVOIterator
<RegistrationConfigurator> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
oracle.dss.util.transform.TransformRuntimeException: DVT-2015 Slice -1 exceeds boundary 9.
oracle.dss.util.SliceOutOfRangeException: DVT-2015 Slice -1 exceeds boundary 9.
at oracle.dss.util.transform.CubicDataAccess.getValue(CubicDataAccess.java:908)
at oracle.dss.util.transform.CubicDataAccess.getValue(CubicDataAccess.java:1448)
at oracle.adf.view.faces.bi.component.pivotTable.UIPivotTable.getCurrentCellContext(UIPivotTable.java:1202)
at oracle.adf.view.faces.bi.component.pivotTable.UIPivotTable.getStamps(UIPivotTable.java:1113)
at oracle.adf.view.faces.bi.component.pivotTable.UIGrid._restoreStampState(UIGrid.java:1362)
at oracle.adf.view.faces.bi.component.pivotTable.UIGrid.postCellDataChange(UIGrid.java:830)
at oracle.adf.view.faces.bi.component.pivotTable.UIPivotTable.postCellDataChange(UIPivotTable.java:1315)
Thanks & Regards,
Kiran Konjeti