Re: [SOLVED] Re: EOClientApplicationSupport weirdness
Re: [SOLVED] Re: EOClientApplicationSupport weirdness
- Subject: Re: [SOLVED] Re: EOClientApplicationSupport weirdness
- From: Lachlan Deck <email@hidden>
- Date: Thu, 27 Mar 2008 06:48:17 +1100
Hi Florijan,
On 27/03/2008, at 3:45 AM, Florijan Stamenkovic wrote:
Lachlan, thanks for the reply, a slightly modified version of your
code works.
Oh good.
The "b" option, the only one applicable to my situation... Below is
my modified loop:
// try to connect to all given urls
for(String url : urls){
url = url.trim();
try{
// code added to my loop
// can't deal with existing EOApp instance args because
// one was not instantiated yet (this code is in static void
main(String[] args) )
NSMutableDictionary arguments = new NSMutableDictionary();
arguments.setObjectForKey(url, ApplicationURLProperty);
EOApplication.setArguments(arguments);
In that case, you should file a bug report. The bug is in
EOApplication._mergeArguments which favours key-values already set
rather than new updates to those keys' values. I don't know if
NSProperties does the same.
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden