Re: Partial Initialization

2009-02-13 Thread ebrire

No ideas on this topic?



On Feb 11, 3:28 pm, ebrire ebr...@gmail.com wrote:
 Hi folks,

 I'd like your help.

 I'm looking to do something simple, but I have no idea how. I usually
 create an XML config file that contains all the settings to run the
 application with AR and that works fine. What I'd like to do now is a
 bit different. I want the XML to have ALL settings EXCEPT the
 connection string, which will be obtained from a source other than the
 Xml config file..

 Is that possible? I couldn't figure out how I'd manage to do that. I
 just need to use the ActiveRecordStarter class to read all the
 parameters and then find a way to add the connection string that will
 come from a different source.

 Any help will be greatly appreciated.

 Thanks in advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to 
castle-project-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~--~~~~--~~--~--~---



Re: Partial Initialization

2009-02-13 Thread ebrire

Hi Ayende, thanks for the reply.

Are you suggesting something like loading the XML config file into
memory and then changing one of its nodes by injecting the connection
string?

Thanks



On Feb 13, 2:06 pm, Ayende Rahien aye...@ayende.com wrote:
 You can edit the configuration source that you hand to ARStarter.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to 
castle-project-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~--~~~~--~~--~--~---



Partial Initialization

2009-02-11 Thread ebrire

Hi folks,

I'd like your help.

I'm looking to do something simple, but I have no idea how. I usually
create an XML config file that contains all the settings to run the
application with AR and that works fine. What I'd like to do now is a
bit different. I want the XML to have ALL settings EXCEPT the
connection string, which will be obtained from a source other than the
Xml config file..

Is that possible? I couldn't figure out how I'd manage to do that. I
just need to use the ActiveRecordStarter class to read all the
parameters and then find a way to add the connection string that will
come from a different source.

Any help will be greatly appreciated.

Thanks in advance

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to 
castle-project-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~--~~~~--~~--~--~---