5 Replies Latest reply on Jul 24, 2008 9:36 PM by Chris Simons

    Validation messages

    pi tee Newbie

      how can I hide the jsf prefix in validation messages?

      j_id68:email: Validation Error: Value is required.

      In this case


      Thanks for your help


        • 2. Re: Validation messages
          pi tee Newbie

          changing the following properties doesn't work:

          javax.faces.component.UIInput.REQUIRED\={0}: Validation Error: Value is required.


          javax.faces.component.UIInput.REQUIREDvalue is required

          any further hints?

          • 3. Re: Validation messages
            Kenneth Christensen Novice

            Yes, it works :-)

            You're doing something wrong !

            javax.faces.component.UIInput.REQUIREDvalue is required

            Will not work.

            javax.faces.component.UIInput.REQUIRED = Value is required.

            Will work just fine.

            BTW: I need some more information on how you're loading the custom bundles.

            • 4. Re: Validation messages
              pi tee Newbie

              shit. my fault, sorry


              • 5. Re: Validation messages
                Chris Simons Expert


                I have run into the same problem only it didn't use to do this...

                Now, when a validation error occurs, I see:

                createIssueForm:summaryDecorate:summary: Validation Error: Value is required. 

                However, it used to only show the text Value is required, for example.  I can't figure out what change we made that suddenly started reporting the full DOM ID for each validation message.  It happens with all kinds of messages, not just required fields.

                I checked messages_en.properties and I'm puzzled because for this JSF error it shows:

                javax.faces.component.UIInput.REQUIRED=value is required

                The case doesn't match...

                I am loading messages through Seam and components.xml along with a couple of other message files, such as:


                Any ideas?

                Thank you...