• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [SOLVED] Re: EOClientApplicationSupport weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >EOClientApplicationSupport weirdness (From: Florijan Stamenkovic <email@hidden>)
 >Re: EOClientApplicationSupport weirdness (From: John Pollard <email@hidden>)
 >Re: EOClientApplicationSupport weirdness (From: Lachlan Deck <email@hidden>)
 >[SOLVED] Re: EOClientApplicationSupport weirdness (From: Florijan Stamenkovic <email@hidden>)

  • Prev by Date: Re: WO 5.4 Generated SQL missing spaces fix?
  • Next by Date: Re: Maven (was: WO 5.4 Linux Deployment)
  • Previous by thread: [SOLVED] Re: EOClientApplicationSupport weirdness
  • Next by thread: Pure EOF example - that works WOLips, anyone?
  • Index(es):
    • Date
    • Thread