Re: MessageResources in ActionForm

2003-11-25 Thread Frers Michael
November 25, 2003 11:07 AM Subject: Re: MessageResources in ActionForm > Manish Singla wrote: > > Hi > > > > Use following > > > > MessageResources mr = ((MessageResources) > > request.getAttribute(Globals.MESSAGES_KEY)); >^^

Re: MessageResources in ActionForm

2003-11-25 Thread Honza Spurný
Manish Singla wrote: > Hi > > Use following > > MessageResources mr = ((MessageResources) > request.getAttribute(Globals.MESSAGES_KEY)); what is Globals ??? I've tried it, but my java compiler does not knows it... > > Instaed of > >> MessageResources mr = request.

Re: MessageResources in ActionForm

2003-11-25 Thread Honza Spurný
Manish Singla wrote: > Hi > > Use following > > MessageResources mr = ((MessageResources) > request.getAttribute(Globals.MESSAGES_KEY)); what is Globals ??? I've tried it, but my java compiler does not knows it... > > Instaed of > >> MessageResources mr = request.

Re: MessageResources in ActionForm

2003-11-24 Thread Manish Singla
Hi Use following MessageResources mr = ((MessageResources) request.getAttribute(Globals.MESSAGES_KEY)); Instaed of MessageResources mr = request.getMessageResources(); HTH Manish Singla Honza Spurný wrote: Hi there, I'm able to read values from MessageResources in JSP files. But in special

MessageResources in ActionForm

2003-11-24 Thread Honza Spurný
Hi there, I'm able to read values from MessageResources in JSP files. But in special case I need to read such values in java-classes. Unfortunatelly I need it in ActionForm in validate() method... To understand me I'm attaching my vision of how it could be very easy (it doesn't work): public Act