Re: multi-porterties problem

2004-07-09 Thread cliff612
Thank you Susan

I have register two properties in my config.xml. I want to use this 
two properties in my vaidation.xml and genterate the checking 
javascript in jsp.

Key is set in config.xml and bundle is set in validation.xml.

But it cannot return the message what I want.

Could anyone can tell me more ??

Thanks a lot.

--- In [EMAIL PROTECTED], Susan Bradeen <[EMAIL PROTECTED]> wrote:
> Cliff,
> If I understand your question correctly, you would like Validator 
to use 
> messages defined in a non-default application resource properties 
file? I 
> am not 100% sure, but I think that Validator only looks for error 
messages 
> defined in the default application resources file (the one without 
the 
> bundle value specified). You might want to check out the Struts 
docs on 
> line for more info, or just do some experimentation. Hopefully 
someone 
> else will speak up if I am wrong here.
> 
> Susan Bradeen
> 
> "cliff" <[EMAIL PROTECTED]> wrote on 07/07/2004 06:50:13 AM:
> 
> > Hi,
> > 
> > I have encountered a problem in applying multi-properties.
> > 
> > Multi-properties is used in my company's system. Bundle is set. 
I 
> > can use the message in xxx.jsp but not validation form thought I 
> > have set bundle.
> > 
> > http://jakarta.apache.org/commons/dtds/validator_1_1.dtd is used 
in 
> > validation.xml
> > 
> > Thanks.
> > 
> > Best wishes,
> > Cliff
> 
> 
> ---
--
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: multi-porterties problem

2004-07-08 Thread Susan Bradeen
Cliff,
If I understand your question correctly, you would like Validator to use 
messages defined in a non-default application resource properties file? I 
am not 100% sure, but I think that Validator only looks for error messages 
defined in the default application resources file (the one without the 
bundle value specified). You might want to check out the Struts docs on 
line for more info, or just do some experimentation. Hopefully someone 
else will speak up if I am wrong here.

Susan Bradeen

"cliff" <[EMAIL PROTECTED]> wrote on 07/07/2004 06:50:13 AM:

> Hi,
> 
> I have encountered a problem in applying multi-properties.
> 
> Multi-properties is used in my company's system. Bundle is set. I 
> can use the message in xxx.jsp but not validation form thought I 
> have set bundle.
> 
> http://jakarta.apache.org/commons/dtds/validator_1_1.dtd is used in 
> validation.xml
> 
> Thanks.
> 
> Best wishes,
> Cliff


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



multi-porterties problem

2004-07-07 Thread cliff
Hi,

I have encountered a problem in applying multi-properties.

Multi-properties is used in my company's system. Bundle is set. I can use the message 
in xxx.jsp but not validation form thought I have set bundle.

http://jakarta.apache.org/commons/dtds/validator_1_1.dtd is used in validation.xml

Thanks.

Best wishes,
Cliff