Java 未调用CommandButton

Java 未调用CommandButton,java,ajax,primefaces,Java,Ajax,Primefaces,当我通过ajax设置inputText的值时,不会调用我的commandButton 这是我代码的一部分: <h:form> <tr> <td><p:outputLabel>Numéro Inscription</p:outputLabel></td> <td><h:inputText class="span1" id="numIns" value="#{orientationMB.numins}"&g

当我通过ajax设置
inputText
的值时,不会调用我的
commandButton

这是我代码的一部分:

<h:form>
<tr>
<td><p:outputLabel>Numéro Inscription</p:outputLabel></td>  
<td><h:inputText class="span1" id="numIns" value="#{orientationMB.numins}">
    <p:ajax update="nom prenom choix1 choix2 choix3" />
</h:inputText>
</td>
<td><p:outputLabel>Nom</p:outputLabel></td>
<td><h:inputText disabled="true" id="nom" value{orientationMB.eleve.nom}"/></td>
<td><p:outputLabel>Prénom</p:outputLabel></td>
<td><h:inputText disabled="true" id="prenom"  value="#k{orientationMB.eleve.prenom}"/></td>                         
</tr>
<p:commandButton value="Créer" actionListener="#{orientationMB.ajouterOrientation}" /><br/><br/><h:form>

努梅罗铭文
笔名

检查这里的所有内容,并直接在
h:form
中检查
tr
?在
h:inputText
下的
p:ajax
没有意义。您可能想在
p:commandButton
上添加
update
属性。