voyent
ice:panelConfirmation misbehaving  XML
Forum Index -> Components
Author Message
stockb

Joined: 01/May/2012 10:39:41
Messages: 26
Offline


Code:
 <ice:panelPopup. value="File Selection" modal="true" visible="#{formController.fileSelectionPopupRendered}">
     <ice:dataTable value="#{formController.listOfFiles}">
         <ice:column>
             <f:facet name="header">
                 <ice:outputLabel value="Delete" />
             </f:facet>
             <ice:commandButton value="Delete"
                 panelConfirmation="deleteConfirm"
                 actionListener="#{formController.deleteLog}"/>
             <ice:panelConfirmation id="deleteConfirm"
                 message="Are you sure you want to delete?" acceptLabel="Yes"
                 cancelLabel="No" autoCentre="true" rendered="true" />
         </ice:column>
     </ice:dataTable>
 </panelPopup>
 


When I click the "delete" button, the confirmation dialogue appears for a split second, then disappears. The backing bean method `deleteLog` is never called.

Firebug reports:
Code:
 [window] Error [status: malformedXML code: 200]: this.source.previousSibling is null
 http://localhost:8080/PrototypeTest/faces/javax.faces.resource/bridge.js?rand=17265062
 Line undefined
 
stockb

Joined: 01/May/2012 10:39:41
Messages: 26
Offline


It turns out there was a conflict with my rowSelector which was resolved by setting toggleOnInput="false".
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team