ty. On Wed, Apr 1, 2009 at 9:33 PM, Jeremy Thomerson <jer...@wickettraining.com>wrote:
> this.error(getString('key')) > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Wed, Apr 1, 2009 at 9:23 PM, Luther Baker <lutherba...@gmail.com> > wrote: > > > I have an onSubmit handler that fails. I would like to catch the > exception > > and explicitly write a message to the page's FeedbackPanel. The message > > would be a 'message' from Page.properties ... > > > > My problem is that a literal string works just fine ... > > this.error("something I said") but how do I get something from my > Resource > > or messages file in there? > > > > Something like > > > > this.error(new ResourceModel("key")); > > > > obviously doesn't work ... but is there a well defined way? > > > > Thanks, > > > > -Luther > > >