Re: Multiple validation.xml files - HOW?

2005-08-11 Thread Laurie Harper

Thai Dang Vu wrote:

My application has multiple struts configuration file. Those configuration 
files use different validation configuration files. So, where do I declare all 
those validaiton files? And how to do that?


Look near the end of your struts-config.xml. Just add the additional files 
to the list that's already there.


L.
--
Laurie Harper
Open Source advocate, Java geek: http://www.holoweb.net/laurie
Founder, Zotech Software: http://www.zotechsoftware.com/


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



Re: Multiple validation.xml

2004-05-27 Thread Nikander, Linus

Why do you think merges are preferable to concurrent files with
different names (just wondering, not I'm not saying you are wrong ;) ?

Apart from being able to "own" the file you are working on completely, I
see another benefit of concurrent files in being able to subdivide the
validation.xml into manageable parts. Since the validation for a single
form can be quite lengthy when specified in XML I imagine a large
project would generate a large file making it harder to use (I might be
wrong though;).

//Linus

"Axel Seinsche" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Linus Nikander wrote:
>
> >Is it possible to use multiple validation.xml files concurrently ?
We're
> >about to launch a fairly large project and I see issues where one
developer
> >has validation.xml checked out when another one needs to edit it as a
> >possible problem.
> >
> >//Linus Nikander -
> >
> > 
> >
> If you use CVS it should be no problem to have file which is edited by

> two persons at one time. As XML files are text-only files CVS can do
> merges. We are using this for our projects too and don't have any
> difficulties. I don't think it's a good alternative that you will
create
> several XML files.
>
> Axel


Our name has changed.  Please update your address book to the following format: 
"[EMAIL PROTECTED]".

This message contains information that may be privileged or confidential and is the 
property of the Capgemini Group. It is intended only for the person to whom it is 
addressed. If you are not the intended recipient,  you are not authorized to read, 
print, retain, copy, disseminate,  distribute, or use this message or any part 
thereof. If you receive this  message in error, please notify the sender immediately 
and delete all  copies of this message.


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



Re: Multiple validation.xml

2004-05-26 Thread Axel Seinsche
Linus Nikander wrote:
Is it possible to use multiple validation.xml files concurrently ? We're
about to launch a fairly large projetct and I see issues where one developer
has validation.xml checked out when another one needs to edit it as a
possible problem.
//Linus Nikander -
 

If you use CVS it should be no problem to have file which is edited by 
two persons at one time. As XML files are text-only files CVS can do 
merges. We are using this for our projects too and don't have any 
difficulties. I don't think it's a good alternative that you will create 
several XML files.

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


RE: Multiple validation.xml

2004-05-26 Thread Joe Hertz
In a sense everyone does just this when they declare their plugin as
such:




It's just you put all the project specific stuff into one. Can't imagine
why adding more files to it wouldn't work (although could introduce it's
own set of "confuscation")

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Linus Nikander
> Sent: Wednesday, May 26, 2004 5:46 AM
> To: [EMAIL PROTECTED]
> Subject: Multiple validation.xml
> 
> 
> Is it possible to use multiple validation.xml files 
> concurrently ? We're about to launch a fairly large projetct 
> and I see issues where one developer has validation.xml 
> checked out when another one needs to edit it as a possible problem.
> 
> //Linus Nikander -
> 
> 
> 
> 
> -
> 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]