RichFaces
  1. RichFaces
  2. RF-1375

rich:messages is broken when FacesMessages is used from an action that returns an outcome

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Critical Critical
    • Resolution: Done
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.2, 3.1.3, 3.2.0
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      1. Create a project using JBoss Tools
      2. Create an action called "hello"
      3. Test it (works)
      4. Change /home.xhtml to use rich:messages instead of h:messages
      5. Changle Hello.java as follows:

      public String hello()
      {
      //implement your business logic here
      log.info("hello.hello() action called by #

      {identity.username}

      ");
      facesMessages.add("hello");
      return "/home.xhtml";
      }

      6. Test it (the message is not displayed correctly)

        Activity

        Hide
        Pete Muir
        added a comment -

        Ok, the message is found by UIRichMessages (facesContext.getMessages() returns it), but as "isPassed" (some local variable of richfaces) is false, the message is not written out.

        Show
        Pete Muir
        added a comment - Ok, the message is found by UIRichMessages (facesContext.getMessages() returns it), but as "isPassed" (some local variable of richfaces) is false, the message is not written out.
        Hide
        Alexander Smirnov
        added a comment -

        There is behavior from attempt to create "smart" validator, to avoid error massages for the "unvisitet" fields.
        Now, it's disabled by default.

        Show
        Alexander Smirnov
        added a comment - There is behavior from attempt to create "smart" validator, to avoid error massages for the "unvisitet" fields. Now, it's disabled by default.

          People

          • Assignee:
            Aleksej Yanul
            Reporter:
            Gavin King
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: