• Post Reply Bookmark Topic Watch Topic
  • New Topic

message-bundle  RSS feed

Tomas Babic
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I am trying to localize general REQUIRED message and from some reason I can not pass through parameter.

Part of my faces-config.xml

javax.faces.component.UIInput.REQUIRED=Value is required for {0}.

And what I get on screen when validation fails is:
Value is required for {0}.

I would expect something like:
Value is required for Name.
where "Name" is text value for Label widget attached to specific required text field.

So it seems like my <message-bundle> tag does not support attributes. But it should because original message is :
javax.faces.component.UIInput.REQUIRED={0}: Validation Error: Value is required.

Any idea?


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!