problème internet explorer modalpanel
Bonjour, j'ai un problème avec le composant modalpanel de richfaces, je l'affiche grace à l'evenement onclick d'un commandlink mais il ne s'affiche pas dans internet explorer, le meme code marche normalement dans firefox.
Code:
1 2 3 4 5 6 7
| <h:commandLink id="Icreate" action="#{EBEtatEquip.insertEtatEquip}"
style="text-decoration:none" title="#{i18n.info_save}" accesskey="s"
disabled="#{EBCompte.acces}">
<h:graphicImage value="/Images/SAVE2.bmp" style="border:0; height : 15px;" />
<a4j:support event="onclick"
oncomplete="Richfaces.showModalPanel('editPanel',{width:'500',height:'200'});"/>
</h:commandLink> |
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
| <rich:modalPanel id="editPanel" autosized="true" width="450" showWhenRendered="#{EBEtatEquip.renderedpanel}">
<f:facet name="header">
<h:outputText value="Edit Current Car" />
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="/images/modal/close.png" id="hidelink"
styleClass="hidelink" />
<rich:componentControl for="editPanel" attachTo="hidelink"
operation="hide" event="onclick" />
</h:panelGroup>
</f:facet>
<h:form>
<rich:messages style="color:red;"></rich:messages>
<h:panelGrid columns="1">
<a4j:outputPanel ajaxRendered="true">
<h:panelGrid columns="2">
<h:outputText value="Make" />
<h:inputText value="" />
<h:outputText value="Model" />
<h:inputText value="" />
<h:outputText value="Price" />
<h:inputText value=""
label="Price" immediate="true" />
</h:panelGrid>
<rich:message showSummary="true" showDetail="false" for="price" />
</a4j:outputPanel>
<a4j:commandButton value="Store"
action="#{EBEtatEquip.refrech}"
reRender="make, model, price"
oncomplete="if (#{facesContext.maximumSeverity==null}) #{rich:component('editPanel')}.hide();" />
</h:panelGrid>
</h:form>
</rich:modalPanel> |
le booléen renderedpanel est mis à jour dans la méthode insertEtatEquip appelée dans l'attribut action du commandlink.
merci d'avance