Re: ERGroupware changes
Hi Pascal, I've just started to look into ERGroupware and wanted to make sure I'm using the cdav-connector version, but I cannot seem to find any references to e.g. zswi.objects in the code of the cdav-connector branch? It looks like master and cdav-connector are identical. I bumped into an issue with the old (?) ical4j connector: Calendars.getUid throws a ConstraintViolationException More than one UID found in calendar when I add more than one event to a calendar and then try to add it to an existing CalDAVCollection on a DAViCal server: for (CourseEvent anEvent : aCourse.events()) { ERGWEvent event = new ERGWEvent(cal); event.setStartTime(anEvent.startDateTime()); event.setEndTime(anEvent.endDateTime()); … } … CalDAVCollection defaultCollection = store.getCollections() .objectAtIndex(0); defaultCollection.addCalendarObject(cal); Generating the ics file via ERGWPublishCalendarPage works fine and iCal accepts it and pushes it to that same calendar on DAViCal w/o issues. Fabian Am 21.09.2013 um 05:02 schrieb Pascal Robert prob...@macti.ca: Hi, At WOWODC, I said that I wanted to use another library for CalDAV and use it into ERGroupware. Well, I found that other library, in fact I wrote 75% of the code in that library. https://github.com/Kerio/cdav-connector If you wish to try ERGroupware with that library, get the source of ERGroupware: https://github.com/pascalrobert/ERGroupware And switch to the cdav-connector branch. Please note that if you have used ERGroupware in the past, the constructors have changed. That's probably the only change you will have to do in your code. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com This email sent to lists.fab...@e-lumo.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERGroupware changes
This is the first time I heard from someone who is using ERGroupware :-) Yeah, the cdav-connector is not complete, I will have to work on this. About the More than one UID found in calendar, that's because you can only add one vCalendar object by CalDAV. iCal is splitting the file in chunks and send each vCalendar object separately. So instead of adding the event to a calendar object in a loop, you should ship the event in the loop. - Mail original - De: Fabian Peters lists.fab...@e-lumo.com À: WebObjects-Dev Mailing List List webobjects-dev@lists.apple.com Cc: Pascal Robert prob...@macti.ca Envoyé: Vendredi 14 Novembre 2014 06:32:07 Objet: Re: ERGroupware changes Hi Pascal, I've just started to look into ERGroupware and wanted to make sure I'm using the cdav-connector version, but I cannot seem to find any references to e.g. zswi.objects in the code of the cdav-connector branch? It looks like master and cdav-connector are identical. I bumped into an issue with the old (?) ical4j connector: Calendars.getUid throws a ConstraintViolationException More than one UID found in calendar when I add more than one event to a calendar and then try to add it to an existing CalDAVCollection on a DAViCal server: for (CourseEvent anEvent : aCourse.events()) { ERGWEvent event = new ERGWEvent(cal); event.setStartTime(anEvent.startDateTime()); event.setEndTime(anEvent.endDateTime()); … } … CalDAVCollection defaultCollection = store.getCollections() .objectAtIndex(0); defaultCollection.addCalendarObject(cal); Generating the ics file via ERGWPublishCalendarPage works fine and iCal accepts it and pushes it to that same calendar on DAViCal w/o issues. Fabian Am 21.09.2013 um 05:02 schrieb Pascal Robert prob...@macti.ca: Hi, At WOWODC, I said that I wanted to use another library for CalDAV and use it into ERGroupware. Well, I found that other library, in fact I wrote 75% of the code in that library. https://github.com/Kerio/cdav-connector If you wish to try ERGroupware with that library, get the source of ERGroupware: https://github.com/pascalrobert/ERGroupware And switch to the cdav-connector branch. Please note that if you have used ERGroupware in the past, the constructors have changed. That's probably the only change you will have to do in your code. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com This email sent to lists.fab...@e-lumo.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
D2W propertyKey question
I have an App object. I have a method in App: public AppConfigIOS iosAppConfig(){ //lazily create an instance of AppConfigIOS } how come I get an error in my rule for “tabSectionContents” with: “iosAppConfig.certPassword It says lookup of unknown key: com.pp.eos.App 0x5b5fbbd7 valueForKey(): lookup of unknown key: ‘iosAppConfig.certFileAttachment’ It is there and it is public. Cannot tabSections use key paths? Thanks James ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W propertyKey question
Key vs KeyPath? On 2014-11-14, 1:41 PM, James Cicenia wrote: I have an App object. I have a method in App: public AppConfigIOS iosAppConfig(){ //lazily create an instance of AppConfigIOS } how come I get an error in my rule for tabSectionContents with: iosAppConfig.certPassword It says lookup of unknown key: com.pp.eos.App 0x5b5fbbd7 valueForKey(): lookup of unknown key: 'iosAppConfig.certFileAttachment' It is there and it is public. Cannot tabSections use key paths? Thanks James ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
audit trails display
I have just started implementing ERCoreBusinessLogic’s AuditTrails. This is really good stuff. However, I had to ‘fix’ a boolean. In the migration of ERCoreBusinessLogic I see: ERXMigrationTable eRCAuditTrailTable = database.newTableNamed(ERCAuditTrail); eRCAuditTrailTable.newStringColumn(GID, 255, ALLOWS_NULL); eRCAuditTrailTable.newIntegerColumn(ID, NOT_NULL); eRCAuditTrailTable.newIntBooleanColumn(IS_DELETED, NOT_NULL); eRCAuditTrailTable.create(); eRCAuditTrailTable.setPrimaryKey(ID”); In my postgresql backend, is_deleted is added as an integer column. So I had to run a migration of my own: ERXMigrationTable auditTrailTable = database.existingTableNamed(ercaudittrail); auditTrailTable.existingColumnNamed(is_deleted).delete(); auditTrailTable.newFlagBooleanColumn(is_deleted, false); Is there a setting I can use to make the ERCoreBusinessLogic’s migration create a boolean column? Are there any Wonder components for displaying ercaudittrailentry data? I see when I insert a new entiry: { releaseDate = 2014-11-14 05:00:00 Etc/GMT; width = 728; height = 90; current = true; description = sfgsdfgsd; company = Company.3; theInsertion = ERFileAttachment.4; jobNumber = 1222; } Do I need to process this to display it? I see that toOne relations are listed Person.1. I was looking for components to display this. I don’t mind processing, but maybe there are components that could help. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: audit trails display
Don't think there's anything in Wonder. It has been on my todo list for years. Sent from my iPad On Nov 14, 2014, at 6:31 PM, Theodore Petrosky tedp...@yahoo.com wrote: I have just started implementing ERCoreBusinessLogic’s AuditTrails. This is really good stuff. However, I had to ‘fix’ a boolean. In the migration of ERCoreBusinessLogic I see: ERXMigrationTable eRCAuditTrailTable = database.newTableNamed(ERCAuditTrail); eRCAuditTrailTable.newStringColumn(GID, 255, ALLOWS_NULL); eRCAuditTrailTable.newIntegerColumn(ID, NOT_NULL); eRCAuditTrailTable.newIntBooleanColumn(IS_DELETED, NOT_NULL); eRCAuditTrailTable.create(); eRCAuditTrailTable.setPrimaryKey(ID”); In my postgresql backend, is_deleted is added as an integer column. So I had to run a migration of my own: ERXMigrationTable auditTrailTable = database.existingTableNamed(ercaudittrail); auditTrailTable.existingColumnNamed(is_deleted).delete(); auditTrailTable.newFlagBooleanColumn(is_deleted, false); Is there a setting I can use to make the ERCoreBusinessLogic’s migration create a boolean column? Are there any Wonder components for displaying ercaudittrailentry data? I see when I insert a new entiry: { releaseDate = 2014-11-14 05:00:00 Etc/GMT; width = 728; height = 90; current = true; description = sfgsdfgsd; company = Company.3; theInsertion = ERFileAttachment.4; jobNumber = 1222; } Do I need to process this to display it? I see that toOne relations are listed Person.1. I was looking for components to display this. I don’t mind processing, but maybe there are components that could help. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com