Uploaded image for project: 'Nuxeo IDE'
  1. Nuxeo IDE
  2. NXIDE-222

Hot reloading of a custom jsf validate method from a backing bean doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.1.10
    • Fix Version/s: QualifiedToSchedule

      Description

      Add a jsf validate method in a seam bean. A method having the following signature :

        public void validate(FacesContext context, UIComponent component,
                  Object value) throws ValidatorException 
      

      Use this method to validate a field when submitting the form. For example, on a field of type String, this can be configured directly using the "validator" property of the widget type "text".

       <properties widgetMode="edit">
         <property name="validator">#{testBean.validate}</property>
      

      When the seam bean is hot -reloaded the method is never called.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: