I am having several problems getting my ArrayList data to show in a message box. I am ready to just scrap the message box and create a new page but I thought I would ask for help first.
This is the method pasted form the javadoc I am calling:
--------------
public java.lang.String getMessage(java.lang.String key,
java.lang.Object[] args)
Returns a text message after parametric replacement of the specified parameter placeholders.
Parameters:
key - The message key to look up
args - An array of replacement parameters for placeholders
--------------
My results display like this:
"text goes here (0)"
So, can I pass an ArrayList in or will I need to convert it?
And do I need to know the amount of elements in the array? The wording was vague in the javadoc and I couldn't tell. How would the resource file be set up if the # of elements in the array is ever changing?
Thanks
This is the method pasted form the javadoc I am calling:
--------------
public java.lang.String getMessage(java.lang.String key,
java.lang.Object[] args)
Returns a text message after parametric replacement of the specified parameter placeholders.
Parameters:
key - The message key to look up
args - An array of replacement parameters for placeholders
--------------
My results display like this:
"text goes here (0)"
So, can I pass an ArrayList in or will I need to convert it?
And do I need to know the amount of elements in the array? The wording was vague in the javadoc and I couldn't tell. How would the resource file be set up if the # of elements in the array is ever changing?
Thanks