Re: Setting order on populate of form

2004-10-15 Thread Honza Spurný
it's a good idea. I would **strongly** > suggest re-writing your ActionForm so that it doesn't need to behave > that way. > > -- Jeff > > Honza Spurný wrote: >> Hi there >> I have the problem I'm not able to solve: >> >> I have form and formBean

Setting order on populate of form

2004-10-15 Thread Honza Spurný
Hi there I have the problem I'm not able to solve: I have form and formBean and I need to set one attribute to be saved into the bean as a first attribute at all. That's mean, that I have form with two hidden values: value1 and value2. After submiting the form I need value1 to be saved into the b

Re: Accessing ActionMessages in a jsp-File!

2004-09-17 Thread Honza Spurný
I would try this: <%= actionMessages.getMessage(...) %> I dont know if it works, since I have no way now to test it... You have to find somewhere value of GLOBAL_ERROR and then it is easy, i think. -- Honza Manuel Wissmann wrote: > Hi Everbody! > > I've got the following problem: > > In my

Re: Accesssing the multiple MessageResources

2004-09-17 Thread Honza Spurný
me) as the bundle key! Simply. Sorry for my stupid questions... Best Regards Honza Spurny Honza Spurný wrote: > Hi there, > > since I've been searching for answer for hours and nothing have > found, I'd like to ask You for help. > > I'd like to define 2 (or m

Re: Accesssing the multiple MessageResources

2004-09-17 Thread Honza Spurný
Sachin Bhutada wrote: > hi Honza Spurný , > > Try this out .. > > RequestUtils.message(pageContext,"countries","locale", > "country.usa.label", null); > It will return u the appropriate string. It may work. Hi there, thanks for hint. This s

Accesssing the multiple MessageResources

2004-09-17 Thread Honza Spurný
Hi there, since I've been searching for answer for hours and nothing have found, I'd like to ask You for help. I'd like to define 2 (or more) MessageResources files (two differents bundles) by inserting into struts-config.xml this: It's easy to access these message resources in jsp files. Sin