Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-956

Messages produce unnessesarry html when no messages exsist.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.1, 3.2.0
    • Component/s: None
    • Labels:
      None

      Description

      <rich:messages infoClass="hidden" fatalClass="hidden" warnClass="hidden" styleClass="error message" />

      in the classes - there is border properties. And in the result - borders apears even when no messages.

        Gliffy Diagrams

          Activity

          Hide
          viktor_volkov Viktor Volkov added a comment -

          verified on revision 2992

          Show
          viktor_volkov Viktor Volkov added a comment - verified on revision 2992
          Hide
          viktor_volkov Viktor Volkov added a comment -

          verify on 3.1.1

          Show
          viktor_volkov Viktor Volkov added a comment - verify on 3.1.1
          Hide
          ilya_shaikovsky Ilya Shaikovsky added a comment -

          Check again under 3.1.1 and write the 3.1.1 precise version to customer on forum. (link to forum in bug)

          Show
          ilya_shaikovsky Ilya Shaikovsky added a comment - Check again under 3.1.1 and write the 3.1.1 precise version to customer on forum. (link to forum in bug)
          Hide
          ilya_shaikovsky Ilya Shaikovsky added a comment -

          Should be assigned to me after fix without resolving. We'll commit them to 3.1.1 if will be fixed before release.

          Show
          ilya_shaikovsky Ilya Shaikovsky added a comment - Should be assigned to me after fix without resolving. We'll commit them to 3.1.1 if will be fixed before release.
          Hide
          ilya_shaikovsky Ilya Shaikovsky added a comment -

          cr2 Ok,

          Show
          ilya_shaikovsky Ilya Shaikovsky added a comment - cr2 Ok,
          Hide
          juanignaciosl Juan Ignacio Sánchez Lara added a comment -

          I've upgraded to 3.1.3CR4 and this code keeps rendering an empty box when there're no messages:

          <rich:messages level="error" layout="list" ajaxRendered="true" id="$

          {id}

          Error" errorClass="mensajeError" styleClass="mensaje error"/>

          Show
          juanignaciosl Juan Ignacio Sánchez Lara added a comment - I've upgraded to 3.1.3CR4 and this code keeps rendering an empty box when there're no messages: <rich:messages level="error" layout="list" ajaxRendered="true" id="$ {id} Error" errorClass="mensajeError" styleClass="mensaje error"/>
          Hide
          juanignaciosl Juan Ignacio Sánchez Lara added a comment -

          Final 3.1.3 won't work either. If I set styleClass to something that makes a border, border is rendered even with no messages.

          Show
          juanignaciosl Juan Ignacio Sánchez Lara added a comment - Final 3.1.3 won't work either. If I set styleClass to something that makes a border, border is rendered even with no messages.

            People

            • Assignee:
              viktor_volkov Viktor Volkov
              Reporter:
              ilya_shaikovsky Ilya Shaikovsky
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development