the solution to this problem is that when u define message-resource tag in 
struts-config file mention a key tag like 

 <message-resources key="master" parameter="MasterMessageResources" 
null="false" />

and when u retrive the message from message-recource mention this key again
like 

<bean:message bundle="master" key="sectorMaster.prompt.sectorCode" />

it will definaletly work

Regards,
Sachin Hegde


---------- Original Message -----------
From: daniel weiss <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Fri, 15 Oct 2004 03:20:05 -0700 (PDT)
Subject: Problem with message resources by FormValidator

> Hi,
> 
> i got a prob with validation.xml and my resources.
> My submitted snipplet shows you a example for one validation 
> condition. If set this rule without a argument statement e.g. "{0} 
> your date is invalid", it'll be render as "???my.key.name??? your 
> date is invalid"
> 
> Its doesn't matter if set the resource attribute in arg0 or not, the 
> result was the same. This behavior only comes up on our unix machine,
>  on my local windows machine it'll be execute respectable. I thougt, 
> this could something to do with the Locale object or some configuration
> on the host.
> 
> Knows somebody also this problem or could tell a solution etc. to 
> fix this problem ?!
> 
> Thx in advance
> geramaya
> 
> [SNIPPLET]
> <field property="filterFreigabeVON" depends="date">
>   <arg0 key="abp.avr.label.freigabedate" resource="com.ipad.vw.language1"/>
>   <var>
>     <var-name>datePatternStrict</var-name>
>     <var-value>dd.MM.yyyy</var-value>
>   </var>                              
> </field>
> 
>               
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
------- End of Original Message -------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to