I'm developing a simple modal window with a simple form inside:
Code: Select all
<p:dialog widgetVar="myDialogVar"
id="myDialog"
draggable="true"
resizable="false"
modal="true"
header="My Dialog">
<h:form id="myForm">
<p:messages id="myMessages" showDetail="false" showSummary="true"/>
<h:inputText value="#{myBean.car.name}"
required="true"
validator="#{myBean.validator}">
<p:commandButton value="Cancel"
immediate="true"
actionListener="#{myBean.cancel}"
onsuccess="myDialogVar.hide();"
update="@form"/>
<p:commandButton value="Save"
actionListener="#{myBean.save}"
async="true"
ajax="true"
id="createUserSaveButton"
update="@form"/>
</h:form>
</p:dialog>
I'm testing the application on IE8 and I'm using JBoss server 4.2.3GA (The client requested this kind of JBoss version). Primefaces version is PrimeFaces 2.1 RC1 SNAPSHOT