problem avec modalpanel de rich
bonjour ;
j'ai un problème avec mon modalpanel ; il ne me retourne rien il fait les traitements qui sont incluses dans le modalpanel, mais ne retourn rien :
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
|
<rich:modalPanel id="paneladd" width="650" height="250">
<f:facet name="header">
<h:outputText value="New Batch" />
</f:facet>
<f:facet name="controls">
<span style="cursor: pointer"onclick="javascript:Richfaces.hideModalPanel('paneladd') ">X</span>
</f:facet>
<h:panelGrid columns="2" border="1">
<h:outputLabel value="Usine"></h:outputLabel>
<rich:comboBox defaultLabel="select..." value="#{centerPar.Us_name}">
<f:selectItems value="#{list_Items.usList}" />
<a4j:support event="onselect" action="#{cardBean.passerbatch}"
reRender="batch11"></a4j:support>
</rich:comboBox>
<h:outputLabel value="Batch Number"></h:outputLabel>
<h:outputText value="#{cardBean.batchnumber}" id="batch11</h:outputText>
<h:outputLabel value="Cardbatch Type"></h:outputLabel>
<h:selectOneRadio value="#{cardBean.new_batch.batchStatus}"><f:selectItems value="#{centerPar.c_batchstatutItems}" />
</h:selectOneRadio>
<h:outputLabel value="Cardbatch Type"></h:outputLabel>
<h:selectOneRadio value="#{cardBean.new_batch.cardbatchType}">
<f:selectItem itemLabel="Manual" itemValue="M" />
<f:selectItem itemLabel="Automatic" itemValue="A" />
</h:selectOneRadio>
<h:outputLabel value=" Creation Date"></h:outputLabel>
<h:outputText value="#{cardBean.date}"></h:outputText>
<h:commandButton value="OK" actionListener="#{cardBean.add_batch}"></h:commandButton>
<a4j:commandButton value="Cancel" oncomplete="javascript:Richfaces.hideModalPanel('paneladd');" />
</h:panelGrid>
</rich:modalPanel> |
donc ce qui est n'est pas retourné par contre il fait un traitement (appelle d une procédure stocké) pour afficher ce qui en vert