Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 4.1
-
Fix Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Windows 7 Professional Service Pack 1, Java 1.8.0_66
Description
The Ajax close event for ace:dialogs is not working.
{code}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ace="http://www.icefaces.org/icefaces/components"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<h:outputScript library="javax.faces" name="jsf.js" />
</h:head>
<h:body>
<f:view>
<h:form id="testForm">
<ace:dialog id="testDialog" header="Test"
closable="true" modal="true"
resizable="false" >
<ace:ajax event="close"
onStart="alert('close'); return false"/>
<h:panelGroup layout="block">
<h:outputText value="Test" />
</h:panelGroup>
<h:panelGroup layout="block">
<input type="button" value="Close"
onclick="ice.ace.instance('testForm:testDialog').hide()"/>
</h:panelGroup>
</ace:dialog>
<input type="button" value="Show"
onclick="ice.ace.instance('testForm:testDialog').show()"/>
</h:form>
</f:view>
</h:body>
</html>
{code}
{code}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ace="http://www.icefaces.org/icefaces/components"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<h:outputScript library="javax.faces" name="jsf.js" />
</h:head>
<h:body>
<f:view>
<h:form id="testForm">
<ace:dialog id="testDialog" header="Test"
closable="true" modal="true"
resizable="false" >
<ace:ajax event="close"
onStart="alert('close'); return false"/>
<h:panelGroup layout="block">
<h:outputText value="Test" />
</h:panelGroup>
<h:panelGroup layout="block">
<input type="button" value="Close"
onclick="ice.ace.instance('testForm:testDialog').hide()"/>
</h:panelGroup>
</ace:dialog>
<input type="button" value="Show"
onclick="ice.ace.instance('testForm:testDialog').show()"/>
</h:form>
</f:view>
</h:body>
</html>
{code}
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion