I really like how I can access the field name and use it in forming the
error message for validations.  Such as:

err.msg.requiredstring =$\{getText('label.' + fieldName)} is required.

Where the validation framework passes a variable called "fieldName".

I would like to use this same appraoch for other messages that generated
using parameters that were passed in.  I am betting there is a way to do
this, I just do not know how to reference them.  For example, I would
like to do something like:

myProperty=$\{getText('label.' + {0})} is required.

Does anyone know how this would be accomplished or how to reference the
values that are passed in?

Thanks in Advance!



-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.  

Reply via email to