Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2624

Automatically add h:messages if ProjectStage is Development

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-beta-3
    • 2.0.0
    • JSR-314
    • None

    Description

      If ProjectStage is Development and there is no h:messages component on the current view we should automatically add h:messages to the component tree, because many users often forget about adding this useful (debug) component and wonder why their actions are never called.

      This is also an official JSF 2.0 spec requirement, however I couldn't find it in the spec-pdf or in the javadoc, but in the spec issue tracker [1] and on several blogs like Ryan Lubke's Blog [2]. Furthermore Mojarra also does it.

      [1] https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=314
      [2] http://blogs.sun.com/rlubke/entry/jsf_2_0_new_feature2

      Attachments

        Issue Links

          Activity

            People

              jakobkorherr Jakob Korherr
              jakobkorherr Jakob Korherr
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: