merging changes upon a save: what are “locally uncommitted changes”, too many snapshots?
Hi there, is the process of merging changes upon a save into other ECs, and all the kinds of snapshots available, documented somewhere in detail? My old EOEditingContextConcepts says just this: ... However, locally uncommitted changes to objects in the EOEditingContext are by default reapplied to the objects, in effect preserving the uncommitted changes in the object graph. After the update, the uncommitted changes remain uncommitted, but the committed snapshots have been updated to reflect the values in the EOObjectStore. and I can't see what does it actually mean “locally uncommitted changes” here. Most probably a difference from some snapshot, but I admit I am sort of lost in the things. So far I lived in impression that (if we ignore undo) there's only one kind of snapshots: OSC-level shared snapshots of what-was-just-saved-into-DB. I've tried to research the thing a bit and there seem to be at the very least the following snapshots: (i) EC.committedSnapshotForObject (ii) EC.currentEventSnapshotForObject (iii) EODatabaseContext.snapshotForGlobalID (iv) EODatabaseContext.localSnapshotForGlobalID I regret to say the standard documentation does not help much. I did some testing and it looks like - (iii) is the one snapshot I knew: whenever save finishes, it always contains the newly saved values - (i) and (ii) — which for me always contain same data, that's weird! — seem to contain an EC-level snapshot stored at its (first) willChange. Also it looks like those “locally uncommitted changes” are based on (one of) these. So far though I haven't found a case when (i) would differ from (ii)... although, based on the name, I would actually presume (i) should be the same as (iii). It very definitely is not. - (iv) I don't understand at all :( Are those things somewhere documented in detail? Thanks and all the best, OC ___ 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
Changes synchronized via jGroups won't always propagate on remote machines
Hi! We are experiencing issues with the RemoteSynchronizer (on jGroups), if we use more than one er.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators (like 20). The synchronization between instances is working, changes are distributed and fetched from the database, but they don't "push through" - if we read the EO-Entity that should contain those changes, we're getting the same data as if nothing was updated. It seems to work most of the time if we create a new session: if we hit a new WorkerThread we get the changes, if not we'll end up with the old data. We tested it with two vastly different projects (also vastly different in age of the product) and both suffer from the issue mentioned above. We looked into the mechanics and wondered, why the following three lines are present in processing of local changes (ERXObjectStoreCoordinatorSynchronizer.ProcessChangesQueue.UpdateSnapshotProcessor.processSnapshots()), but not in the remote-version of this (ERXObjectStoreCoordinatorSynchronizer.ProcessChangesQueue.UpdateCacheChangeProcessor.processCacheChange()): NSMutableDictionary userInfo = new NSMutableDictionary(gids, EODatabaseContext.UpdatedKey); userInfo.setObjectForKey(Boolean.TRUE, ERXObjectStoreCoordinatorSynchronizer.SYNCHRONIZER_KEY); NSNotificationCenter.defaultCenter().postNotification(EODatabaseContext.ObjectsChangedInStoreNotification, dbc, userInfo); We added those lines on the RemoteChanges-side and our issue was gone. Our question is, if this could be a bug, or "if we are doing something wrong" because no one ever faced those issues... :) What would be the consequences if we add those three lines to the UpdateCacheChangeProcessor (or wherever it'd be needed to process all kinds of changes)? Another question would be: Why is it working with only one ObjectStoreCoordinator? PS: Since we're using a WebSphere environment we can't use the usual "20 instances, one ObjectStore"-approach, we need to use many concurrent threads in a single process. This issue is also occurring outside of WebSphere though (if more than one ObjectStoreCoordinator is used with remote instances). PPS: see also https://github.com/wocommunity/wonder/issues/866 Thanks a lot for your time! Best regards René Bock -- Phone: +49 69 650096 18 salient GmbH, Lindleystraße 12, 60314 Frankfurt Main: +49 69 65 00 96 0 | http://www.salient-doremus.de ___ 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: Changes
Thanks Paul. Done. Mark > On 2 Oct 2016, at 07:13, Paul Hoadleywrote: > > Hi Mark, > > On 21 Sep 2016, at 6:16 AM, Mark Wardle wrote: > >> I enclose some simple diffs for wonder 7 - snapshot. >> >> The first is a simple typo but its presence is irritating my sensibilities >> in my log files. > >> The other is a simple fix to navigation menu item, (ERExtensions) which >> ensures a generated URL stays secure if the current request is secure. > > Thanks. I’ve just made a pull request for these: > > https://github.com/wocommunity/wonder/pull/806 > > As I note in that ticket, I don’t use this package, but I assume you have the > second patch in use and that it does what it seems to do. If you have time, > could you add some reassuring comments to the ticket? Then we’ll merge it. > > > -- > Paul Hoadley > http://logicsquad.net/ > > > ___ 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: Changes
Hi Mark, On 21 Sep 2016, at 6:16 AM, Mark Wardlewrote: > I enclose some simple diffs for wonder 7 - snapshot. > > The first is a simple typo but its presence is irritating my sensibilities in > my log files. > The other is a simple fix to navigation menu item, (ERExtensions) which > ensures a generated URL stays secure if the current request is secure. Thanks. I’ve just made a pull request for these: https://github.com/wocommunity/wonder/pull/806 As I note in that ticket, I don’t use this package, but I assume you have the second patch in use and that it does what it seems to do. If you have time, could you add some reassuring comments to the ticket? Then we’ll merge it. -- Paul Hoadley http://logicsquad.net/ ___ 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
Changes
I enclose some simple diffs for wonder 7 - snapshot. The first is a simple typo but its presence is irritating my sensibilities in my log files. diff --git a/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/navigation/ERXNavigationItem.java b/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/navigation/ERXNavigationItem.java index 055add3..6518077 100644 --- a/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/navigation/ERXNavigationItem.java +++ b/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/navigation/ERXNavigationItem.java @@ -225,7 +225,7 @@ } } else { - log.warn("For nav core object: {} and child binding: {} recieved binding object: {}", this, childrenBinding(), o); + log.warn("For nav core object: {} and child binding: {} received binding object: {}", this, childrenBinding(), o); } } } The other is a simple fix to navigation menu item, (ERExtensions) which ensures a generated URL stays secure if the current request is secure. diff --git a/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/navigation/ERXNavigationMenuItem.java b/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/navigation/ERXNavigationMenuItem.java index 9165d30..03acd48 100644 --- a/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/navigation/ERXNavigationMenuItem.java +++ b/Frameworks/Core/ERExtensions/Sources/er/extensions/appserver/navigation/ERXNavigationMenuItem.java @@ -117,7 +117,7 @@ if(_linkDirectlyToDirectActions) { NSMutableDictionary bindings = navigationItem().queryBindings().mutableClone(); bindings.setObjectForKey(context().contextID(), "__cid"); - url = context().directActionURLForActionNamed(navigationItem().directActionName(), bindings); + url = context().directActionURLForActionNamed(navigationItem().directActionName(), bindings, ERXRequest.isRequestSecure(context().request()), false); } else { url = context().componentActionURL(); } Thanks, Mark ___ 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
Hi Pascal, This is the first time I heard from someone who is using ERGroupware :-) Thanks a lot for publishing it, Pascal! 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. Right, that was it. And it makes sense now, after reading up on the WebDAV resource scheme. I'm planning to make course data available via CalDAV (events) and CardDAV (participants). Ultimately I'd like to allow organisers/employees to access all data, instructors to access event and participant data of their courses only and participants to access event data of their courses only. I'm still wondering how to best organise the calendar data to make it easy enough to use for non-technical users and avoid too much duplication. I remember iOS devices having no support for delegated calendars, is that still true? Thanks, Fabian - 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
Re: ERGroupware changes
Le 2014-11-15 à 06:33, Fabian Peters lists.fab...@e-lumo.com a écrit : Hi Pascal, This is the first time I heard from someone who is using ERGroupware :-) Thanks a lot for publishing it, Pascal! 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. Right, that was it. And it makes sense now, after reading up on the WebDAV resource scheme. I'm planning to make course data available via CalDAV (events) and CardDAV (participants). Ultimately I'd like to allow organisers/employees to access all data, instructors to access event and participant data of their courses only and participants to access event data of their courses only. I did something like that for a customer (when I was a freelancer). I'm still wondering how to best organise the calendar data to make it easy enough to use for non-technical users and avoid too much duplication. I remember iOS devices having no support for delegated calendars, is that still true? Do you want to let organizers edit the events in a « regular » CalDAV client or only from a Web interface? An option would be to use the sharing option (not all CalDAV servers support this), with an account that have every calendars and share the calendars to groups. iOS supports delegated calendars, but you have to enter the URL for the delegated into the device. You can’t add them with Profile Manager, but adding them manually works. This is what we did at work for the calendars of our sales team. Thanks, Fabian - 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
Re: ERGroupware changes
Am 15.11.2014 um 12:48 schrieb Pascal Robert prob...@macti.ca: Le 2014-11-15 à 06:33, Fabian Peters lists.fab...@e-lumo.com a écrit : I'm planning to make course data available via CalDAV (events) and CardDAV (participants). Ultimately I'd like to allow organisers/employees to access all data, instructors to access event and participant data of their courses only and participants to access event data of their courses only. I did something like that for a customer (when I was a freelancer). I'm still wondering how to best organise the calendar data to make it easy enough to use for non-technical users and avoid too much duplication. I remember iOS devices having no support for delegated calendars, is that still true? Do you want to let organizers edit the events in a « regular » CalDAV client or only from a Web interface? No, the CalDAV data will be read-only. Keeping the data on the CalDAV server up to date will be enough of a hassle, I guess. An option would be to use the sharing option (not all CalDAV servers support this), with an account that have every calendars and share the calendars to groups. Yes, that sounds like a good approach. Storing all calendars (one per course?) under the organisers' account and then sharing them to others. iOS supports delegated calendars, but you have to enter the URL for the delegated into the device. You can’t add them with Profile Manager, but adding them manually works. This is what we did at work for the calendars of our sales team. Right, now I remember having done something like this. Definitely not what I want to explain to non-technical, paying customers. ;-) Thanks, Fabian Thanks, Fabian - 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
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
Multi Application Instance and propagation of EO changes
Hi list Im working on an App that requires an initial cache of read only EOs which will drive searches and result in paginated pages for display across the app instances. But I also need to provide some administration of the database rows and for those changes to be propagated across the apps so that they are available to the EditingContexts/EOs so that the all post searches draw from updated objects. Is there a Framework or strategy that can help with that? ___ 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: Multi Application Instance and propagation of EO changes
yea thanks… I kinda found that after digging around… :-) On 18 Jun 2014, at 17:53, Chuck Hill ch...@global-village.net wrote: Something like /Wonder/Frameworks/EOF/ERChangeNotificationJMS or Wonder/Frameworks/EOF/ERJGroupsSynchronizer/ would be worth considering. Chuck On 2014-06-18, 5:29 AM, Gino Pacitti wrote: Hi list Im working on an App that requires an initial cache of read only EOs which will drive searches and result in paginated pages for display across the app instances. But I also need to provide some administration of the database rows and for those changes to be propagated across the apps so that they are available to the EditingContexts/EOs so that the all post searches draw from updated objects. Is there a Framework or strategy that can help with that? ___ 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/chill%40global-village.net This email sent to ch...@global-village.net ___ 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: Multi Application Instance and propagation of EO changes
Something like /Wonder/Frameworks/EOF/ERChangeNotificationJMS or Wonder/Frameworks/EOF/ERJGroupsSynchronizer/ would be worth considering. Chuck On 2014-06-18, 5:29 AM, Gino Pacitti wrote: Hi list Im working on an App that requires an initial cache of read only EOs which will drive searches and result in paginated pages for display across the app instances. But I also need to provide some administration of the database rows and for those changes to be propagated across the apps so that they are available to the EditingContexts/EOs so that the all post searches draw from updated objects. Is there a Framework or strategy that can help with that? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.netmailto:ch...@global-village.net ___ 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
Endless logs WARN NSLog - ** DirectToWeb could not find user.d2wmodel file. One will be created if you try to save changes.
Hi List, I get endless logs of WARN NSLog - ** DirectToWeb could not find user.d2wmodel file. One will be created if you try to save changes. in Eclipse. I don't use DirectToWeb in this project. Does anyone know how to stop that? Thx for any hint, C.U.CW -- What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. ___ 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: Endless logs WARN NSLog - ** DirectToWeb could not find user.d2wmodel file. One will be created if you try to save changes.
I just had to tweet that quote. On Mar 28, 2014, at 9:30 PM, Christoph Wick wi...@me.com wrote: What are the three enemies of a programmer? Sunlight, oxygen, and the appalling roar of the birds. ___ 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: Eclipse not seeing file changes.
Hi Tim, Another problem with Mavericks - my mail (I use Gmail for small business) is totally hosed. So I just saw your reply by searching Google on this problem. Anyway, I tried GOLips for the first time but I don’t think it completed the installation. From the log: Downloading the Eclipse Plugin installer ... % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 0 00 00 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 00 00 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 221k0 00 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 221k 100 221k0 0 106k 0 0:00:02 0:00:02 --:--:-- 106k Downloading and Installing the recommended Eclipse plugins ... /tmp/p2_1385162422: line 1: syntax error near unexpected token `newline' /tmp/p2_1385162422: line 1: `!DOCTYPE html' Cleaning up ... You should be good to go. Eclipse is installed in '/Applications/eclipse'. I don’t see the WOLips perspectives in Eclipse when I launch it. Downloaded GOLips from here: http://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation Is that the right version? Thanks, Aloha, Mr. Johnny Miller Web Development Manager Kahalawai Media Company Lahaina, HI 96761 tel: (808) 661-7962 | mobile: (808) 283-0791 website | e-mail On Nov 17, 2013, at 10:18 AM, Timothy Worman li...@thetimmy.com wrote: I don’t have this issue. But I’ve used Golipse to install Eclipse 3.8. Maybe you should give that a try instead? Tim UCLA GSEIS On Nov 15, 2013, at 2:03 PM, Johnny Miller jlmil...@kahalawai.com wrote: Hi, Since reinstalling my laptop with a clean install of OS X mavericks I’ve been having problems with eclipse not seeing file changes on the system. I use a second editor for javascript/css and photoshop for images. And whenever I change those files eclipse doesn’t seem to see the changes. In my eclipse settings under general - workspace I have the checkbox checked for Refresh using native hooks for polling. Anybody else seeing this problem? Or better yet have a fix? Using Eclipse IDE for java developers 3.7 Indigo Service Release 2 . Just installed WOLips so should be current. Thanks, Johnny ___ 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%40thetimmy.com This email sent to li...@thetimmy.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: Eclipse not seeing file changes.
I don’t have this issue. But I’ve used Golipse to install Eclipse 3.8. Maybe you should give that a try instead? Tim UCLA GSEIS On Nov 15, 2013, at 2:03 PM, Johnny Miller jlmil...@kahalawai.com wrote: Hi, Since reinstalling my laptop with a clean install of OS X mavericks I’ve been having problems with eclipse not seeing file changes on the system. I use a second editor for javascript/css and photoshop for images. And whenever I change those files eclipse doesn’t seem to see the changes. In my eclipse settings under general - workspace I have the checkbox checked for Refresh using native hooks for polling. Anybody else seeing this problem? Or better yet have a fix? Using Eclipse IDE for java developers 3.7 Indigo Service Release 2 . Just installed WOLips so should be current. Thanks, Johnny ___ 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%40thetimmy.com This email sent to li...@thetimmy.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
Eclipse not seeing file changes.
Hi, Since reinstalling my laptop with a clean install of OS X mavericks I’ve been having problems with eclipse not seeing file changes on the system. I use a second editor for javascript/css and photoshop for images. And whenever I change those files eclipse doesn’t seem to see the changes. In my eclipse settings under general - workspace I have the checkbox checked for Refresh using native hooks for polling. Anybody else seeing this problem? Or better yet have a fix? Using Eclipse IDE for java developers 3.7 Indigo Service Release 2 . Just installed WOLips so should be current. Thanks, Johnny ___ 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
ERGroupware changes
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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Ponder changes
Since I know my presentation at WOWODC 2013 is hotly anticipated by all, I thought I would summarize recent changes to ponder for everyone http://starlogs.net/#nullterminated/ponder May the force be with you :D (Slow list day? Slow list day.) Ramsey ___ 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: Ponder changes
LOL Good one! On 2013-04-12, at 12:02 PM, Ramsey Gurley wrote: Since I know my presentation at WOWODC 2013 is hotly anticipated by all, I thought I would summarize recent changes to ponder for everyone http://starlogs.net/#nullterminated/ponder May the force be with you :D (Slow list day? Slow list day.) Ramsey ___ 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/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Executive Managing Partner, VP Development and Technical Services Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! ___ 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: Ponder changes
Brilliant! :-) On 2013-04-12, at 12:02 PM, Ramsey Gurley rgur...@smarthealth.com wrote: Since I know my presentation at WOWODC 2013 is hotly anticipated by all, I thought I would summarize recent changes to ponder for everyone http://starlogs.net/#nullterminated/ponder May the force be with you :D (Slow list day? Slow list day.) Ramsey ___ 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
Changes to PostgreSQL unique constraint handling in ERXSQLHelper
Hi Ramsey, I used to handle unique constraint violations via a custom editing context delegate in editingContextDidFailSaveChanges(). This worked fine, but since upgrading to a more recent Wonder, this no longer works (that method is never called on the delegate), and now I get a stack trace containing an ERXValidationException. I assume this is related to your commit here: --- commit a3d8ae17480f04ff5b517c82fc3c864975c3af66 Author: nullterminated ramseygur...@gmail.com Date: Thu Jun 7 21:33:44 2012 -0700 Add unique constraint handling to ERXSQLHelper for postgresql. --- (Until recently, the application in question was using Wonder dated prior to 7 June, so the timing fits, at least.) Could you explain how this new approach is supposed to work? I'm sure it's better than what I was doing, but at the moment it breaks my delegate approach, and it's not clear whether I need to change every application that depended on that, or whether there's another centralised approach I could use. -- Paul Hoadley http://logicsquad.net/ ___ 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: WOJenkins Changes Causes Jobs to FAIL
What about the job to install WO and Wonder? I guess the properties file name changed from hudson.build.properties to jenkins.build.properties ? Hey all, I've made a bunch of changes to WOJenkins, which I have rolled out to both my own github repository () and the WOCommunity clone. The problem is that my changes have BROKEN existing jobs! The fixes are easy, though. You just need to make two changes to your Jenkin's job configurations: 1) Change the Execute Shell build step from: ${WORKSPACE}/WOJenkins/Build/WonderProjects/WorkspaceSetupScripts/SVNProject/GitWonder/setupWonderProjectWorkspace.sh to: ${WORKSPACE}/WOJenkins/Build/WonderProjects/WorkspaceSetupScripts/setupWonderProjectWorkspace.sh 2) In the Invoke Ant Targets, change the -propertyfile argument from -propertyfile ${WORKSPACE}/Root/build.properties to -propertyfile ${WORKSPACE}/Root/jenkins.build.properties That should get any of your projects building again! (you really should clone my (or WOCommunity's) repository and then target your clone instead of using them directly, anyway…) However, I'll try to not make changes that will break builds without some notice in the future! Sorry about that! Dave ___ 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/probert%40macti.ca This email sent to prob...@macti.ca ___ 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: Problems, Changes, and RIA
KMAjax or Ajax? If you are using KMAjax I could send you a more recent version (it's just my MooTools version of Ajax Frameworks). It's probably (definitely) not as well supported as the regular Ajax framework. You also can't mix and match Ajax and KMAjax components on the same page as I used the same variable names for the JavaScript objects i.e. if you have a KMAjaxUpdateContainer you need to use KMAjaxSubmitButton. aloha, Johnny On Jan 27, 2012, at 6:45 AM, Emmanuel Tote Dominguez Torres wrote: Hello list, I have been juggling with KMAjax framework in the past days, and made a component that was functional in an standalone way, but when i tried to use it with a wrapper it stopped working. this component is a component that prints in a table form some information about queues in asterisk and lets me send commands individually to each member of the queue, so i wrapped this in the kmajax version of the AjaxUpdateContainer. the problem that I faced when i embedded it in another component is that it stopped reloading the component appeared just once and after that the space it used went blank I have checked the css and it is not it. this is the wrapper: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html body div id = ContentWrapper div id = MenuHeader webobject name = EntitiesMenu / /div div id = MainContent webobject name = MainContent / /div /div /body /html MainContent : WOComponentContent { _unroll = YES; } EntitiesMenu : MenuHeader { } and it is used in this way: main component webobjects name=wrap wo:WOSwitchComponent WOComponentName=$componentString/ /webobjects wrap : PageWrapper{} the issue that bothers me the most is that if i use the component directly on the page : @Override public WOActionResults defaultAction() { return pageWithName(COMPONENT_IN_CONFLICT.class.getName()); } it works just fine. after thinking about it i have decided to redo it with the ajax framework but now i have the problem that my AjaxSubmitButtons are not calling my directActions: playPause : AjaxSubmitButton{ action=recStartPause; replaceID=id; value=recGrabarPausar; optional=true; } I copied the ajaxExample debugged and i know that the request is made but i get no action response . so at last if someone has made it this far, I want to make RIA applications to make an asterisk control application monitoring, making calls, etc. so i need to make an interface wit menus, lots of buttons to call the actions, and i want to make it the most user friendly possible, and I am wondering, is webobjects such a good idea to accomplish this? this far i have stumbling upon problems, have anyone made something like this? is it so obvious that i should change my profession? thanks Emmanuel Dominguez Torres. ___ 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/jlmiller%40kahalawai.com This email sent to jlmil...@kahalawai.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: Problems, Changes, and RIA
I would love to have the most recent version, I know it's pretty similar to the Ajax framework but I prefer the KMAjax version, and noI was not mixing them, After i had problems with KMAjax i searched the mailing list for questions about it, and as I did not find questions, I decided to migrate to Ajax framework. but I haven't get the same results as i got with your framework. would you please send me the most recent version?or github repos? or svn repos? to update from Thanks a lot by the way. every time i get an answer on a question i feel more like a part of the community although i have a long way to go to be a good wo programmer. also, is there any live site on the web that I can check on to take ideas about what the framework can do in good hands? dont matter i cant see the code i just want to see a site made with webobjects and kmajax. Emmanuel Dominguez Torres. On Fri, Jan 27, 2012 at 11:47 AM, Johnny Miller jlmil...@kahalawai.comwrote: KMAjax or Ajax? If you are using KMAjax I could send you a more recent version (it's just my MooTools version of Ajax Frameworks). It's probably (definitely) not as well supported as the regular Ajax framework. You also can't mix and match Ajax and KMAjax components on the same page as I used the same variable names for the JavaScript objects i.e. if you have a KMAjaxUpdateContainer you need to use KMAjaxSubmitButton. aloha, Johnny On Jan 27, 2012, at 6:45 AM, Emmanuel Tote Dominguez Torres wrote: Hello list, I have been juggling with KMAjax framework in the past days, and made a component that was functional in an standalone way, but when i tried to use it with a wrapper it stopped working. this component is a component that prints in a table form some information about queues in asterisk and lets me send commands individually to each member of the queue, so i wrapped this in the kmajax version of the AjaxUpdateContainer. the problem that I faced when i embedded it in another component is that it stopped reloading the component appeared just once and after that the space it used went blank I have checked the css and it is not it. this is the wrapper: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html body div id = ContentWrapper div id = MenuHeader webobject name = EntitiesMenu / /div div id = MainContent webobject name = MainContent / /div /div /body /html MainContent : WOComponentContent { _unroll = YES; } EntitiesMenu : MenuHeader { } and it is used in this way: main component webobjects name=wrap wo:WOSwitchComponent WOComponentName=$componentString/ /webobjects wrap : PageWrapper{} the issue that bothers me the most is that if i use the component directly on the page : @Override public WOActionResults defaultAction() { return pageWithName(COMPONENT_IN_CONFLICT.class.getName()); } it works just fine. after thinking about it i have decided to redo it with the ajax framework but now i have the problem that my AjaxSubmitButtons are not calling my directActions: playPause : AjaxSubmitButton{ action=recStartPause; replaceID=id; value=recGrabarPausar; optional=true; } I copied the ajaxExample debugged and i know that the request is made but i get no action response . so at last if someone has made it this far, I want to make RIA applications to make an asterisk control application monitoring, making calls, etc. so i need to make an interface wit menus, lots of buttons to call the actions, and i want to make it the most user friendly possible, and I am wondering, is webobjects such a good idea to accomplish this? this far i have stumbling upon problems, have anyone made something like this? is it so obvious that i should change my profession? thanks Emmanuel Dominguez Torres. ___ 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/jlmiller%40kahalawai.com This email sent to jlmil...@kahalawai.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
Changes to BackgroundTasks and ERJasperReportsExample
I did a couple of small changes to BackgroundTasks and ERJasperReportsExample in Wonder. First, they both use H2 as the default instead of MySQL, so hopefully the examples will run out of the box without any properties change. I also added a background task in a REST context example in BackgroundTasks. To start the app, you do a POST, like this: $ curl -v -X POST http://192.168.0.106:65473/cgi-bin/WebObjects/BackgroundTasks.woa/ra/taskInfos.json In the reply, you will a 202 code instead of 201 or 200, 202 = Accepted, meaning that the job was accepted. The response, you will also get this header: HTTP/1.0 202 Apple WebObjects content-location: http://mbp-pascal-robert-4.local:65473/cgi-bin/WebObjects/BackgroundTasks.woa/ra/taskInfos/17.json So you can query that URL to find out details about the status of the task: $ curl -v -X GET http://192.168.0.106:65473/cgi-bin/WebObjects/BackgroundTasks.woa/ra/taskInfos/17.json When the job is still running, you will get a 200 code. But when the job is done, that URL will return a 303 code instead of 200, and again, with a header with a link to the details: HTTP/1.0 303 Apple WebObjects content-location: http://mbp-pascal-robert-4.local:65473/cgi-bin/WebObjects/BackgroundTasks.woa/ra/taskInfos/17/results.json Just query that new URL to get everything. ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes to podcasts
It's mostly done, the ones that are not, it's because they have audio issues that came out in the re-encoding. I would say 90% of the podcasts had a diet and lost at least 50% of their size. Grat news, Thanks for the effort. On Jul 25, 2011, at 7:41 PM, Pascal Robert wrote: I'm re-encoding all the podcasts on wocommunity.org so that they take less space (up to 70% less!), so you might found that your download doesn't complete if I change the file while you download it. If it's the case, just restart the download. I'm currently doing the WOWODC 2010 recordings, and will do the older ones after that. ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/miguel%40toracom.net This email sent to mig...@toracom.net ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes to podcasts
Grat news, Thanks for the effort. On Jul 25, 2011, at 7:41 PM, Pascal Robert wrote: I'm re-encoding all the podcasts on wocommunity.org so that they take less space (up to 70% less!), so you might found that your download doesn't complete if I change the file while you download it. If it's the case, just restart the download. I'm currently doing the WOWODC 2010 recordings, and will do the older ones after that. ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/miguel%40toracom.net This email sent to mig...@toracom.net ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Changes to podcasts
I'm re-encoding all the podcasts on wocommunity.org so that they take less space (up to 70% less!), so you might found that your download doesn't complete if I change the file while you download it. If it's the case, just restart the download. I'm currently doing the WOWODC 2010 recordings, and will do the older ones after that. ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
root directory of workspace changes
Hi all I have relocated the root directory of workspace in Eclipse/WOLips. Now the new launch of WOLips could not locate .project. Is there any file or setting i could look at? Cheers Cheong Hee ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
AjaxTabbedPanel - Implementation changes
Hi Chuck, As explained in the email below, I have implemented AjaxTabbedPanel and AjaxTabbedPanelTab 's, in each Tab I am loading a component page and from that page I am navigating to the next page using AjaxSubmitButton action. From the first page I am able to successfully navigate to the second page, and when I tried to navigate from the second page to third page using AjaxSubmitButton action but it is invoking the first page's AjaxSubmitButton action method. The second page AjaxSubmitButton action method is not being called, and not able to navigate to the third page. Please suggest how to handle multiple ajax submit actions in the same AjaxTabbedPanelTab page navigations. Only the main page that has AjaxTabbedPanel and AjaxTabbedPanelTab 's have WOForm with multipleSubmit = true. The component pages loaded in the Tab and navigated does not have any form in those pages. Regards, Raghu. On 02-Feb-11, at 12:58 AM, Chuck Hill wrote: On Feb 1, 2011, at 10:54 AM, Raghavender wrote: Hi Chuck, I have implemented AjaxTabbedPanel with eight AjaxTabbedPanelTab 's, in each Tab I am loading a component page. And in that component page I have next submit button that takes the user input data from this page to next component page. In this way I have to keep navigating to three to four component pages in each AjaxTabbedPanelTab. All these three or four component pages should be keep navigating in the same AjaxTabbedPanelTab. For example a Admin User selects a Test Results tab, and in that Tab the District selection page is displayed, after the district is selected then user clicks on next button to move to School selection page then move to next page for Students selection and finally generates a report. All these component pages are extended ERXComponent and now in order to achieve complete Ajax based application and keep tracking of data while navigating from one page to another in the same AjaxTabbedPanelTab, what changes have to be made, please suggest. My best suggestion is to come up with a better UI!. What you want to do might just work if you manipulate the selected bindings in code. Chuck On 31-Jan-11, at 11:54 PM, Chuck Hill wrote: On Jan 31, 2011, at 7:19 AM, Raghavender wrote: Hi Chuck, I have loaded a component page in the AjaxTabbedPannedTab, in that page when I am trying to do some action (in that subcomponent page) then the page is getting cleared off. Any suggestions. Make sure that isSelected is bound to a boolean variable. Chuck On 29-Jan-11, at 10:15 AM, Raghavender wrote: Thanks a lot Chuck, I have updated Wonder frameworks and the issue got resolved. Now I am able to see the AjaxTabbedPannel and Tabs. Thanks, Raghu. On 29-Jan-11, at 8:27 AM, Chuck Hill wrote: Caused by: java.lang.NullPointerException at er.ajax.AjaxTabbedPanel.findTabs(AjaxTabbedPanel.java:94) I have no idea what you have on that line, that is an old version.Check your source at that line.Or update Wonder and see if the problem goes away. Chuck On Jan 28, 2011, at 6:09 PM, Raghavender wrote: Hi Chuck, WOActionResults res = super.invokeAction(aRequest, aContext); ... return ((WOComponent)res);// Exception occurring at this line-151. I have changed the casting from WOResponse to WOComponent, and now the error in the Session invokeAction(. .) method is not occurring. But the exception (InvokeTargetException) is occurring in the my Application's dispatchRequest(.) method, getting the following exception: Also I see a NullPointerException from the AjaxTabbedPanel class at the end of the following exception: --- 29193 [WorkerThread15] INFO NSLog - DDStartPage name: DDStartPage subcomponents: null 29203 [WorkerThread15] WARN NSLog - com.webobjects.appserver._private.WOComponentRequestHandler: Exception occurred while handling request: com.webobjects.foundation.NSForwardException [java.lang.reflect.InvocationTargetException] null:java.lang.reflect.InvocationTargetException [2011-1-28 14:16:3 EST] WorkerThread15 com.webobjects.foundation.NSForwardException [java.lang.reflect.InvocationTargetException] null:java.lang.reflect.InvocationTargetException at com .webobjects .foundation ._NSUtilities._explainInstantiationException(_NSUtilities.java: 600) at com .webobjects .foundation._NSUtilities.instantiateObject(_NSUtilities.java: 620) at com .webobjects .appserver .WOApplication.dynamicElementWithName(WOApplication.java:2404) at com .webobjects .appserver .parser .WOHTMLWebObjectTag._elementWithClass(WOHTMLWebObjectTag.java: 179) at com .webobjects .appserver .parser .WOHTMLWebObjectTag ._elementWithDeclaration(WOHTMLWebObjectTag.java:234) at com
Re: AjaxTabbedPanel - Implementation changes
What you are doing is not something that I have used the AjaxTabbedPanel for, nor something I expected it to be used for. I suspect the problem is in your code, but if you do find a bug in the AjaxTabbedPanel source, patches are welcome. http://wiki.objectstyle.org/confluence/display/WONDER/Creating+and+Submitting+an+Acceptable+Patch Chuck On Feb 2, 2011, at 11:23 AM, Raghavender wrote: Hi Chuck, As explained in the email below, I have implemented AjaxTabbedPanel and AjaxTabbedPanelTab 's, in each Tab I am loading a component page and from that page I am navigating to the next page using AjaxSubmitButton action. From the first page I am able to successfully navigate to the second page, and when I tried to navigate from the second page to third page using AjaxSubmitButton action but it is invoking the first page's AjaxSubmitButton action method. The second page AjaxSubmitButton action method is not being called, and not able to navigate to the third page. Please suggest how to handle multiple ajax submit actions in the same AjaxTabbedPanelTab page navigations. Only the main page that has AjaxTabbedPanel and AjaxTabbedPanelTab 's have WOForm with multipleSubmit = true. The component pages loaded in the Tab and navigated does not have any form in those pages. Regards, Raghu. On 02-Feb-11, at 12:58 AM, Chuck Hill wrote: On Feb 1, 2011, at 10:54 AM, Raghavender wrote: Hi Chuck, I have implemented AjaxTabbedPanel with eight AjaxTabbedPanelTab 's, in each Tab I am loading a component page. And in that component page I have next submit button that takes the user input data from this page to next component page. In this way I have to keep navigating to three to four component pages in each AjaxTabbedPanelTab. All these three or four component pages should be keep navigating in the same AjaxTabbedPanelTab. For example a Admin User selects a Test Results tab, and in that Tab the District selection page is displayed, after the district is selected then user clicks on next button to move to School selection page then move to next page for Students selection and finally generates a report. All these component pages are extended ERXComponent and now in order to achieve complete Ajax based application and keep tracking of data while navigating from one page to another in the same AjaxTabbedPanelTab, what changes have to be made, please suggest. My best suggestion is to come up with a better UI!. What you want to do might just work if you manipulate the selected bindings in code. Chuck On 31-Jan-11, at 11:54 PM, Chuck Hill wrote: On Jan 31, 2011, at 7:19 AM, Raghavender wrote: Hi Chuck, I have loaded a component page in the AjaxTabbedPannedTab, in that page when I am trying to do some action (in that subcomponent page) then the page is getting cleared off. Any suggestions. Make sure that isSelected is bound to a boolean variable. Chuck On 29-Jan-11, at 10:15 AM, Raghavender wrote: Thanks a lot Chuck, I have updated Wonder frameworks and the issue got resolved. Now I am able to see the AjaxTabbedPannel and Tabs. Thanks, Raghu. On 29-Jan-11, at 8:27 AM, Chuck Hill wrote: Caused by: java.lang.NullPointerException at er.ajax.AjaxTabbedPanel.findTabs(AjaxTabbedPanel.java:94) I have no idea what you have on that line, that is an old version. Check your source at that line.Or update Wonder and see if the problem goes away. Chuck On Jan 28, 2011, at 6:09 PM, Raghavender wrote: Hi Chuck, WOActionResults res = super.invokeAction(aRequest, aContext); ... return ((WOComponent)res);// Exception occurring at this line-151. I have changed the casting from WOResponse to WOComponent, and now the error in the Session invokeAction(. .) method is not occurring. But the exception (InvokeTargetException) is occurring in the my Application's dispatchRequest(.) method, getting the following exception: Also I see a NullPointerException from the AjaxTabbedPanel class at the end of the following exception: --- 29193 [WorkerThread15] INFO NSLog - DDStartPage name: DDStartPage subcomponents: null 29203 [WorkerThread15] WARN NSLog - com.webobjects.appserver._private.WOComponentRequestHandler: Exception occurred while handling request: com.webobjects.foundation.NSForwardException [java.lang.reflect.InvocationTargetException] null:java.lang.reflect.InvocationTargetException [2011-1-28 14:16:3 EST] WorkerThread15 com.webobjects.foundation.NSForwardException [java.lang.reflect.InvocationTargetException] null:java.lang.reflect.InvocationTargetException at com.webobjects.foundation._NSUtilities._explainInstantiationException(_NSUtilities.java:600
AjaxTabbedPanel - Implementation changes
Hi Chuck, I have implemented AjaxTabbedPanel with eight AjaxTabbedPanelTab 's, in each Tab I am loading a component page. And in that component page I have next submit button that takes the user input data from this page to next component page. In this way I have to keep navigating to three to four component pages in each AjaxTabbedPanelTab. All these three or four component pages should be keep navigating in the same AjaxTabbedPanelTab. For example a Admin User selects a Test Results tab, and in that Tab the District selection page is displayed, after the district is selected then user clicks on next button to move to School selection page then move to next page for Students selection and finally generates a report. All these component pages are extended ERXComponent and now in order to achieve complete Ajax based application and keep tracking of data while navigating from one page to another in the same AjaxTabbedPanelTab, what changes have to be made, please suggest. Regards, Raghu. On 31-Jan-11, at 11:54 PM, Chuck Hill wrote: On Jan 31, 2011, at 7:19 AM, Raghavender wrote: Hi Chuck, I have loaded a component page in the AjaxTabbedPannedTab, in that page when I am trying to do some action (in that subcomponent page) then the page is getting cleared off. Any suggestions. Make sure that isSelected is bound to a boolean variable. Chuck On 29-Jan-11, at 10:15 AM, Raghavender wrote: Thanks a lot Chuck, I have updated Wonder frameworks and the issue got resolved. Now I am able to see the AjaxTabbedPannel and Tabs. Thanks, Raghu. On 29-Jan-11, at 8:27 AM, Chuck Hill wrote: Caused by: java.lang.NullPointerException at er.ajax.AjaxTabbedPanel.findTabs(AjaxTabbedPanel.java:94) I have no idea what you have on that line, that is an old version.Check your source at that line.Or update Wonder and see if the problem goes away. Chuck On Jan 28, 2011, at 6:09 PM, Raghavender wrote: Hi Chuck, WOActionResults res = super.invokeAction(aRequest, aContext); ... return ((WOComponent)res);// Exception occurring at this line-151. I have changed the casting from WOResponse to WOComponent, and now the error in the Session invokeAction(. .) method is not occurring. But the exception (InvokeTargetException) is occurring in the my Application's dispatchRequest(.) method, getting the following exception: Also I see a NullPointerException from the AjaxTabbedPanel class at the end of the following exception: --- 29193 [WorkerThread15] INFO NSLog - DDStartPage name: DDStartPage subcomponents: null 29203 [WorkerThread15] WARN NSLog - com.webobjects.appserver._private.WOComponentRequestHandler: Exception occurred while handling request: com.webobjects.foundation.NSForwardException [java.lang.reflect.InvocationTargetException] null:java.lang.reflect.InvocationTargetException [2011-1-28 14:16:3 EST] WorkerThread15 com.webobjects.foundation.NSForwardException [java.lang.reflect.InvocationTargetException] null:java.lang.reflect.InvocationTargetException at com .webobjects .foundation ._NSUtilities._explainInstantiationException(_NSUtilities.java: 600) at com .webobjects .foundation._NSUtilities.instantiateObject(_NSUtilities.java:620) at com .webobjects .appserver .WOApplication.dynamicElementWithName(WOApplication.java:2404) at com .webobjects .appserver .parser .WOHTMLWebObjectTag._elementWithClass(WOHTMLWebObjectTag.java:179) at com .webobjects .appserver .parser .WOHTMLWebObjectTag ._elementWithDeclaration(WOHTMLWebObjectTag.java:234) at com .webobjects .appserver .parser .WOHTMLWebObjectTag.dynamicElement(WOHTMLWebObjectTag.java:155) at com .webobjects .appserver .parser .WOBundleComponentTemplateParser .didParseClosingWebObjectTag (WOBundleComponentTemplateParser.java:68) at com .webobjects .appserver .parser .WOHTMLParser.didParseClosingWebObjectTag(WOHTMLParser.java:194) at com .webobjects .appserver .parser.WOHTMLParser.endOfWebObjectTag(WOHTMLParser.java:161) at com .webobjects .appserver.parser.WOHTMLParser.parseHTML(WOHTMLParser.java:68) at com .webobjects .appserver .parser .WOBundleComponentTemplateParser .parse(WOBundleComponentTemplateParser.java:109) at com .webobjects .appserver .parser.WOHTMLTemplateParser.parse(WOHTMLTemplateParser.java:40) at com .webobjects .appserver .parser .WOComponentTemplateParser .templateWithHTMLAndDeclaration(WOComponentTemplateParser.java: 438) at com .webobjects .appserver ._private .WOComponentDefinition.template(WOComponentDefinition.java:364) at com.webobjects.appserver.WOComponent.template(WOComponent.java: 499) at com .webobjects
Re: Changes in Component HTML Not Immediately Showing Up
Hi again, Just getting back to this issue now, and still no luck. I've tried bundle-less builds, selecting PB.project building, and deleting and re-importing the project into the workspace. I've tried direct connect and running through apache. I still haven't re-installed Eclipse, so I may try that next. Any other ideas? Thanks again for the help. Joe On Wed, Jan 12, 2011 at 7:08 AM, John Huss johnth...@gmail.com wrote: Try turning on the PB.project building in the WOLips prefs. I think this file is necessary for WO to enable rapid turnaround. John On Tue, Jan 11, 2011 at 11:49 PM, Joe Kramer jkra...@cyberapps.netwrote: Thanks for the replies. So far nothing has worked. The weird thing is that I have some projects that work just fine, but this one isn't working. I've double and triple checked that WOCachingEnabled is false. Are there any other properties that I should be checking? I also tried a new workspace, but that did nothing. Do you think reinstalling Eclipse might solve this? Thanks, Joe On Tue, Jan 11, 2011 at 7:17 PM, Chuck Hill ch...@global-village.netwrote: Also make sure that you don't have the deployment parameter WOCachingEnabled set to true. I have also heard of this happening when Eclipse and / or the app gets messed up. Try restarting Eclipse and do a full clean and build on the app. Chuck On Jan 11, 2011, at 7:03 PM, John Huss wrote: Make sure you have Project-Build Automatically turned on in Eclipse. On Tue, Jan 11, 2011 at 8:27 PM, Joe Kramer jkra...@cyberapps.net wrote: Hi all, I have a project that is no longer immediately showing changes that I make to the component html file while the app is running (from debugger). I used to be able to make a change, save, build, and then refresh the page and see the changes. Something changed somewhere and now this is no longer the case. What do I need to do to get this working again? Thanks, Joe -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com This email sent to johnth...@gmail.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in Component HTML Not Immediately Showing Up
I would install jadclipse or jd (java decompiler) for eclipse and debug these methods in WOApplication: _rapidTurnaroundActiveForAnyProject _initializeRapidTurnaroundMode If rapidTurnaround is not active then you can try to find out why. John On Fri, Jan 14, 2011 at 8:54 PM, Joe Kramer jkra...@cyberapps.net wrote: Hi again, Just getting back to this issue now, and still no luck. I've tried bundle-less builds, selecting PB.project building, and deleting and re-importing the project into the workspace. I've tried direct connect and running through apache. I still haven't re-installed Eclipse, so I may try that next. Any other ideas? Thanks again for the help. Joe On Wed, Jan 12, 2011 at 7:08 AM, John Huss johnth...@gmail.com wrote: Try turning on the PB.project building in the WOLips prefs. I think this file is necessary for WO to enable rapid turnaround. John On Tue, Jan 11, 2011 at 11:49 PM, Joe Kramer jkra...@cyberapps.netwrote: Thanks for the replies. So far nothing has worked. The weird thing is that I have some projects that work just fine, but this one isn't working. I've double and triple checked that WOCachingEnabled is false. Are there any other properties that I should be checking? I also tried a new workspace, but that did nothing. Do you think reinstalling Eclipse might solve this? Thanks, Joe On Tue, Jan 11, 2011 at 7:17 PM, Chuck Hill ch...@global-village.netwrote: Also make sure that you don't have the deployment parameter WOCachingEnabled set to true. I have also heard of this happening when Eclipse and / or the app gets messed up. Try restarting Eclipse and do a full clean and build on the app. Chuck On Jan 11, 2011, at 7:03 PM, John Huss wrote: Make sure you have Project-Build Automatically turned on in Eclipse. On Tue, Jan 11, 2011 at 8:27 PM, Joe Kramer jkra...@cyberapps.net wrote: Hi all, I have a project that is no longer immediately showing changes that I make to the component html file while the app is running (from debugger). I used to be able to make a change, save, build, and then refresh the page and see the changes. Something changed somewhere and now this is no longer the case. What do I need to do to get this working again? Thanks, Joe -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com This email sent to johnth...@gmail.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in Component HTML Not Immediately Showing Up
Try turning on the PB.project building in the WOLips prefs. I think this file is necessary for WO to enable rapid turnaround. John On Tue, Jan 11, 2011 at 11:49 PM, Joe Kramer jkra...@cyberapps.net wrote: Thanks for the replies. So far nothing has worked. The weird thing is that I have some projects that work just fine, but this one isn't working. I've double and triple checked that WOCachingEnabled is false. Are there any other properties that I should be checking? I also tried a new workspace, but that did nothing. Do you think reinstalling Eclipse might solve this? Thanks, Joe On Tue, Jan 11, 2011 at 7:17 PM, Chuck Hill ch...@global-village.netwrote: Also make sure that you don't have the deployment parameter WOCachingEnabled set to true. I have also heard of this happening when Eclipse and / or the app gets messed up. Try restarting Eclipse and do a full clean and build on the app. Chuck On Jan 11, 2011, at 7:03 PM, John Huss wrote: Make sure you have Project-Build Automatically turned on in Eclipse. On Tue, Jan 11, 2011 at 8:27 PM, Joe Kramer jkra...@cyberapps.net wrote: Hi all, I have a project that is no longer immediately showing changes that I make to the component html file while the app is running (from debugger). I used to be able to make a change, save, build, and then refresh the page and see the changes. Something changed somewhere and now this is no longer the case. What do I need to do to get this working again? Thanks, Joe -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com This email sent to johnth...@gmail.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Changes in Component HTML Not Immediately Showing Up
Hi all, I have a project that is no longer immediately showing changes that I make to the component html file while the app is running (from debugger). I used to be able to make a change, save, build, and then refresh the page and see the changes. Something changed somewhere and now this is no longer the case. What do I need to do to get this working again? Thanks, Joe ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in Component HTML Not Immediately Showing Up
Make sure you have Project-Build Automatically turned on in Eclipse. On Tue, Jan 11, 2011 at 8:27 PM, Joe Kramer jkra...@cyberapps.net wrote: Hi all, I have a project that is no longer immediately showing changes that I make to the component html file while the app is running (from debugger). I used to be able to make a change, save, build, and then refresh the page and see the changes. Something changed somewhere and now this is no longer the case. What do I need to do to get this working again? Thanks, Joe ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com This email sent to johnth...@gmail.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in Component HTML Not Immediately Showing Up
Also make sure that you don't have the deployment parameter WOCachingEnabled set to true. I have also heard of this happening when Eclipse and / or the app gets messed up. Try restarting Eclipse and do a full clean and build on the app. Chuck On Jan 11, 2011, at 7:03 PM, John Huss wrote: Make sure you have Project-Build Automatically turned on in Eclipse. On Tue, Jan 11, 2011 at 8:27 PM, Joe Kramer jkra...@cyberapps.net wrote: Hi all, I have a project that is no longer immediately showing changes that I make to the component html file while the app is running (from debugger). I used to be able to make a change, save, build, and then refresh the page and see the changes. Something changed somewhere and now this is no longer the case. What do I need to do to get this working again? Thanks, Joe -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects smime.p7s Description: S/MIME cryptographic signature ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in Component HTML Not Immediately Showing Up
Thanks for the replies. So far nothing has worked. The weird thing is that I have some projects that work just fine, but this one isn't working. I've double and triple checked that WOCachingEnabled is false. Are there any other properties that I should be checking? I also tried a new workspace, but that did nothing. Do you think reinstalling Eclipse might solve this? Thanks, Joe On Tue, Jan 11, 2011 at 7:17 PM, Chuck Hill ch...@global-village.netwrote: Also make sure that you don't have the deployment parameter WOCachingEnabled set to true. I have also heard of this happening when Eclipse and / or the app gets messed up. Try restarting Eclipse and do a full clean and build on the app. Chuck On Jan 11, 2011, at 7:03 PM, John Huss wrote: Make sure you have Project-Build Automatically turned on in Eclipse. On Tue, Jan 11, 2011 at 8:27 PM, Joe Kramer jkra...@cyberapps.net wrote: Hi all, I have a project that is no longer immediately showing changes that I make to the component html file while the app is running (from debugger). I used to be able to make a change, save, build, and then refresh the page and see the changes. Something changed somewhere and now this is no longer the case. What do I need to do to get this working again? Thanks, Joe -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in Component HTML Not Immediately Showing Up
Are you using using bundle-less builds? If not, try disabling Generate Bundles in the WOLips build prefs. Tim Worman UCLA GSEIS On Jan 11, 2011, at 9:58 PM, Farrukh Ijaz wrote: This is how it should be and it works perfect. Screen shot 2011-01-12 at 8.53.50 AM.png May be you can try cleaning the project to make it rebuild. Also if you make changes to the html or java code, you should be able to see some activity in the status bar of your eclipse right after Cmd+S. Farrukh On 2011-01-12, at 8:49 AM, Joe Kramer wrote: Thanks for the replies. So far nothing has worked. The weird thing is that I have some projects that work just fine, but this one isn't working. I've double and triple checked that WOCachingEnabled is false. Are there any other properties that I should be checking? I also tried a new workspace, but that did nothing. Do you think reinstalling Eclipse might solve this? Thanks, Joe On Tue, Jan 11, 2011 at 7:17 PM, Chuck Hill ch...@global-village.net wrote: Also make sure that you don't have the deployment parameter WOCachingEnabled set to true. I have also heard of this happening when Eclipse and / or the app gets messed up. Try restarting Eclipse and do a full clean and build on the app. Chuck On Jan 11, 2011, at 7:03 PM, John Huss wrote: Make sure you have Project-Build Automatically turned on in Eclipse. On Tue, Jan 11, 2011 at 8:27 PM, Joe Kramer jkra...@cyberapps.net wrote: Hi all, I have a project that is no longer immediately showing changes that I make to the component html file while the app is running (from debugger). I used to be able to make a change, save, build, and then refresh the page and see the changes. Something changed somewhere and now this is no longer the case. What do I need to do to get this working again? Thanks, Joe -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com This email sent to farrukh.i...@fuegodigitalmedia.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: http://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in Component HTML Not Immediately Showing Up
Thanks again for the suggestions. Still no luck. I have Build Automatically checked in the offending project, but I also have other projects where I do manual builds and changes automatically show up. I also unchecked Generate Bundle to no avail. This is more of an annoyance than anything else, though it has cut my productivity significantly (mostly because I have been trying to fix this :-) ). Any other ideas? Thanks again, Joe On Tue, Jan 11, 2011 at 10:12 PM, Tim Worman li...@thetimmy.com wrote: Are you using using bundle-less builds? If not, try disabling Generate Bundles in the WOLips build prefs. Tim Worman UCLA GSEIS On Jan 11, 2011, at 9:58 PM, Farrukh Ijaz wrote: This is how it should be and it works perfect. Screen shot 2011-01-12 at 8.53.50 AM.png May be you can try cleaning the project to make it rebuild. Also if you make changes to the html or java code, you should be able to see some activity in the status bar of your eclipse right after Cmd+S. Farrukh On 2011-01-12, at 8:49 AM, Joe Kramer wrote: Thanks for the replies. So far nothing has worked. The weird thing is that I have some projects that work just fine, but this one isn't working. I've double and triple checked that WOCachingEnabled is false. Are there any other properties that I should be checking? I also tried a new workspace, but that did nothing. Do you think reinstalling Eclipse might solve this? Thanks, Joe On Tue, Jan 11, 2011 at 7:17 PM, Chuck Hill ch...@global-village.net wrote: Also make sure that you don't have the deployment parameter WOCachingEnabled set to true. I have also heard of this happening when Eclipse and / or the app gets messed up. Try restarting Eclipse and do a full clean and build on the app. Chuck On Jan 11, 2011, at 7:03 PM, John Huss wrote: Make sure you have Project-Build Automatically turned on in Eclipse. On Tue, Jan 11, 2011 at 8:27 PM, Joe Kramer jkra...@cyberapps.net wrote: Hi all, I have a project that is no longer immediately showing changes that I make to the component html file while the app is running (from debugger). I used to be able to make a change, save, build, and then refresh the page and see the changes. Something changed somewhere and now this is no longer the case. What do I need to do to get this working again? Thanks, Joe -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com This email sent to farrukh.i...@fuegodigitalmedia.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: http://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in Component HTML Not Immediately Showing Up
This also works sometimes. Delete the project from workplace and reimport. If your other projects are working, this will also work. Good luck! Farrukh Joe Kramer jkra...@cyberapps.net wrote: Thanks again for the suggestions. Still no luck. I have Build Automatically checked in the offending project, but I also have other projects where I do manual builds and changes automatically show up. I also unchecked Generate Bundle to no avail. This is more of an annoyance than anything else, though it has cut my productivity significantly (mostly because I have been trying to fix this :-) ). Any other ideas? Thanks again, Joe On Tue, Jan 11, 2011 at 10:12 PM, Tim Worman li...@thetimmy.com wrote: Are you using using bundle-less builds? If not, try disabling Generate Bundles in the WOLips build prefs. Tim Worman UCLA GSEIS On Jan 11, 2011, at 9:58 PM, Farrukh Ijaz wrote: This is how it should be and it works perfect. Screen shot 2011-01-12 at 8.53.50 AM.png May be you can try cleaning the project to make it rebuild. Also if you make changes to the html or java code, you should be able to see some activity in the status bar of your eclipse right after Cmd+S. Farrukh On 2011-01-12, at 8:49 AM, Joe Kramer wrote: Thanks for the replies. So far nothing has worked. The weird thing is that I have some projects that work just fine, but this one isn't working. I've double and triple checked that WOCachingEnabled is false. Are there any other properties that I should be checking? I also tried a new workspace, but that did nothing. Do you think reinstalling Eclipse might solve this? Thanks, Joe On Tue, Jan 11, 2011 at 7:17 PM, Chuck Hill ch...@global-village.net wrote: Also make sure that you don't have the deployment parameter WOCachingEnabled set to true. I have also heard of this happening when Eclipse and / or the app gets messed up. Try restarting Eclipse and do a full clean and build on the app. Chuck On Jan 11, 2011, at 7:03 PM, John Huss wrote: Make sure you have Project-Build Automatically turned on in Eclipse. On Tue, Jan 11, 2011 at 8:27 PM, Joe Kramer jkra...@cyberapps.net wrote: Hi all, I have a project that is no longer immediately showing changes that I make to the component html file while the app is running (from debugger). I used to be able to make a change, save, build, and then refresh the page and see the changes. Something changed somewhere and now this is no longer the case. What do I need to do to get this working again? Thanks, Joe -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com This email sent to farrukh.i...@fuegodigitalmedia.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: http://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in Component HTML Not Immediately Showing Up
After unchecking Generate Bundle is there still a Build folder in your project? If so, you should be able to delete it. My concern is that something in your build folder is borked - which can require a shaman to fix. Running without that is better. After that I'd also do a Clean and Refresh (on the entire project). Good luck. Tim Worman UCLA GSEIS On Jan 11, 2011, at 10:38 PM, Joe Kramer wrote: Thanks again for the suggestions. Still no luck. I have Build Automatically checked in the offending project, but I also have other projects where I do manual builds and changes automatically show up. I also unchecked Generate Bundle to no avail. This is more of an annoyance than anything else, though it has cut my productivity significantly (mostly because I have been trying to fix this :-) ). Any other ideas? Thanks again, Joe On Tue, Jan 11, 2011 at 10:12 PM, Tim Worman li...@thetimmy.com wrote: Are you using using bundle-less builds? If not, try disabling Generate Bundles in the WOLips build prefs. Tim Worman UCLA GSEIS On Jan 11, 2011, at 9:58 PM, Farrukh Ijaz wrote: This is how it should be and it works perfect. Screen shot 2011-01-12 at 8.53.50 AM.png May be you can try cleaning the project to make it rebuild. Also if you make changes to the html or java code, you should be able to see some activity in the status bar of your eclipse right after Cmd+S. Farrukh On 2011-01-12, at 8:49 AM, Joe Kramer wrote: Thanks for the replies. So far nothing has worked. The weird thing is that I have some projects that work just fine, but this one isn't working. I've double and triple checked that WOCachingEnabled is false. Are there any other properties that I should be checking? I also tried a new workspace, but that did nothing. Do you think reinstalling Eclipse might solve this? Thanks, Joe On Tue, Jan 11, 2011 at 7:17 PM, Chuck Hill ch...@global-village.net wrote: Also make sure that you don't have the deployment parameter WOCachingEnabled set to true. I have also heard of this happening when Eclipse and / or the app gets messed up. Try restarting Eclipse and do a full clean and build on the app. Chuck On Jan 11, 2011, at 7:03 PM, John Huss wrote: Make sure you have Project-Build Automatically turned on in Eclipse. On Tue, Jan 11, 2011 at 8:27 PM, Joe Kramer jkra...@cyberapps.net wrote: Hi all, I have a project that is no longer immediately showing changes that I make to the component html file while the app is running (from debugger). I used to be able to make a change, save, build, and then refresh the page and see the changes. Something changed somewhere and now this is no longer the case. What do I need to do to get this working again? Thanks, Joe -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com This email sent to farrukh.i...@fuegodigitalmedia.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: http://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com This email sent to li...@thetimmy.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Hudson Build Script changes
Hi all, I've been busy today updating the shell scripts that are in the WOCommunity subversion repository so that they can maintain and use wonder builds that may not always be from trunk. *** These changes will break any Hudson jobs that you may have setup that depend upon these scripts! *** There are a couple things you can do to fix any jobs that are having problems: • In the job configuration, add @122 to the end of the SCRIPT_REPOSITORY parameter. It would now be: https://services.wocommunity.org/wowodc/hudsonbuildfi...@122 OR - That's an or people • For any of your own frameworks or applications, modify all of your jobs to include a WONDER_BRANCH parameter. It should look something like this: inline: PastedGraphic-2.png The build scripts will automatically pick up this new value and use it. Without this parameter, the build will fail. • For any jobs you have that build Wonder, add the same Parameter, and change the Repository URL for Wonder to: ${APPLICATION_REPOSITORY}/${BRANCHES_TAGS_TRUNK}${APPLICATION_BRANCH_TAG}/${APPLICATION_NAME}/${APPLICATION_REVISION} The build scripts will automatically pick up this new value and use it. Without this parameter, the build will fail. PRO TIP: You really should keep a copy of the build scripts that you use with each branch of your own projects so you will always have the scripts that built that particular release of your application. Dave ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Hudson Build Script changes
On Nov 2, 2010, at 4:12 PM, David Avendasora wrote: • For any jobs you have that build Wonder, add the same Parameter, and change the Repository URL for Wonder to: Ahg. My brain has gone to mush. Here's what the Repository URL should be: ${WONDER_REPOSITORY}${WONDER_BRANCH}/Wonder${WONDER_REVISION} Dave ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Simple code changes require a restart of the app
I just noticed that simple code changes require a restart of the app. Does anybody have this problem? What should I check? I'm using Eclipse 3.6.0 / WOLips 3.6.6142 / WO 5.4.3 / Wonder Revision 11424 from https://wonder.svn.sourceforge.net/svnroot/wonder/trunk/Wonder Thanks, Ricardo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Simple code changes require a restart of the app
Check in the Eclipse that Build Automatically is selected. Restart is normally required if you add new method, field, or change in property. Change in HTML is should work without restart. Use JRebel. Even with JRebel if you change the signature of existing method or class will require application restart. Farrukh Sent from my iPhone On 2010-10-06, at 6:11 PM, Ricardo J. Parada rpar...@mac.com wrote: I just noticed that simple code changes require a restart of the app. Does anybody have this problem? What should I check? I'm using Eclipse 3.6.0 / WOLips 3.6.6142 / WO 5.4.3 / Wonder Revision 11424 from https://wonder.svn.sourceforge.net/svnroot/wonder/trunk/Wonder Thanks, Ricardo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com This email sent to farrukh.i...@fuegodigitalmedia.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Simple code changes require a restart of the app (SOLVED)
Thanks. That was it. At some point I turned off Build Automatically and forgot to turn it back on. :-) On Oct 6, 2010, at 12:08 PM, Farrukh Ijaz wrote: Check in the Eclipse that Build Automatically is selected. Restart is normally required if you add new method, field, or change in property. Change in HTML is should work without restart. Use JRebel. Even with JRebel if you change the signature of existing method or class will require application restart. Farrukh Sent from my iPhone On 2010-10-06, at 6:11 PM, Ricardo J. Parada rpar...@mac.com wrote: I just noticed that simple code changes require a restart of the app. Does anybody have this problem? What should I check? I'm using Eclipse 3.6.0 / WOLips 3.6.6142 / WO 5.4.3 / Wonder Revision 11424 from https://wonder.svn.sourceforge.net/svnroot/wonder/trunk/Wonder Thanks, Ricardo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com This email sent to farrukh.i...@fuegodigitalmedia.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Simple code changes require a restart of the app
On 2010-10-06, at 9:08 AM, Farrukh Ijaz wrote: Check in the Eclipse that Build Automatically is selected. Restart is normally required if you add new method, field, or change in property. Change in HTML is should work without restart. Use JRebel. +1 it is hard to live without once you get it going. Even with JRebel if you change the signature of existing method or class will require application restart. Farrukh Sent from my iPhone On 2010-10-06, at 6:11 PM, Ricardo J. Parada rpar...@mac.com wrote: I just noticed that simple code changes require a restart of the app. Does anybody have this problem? What should I check? I'm using Eclipse 3.6.0 / WOLips 3.6.6142 / WO 5.4.3 / Wonder Revision 11424 from https://wonder.svn.sourceforge.net/svnroot/wonder/trunk/Wonder Thanks, Ricardo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com This email sent to farrukh.i...@fuegodigitalmedia.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: http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Simple code changes require a restart of the app
Check in the Eclipse that Build Automatically is selected. Restart is normally required if you add new method, field, or change in property. Change in HTML is should work without restart. Use JRebel. +1 it is hard to live without once you get it going. And to add to that; if you don't already have JRebel, get it now. Seriously. Best 60 bucks I've ever spent and the biggest boost to my productivity since the transition from Xcode to Eclipse/WOLips. - hugi ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Simple code changes require a restart of the app
I tried JRebel a while back but I kept running into out of memory errors and had to adjust the memory parameters. The I figured I don't make that drastic code changes that often and so I went on without it. :-) On Oct 6, 2010, at 4:59 PM, Hugi Þórðarson wrote: Check in the Eclipse that Build Automatically is selected. Restart is normally required if you add new method, field, or change in property. Change in HTML is should work without restart. Use JRebel. +1 it is hard to live without once you get it going. And to add to that; if you don't already have JRebel, get it now. Seriously. Best 60 bucks I've ever spent and the biggest boost to my productivity since the transition from Xcode to Eclipse/WOLips. - hugi ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com This email sent to rpar...@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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Simple code changes require a restart of the app
The memory problems happened for a week or two for me too. It is now working great. You might want to try it again. Any code change that normally requires a restart will no longer do so. There are a few exceptions, but it will tell you when it can't do it. David On 2010-10-06, at 2:16 PM, Ricardo J. Parada wrote: I tried JRebel a while back but I kept running into out of memory errors and had to adjust the memory parameters. The I figured I don't make that drastic code changes that often and so I went on without it. :-) On Oct 6, 2010, at 4:59 PM, Hugi Þórðarson wrote: Check in the Eclipse that Build Automatically is selected. Restart is normally required if you add new method, field, or change in property. Change in HTML is should work without restart. Use JRebel. +1 it is hard to live without once you get it going. And to add to that; if you don't already have JRebel, get it now. Seriously. Best 60 bucks I've ever spent and the biggest boost to my productivity since the transition from Xcode to Eclipse/WOLips. - hugi ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com This email sent to rpar...@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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Simple code changes require a restart of the app
Memory problems?! What are your launch arguments? I had to make some changes since with JRebel you're keeping a lot more in memory, but once I modified my launch arguments I haven't had a problem. Here's mine: ${jrebel_args} -XX:MaxPermSize=256m -Xms512m -Xmx1024m -Drebel.log4j-plugin=true -Drebel.webobjects_plugin=true -Dwojrebel.noexclude The last one is because I tend to poke around in the Wonder source. Dave On Oct 6, 2010, at 5:21 PM, David Holt wrote: The memory problems happened for a week or two for me too. It is now working great. You might want to try it again. Any code change that normally requires a restart will no longer do so. There are a few exceptions, but it will tell you when it can't do it. David On 2010-10-06, at 2:16 PM, Ricardo J. Parada wrote: I tried JRebel a while back but I kept running into out of memory errors and had to adjust the memory parameters. The I figured I don't make that drastic code changes that often and so I went on without it. :-) On Oct 6, 2010, at 4:59 PM, Hugi Þórðarson wrote: Check in the Eclipse that Build Automatically is selected. Restart is normally required if you add new method, field, or change in property. Change in HTML is should work without restart. Use JRebel. +1 it is hard to live without once you get it going. And to add to that; if you don't already have JRebel, get it now. Seriously. Best 60 bucks I've ever spent and the biggest boost to my productivity since the transition from Xcode to Eclipse/WOLips. - hugi ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com This email sent to rpar...@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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Simple code changes require a restart of the app
I think it was the -XX:MaxPermSize which I had to set to something really big (like 2GB) or so. But I may try it again to see if it got better. Thanks for the info. On Oct 6, 2010, at 5:33 PM, David Avendasora wrote: Memory problems?! What are your launch arguments? I had to make some changes since with JRebel you're keeping a lot more in memory, but once I modified my launch arguments I haven't had a problem. Here's mine: ${jrebel_args} -XX:MaxPermSize=256m -Xms512m -Xmx1024m -Drebel.log4j-plugin=true -Drebel.webobjects_plugin=true -Dwojrebel.noexclude The last one is because I tend to poke around in the Wonder source. Dave On Oct 6, 2010, at 5:21 PM, David Holt wrote: The memory problems happened for a week or two for me too. It is now working great. You might want to try it again. Any code change that normally requires a restart will no longer do so. There are a few exceptions, but it will tell you when it can't do it. David On 2010-10-06, at 2:16 PM, Ricardo J. Parada wrote: I tried JRebel a while back but I kept running into out of memory errors and had to adjust the memory parameters. The I figured I don't make that drastic code changes that often and so I went on without it. :-) On Oct 6, 2010, at 4:59 PM, Hugi Þórðarson wrote: Check in the Eclipse that Build Automatically is selected. Restart is normally required if you add new method, field, or change in property. Change in HTML is should work without restart. Use JRebel. +1 it is hard to live without once you get it going. And to add to that; if you don't already have JRebel, get it now. Seriously. Best 60 bucks I've ever spent and the biggest boost to my productivity since the transition from Xcode to Eclipse/WOLips. - hugi ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com This email sent to rpar...@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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Changes in latest Wonder
Hi, I get a wrong date with the latest version of Wonder, getting data from my database (FB). (1 day earlier). I did my update on 09/23/10. I have restored with time machine Wonder frameworks in /Library/frameworks from 08/17/10 and it works fine again. What can be the source of that? Frank ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in latest Wonder
You will have to read over the commit messages, or find the classes that might affect this and do an svn log on them. I don't recall any changes that would affect this and I am using FB and a very recent Wonder. Are you building from source or downloading the binaries? If so, which binaries? Chuck On Sep 28, 2010, at 8:32 AM, Frank Stock wrote: Hi, I get a wrong date with the latest version of Wonder, getting data from my database (FB). (1 day earlier). I did my update on 09/23/10. I have restored with time machine Wonder frameworks in /Library/frameworks from 08/17/10 and it works fine again. What can be the source of that? Frank ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects smime.p7s Description: S/MIME cryptographic signature ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in latest Wonder
see previous email, but trying updating one more time and let me know if the problem goes away On Sep 28, 2010, at 11:32 AM, Frank Stock wrote: Hi, I get a wrong date with the latest version of Wonder, getting data from my database (FB). (1 day earlier). I did my update on 09/23/10. I have restored with time machine Wonder frameworks in /Library/frameworks from 08/17/10 and it works fine again. What can be the source of that? Frank ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com This email sent to msch...@pobox.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in latest Wonder
Ok, but I work with binaries, so I will have to wait till tomorrow. I will let you know. Thanks Mike!! Frank Op 28-sep-2010, om 18:32 heeft Mike Schrag het volgende geschreven: see previous email, but trying updating one more time and let me know if the problem goes away On Sep 28, 2010, at 11:32 AM, Frank Stock wrote: Hi, I get a wrong date with the latest version of Wonder, getting data from my database (FB). (1 day earlier). I did my update on 09/23/10. I have restored with time machine Wonder frameworks in /Library/frameworks from 08/17/10 and it works fine again. What can be the source of that? Frank ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com This email sent to msch...@pobox.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in latest Wonder
the build server builds after every commit, not nightly (and this commit was a couple days ago anyway) ... ms On Sep 28, 2010, at 12:52 PM, Frank Stock wrote: Ok, but I work with binaries, so I will have to wait till tomorrow. I will let you know. Thanks Mike!! Frank Op 28-sep-2010, om 18:32 heeft Mike Schrag het volgende geschreven: see previous email, but trying updating one more time and let me know if the problem goes away On Sep 28, 2010, at 11:32 AM, Frank Stock wrote: Hi, I get a wrong date with the latest version of Wonder, getting data from my database (FB). (1 day earlier). I did my update on 09/23/10. I have restored with time machine Wonder frameworks in /Library/frameworks from 08/17/10 and it works fine again. What can be the source of that? Frank ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com This email sent to msch...@pobox.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Changes in latest Wonder
Yes Thanks Mike, the date is working fine again! Frank Op 28-sep-2010, om 18:54 heeft Mike Schrag het volgende geschreven: the build server builds after every commit, not nightly (and this commit was a couple days ago anyway) ... ms On Sep 28, 2010, at 12:52 PM, Frank Stock wrote: Ok, but I work with binaries, so I will have to wait till tomorrow. I will let you know. Thanks Mike!! Frank Op 28-sep-2010, om 18:32 heeft Mike Schrag het volgende geschreven: see previous email, but trying updating one more time and let me know if the problem goes away On Sep 28, 2010, at 11:32 AM, Frank Stock wrote: Hi, I get a wrong date with the latest version of Wonder, getting data from my database (FB). (1 day earlier). I did my update on 09/23/10. I have restored with time machine Wonder frameworks in /Library/frameworks from 08/17/10 and it works fine again. What can be the source of that? Frank ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com This email sent to msch...@pobox.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
ERModernLook changes
Just a heads up folks. Given that the Wonder_5_0_0_WebObjects_5_4_Branch was referred to as 'experimental' at one point I've taken that as permission to do drastic things :-) Well, not really drastic, maybe just a little drastic. I pulled all of the non d2w components out of ERModernDirectToWeb (where they didn't really belong) and renamed and stuffed them into the fetchingly monikered ERCoolComponents framework. This means that the ERModern* frameworks and any apps built with them now have a dependency to ERCoolComponents. I've done my best to hunt down and update all references to the old component names in the existing components and rules, but... Please test your projects against the new branch when you get a chance and let me know if anything breaks horribly for you. On the upside, there are a bunch of components in ERCoolComponents that aren't hidden away in ERModernDirectToWeb any longer. ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
D2W - execute custom code on save changes
I'm using ERModernDirectToWeb to re-implement some admin parts of my existing application. One of the criteria I have is that under certain circumstances I need to log saved changes for audit reasons. I don't have to do it all the time so I need to interrupt in there with some branching logic. The objects in question will be EO's so I thought about having the EO's themselves track the changes. The problem with that is that I really only want this auditing happening when accessing these EO's from the D2W admin interface. There are other processes that make changes to these EO's where I do not want the auditing. Does anyone have some suggestions or pointers about where I can look to implement something like this? Tim Worman UCLA GSEIS ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W - execute custom code on save changes
One suggestion: Have a boolean attribute on user entity doesRequireAuditTrail and turn it on/off for users that require auditing. Put your current user EOGlobalID in ERXThreadStorage (do that in Session awake) and check the user's setting in EO state transition methods will* or did* and log as needed. On Sep 14, 2010, at 12:56 PM, Tim Worman wrote: I'm using ERModernDirectToWeb to re-implement some admin parts of my existing application. One of the criteria I have is that under certain circumstances I need to log saved changes for audit reasons. I don't have to do it all the time so I need to interrupt in there with some branching logic. The objects in question will be EO's so I thought about having the EO's themselves track the changes. The problem with that is that I really only want this auditing happening when accessing these EO's from the D2W admin interface. There are other processes that make changes to these EO's where I do not want the auditing. Does anyone have some suggestions or pointers about where I can look to implement something like this? Tim Worman UCLA GSEIS ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com This email sent to kelleh...@gmail.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W - execute custom code on save changes
ERCoreBusinessLogic has audit trails. You can subclass ERCAuditTrailHandler to customize it. You specify the subclass with a property: er.corebusinesslogic.ERCAuditTrailClassName=your.app.AuditTrailHandler It's very nice. Auditing happens automatically whenever save changes is called via the magic of the NSNotificationCenter. I would go with this route personally. If you want to inject custom logic into your submit method, you can hide the page buttons and supply your own buttons using a ERDBranchDelegate on your nextPageDelegate. Doing that should display your custom buttons via the ERDActionBar. Either that, or you can inject a custom Confirm page using the inspectConfirmConfigurationName rhs key. Then I think you can supply the logic in a confirm delegate. Ramsey On Sep 14, 2010, at 12:56 PM, Tim Worman wrote: I'm using ERModernDirectToWeb to re-implement some admin parts of my existing application. One of the criteria I have is that under certain circumstances I need to log saved changes for audit reasons. I don't have to do it all the time so I need to interrupt in there with some branching logic. The objects in question will be EO's so I thought about having the EO's themselves track the changes. The problem with that is that I really only want this auditing happening when accessing these EO's from the D2W admin interface. There are other processes that make changes to these EO's where I do not want the auditing. Does anyone have some suggestions or pointers about where I can look to implement something like this? Tim Worman UCLA GSEIS ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com This email sent to ram...@xeotech.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W - execute custom code on save changes
Thanks Kieran. I'm gonna have to look into ERXThreadStorage. I know vaguely what it is for but haven't used it. In my case, the doesRequireAuditTrail will be less dependent on who the user is as what the Entity being edited is or what day it is. So, if I'm the user, the auditing may not happen today but may be required tomorrow. Thanks for your thoughts. Tim On Sep 14, 2010, at 10:21 AM, Kieran Kelleher wrote: One suggestion: Have a boolean attribute on user entity doesRequireAuditTrail and turn it on/off for users that require auditing. Put your current user EOGlobalID in ERXThreadStorage (do that in Session awake) and check the user's setting in EO state transition methods will* or did* and log as needed. On Sep 14, 2010, at 12:56 PM, Tim Worman wrote: I'm using ERModernDirectToWeb to re-implement some admin parts of my existing application. One of the criteria I have is that under certain circumstances I need to log saved changes for audit reasons. I don't have to do it all the time so I need to interrupt in there with some branching logic. The objects in question will be EO's so I thought about having the EO's themselves track the changes. The problem with that is that I really only want this auditing happening when accessing these EO's from the D2W admin interface. There are other processes that make changes to these EO's where I do not want the auditing. Does anyone have some suggestions or pointers about where I can look to implement something like this? Tim Worman UCLA GSEIS ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com This email sent to kelleh...@gmail.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W - execute custom code on save changes
OK, so you can use any twisted logic you want to set a flag in ERXThreadStorage per request. Set the flag to true or false in some special logic in Session.awake maybe. I bet there is even a way to push a key in ERXThreadStorage using D2W rules based on certain logic ... maybe. ERXThreadStorage is just a dictionary that is visible to the thread (a ThreadLocal variable) and works on the basis that each request/response is handled in a single thread. It gets cleared automatically at the end of a request. So you can push stuff in there anytime during a request and pull stuff out in totally unrelated places (for example in EOF), and still maintain separation of dependencies ... aka, not referring to appserver layer in the EOF layer. Very useful. Regards, Kieran On Sep 14, 2010, at 1:30 PM, Tim Worman wrote: Thanks Kieran. I'm gonna have to look into ERXThreadStorage. I know vaguely what it is for but haven't used it. In my case, the doesRequireAuditTrail will be less dependent on who the user is as what the Entity being edited is or what day it is. So, if I'm the user, the auditing may not happen today but may be required tomorrow. Thanks for your thoughts. Tim On Sep 14, 2010, at 10:21 AM, Kieran Kelleher wrote: One suggestion: Have a boolean attribute on user entity doesRequireAuditTrail and turn it on/off for users that require auditing. Put your current user EOGlobalID in ERXThreadStorage (do that in Session awake) and check the user's setting in EO state transition methods will* or did* and log as needed. On Sep 14, 2010, at 12:56 PM, Tim Worman wrote: I'm using ERModernDirectToWeb to re-implement some admin parts of my existing application. One of the criteria I have is that under certain circumstances I need to log saved changes for audit reasons. I don't have to do it all the time so I need to interrupt in there with some branching logic. The objects in question will be EO's so I thought about having the EO's themselves track the changes. The problem with that is that I really only want this auditing happening when accessing these EO's from the D2W admin interface. There are other processes that make changes to these EO's where I do not want the auditing. Does anyone have some suggestions or pointers about where I can look to implement something like this? Tim Worman UCLA GSEIS ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com This email sent to kelleh...@gmail.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Migrations and subsequent changes to DB model
Hi All, I'm using Migrations for the first time. I generated Migration for my model. I created a blank db and use Migration so the db is up to date. How the subsequent changes to the db will be handled using Migrations? Do I need to prepare SQL scripts manually or generating Migration again can detect the change and generate the code accordingly? Thanks, Farrukh ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Migrations and subsequent changes to DB model
On Aug 29, 2010, at 3:17 AM, Farrukh Ijaz wrote: Hi All, I'm using Migrations for the first time. I generated Migration for my model. I created a blank db and use Migration so the db is up to date. How the subsequent changes to the db will be handled using Migrations? Do I need to prepare SQL scripts manually Ahg! No. :-) or generating Migration again can detect the change and generate the code accordingly? No, unfortunately generating the migration again will regenerate everything. After the initial migration, you'll need to manually write a new migration class, or do generate and manually remove the duplicate stuff - whichever is less work in your situation. Basically create a second model class and increment the number from 0 (which is what your first migration class should have) to 1, eg MyModel1.java Basically, Migrations will check to see if 0 was run, then it will look for the next class (by number) and then execute that one. And on and on and on. Dave Thanks, Farrukh ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
ERModern* navigation changes
Hey all, For those of you who are playing with apps based on ERModernMoviesDemo and do not follow the wonder commit list, I just committed changes to ERNavigationMenuItem that allow you to wrap the tab labels with an inner span eliminating the need for the Localizable.strings file hack. I still recommend using Localizable.strings files, but now you can use them specifically for localization. The inner spans are disabled by default and can be enable by adding the following property to your app: er.extensions.ERXNavigationManager.includeLabelSpanTag=true ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERModern* navigation changes
Cool! Lowering the bar to adoption with every change :-) Thanks, David On 15-Jun-10, at 1:06 PM, David LeBer wrote: Hey all, For those of you who are playing with apps based on ERModernMoviesDemo and do not follow the wonder commit list, I just committed changes to ERNavigationMenuItem that allow you to wrap the tab labels with an inner span eliminating the need for the Localizable.strings file hack. I still recommend using Localizable.strings files, but now you can use them specifically for localization. The inner spans are disabled by default and can be enable by adding the following property to your app: er.extensions.ERXNavigationManager.includeLabelSpanTag=true ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ 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: http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
D2W-ListPageInterface using EOArrayDataSource doesn't display Changes?
Hi all, I am using the following code in the Session of a D2W-WonderApplication. public WOComponent listAnzeigengruppe() { ListPageInterface lpi = (ListPageInterface)D2W.factory().pageForConfigurationNamed(ListAnzeigengruppe,this); EOArrayDataSource ds = new EOArrayDataSource(EOClassDescription.classDescriptionForEntityName(Anzeigengruppe), session().defaultEditingContext() ); ds.setArray(bpAnzeigengruppeList()); lpi.setDataSource(ds); return (WOComponent)lpi; } After an update, delete or insert from this ERD2WListPage those changes are saved to the database but not displayed on the ListPage. Using an EOFetchSpecification like the following works as expected. ... EODatabaseDataSource ds = new EODatabaseDataSource(ec, Anzeigengruppe); EOFetchSpecification fs = new EOFetchSpecification(Anzeigengruppe, qual, null); ds.setFetchSpecification(fs); ListPageInterface lpi = (ListPageInterface) D2W.factory().pageForConfigurationNamed(ListAnzeigengruppe, this); lpi.setDataSource(ds); return (WOComponent) lpi; } Isn't it possible to use an EOArrayDataSource in this case or am i doing something wrong? Greetings from Germany Dieter Stollorcz ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
WEBINFROOT changes make no effects
Hi all, I am trying to deploy my webobjects app to tomcat. Here is a part of my web.xml file, when I am trying to change the classpath, there is no effect. The only directory the application is seems to load is WEBINFROOT/lib/ but context-param param-nameWOROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops-ptf/WE B-INF//param-value /context-param context-param param-nameLOCALROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops-ptf/WE B-INF/Local/param-value /context-param context-param param-nameWOAINSTALLROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops-ptf/WE B-INF/Local/Library/WebObjects/Applications//param-value /context-param context-param param-nameWOClasspath/param-name param-value WEBINFROOT/lib/jcommops-ptf.jar WEBINFROOT/lib/ WEBINFROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/EREx tensions.jar WEBINFROOT/Library/Frameworks/JavaDirectToWeb.framework/Resources/Java/j avadirecttoweb.jar WEBINFROOT/Library/Frameworks/JavaDTWGeneration.framework/Resources/Java /javadtwgeneration.jar WEBINFROOT/Library/Frameworks/Ajax.framework/Resources/Java WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java WEBINFROOT/jcommops-ptf.woa/Contents/Resources/Java/jcommops-ptf.jar WEBINFROOT/lib/jcommops-ptf.jar /param-value /context-param context-param param-nameWEBINFROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops-ptf/WE B-INF//param-value !--param-value%WEBINFROOT%/param-value -- /context-param Thanks for your helps ! Best regards Laurent Cros ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WEBINFROOT changes make no effects
Hi Laurent, How are you building your deployment? I have used WO with Tomcat lots of times and have no troubles. There are specific options you can check in WOLips to have it build a .war file that Tomcat will automatically expand and run. Dave On Nov 4, 2009, at 5:03 AM, laurent Cros wrote: Hi all, I am trying to deploy my webobjects app to tomcat. Here is a part of my web.xml file, when I am trying to change the classpath, there is no effect. The only directory the application is seems to load is WEBINFROOT/lib/ but context-param param-nameWOROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF//param-value /context-param context-param param-nameLOCALROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF/Local/param-value /context-param context-param param-nameWOAINSTALLROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF/Local/Library/WebObjects/Applications//param-value /context-param context-param param-nameWOClasspath/param-name param-value WEBINFROOT/lib/jcommops-ptf.jar WEBINFROOT/lib/ WEBINFROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/ EREx tensions.jar WEBINFROOT/Library/Frameworks/JavaDirectToWeb.framework/Resources/ Java/j avadirecttoweb.jar WEBINFROOT/Library/Frameworks/JavaDTWGeneration.framework/Resources/ Java /javadtwgeneration.jar WEBINFROOT/Library/Frameworks/Ajax.framework/Resources/Java WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java WEBINFROOT/jcommops-ptf.woa/Contents/Resources/Java/jcommops-ptf.jar WEBINFROOT/lib/jcommops-ptf.jar /param-value /context-param context-param param-nameWEBINFROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF//param-value !--param-value%WEBINFROOT%/param-value -- /context-param Thanks for your helps ! Best regards Laurent Cros ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
RE: WEBINFROOT changes make no effects
Actually, in my eclipse I am working with normal deployment, but I am trying to deploy my webobject app on a linux server, on a tomcat 6. Laurent cros -Message d'origine- De : David Avendasora [mailto:webobje...@avendasora.com] Envoyé : mercredi 4 novembre 2009 12:10 À : laurent Cros Cc : webobjects-dev Apple Objet : Re: WEBINFROOT changes make no effects Hi Laurent, How are you building your deployment? I have used WO with Tomcat lots of times and have no troubles. There are specific options you can check in WOLips to have it build a .war file that Tomcat will automatically expand and run. Dave On Nov 4, 2009, at 5:03 AM, laurent Cros wrote: Hi all, I am trying to deploy my webobjects app to tomcat. Here is a part of my web.xml file, when I am trying to change the classpath, there is no effect. The only directory the application is seems to load is WEBINFROOT/lib/ but context-param param-nameWOROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF//param-value /context-param context-param param-nameLOCALROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF/Local/param-value /context-param context-param param-nameWOAINSTALLROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF/Local/Library/WebObjects/Applications//param-value /context-param context-param param-nameWOClasspath/param-name param-value WEBINFROOT/lib/jcommops-ptf.jar WEBINFROOT/lib/ WEBINFROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/ EREx tensions.jar WEBINFROOT/Library/Frameworks/JavaDirectToWeb.framework/Resources/ Java/j avadirecttoweb.jar WEBINFROOT/Library/Frameworks/JavaDTWGeneration.framework/Resources/ Java /javadtwgeneration.jar WEBINFROOT/Library/Frameworks/Ajax.framework/Resources/Java WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java WEBINFROOT/jcommops-ptf.woa/Contents/Resources/Java/jcommops-ptf.jar WEBINFROOT/lib/jcommops-ptf.jar /param-value /context-param context-param param-nameWEBINFROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF//param-value !--param-value%WEBINFROOT%/param-value -- /context-param Thanks for your helps ! Best regards Laurent Cros ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com Cliquez sur l'url suivante https://www.mailcontrol.com/sr/ErAJiJB31LrTndxI!oX7Uo9cpkuWnNqkwRYvv3MMXNBravQ1bL0Zt3w3apX!ZMDWij8xukOV3pVTQ40Is2HDWw== si ce message est indésirable (pourriel). ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WEBINFROOT changes make no effects
Hi Laurent, Sorry, I meant to include the link in my previous email! http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment+Setup The Objectstyle Wiki http://wiki.objectstyle.org/confluence/display/WO/Home is the best resource for WebObjects documentation. Dave On Nov 4, 2009, at 6:34 AM, laurent Cros wrote: HI david, I add to my param-nameWOClasspath/param-name the following line /data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops-ptf/WEB-INF/lib/ Library/Frameworks/ERExtensions.framework/Resources/Java/ ERExtensions.jar But it's not working, What I have to do to make tomcat load this library ? If I put the ERExtensions library in lib/ directory I got the following message : No ERX_MARKER field in NSMutableArray found. This means your class path is incorrect. Adjust it so that ERExtensions come before JavaFoundation. Laurent. -Message d'origine- De : David Avendasora [mailto:webobje...@avendasora.com] Envoyé : mercredi 4 novembre 2009 12:10 À : laurent Cros Cc : webobjects-dev Apple Objet : Re: WEBINFROOT changes make no effects Hi Laurent, How are you building your deployment? I have used WO with Tomcat lots of times and have no troubles. There are specific options you can check in WOLips to have it build a .war file that Tomcat will automatically expand and run. Dave On Nov 4, 2009, at 5:03 AM, laurent Cros wrote: Hi all, I am trying to deploy my webobjects app to tomcat. Here is a part of my web.xml file, when I am trying to change the classpath, there is no effect. The only directory the application is seems to load is WEBINFROOT/ lib/ but context-param param-nameWOROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF//param-value /context-param context-param param-nameLOCALROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF/Local/param-value /context-param context-param param-nameWOAINSTALLROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF/Local/Library/WebObjects/Applications//param-value /context-param context-param param-nameWOClasspath/param-name param-value WEBINFROOT/lib/jcommops-ptf.jar WEBINFROOT/lib/ WEBINFROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/ EREx tensions.jar WEBINFROOT/Library/Frameworks/JavaDirectToWeb.framework/Resources/ Java/j avadirecttoweb.jar WEBINFROOT/Library/Frameworks/JavaDTWGeneration.framework/Resources/ Java /javadtwgeneration.jar WEBINFROOT/Library/Frameworks/Ajax.framework/Resources/Java WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java WEBINFROOT/jcommops-ptf.woa/Contents/Resources/Java/jcommops-ptf.jar WEBINFROOT/lib/jcommops-ptf.jar /param-value /context-param context-param param-nameWEBINFROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF//param-value !--param-value%WEBINFROOT%/param-value -- /context-param Thanks for your helps ! Best regards Laurent Cros ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com Cliquez sur l'url suivante https://www.mailcontrol.com/sr/ErAJiJB31LrTndxI!oX7Uo9cpkuWnNqkwRYvv3MMXNBravQ1bL0Zt3w3apX!ZMDWij8xukOV3pVTQ40Is2HDWw== si ce message est indésirable (pourriel). ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WEBINFROOT changes make no effects
On Nov 4, 2009, at 7:27 AM, laurent Cros wrote: Actually, in my eclipse I am working with normal deployment, but I am trying to deploy my webobject app on a linux server, on a tomcat 6. Right. When working in Eclipse, you just use the normal run/debug. By using the instructions I just sent, when you do Right-click - WOLips Ant tools - Install it will build a .war file that will run in Tomcat on any platform! I've run my wo projects on Mac, Windows (shudder) and Linux with _no_ modifications. Long-term, you should look at setting up a build server like Hudson to do this for you automatically every time you commit to SVN/CVS. You do use version control, don't you!? :-) Dave Laurent cros -Message d'origine- De : David Avendasora [mailto:webobje...@avendasora.com] Envoyé : mercredi 4 novembre 2009 12:10 À : laurent Cros Cc : webobjects-dev Apple Objet : Re: WEBINFROOT changes make no effects Hi Laurent, How are you building your deployment? I have used WO with Tomcat lots of times and have no troubles. There are specific options you can check in WOLips to have it build a .war file that Tomcat will automatically expand and run. Dave On Nov 4, 2009, at 5:03 AM, laurent Cros wrote: Hi all, I am trying to deploy my webobjects app to tomcat. Here is a part of my web.xml file, when I am trying to change the classpath, there is no effect. The only directory the application is seems to load is WEBINFROOT/ lib/ but context-param param-nameWOROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF//param-value /context-param context-param param-nameLOCALROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF/Local/param-value /context-param context-param param-nameWOAINSTALLROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF/Local/Library/WebObjects/Applications//param-value /context-param context-param param-nameWOClasspath/param-name param-value WEBINFROOT/lib/jcommops-ptf.jar WEBINFROOT/lib/ WEBINFROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/ EREx tensions.jar WEBINFROOT/Library/Frameworks/JavaDirectToWeb.framework/Resources/ Java/j avadirecttoweb.jar WEBINFROOT/Library/Frameworks/JavaDTWGeneration.framework/Resources/ Java /javadtwgeneration.jar WEBINFROOT/Library/Frameworks/Ajax.framework/Resources/Java WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java WEBINFROOT/jcommops-ptf.woa/Contents/Resources/Java/jcommops-ptf.jar WEBINFROOT/lib/jcommops-ptf.jar /param-value /context-param context-param param-nameWEBINFROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF//param-value !--param-value%WEBINFROOT%/param-value -- /context-param Thanks for your helps ! Best regards Laurent Cros ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com Cliquez sur l'url suivante https://www.mailcontrol.com/sr/ErAJiJB31LrTndxI!oX7Uo9cpkuWnNqkwRYvv3MMXNBravQ1bL0Zt3w3apX!ZMDWij8xukOV3pVTQ40Is2HDWw== si ce message est indésirable (pourriel). ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
RE: WEBINFROOT changes make no effects
David can you send me your web.xml file (from your linux platform) please. It's very strange, it's there a file to set the platform we use, I am using ERExtension framework, and it's appears nowhere in my war. The war seems to be incomplete ! Laurent cros -Message d'origine- De : webobjects-dev-bounces+lcros=cls...@lists.apple.com [mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com] De la part de laurent Cros Envoyé : mercredi 4 novembre 2009 13:28 À : webobjects-dev Apple Objet : RE: WEBINFROOT changes make no effects Actually, in my eclipse I am working with normal deployment, but I am trying to deploy my webobject app on a linux server, on a tomcat 6. Laurent cros -Message d'origine- De : David Avendasora [mailto:webobje...@avendasora.com] Envoyé : mercredi 4 novembre 2009 12:10 À : laurent Cros Cc : webobjects-dev Apple Objet : Re: WEBINFROOT changes make no effects Hi Laurent, How are you building your deployment? I have used WO with Tomcat lots of times and have no troubles. There are specific options you can check in WOLips to have it build a .war file that Tomcat will automatically expand and run. Dave On Nov 4, 2009, at 5:03 AM, laurent Cros wrote: Hi all, I am trying to deploy my webobjects app to tomcat. Here is a part of my web.xml file, when I am trying to change the classpath, there is no effect. The only directory the application is seems to load is WEBINFROOT/lib/ but context-param param-nameWOROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF//param-value /context-param context-param param-nameLOCALROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF/Local/param-value /context-param context-param param-nameWOAINSTALLROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF/Local/Library/WebObjects/Applications//param-value /context-param context-param param-nameWOClasspath/param-name param-value WEBINFROOT/lib/jcommops-ptf.jar WEBINFROOT/lib/ WEBINFROOT/Library/Frameworks/ERExtensions.framework/Resources/Java/ EREx tensions.jar WEBINFROOT/Library/Frameworks/JavaDirectToWeb.framework/Resources/ Java/j avadirecttoweb.jar WEBINFROOT/Library/Frameworks/JavaDTWGeneration.framework/Resources/ Java /javadtwgeneration.jar WEBINFROOT/Library/Frameworks/Ajax.framework/Resources/Java WEBINFROOT/Library/Frameworks/ERJars.framework/Resources/Java WEBINFROOT/jcommops-ptf.woa/Contents/Resources/Java/jcommops-ptf.jar WEBINFROOT/lib/jcommops-ptf.jar /param-value /context-param context-param param-nameWEBINFROOT/param-name param-value/data_dev/home/sdi_dev1/java/tomcat/webapps/jcommops- ptf/WE B-INF//param-value !--param-value%WEBINFROOT%/param-value -- /context-param Thanks for your helps ! Best regards Laurent Cros ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com Cliquez sur l'url suivante https://www.mailcontrol.com/sr/ErAJiJB31LrTndxI!oX7Uo9cpkuWnNqkwRYvv3MMXNBravQ1bL0Zt3w3apX!ZMDWij8xukOV3pVTQ40Is2HDWw== si ce message est indésirable (pourriel). ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/lcros%40cls.fr This email sent to lc...@cls.fr ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WEBINFROOT changes make no effects
Bonjour Laurent, Be so kind as not to reply to an email in another mailing list thread when you send you first email. Your thread is mixed with the Gianguia discussion! Merci, Kieran :-) On Nov 4, 2009, at 5:03 AM, laurent Cros wrote: Hi all, I am trying to deploy my webobjects app to tomcat. Here is a part of my web.xml file, when I am trying to change the classpath, there is no effect. The only directory the application is seems to load is WEBINFROOT/ lib/ ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WEBINFROOT changes make no effects
On Nov 4, 2009, at 8:36 AM, laurent Cros wrote: David can you send me your web.xml file (from your linux platform) please. I don't touch the web.xml file that is created by Ant when my project is built. It doesn't matter which platform I'm deploying to. I take the war file and drop it into Tomcat on Mac or Windows and it just works. It's been over a year since I dropped it into Tomcat on Linux, but it did run. Did you follow the instructions at the link I sent? http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment+Setup It's very strange, it's there a file to set the platform we use, No. In this situation, Java is Java and Tomcat is Tomcat. The platform is irrelevant (in my experience) when simply running one instance of a WO app in a servlet container. I am using ERExtension framework, and it's appears nowhere in my war. Which version of Eclipse/WOLips are you running? Dave ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
RE: WEBINFROOT changes make no effects
David, I am using eclipse 3.3.2 on a windows platform The wolips version is 3.3.5485 Laurent. De : David Avendasora [mailto:webobje...@avendasora.com] Envoyé : mercredi 4 novembre 2009 15:12 À : laurent Cros Cc : WebObjects-Dev Mailing List List Objet : Re: WEBINFROOT changes make no effects On Nov 4, 2009, at 8:36 AM, laurent Cros wrote: David can you send me your web.xml file (from your linux platform) please. I don't touch the web.xml file that is created by Ant when my project is built. It doesn't matter which platform I'm deploying to. I take the war file and drop it into Tomcat on Mac or Windows and it just works. It's been over a year since I dropped it into Tomcat on Linux, but it did run. Did you follow the instructions at the link I sent? http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment+Setup It's very strange, it's there a file to set the platform we use, No. In this situation, Java is Java and Tomcat is Tomcat. The platform is irrelevant (in my experience) when simply running one instance of a WO app in a servlet container. I am using ERExtension framework, and it's appears nowhere in my war. Which version of Eclipse/WOLips are you running? Dave Cliquez ici https://www.mailcontrol.com/sr/c8TEUNQ4XxLTndxI!oX7UmYbIxEcibTCNvX75SUQlZZoIhJbegRV711KyzPuXhKpij8xukOV3pVvYd5fHr7iGA== si ce message est indésirable (pourriel). ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WEBINFROOT changes make no effects
On Nov 4, 2009, at 9:23 AM, laurent Cros wrote:David, I am using eclipse 3.3.2 on a windows platformThe wolips version is 3.3.5485Ah ha! Theres the problem.Note the first Prerequisite on the page I directed you to: "Eclipse 3.4 WOLips 5640 or laterinstalled."Everything I've been saying about how easy servlet development is, is because WOLips 3.4.5640 and later(aka "New Hotness" - Which requires Eclipse 3.4.2)have substantially revised servlet, framework-embedding and classpath-management functionality.New Hotness is pretty-much a mandatory upgrade. If you aren't using it (It's been around as Stable for almost a year now) then there's few people here that can help, because, as you are learning, servlet stuff was pretty bad before. It will probably take you longer to make servlets work out of 3.3 than the upgrade process will take you.See here:http://wolips.blogspot.com/2008/09/its-alive.html for instructions on how to upgrade your existing project to a New Hotness project. There's a few hoops to jump through, but it is well, well worth the trouble!Dave Laurent.De:David Avendasora [mailto:webobje...@avendasora.com]Envoyé:mercredi 4 novembre 2009 15:12À:laurent CrosCc:WebObjects-Dev Mailing List ListObjet:Re: WEBINFROOT changes make no effectsOn Nov 4, 2009, at 8:36 AM, laurent Cros wrote:David can you send me your web.xml file (from your linux platform) please.I don't touch the web.xml file that is created by Ant when my project is built. It doesn't matter which platform I'm deploying to. I take the war file and drop it into Tomcat on Mac or Windows and it just works. It's been over a year since I dropped it into Tomcat on Linux, but it did run.Did you follow the instructions at the link I sent?http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment+SetupIt's very strange, it's there a file to set the platform we use,No. In this situation, Java is Java and Tomcat is Tomcat. The platform is irrelevant (in my experience) when simply running one instance of a WO app in a servlet container.I am using ERExtension framework, and it's appears nowhere in my war.Which version of Eclipse/WOLips are you running?DaveCliquezicisi ce message est indésirable (pourriel). David AvendasoraSenior Software EngineerK12, Inc.*WebObjects DocumentationWiki:http://wiki.objectstyle.org/confluence/display/WO/*WebObjects API:http://developer.apple.com/legacy/mac/library/documentation/MacOSXServer/Reference/WO54_Reference/index.html* ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
RE: WEBINFROOT changes make no effects
I have followed what you said, There was an error in the build.xml so I fixed it, and the creating the war after the war was generated, I copied the app directory (same as the war), I put it on my tomcat, the started my tomcat. Laurent. De : webobjects-dev-bounces+lcros=cls...@lists.apple.com [mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com] De la part de laurent Cros Envoyé : mercredi 4 novembre 2009 15:24 À : David Avendasora Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects David, I am using eclipse 3.3.2 on a windows platform The wolips version is 3.3.5485 Laurent. De : David Avendasora [mailto:webobje...@avendasora.com] Envoyé : mercredi 4 novembre 2009 15:12 À : laurent Cros Cc : WebObjects-Dev Mailing List List Objet : Re: WEBINFROOT changes make no effects On Nov 4, 2009, at 8:36 AM, laurent Cros wrote: David can you send me your web.xml file (from your linux platform) please. I don't touch the web.xml file that is created by Ant when my project is built. It doesn't matter which platform I'm deploying to. I take the war file and drop it into Tomcat on Mac or Windows and it just works. It's been over a year since I dropped it into Tomcat on Linux, but it did run. Did you follow the instructions at the link I sent? http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment+Setup It's very strange, it's there a file to set the platform we use, No. In this situation, Java is Java and Tomcat is Tomcat. The platform is irrelevant (in my experience) when simply running one instance of a WO app in a servlet container. I am using ERExtension framework, and it's appears nowhere in my war. Which version of Eclipse/WOLips are you running? Dave Cliquez ici https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== si ce message est indésirable (pourriel). ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
RE: WEBINFROOT changes make no effects
Dave, I have installed the wolips new version on my eclipse 3.4.2. When I try to deploy my app I got this error : org.objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException: Could not find wobuild.properties. Run the buildfile: woproperties.xml first. at org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(Unknown Source) at org.objectstyle.woproject.ant.WOApplication.validateAttributes(Unknown Source) at org.objectstyle.woproject.ant.WOApplication.execute(Unknown Source) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) Have you any idea where the woproperties.xml is ? Thanks laurent cros De : laurent Cros Envoyé : mercredi 4 novembre 2009 16:26 À : laurent Cros; David Avendasora Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects I have followed what you said, There was an error in the build.xml so I fixed it, and the creating the war after the war was generated, I copied the app directory (same as the war), I put it on my tomcat, the started my tomcat. Laurent. De : webobjects-dev-bounces+lcros=cls...@lists.apple.com [mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com] De la part de laurent Cros Envoyé : mercredi 4 novembre 2009 15:24 À : David Avendasora Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects David, I am using eclipse 3.3.2 on a windows platform The wolips version is 3.3.5485 Laurent. De : David Avendasora [mailto:webobje...@avendasora.com] Envoyé : mercredi 4 novembre 2009 15:12 À : laurent Cros Cc : WebObjects-Dev Mailing List List Objet : Re: WEBINFROOT changes make no effects On Nov 4, 2009, at 8:36 AM, laurent Cros wrote: David can you send me your web.xml file (from your linux platform) please. I don't touch the web.xml file that is created by Ant when my project is built. It doesn't matter which platform I'm deploying to. I take the war file and drop it into Tomcat on Mac or Windows and it just works. It's been over a year since I dropped it into Tomcat on Linux, but it did run. Did you follow the instructions at the link I sent? http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment+Setup It's very strange, it's there a file to set the platform we use, No. In this situation, Java is Java and Tomcat is Tomcat. The platform is irrelevant (in my experience) when simply running one instance of a WO app in a servlet container. I am using ERExtension framework, and it's appears nowhere in my war. Which version of Eclipse/WOLips are you running? Dave Cliquez ici https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== si ce message est indésirable (pourriel). ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WEBINFROOT changes make no effects
That looks old. Is this from a command line build? If so, you have an old woproject.jar that Ant is using. Chuck On Nov 4, 2009, at 8:27 AM, laurent Cros wrote: Dave, I have installed the wolips new version on my eclipse 3.4.2. When I try to deploy my app I got this error : org .objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException: Could not find wobuild.properties. Run the buildfile: woproperties.xml first. at org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(Unknown Source) at org .objectstyle.woproject.ant.WOApplication.validateAttributes(Unknown Source) at org.objectstyle.woproject.ant.WOApplication.execute(Unknown Source) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org .apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: 105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org .apache .tools .ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org .eclipse .ant .internal .ui .antsupport .EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java: 1181) at org .eclipse .ant .internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java: 423) at org .eclipse .ant .internal .ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) Have you any idea where the woproperties.xml is ? Thanks laurent cros De : laurent Cros Envoyé : mercredi 4 novembre 2009 16:26 À : laurent Cros; David Avendasora Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects I have followed what you said, There was an error in the build.xml so I fixed it, and the creating the war after the war was generated, I copied the app directory (same as the war), I put it on my tomcat, the started my tomcat. Laurent. De : webobjects-dev-bounces+lcros=cls...@lists.apple.com [mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com ] De la part de laurent Cros Envoyé : mercredi 4 novembre 2009 15:24 À : David Avendasora Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects David, I am using eclipse 3.3.2 on a windows platform The wolips version is 3.3.5485 Laurent. De : David Avendasora [mailto:webobje...@avendasora.com] Envoyé : mercredi 4 novembre 2009 15:12 À : laurent Cros Cc : WebObjects-Dev Mailing List List Objet : Re: WEBINFROOT changes make no effects On Nov 4, 2009, at 8:36 AM, laurent Cros wrote: David can you send me your web.xml file (from your linux platform) please. I don't touch the web.xml file that is created by Ant when my project is built. It doesn't matter which platform I'm deploying to. I take the war file and drop it into Tomcat on Mac or Windows and it just works. It's been over a year since I dropped it into Tomcat on Linux, but it did run. Did you follow the instructions at the link I sent? http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment+Setup It's very strange, it's there a file to set the platform we use, No. In this situation, Java is Java and Tomcat is Tomcat. The platform is irrelevant (in my experience) when simply running one instance of a WO app in a servlet container. I am using ERExtension framework, and it's appears nowhere in my war. Which version of Eclipse/WOLips are you running? Dave Cliquez ici si ce message est indésirable (pourriel). ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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
RE: WEBINFROOT changes make no effects
That's strange, because this eclipse (3.4.2) didn't use wolips before ... I created a new project, this the build.xml of a new wonder application. Laurent cros -Message d'origine- De : Chuck Hill [mailto:ch...@global-village.net] Envoyé : mercredi 4 novembre 2009 17:58 À : laurent Cros Cc : David Avendasora; WebObjects-Dev Mailing List List Objet : Re: WEBINFROOT changes make no effects That looks old. Is this from a command line build? If so, you have an old woproject.jar that Ant is using. Chuck On Nov 4, 2009, at 8:27 AM, laurent Cros wrote: Dave, I have installed the wolips new version on my eclipse 3.4.2. When I try to deploy my app I got this error : org .objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException: Could not find wobuild.properties. Run the buildfile: woproperties.xml first. at org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(Unknown Source) at org .objectstyle.woproject.ant.WOApplication.validateAttributes(Unknown Source) at org.objectstyle.woproject.ant.WOApplication.execute(Unknown Source) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org .apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: 105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org .apache .tools .ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org .eclipse .ant .internal .ui .antsupport .EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java: 1181) at org .eclipse .ant .internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java: 423) at org .eclipse .ant .internal .ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) Have you any idea where the woproperties.xml is ? Thanks laurent cros De : laurent Cros Envoyé : mercredi 4 novembre 2009 16:26 À : laurent Cros; David Avendasora Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects I have followed what you said, There was an error in the build.xml so I fixed it, and the creating the war after the war was generated, I copied the app directory (same as the war), I put it on my tomcat, the started my tomcat. Laurent. De : webobjects-dev-bounces+lcros=cls...@lists.apple.com [mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com ] De la part de laurent Cros Envoyé : mercredi 4 novembre 2009 15:24 À : David Avendasora Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects David, I am using eclipse 3.3.2 on a windows platform The wolips version is 3.3.5485 Laurent. De : David Avendasora [mailto:webobje...@avendasora.com] Envoyé : mercredi 4 novembre 2009 15:12 À : laurent Cros Cc : WebObjects-Dev Mailing List List Objet : Re: WEBINFROOT changes make no effects On Nov 4, 2009, at 8:36 AM, laurent Cros wrote: David can you send me your web.xml file (from your linux platform) please. I don't touch the web.xml file that is created by Ant when my project is built. It doesn't matter which platform I'm deploying to. I take the war file and drop it into Tomcat on Mac or Windows and it just works. It's been over a year since I dropped it into Tomcat on Linux, but it did run. Did you follow the instructions at the link I sent? http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment+Setup It's very strange, it's there a file to set the platform we use, No. In this situation, Java is Java and Tomcat is Tomcat. The platform is irrelevant (in my experience) when simply running one instance of a WO app in a servlet container. I am using ERExtension framework, and it's appears nowhere in my war. Which version of Eclipse/WOLips are you running? Dave Cliquez ici si ce message est indésirable (pourriel). ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch
RE: WEBINFROOT changes make no effects
I checked and I have only woproject.jar which is in my wolips eclipse plugin (\plugins\org.objectstyle.wolips.woproject.ant_3.4.5830\lib). Laurent cros -Message d'origine- De : webobjects-dev-bounces+lcros=cls...@lists.apple.com [mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com] De la part de laurent Cros Envoyé : mercredi 4 novembre 2009 18:05 À : Chuck Hill Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects That's strange, because this eclipse (3.4.2) didn't use wolips before ... I created a new project, this the build.xml of a new wonder application. Laurent cros -Message d'origine- De : Chuck Hill [mailto:ch...@global-village.net] Envoyé : mercredi 4 novembre 2009 17:58 À : laurent Cros Cc : David Avendasora; WebObjects-Dev Mailing List List Objet : Re: WEBINFROOT changes make no effects That looks old. Is this from a command line build? If so, you have an old woproject.jar that Ant is using. Chuck On Nov 4, 2009, at 8:27 AM, laurent Cros wrote: Dave, I have installed the wolips new version on my eclipse 3.4.2. When I try to deploy my app I got this error : org .objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException: Could not find wobuild.properties. Run the buildfile: woproperties.xml first. at org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(Unknown Source) at org .objectstyle.woproject.ant.WOApplication.validateAttributes(Unknown Source) at org.objectstyle.woproject.ant.WOApplication.execute(Unknown Source) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org .apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: 105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org .apache .tools .ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org .eclipse .ant .internal .ui .antsupport .EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) at org.apache.tools.ant.Project.executeTargets(Project.java: 1181) at org .eclipse .ant .internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java: 423) at org .eclipse .ant .internal .ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) Have you any idea where the woproperties.xml is ? Thanks laurent cros De : laurent Cros Envoyé : mercredi 4 novembre 2009 16:26 À : laurent Cros; David Avendasora Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects I have followed what you said, There was an error in the build.xml so I fixed it, and the creating the war after the war was generated, I copied the app directory (same as the war), I put it on my tomcat, the started my tomcat. Laurent. De : webobjects-dev-bounces+lcros=cls...@lists.apple.com [mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com ] De la part de laurent Cros Envoyé : mercredi 4 novembre 2009 15:24 À : David Avendasora Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects David, I am using eclipse 3.3.2 on a windows platform The wolips version is 3.3.5485 Laurent. De : David Avendasora [mailto:webobje...@avendasora.com] Envoyé : mercredi 4 novembre 2009 15:12 À : laurent Cros Cc : WebObjects-Dev Mailing List List Objet : Re: WEBINFROOT changes make no effects On Nov 4, 2009, at 8:36 AM, laurent Cros wrote: David can you send me your web.xml file (from your linux platform) please. I don't touch the web.xml file that is created by Ant when my project is built. It doesn't matter which platform I'm deploying to. I take the war file and drop it into Tomcat on Mac or Windows and it just works. It's been over a year since I dropped it into Tomcat on Linux, but it did run. Did you follow the instructions at the link I sent? http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment+Setup It's very strange, it's there a file to set the platform we use, No. In this situation, Java is Java and Tomcat is Tomcat. The platform is irrelevant (in my experience) when simply running one instance of a WO app in a servlet container. I am using ERExtension framework
Re: WEBINFROOT changes make no effects
Maybe that is just an old error message that has not been corrected in the version you are using. Does this message help? http://wiki.objectstyle.org/confluence/display/WOL/mail/3768661 Chuck On Nov 4, 2009, at 9:38 AM, laurent Cros wrote: I checked and I have only woproject.jar which is in my wolips eclipse plugin (\plugins \org.objectstyle.wolips.woproject.ant_3.4.5830\lib). Laurent cros -Message d'origine- De : webobjects-dev-bounces+lcros=cls...@lists.apple.com [mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com ] De la part de laurent Cros Envoyé : mercredi 4 novembre 2009 18:05 À : Chuck Hill Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects That's strange, because this eclipse (3.4.2) didn't use wolips before ... I created a new project, this the build.xml of a new wonder application. Laurent cros -Message d'origine- De : Chuck Hill [mailto:ch...@global-village.net] Envoyé : mercredi 4 novembre 2009 17:58 À : laurent Cros Cc : David Avendasora; WebObjects-Dev Mailing List List Objet : Re: WEBINFROOT changes make no effects That looks old. Is this from a command line build? If so, you have an old woproject.jar that Ant is using. Chuck On Nov 4, 2009, at 8:27 AM, laurent Cros wrote: Dave, I have installed the wolips new version on my eclipse 3.4.2. When I try to deploy my app I got this error : org .objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException: Could not find wobuild.properties. Run the buildfile: woproperties.xml first. at org.objectstyle.woproject.ant.WOApplication.getWOEnvironment(Unknown Source) at org .objectstyle.woproject.ant.WOApplication.validateAttributes(Unknown Source) at org.objectstyle.woproject.ant.WOApplication.execute(Unknown Source) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org .apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: 105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org .apache .tools .ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org .eclipse .ant .internal .ui .antsupport .EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java: 32) at org.apache.tools.ant.Project.executeTargets(Project.java: 1181) at org .eclipse .ant .internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java: 423) at org .eclipse .ant .internal .ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) Have you any idea where the woproperties.xml is ? Thanks laurent cros De : laurent Cros Envoyé : mercredi 4 novembre 2009 16:26 À : laurent Cros; David Avendasora Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects I have followed what you said, There was an error in the build.xml so I fixed it, and the creating the war after the war was generated, I copied the app directory (same as the war), I put it on my tomcat, the started my tomcat. Laurent. De : webobjects-dev-bounces+lcros=cls...@lists.apple.com [mailto:webobjects-dev-bounces+lcros=cls...@lists.apple.com ] De la part de laurent Cros Envoyé : mercredi 4 novembre 2009 15:24 À : David Avendasora Cc : WebObjects-Dev Mailing List List Objet : RE: WEBINFROOT changes make no effects David, I am using eclipse 3.3.2 on a windows platform The wolips version is 3.3.5485 Laurent. De : David Avendasora [mailto:webobje...@avendasora.com] Envoyé : mercredi 4 novembre 2009 15:12 À : laurent Cros Cc : WebObjects-Dev Mailing List List Objet : Re: WEBINFROOT changes make no effects On Nov 4, 2009, at 8:36 AM, laurent Cros wrote: David can you send me your web.xml file (from your linux platform) please. I don't touch the web.xml file that is created by Ant when my project is built. It doesn't matter which platform I'm deploying to. I take the war file and drop it into Tomcat on Mac or Windows and it just works. It's been over a year since I dropped it into Tomcat on Linux, but it did run. Did you follow the instructions at the link I sent? http://wiki.objectstyle.org/confluence/display/WONDER/Servlet+Deployment+Setup It's very strange, it's there a file to set the platform we use, No. In this situation, Java is Java and Tomcat is Tomcat. The platform is irrelevant (in my experience) when simply running one instance of a WO app in a servlet
when db schema changes... al goes wrong
Hello, long time without posting any question, I was assigned a iphone project, and now back to WO. Here at work decided to change the db schema, and add some more table and relationships, but they are not new apart from the ones I had already, they actually will touch the schema I was working on and the logic I was working with. So, pain in the behind for me. Im using migrations, this should work for something no?, when I create the new migration page then it complains that everything already exists!, and I can't delete anything otherwise.. all data goes to hell. then I dunno if my design is that poor or what but I will have to touch the components that were doing something in the db in that specific area that its gonna be modified... so to keep avoiding this problems inthe future what suggestions you may have for me I wanna cry I have to arrive on monday and start working on those changes, I was just todl today that they are waiting for me... great bday present I will have at the office on monday, G. ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: when db schema changes... al goes wrong
On 8-Aug-09, at 2:01 PM, Gustavo Pizano wrote: Hello, long time without posting any question, I was assigned a iphone project, and now back to WO. Here at work decided to change the db schema, and add some more table and relationships, but they are not new apart from the ones I had already, they actually will touch the schema I was working on and the logic I was working with. So, pain in the behind for me. Im using migrations, this should work for something no?, when I create the new migration page then it complains that everything already exists!, and I can't delete anything otherwise.. all data goes to hell. then I dunno if my design is that poor or what but I will have to touch the components that were doing something in the db in that specific area that its gonna be modified... so to keep avoiding this problems inthe future what suggestions you may have for me I wanna cry I have to arrive on monday and start working on those changes, I was just todl today that they are waiting for me... great bday present I will have at the office on monday, Each migration is a delta between the current state of the database and the previous state of the database. In your myModelMigration0.java the migration includes everything to build the schema to step 0 (since nothing existed before). In your myModelMigration1.java include only the additions to the schema necessary to build to step 1 (since step 0 is already completed). In your myModelMigration2.java include only the additions to the schema necessary to build from step 1 to step 2 (since step 1 is already completed). ... In your myModelMigrationN.java include only the additions to the schema necessary to build from step N-1 to step N (since step N-1 is already completed). hth. ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- Toronto Area Cocoa / WebObjects developers group: http://tacow.org ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Listening for changes on an EO
Is there a way for a controller object to listen for changes to an EO (and a specific key)? Thanks, Lon ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Listening for changes on an EO
On Jul 9, 2009, at 10:24 AM, Lon Varscsak wrote: Is there a way for a controller object to listen for changes to an EO (and a specific key)? Thanks, Lon EOEditingContext has ObjectsChangedInEditingContextNotification, but it is on an object by object basis, not a key by key one. You could implement this in your EO super class. Chuck -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Listening for changes on an EO
also, if you are using wonder, check out hasKeyChangedFromCommittedSnapshot in ERXGenericRecord. maybe listen for the notification mentioned by chuck, then use hasKeyChangedFromCommittedSnapshot to check the particular key you are looking at. simon 2009/7/9 Chuck Hill ch...@global-village.net: On Jul 9, 2009, at 10:24 AM, Lon Varscsak wrote: Is there a way for a controller object to listen for changes to an EO (and a specific key)? Thanks, Lon EOEditingContext has ObjectsChangedInEditingContextNotification, but it is on an object by object basis, not a key by key one. You could implement this in your EO super class. Chuck -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Listening for changes on an EO
Thanks. I figured there was nothing built to do exactly what I needed, but I figured I would ask. Do you know if there is much overhead if I implemented this in my EO superclass even if there were no observers? -Lon On Thu, Jul 9, 2009 at 11:50 AM, Simon McLeansi...@potwells.co.uk wrote: also, if you are using wonder, check out hasKeyChangedFromCommittedSnapshot in ERXGenericRecord. maybe listen for the notification mentioned by chuck, then use hasKeyChangedFromCommittedSnapshot to check the particular key you are looking at. simon 2009/7/9 Chuck Hill ch...@global-village.net: On Jul 9, 2009, at 10:24 AM, Lon Varscsak wrote: Is there a way for a controller object to listen for changes to an EO (and a specific key)? Thanks, Lon EOEditingContext has ObjectsChangedInEditingContextNotification, but it is on an object by object basis, not a key by key one. You could implement this in your EO super class. Chuck -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Listening for changes on an EO
On Jul 9, 2009, at 12:26 PM, Lon Varscsak wrote: Thanks. I figured there was nothing built to do exactly what I needed, but I figured I would ask. Do you know if there is much overhead if I implemented this in my EO superclass even if there were no observers? EOF makes heavy use of notification. I would not expect there to be much overhead. You will probably want to qualify the notification with the EC (depending on what it is you are trying to do) to limit the number of observers. And then keep the method receiving the notification fast. The notifications are synchronous, so you don't want anything slow in this method. Chuck -Lon On Thu, Jul 9, 2009 at 11:50 AM, Simon McLeansi...@potwells.co.uk wrote: also, if you are using wonder, check out hasKeyChangedFromCommittedSnapshot in ERXGenericRecord. maybe listen for the notification mentioned by chuck, then use hasKeyChangedFromCommittedSnapshot to check the particular key you are looking at. simon 2009/7/9 Chuck Hill ch...@global-village.net: On Jul 9, 2009, at 10:24 AM, Lon Varscsak wrote: Is there a way for a controller object to listen for changes to an EO (and a specific key)? Thanks, Lon EOEditingContext has ObjectsChangedInEditingContextNotification, but it is on an object by object basis, not a key by key one. You could implement this in your EO super class. Chuck -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Listening for changes on an EO
Thanks for the tips! -Lon On Thu, Jul 9, 2009 at 12:34 PM, Chuck Hillch...@global-village.net wrote: On Jul 9, 2009, at 12:26 PM, Lon Varscsak wrote: Thanks. I figured there was nothing built to do exactly what I needed, but I figured I would ask. Do you know if there is much overhead if I implemented this in my EO superclass even if there were no observers? EOF makes heavy use of notification. I would not expect there to be much overhead. You will probably want to qualify the notification with the EC (depending on what it is you are trying to do) to limit the number of observers. And then keep the method receiving the notification fast. The notifications are synchronous, so you don't want anything slow in this method. Chuck -Lon On Thu, Jul 9, 2009 at 11:50 AM, Simon McLeansi...@potwells.co.uk wrote: also, if you are using wonder, check out hasKeyChangedFromCommittedSnapshot in ERXGenericRecord. maybe listen for the notification mentioned by chuck, then use hasKeyChangedFromCommittedSnapshot to check the particular key you are looking at. simon 2009/7/9 Chuck Hill ch...@global-village.net: On Jul 9, 2009, at 10:24 AM, Lon Varscsak wrote: Is there a way for a controller object to listen for changes to an EO (and a specific key)? Thanks, Lon EOEditingContext has ObjectsChangedInEditingContextNotification, but it is on an object by object basis, not a key by key one. You could implement this in your EO super class. Chuck -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Listening for changes on an EO
Uh, another question. :) Since I have a custom EO super-super class, I decided to try to implement this in takeStoredValueForKey(..). It works, although I was also trying to post the old value, and asking for this current value at this point makes EOF not so happy...but that's not strictly required for my needs. However, it does post notifications even for fetched objects, what would be the best way to only post changes after fetching? Thanks again, Lon On Thu, Jul 9, 2009 at 12:43 PM, Lon Varscsakvarsc...@smarthealth.com wrote: Thanks for the tips! -Lon On Thu, Jul 9, 2009 at 12:34 PM, Chuck Hillch...@global-village.net wrote: On Jul 9, 2009, at 12:26 PM, Lon Varscsak wrote: Thanks. I figured there was nothing built to do exactly what I needed, but I figured I would ask. Do you know if there is much overhead if I implemented this in my EO superclass even if there were no observers? EOF makes heavy use of notification. I would not expect there to be much overhead. You will probably want to qualify the notification with the EC (depending on what it is you are trying to do) to limit the number of observers. And then keep the method receiving the notification fast. The notifications are synchronous, so you don't want anything slow in this method. Chuck -Lon On Thu, Jul 9, 2009 at 11:50 AM, Simon McLeansi...@potwells.co.uk wrote: also, if you are using wonder, check out hasKeyChangedFromCommittedSnapshot in ERXGenericRecord. maybe listen for the notification mentioned by chuck, then use hasKeyChangedFromCommittedSnapshot to check the particular key you are looking at. simon 2009/7/9 Chuck Hill ch...@global-village.net: On Jul 9, 2009, at 10:24 AM, Lon Varscsak wrote: Is there a way for a controller object to listen for changes to an EO (and a specific key)? Thanks, Lon EOEditingContext has ObjectsChangedInEditingContextNotification, but it is on an object by object basis, not a key by key one. You could implement this in your EO super class. Chuck -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Listening for changes on an EO
Just a clarification, do you want to know when the value changes, even if it's not saved to the database? Or do you just want to know if a change is being saved? That would make a difference. ;-) Regards, Mark On Jul 9, 2009, at 3:28 PM, Lon Varscsak wrote: Uh, another question. :) Since I have a custom EO super-super class, I decided to try to implement this in takeStoredValueForKey(..). It works, although I was also trying to post the old value, and asking for this current value at this point makes EOF not so happy...but that's not strictly required for my needs. However, it does post notifications even for fetched objects, what would be the best way to only post changes after fetching? Thanks again, Lon On Thu, Jul 9, 2009 at 12:43 PM, Lon Varscsakvarsc...@smarthealth.com wrote: Thanks for the tips! -Lon On Thu, Jul 9, 2009 at 12:34 PM, Chuck Hillch...@global- village.net wrote: On Jul 9, 2009, at 12:26 PM, Lon Varscsak wrote: Thanks. I figured there was nothing built to do exactly what I needed, but I figured I would ask. Do you know if there is much overhead if I implemented this in my EO superclass even if there were no observers? EOF makes heavy use of notification. I would not expect there to be much overhead. You will probably want to qualify the notification with the EC (depending on what it is you are trying to do) to limit the number of observers. And then keep the method receiving the notification fast. The notifications are synchronous, so you don't want anything slow in this method. Chuck -Lon On Thu, Jul 9, 2009 at 11:50 AM, Simon McLeansi...@potwells.co.uk wrote: also, if you are using wonder, check out hasKeyChangedFromCommittedSnapshot in ERXGenericRecord. maybe listen for the notification mentioned by chuck, then use hasKeyChangedFromCommittedSnapshot to check the particular key you are looking at. simon 2009/7/9 Chuck Hill ch...@global-village.net: On Jul 9, 2009, at 10:24 AM, Lon Varscsak wrote: Is there a way for a controller object to listen for changes to an EO (and a specific key)? Thanks, Lon EOEditingContext has ObjectsChangedInEditingContextNotification, but it is on an object by object basis, not a key by key one. You could implement this in your EO super class. Chuck -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/markm%40onpointsoftware.com This email sent to ma...@onpointsoftware.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Listening for changes on an EO
I want to know if it's being changed. I have a controller object that will need to recalculate some values when a specific attribute changes in the EO. -Lon On Thu, Jul 9, 2009 at 1:42 PM, Mark Morrisma...@onpointsoftware.com wrote: Just a clarification, do you want to know when the value changes, even if it's not saved to the database? Or do you just want to know if a change is being saved? That would make a difference. ;-) Regards, Mark On Jul 9, 2009, at 3:28 PM, Lon Varscsak wrote: Uh, another question. :) Since I have a custom EO super-super class, I decided to try to implement this in takeStoredValueForKey(..). It works, although I was also trying to post the old value, and asking for this current value at this point makes EOF not so happy...but that's not strictly required for my needs. However, it does post notifications even for fetched objects, what would be the best way to only post changes after fetching? Thanks again, Lon On Thu, Jul 9, 2009 at 12:43 PM, Lon Varscsakvarsc...@smarthealth.com wrote: Thanks for the tips! -Lon On Thu, Jul 9, 2009 at 12:34 PM, Chuck Hillch...@global-village.net wrote: On Jul 9, 2009, at 12:26 PM, Lon Varscsak wrote: Thanks. I figured there was nothing built to do exactly what I needed, but I figured I would ask. Do you know if there is much overhead if I implemented this in my EO superclass even if there were no observers? EOF makes heavy use of notification. I would not expect there to be much overhead. You will probably want to qualify the notification with the EC (depending on what it is you are trying to do) to limit the number of observers. And then keep the method receiving the notification fast. The notifications are synchronous, so you don't want anything slow in this method. Chuck -Lon On Thu, Jul 9, 2009 at 11:50 AM, Simon McLeansi...@potwells.co.uk wrote: also, if you are using wonder, check out hasKeyChangedFromCommittedSnapshot in ERXGenericRecord. maybe listen for the notification mentioned by chuck, then use hasKeyChangedFromCommittedSnapshot to check the particular key you are looking at. simon 2009/7/9 Chuck Hill ch...@global-village.net: On Jul 9, 2009, at 10:24 AM, Lon Varscsak wrote: Is there a way for a controller object to listen for changes to an EO (and a specific key)? Thanks, Lon EOEditingContext has ObjectsChangedInEditingContextNotification, but it is on an object by object basis, not a key by key one. You could implement this in your EO super class. Chuck -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk This email sent to si...@potwells.co.uk -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/markm%40onpointsoftware.com This email sent to ma...@onpointsoftware.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com