From macosx@opengroupware.org Mon Jan 16 13:27:56 2006 From: macosx@opengroupware.org (Helge Hess) Date: Mon, 16 Jan 2006 14:27:56 +0100 Subject: [OGo-MacOSX] Re: iCal parsing using Cocoa/Objc In-Reply-To: References: <8B7FC5DB-374A-4E58-9348-E5BBD3390271@mac.com> <92fe843ae93615561c73c13277b8ff11@skyrix.com> Message-ID: <76851743-6E20-4C07-93BA-8F8EE0A53D60@opengroupware.org> On 10. Jan 2006, at 09:10 Uhr, Jon Flowers wrote: > Just a quick question for you. Is there any documentation on how to > actually parse a iCal file using the two frameworks you mentioned, > SaxObjC and NGiCal? For SaxObjC you might want to look into the small tutorials on this page: http://sope.opengroupware.org/en/sope_xml/ For NGiCal we have no real documentation, the files in the samples directory should help you to get started: http://svn.opengroupware.org/SOPE/trunk/sope-ical/samples/ icalparsetest.m > Is there some simple(ish) code that says I need to do this and this > to read an iCal vcalendar file? Well, the simplest way to get it running would be: @interface iCalCalendar + (iCalCalendar *)parseCalendarFromSource:(id)_src; Like: id cal = [iCalCalendar parseCalendarFromSource: [NSURL fileURLWithPath:@"/tmp/my.ics"]]; NSLog(@"parsed calendar is: %@", cal); > Looking through the sope code and project files is a bit > overwhelming and was unable to get them to build correctly, but > found your latest 4.5.5 version on the web with the frameworks > already built. Not sure whether the framework built already is 100% correct. You might want to try to build it with Xcode instead. Please direct subsequent questions to macosx@opengroupware.org in case they are MacOSX specific (Xcode build issues), or developer@opengroupware.org for generic development issues. Greets, Helge -- http://docs.opengroupware.org/Members/helge/ OpenGroupware.org From macosx@opengroupware.org Thu Jan 26 04:08:55 2006 From: macosx@opengroupware.org (Mont Rothstein) Date: Wed, 25 Jan 2006 20:08:55 -0800 Subject: [OGo-MacOSX] Sope + Safari craziness Message-ID: <467a83630601252008r57361095x3ca4195a0dd5cace@mail.gmail.com> Setup: Mac OS X 10.4.4, Safari 2.0.3, Sope 4.5 1195 I have a page with a drill-down series of pop-up menus (choose an item from the first pop-up and it determines the options in the 2nd and so on). I recently added a form to this page. Actually, the WOForm already existed, os this was simply some new text fields for the user to enter data and a new WOSubmitButton. Here is what was happening. When I entered data into a field, if there were previous values remembered by Safari, and I choose one of them (in this case a list of previously typed email addresses), it would change the value of the 2nd pop-up menu to 5 (from 1) and submit the page! No javascript, nothing else that I could find that might cause this. Nothing like this is happening anywhere else. Safari is the only browser that I've had do this. Has anyone else seen anything like this or have any guesses as to what the hell might be going on? Thought I'd ask just in case. -Mont