How can I do that:
In my property-file, I have a key:
key1= Hello {0}.and in my code, I have that:
facesMessages.add("#{messages.key1}", this.getValue());But the message show
Hello {0}instead of:
Hello {value}This does not work:
key1= Hello #{this.getValue()}.Any ideas?
Okay I have solved it with:
facesMessages.addFromResourceBundle("key", this.getValue())