OK i put my validator into a template directly, and it's
works, but i can't see the error message of my validator.

Here the code:

in the template xhtml:


<f:subview xmlns:f="http://java.sun.com/jsf/core";
  xmlns:h="http://java.sun.com/jsf/html";
  xmlns:c="http://java.sun.com/jstl/core";>

        Test<h:inputText type="text" id="ratnumociideux"
value="#{field_0}"
validator="#{validatorvf.validateRatachement}"/>
        
</f:subview>


and in the widget:


      <widget name="ratnumdeuxceate" type="template">
              <fields>
                <field>rat:numcptociideux</field>
              </fields>
              <labels>
                <label mode="any">Rattachement 2</label>
              </labels>
              <translated>false</translated>
              <properties mode="any">
                <property name="template">
                  /widgets/validatorfieldratdeux.xhtml
                </property>
              </properties>
      </widget>


can you help me please
Best regards,
moise
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/

Reply via email to