Resource Bundle Problem (sometimes)

2007-06-26 Thread Marius Botha
Hi there, I have my own tag (extending BodyTagSupport) in which I do the following: code ResourceBundle resources = ResourceBundle.getBundle(application); out.print(resources.getString(key)); /code This works great ... most of the time. However, the moment I put this tag into another tag that

Re: Resource Bundle Problem (sometimes)

2007-06-26 Thread Kris Schneider
Quoting Marius Botha [EMAIL PROTECTED]: Hi there, I have my own tag (extending BodyTagSupport) in which I do the following: code ResourceBundle resources = ResourceBundle.getBundle(application); out.print(resources.getString(key)); /code This works great ... most of the time.

Re: Resource Bundle Problem (sometimes)

2007-06-26 Thread Marius Botha
Thanks for the quick response. It seems like it could actually be the setter method that is the culprit rather than the resources.getString(key));. If I do System.outs on key (see below) I get the correct value every time I use the tag on its own in a JSP (i.e. both key1 and key2 has a value),

Re: Resource Bundle Problem (sometimes)

2007-06-26 Thread Kris Schneider
Quoting Marius Botha [EMAIL PROTECTED]: Thanks for the quick response. It seems like it could actually be the setter method that is the culprit rather than the resources.getString(key));. If I do System.outs on key (see below) I get the correct value every time I use the tag on its own in a