K
Konrad Billewicz
Hello,
I wish to nest one message inside another. I thought about something like:
ActionMessage msg = new ActionMessage
(
"error.field.notValid",
new
ActionMessage("form.treaty.field.agreementType"){.getValue()}
));
It isn't working because of the fact that method getValue() doesn't exists
in ActionMessage class. So, how to get value of the ActionMessage object
created with particular key? My messages are defined in
MessageResources.properties file.
Maybe I try do do it completely wrong?
Best regards,
Konrad Billewicz
I wish to nest one message inside another. I thought about something like:
ActionMessage msg = new ActionMessage
(
"error.field.notValid",
new
ActionMessage("form.treaty.field.agreementType"){.getValue()}
));
It isn't working because of the fact that method getValue() doesn't exists
in ActionMessage class. So, how to get value of the ActionMessage object
created with particular key? My messages are defined in
MessageResources.properties file.
Maybe I try do do it completely wrong?
Best regards,
Konrad Billewicz