Uploaded image for project: 'JBoss Enterprise Spec APIs'
  1. JBoss Enterprise Spec APIs
  2. JBEE-145

Missing validationFailed and isValidationFailed Methods in FacesContext

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • None
    • jboss-jsf-api
    • Hide

      Download and install NetBeans 7.4
      Add JBoss AS 7.1.1 as a server
      Download PrimeFaces CRUD Generator from SourceForge. Make sure it's for implementation 7.4. Install the plugin.
      Now, add some entities from a database using the Entity Classes From Database wizard.
      Run the PrimeFaces Pages from Entity Classes wizard
      Once finished, look at JsfUtil.java. NetBeans highlights lines 29 and 51 with invalid symbol errors.

      Show
      Download and install NetBeans 7.4 Add JBoss AS 7.1.1 as a server Download PrimeFaces CRUD Generator from SourceForge. Make sure it's for implementation 7.4. Install the plugin. Now, add some entities from a database using the Entity Classes From Database wizard. Run the PrimeFaces Pages from Entity Classes wizard Once finished, look at JsfUtil.java. NetBeans highlights lines 29 and 51 with invalid symbol errors.

      I have a NetBeans module called PrimeFaces CRUD Generator. One thing I do when an error was detected on a page is add a FacesMessage to the current FacesContext and the invalidate the page with validationFailed() method. My IDE (NetBeans 7.4) cannot compile this code because of missing symbols for validationFailed and isValidationFailed for javax.faces.context.FacesContext. These are supposed to be there according to Oracle Java EE 6 Spec.

              smcgowan@redhat.com Shelly McGowan (Inactive)
              kwrobel_jira Kay Wrobel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: