Re: [5.0] Property replacement

2003-10-18 Thread Costin Manolache
Remy Maucherat wrote: > Henri Gomez wrote: >> +1 >> >> The save could be implemented by saving all the discovered properties >> to an another xml file which will be load at next start time ? > > That won't work: the save-to-XML blindly introspects the objects and > saves the results. > > Actual

Re: [5.0] Property replacement

2003-10-17 Thread Remy Maucherat
Craig R. McClanahan wrote: Remy Maucherat wrote: Hi, I'd like to make a small proposal to do property replacement. Included are changes that should be made in the digester, and that I'll post on commons-dev if I have approval. - Add a get/setProperty to Container. This would allow a property

Re: [5.0] Property replacement

2003-10-17 Thread Craig R. McClanahan
Remy Maucherat wrote: Hi, I'd like to make a small proposal to do property replacement. Included are changes that should be made in the digester, and that I'll post on commons-dev if I have approval. - Add a get/setProperty to Container. This would allow a property inheritance across containe

Re: [5.0] Property replacement

2003-10-17 Thread Florent BENOIT
Hi, I thought that when you said "in a non hackish and flexible fashion" it will for delegating the save-to-xml feature to an helper class and that I can contribute to this task. Maybe I have misunderstand your sentence and I apologize. So I will let my patched class as I have no other choic

Re: [5.0] Property replacement

2003-10-17 Thread Tim Funk
If the admin is using the properties functionality, will they also be using the admin webapp to make config changes? (I think not) -Tim Remy Maucherat wrote: Hi, - Note: The properties used will not be saved when using save-to-XML from the admin. If anyone has an idea on how to make it work, l

Re: [5.0] Property replacement

2003-10-17 Thread Remy Maucherat
Florent BENOIT wrote: Henri Gomez wrote: Hello, As I had already said in a previous mail, I'm interesting in the customisation of the save-to-XML feature. If it can be more flexible in order to specify our own save instead of supplying a patched StandardServer class (We can not extend extende

Re: [5.0] Property replacement

2003-10-17 Thread Florent BENOIT
Henri Gomez wrote: Remy Maucherat wrote: Hi, I'd like to make a small proposal to do property replacement. Included are changes that should be made in the digester, and that I'll post on commons-dev if I have approval. - Add a get/setProperty to Container. This would allow a property inherit

Re: [5.0] Property replacement

2003-10-17 Thread Remy Maucherat
Henri Gomez wrote: +1 The save could be implemented by saving all the discovered properties to an another xml file which will be load at next start time ? That won't work: the save-to-XML blindly introspects the objects and saves the results. Actually, I think we have found a neat feature additi

Re: [5.0] Property replacement

2003-10-17 Thread Henri Gomez
Remy Maucherat wrote: Hi, I'd like to make a small proposal to do property replacement. Included are changes that should be made in the digester, and that I'll post on commons-dev if I have approval. - Add a get/setProperty to Container. This would allow a property inheritance across containe