Hi,

My code is :

<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/extensions"; prefix="t"%>

<f:loadBundle basename="mypackage.Resources" var="appBundle"/>

<h:form id="myForm">
<h:inputHidden id="confirm" value="#{appBundle.confirmMsg}" />
<h:panelGrid columns="1" width="100%">
        <h:panelGrid id="_16" columns="2" cellpadding="4">
                <h:panelGroup>
                        <h:outputText value="#{appBundle.name}" 
styleClass="bold" />
                </h:panelGroup>
                <h:panelGroup>
                        <h:inputText id="name" value="#{myBean.name}" size="50" 
required="true"
/>
                        <h:outputText value="&nbsp;&nbsp;&nbsp;" escape="false" 
/>
                        <h:message styleClass="errMsg" for="name"/>
                </h:panelGroup>
        </h:panelGrid>
        <h:panelGrid columns="1" align="center">
                <t:commandButton action="#{myBean.createAction}"
value="#{appBundle.createButton}" />
        </h:panelGrid>
</h:panelGrid>
</h:form>

when I clicked on the create Button the action is not called.
If I modify <h:inputHidden id="confirm" value="#{appBundle.confirmMsg}" />
by <h:inputHidden id="confirm" value="TEST" /> the action is called.
I tried with immediate="true" in inputHidden tag but it's the same behavior.

Any ideas?

Thanks.

sebastien.

Reply via email to