Re: Overriding action methods in PageWrapper
On May 27, 2010, at 5:21 PM, Mike Schrag wrote: i think i'd go with something more like a nextpagedelegate, where you would have it in the parent and pass it into the child, and it would encapsulate the shared logic of what to do in response to your action. That is what I was thinking too. The parent needs to own this, the child just gets to talk to it. The parent refers to it when deciding what to do upon save. Father Knows Best. Chuck On May 27, 2010, at 7:17 PM, David Holt wrote: Hi Chuck, I have some very long forms that I display in a scrolling window. The save button is always displayed above the scrolling window as well as at the end of the scrolling content. Normally the save and revert leaves the person on the page and they have to navigate away manually. The client would now like the saves in some pages to navigate automatically to the next page as well as mark that that section of the form had been completed. David On 27-May-10, at 3:54 PM, Chuck Hill wrote: On May 27, 2010, at 3:39 PM, David Holt wrote: Hi all, I have a number of components wrapped in a form with WOSubmitButtons that save and revert and return context().page(). In most cases the method for the submit buttons should come from the wrapper, but in some cases I would like the *wrapped* component to provide the saveChanges() method to the wrapper buttons so I can do some pageflow logic. Is this possible? You want buttons on the wrapper (parent) to call actions on the wrapped components (children)? It might be possible, but it is probably wrong (as in immoral and improper). In WO, parents know that they have children, but not who they are. Children know who their parents are. Tell us what you want to achieve and we can see how that might be done. 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/mschrag%40pobox.com This email sent to msch...@pobox.com -- 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: Overriding action methods in PageWrapper
i think i'd go with something more like a nextpagedelegate, where you would have it in the parent and pass it into the child, and it would encapsulate the shared logic of what to do in response to your action. ms On May 27, 2010, at 7:17 PM, David Holt wrote: > Hi Chuck, > > I have some very long forms that I display in a scrolling window. The save > button is always displayed above the scrolling window as well as at the end > of the scrolling content. Normally the save and revert leaves the person on > the page and they have to navigate away manually. The client would now like > the saves in some pages to navigate automatically to the next page as well as > mark that that section of the form had been completed. > > David > > On 27-May-10, at 3:54 PM, Chuck Hill wrote: > >> >> On May 27, 2010, at 3:39 PM, David Holt wrote: >> >>> Hi all, >>> >>> I have a number of components wrapped in a form with WOSubmitButtons that >>> save and revert and return context().page(). In most cases the method for >>> the submit buttons should come from the wrapper, but in some cases I would >>> like the *wrapped* component to provide the saveChanges() method to the >>> wrapper buttons so I can do some pageflow logic. Is this possible? >> >> >> You want buttons on the wrapper (parent) to call actions on the wrapped >> components (children)? It might be possible, but it is probably wrong (as >> in immoral and improper). In WO, parents know that they have children, but >> not who they are. Children know who their parents are. >> >> Tell us what you want to achieve and we can see how that might be done. >> >> >> 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/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: Overriding action methods in PageWrapper
Hi Chuck, I have some very long forms that I display in a scrolling window. The save button is always displayed above the scrolling window as well as at the end of the scrolling content. Normally the save and revert leaves the person on the page and they have to navigate away manually. The client would now like the saves in some pages to navigate automatically to the next page as well as mark that that section of the form had been completed. David On 27-May-10, at 3:54 PM, Chuck Hill wrote: On May 27, 2010, at 3:39 PM, David Holt wrote: Hi all, I have a number of components wrapped in a form with WOSubmitButtons that save and revert and return context().page(). In most cases the method for the submit buttons should come from the wrapper, but in some cases I would like the *wrapped* component to provide the saveChanges() method to the wrapper buttons so I can do some pageflow logic. Is this possible? You want buttons on the wrapper (parent) to call actions on the wrapped components (children)? It might be possible, but it is probably wrong (as in immoral and improper). In WO, parents know that they have children, but not who they are. Children know who their parents are. Tell us what you want to achieve and we can see how that might be done. 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: Overriding action methods in PageWrapper
On May 27, 2010, at 3:39 PM, David Holt wrote: Hi all, I have a number of components wrapped in a form with WOSubmitButtons that save and revert and return context().page(). In most cases the method for the submit buttons should come from the wrapper, but in some cases I would like the *wrapped* component to provide the saveChanges() method to the wrapper buttons so I can do some pageflow logic. Is this possible? You want buttons on the wrapper (parent) to call actions on the wrapped components (children)? It might be possible, but it is probably wrong (as in immoral and improper). In WO, parents know that they have children, but not who they are. Children know who their parents are. Tell us what you want to achieve and we can see how that might be done. 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
Overriding action methods in PageWrapper
Hi all, I have a number of components wrapped in a form with WOSubmitButtons that save and revert and return context().page(). In most cases the method for the submit buttons should come from the wrapper, but in some cases I would like the *wrapped* component to provide the saveChanges() method to the wrapper buttons so I can do some pageflow logic. Is this possible? David ___ 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
WOLips HTML Editor Code Assist Templates
I am using eclipse version 3.4.2 and WOLips version 3.4.5830. I am trying to add templates to Eclipse -> Preferences -> WOLips -> HTML Editor -> Code Assist -> Templates but when I click the "New" button nothing happens. Is the code completion/template functionality available in WOLips version 3.4.5830? Does any have this working? JR ___ 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: Recording the steps made by an user in an app
On May 27, 2010, at 8:09 AM, Pascal Robert wrote: Le 10-05-27 à 11:01, Chuck Hill a écrit : On May 27, 2010, at 7:26 AM, Pascal Robert wrote: We have a strange problem here where a relation between two EOs get "lost" (eg, the relation is set to null). Since it's a public app, we can't easily find out under which circumstances the problem get in. I enabled logging in the EOs so that I can at least see if the relation is set to null, but that won't tell me where it was set to null. Is it possible that there was supposed to be a DELETE operation instead of an UPDATE? See the attached class. I thought Wonder fixed this. Might be, I will enable EOAdaptorDebugEnabled again to see if it's the case. BTW, this is with WO 5.3.3. That won't show the delete. That will just show the UPDATE. If you add a log message before and after the saveChanges(), you can see if anything gets fetched. Chuck What's the best way to "record" the steps that an user is doing? I guess that I can add log4j calls in all the steps, but I was wondering if an easier solution exists. Pascal Robert prob...@macti.ca AIM: MacTICanada Twitter : MacTICanada LinkedIn : http://www.linkedin.com/in/macti WO Community profile : http://wocommunity.org/page/member?name=probert ___ 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 -- 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: columns being set to null for no apparent reason
On May 26, 2010, at 10:57 AM, Larry Mills-Gahl wrote: Hello, I setup what I think is a pretty simple program to map some external identifier strings to existing data. Two display groups on one page. First display group is the objects (Center) to be edited, the second display group (ExternalCenter) is used to find the right match by searching on the name. One attribute of the Center is all that is being updated. com.webobjects.eoaccess.EOGeneralAdaptorException: EvaluateExpression failed: : Next exception:SQL State:23000 -- error code: 1048 -- msg: Column 'parentCenterFK' cannot be null Reason: EvaluateExpression failed: center SET cmsnum = ?, parentCenterFK = NULL, active = NULL WHERE (centerKey = ? AND active = ? AND cmsnum is NULL AND code = ? AND name = ? AND parentCenterFK = ?)" withBindings: 1:"310001"(cmsProviderNumber), 2:620(centerkey), 3:1(active), 4:"HUMED"(code), 5:"University Medical Center"(name), 6:620(parentcenterfk)>: Next exception:SQL State:23000 -- error code: 1048 -- msg: Column 'parentCenterFK' cannot be null I do not understand why the parentCenterFK is being set to NULL in the SQL That looks odd to me as well. Try overriding setActive() and adding if (newValue == null) NSLog.out.appendln(new RuntimeException("active set to null here"); That will show where the null value is coming from (assuming that it is not coming from a bug in EOAccess). (especially since it looks like it would be set in the bindings). Also, "active" should not be null either. The model and the schema both define these fields as not allowing null. Do updates affecting those fields work OK in other situations? Have you checked the datatype of these two to ensure that it is correct and consistent with the rest of the model? An incorrect external type could possibly cause this. Could this be that in some instances a record is it's own parent (parentCenterFK = centerKey)? That is the only special case that I see here that may be causing the problem (is EO protecting itself against some recursive nightmare?) I'd say that is unlikely. 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: Recording the steps made by an user in an app
Le 10-05-27 à 11:01, Chuck Hill a écrit : On May 27, 2010, at 7:26 AM, Pascal Robert wrote: We have a strange problem here where a relation between two EOs get "lost" (eg, the relation is set to null). Since it's a public app, we can't easily find out under which circumstances the problem get in. I enabled logging in the EOs so that I can at least see if the relation is set to null, but that won't tell me where it was set to null. Is it possible that there was supposed to be a DELETE operation instead of an UPDATE? See the attached class. I thought Wonder fixed this. Might be, I will enable EOAdaptorDebugEnabled again to see if it's the case. BTW, this is with WO 5.3.3. Chuck What's the best way to "record" the steps that an user is doing? I guess that I can add log4j calls in all the steps, but I was wondering if an easier solution exists. Pascal Robert prob...@macti.ca AIM: MacTICanada Twitter : MacTICanada LinkedIn : http://www.linkedin.com/in/macti WO Community profile : http://wocommunity.org/page/member? name=probert ___ 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 Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Debugging EO design smells
On May 27, 2010, at 12:38 AM, Frédéric JECKER wrote: Hi, I'm working on a 10yo woapp that started recently to behave strangely when deleting records : the saveChanges() methods triggered a complete refresh on some huge tables. After searching a while we found that this was caused by to-many relationships which had inverse relationships. We deleted the unwanted reverse relationships which solved most of our cases but we still have similar issues on other parts of our application. Is there a (good) not so bad practice to locate those smells (except parsing each of the 50+ EOModels of the app ?) I don't think so. This usually is found where a lookup EO has a reference back to the main EO. So finding the problem is context specific. 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: Recording the steps made by an user in an app
On May 27, 2010, at 7:26 AM, Pascal Robert wrote: We have a strange problem here where a relation between two EOs get "lost" (eg, the relation is set to null). Since it's a public app, we can't easily find out under which circumstances the problem get in. I enabled logging in the EOs so that I can at least see if the relation is set to null, but that won't tell me where it was set to null. Is it possible that there was supposed to be a DELETE operation instead of an UPDATE? See the attached class. I thought Wonder fixed this. Chuck DeletePrefetcher.java Description: Binary data What's the best way to "record" the steps that an user is doing? I guess that I can add log4j calls in all the steps, but I was wondering if an easier solution exists. Pascal Robert prob...@macti.ca AIM: MacTICanada Twitter : MacTICanada LinkedIn : http://www.linkedin.com/in/macti WO Community profile : http://wocommunity.org/page/member?name=probert ___ 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 Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Fwd: Ajax List Filtering
Hi all, I am trying to create a component that displays a list of people and then lets the user filter this list based on a few criteria (first name, last name, etc.). I haven't been using ajax until very recently, so I'm sorry if this is an easy newbie question. The setup I have is I am observing multiple fields (first name input, last name input) with the same AjaxObserveField component and the AjaxObserveField updates an AjaxUpdateContainer (a repetition with the qualified result list). When I type something in just the last name input, everything works as expected. Same with just the first name input. But if I've typed something in the last name input and then I type something in the first name input, the variable storing the last name in the component gets set to null (via a setter method) and, as a consequence, the results are only qualified using the first name input. I have no idea why the value is getting set to null and I'm hoping someone can shed some light on what's going on and how to fix this issue. I'm using Webobjects 5.4.3 and a version of Project WOnder that is about a month old. Here's the relevant stuff from the component: First Name: Last Name: ... (list of results) FormValuesObserveField : AjaxObserveField { observeFieldFrequency = "0.5"; observeDelay = "0.5"; updateContainerID = "results"; } FirstNameFilterText : WOTextField { value = firstNameFilter; id = "firstNameFilter"; } LastNameFilterText : WOTextField { value = lastNameFilter; id = "lastNameFilter"; } ResultsContainer : AjaxUpdateContainer { id = "results"; } In the java file I have: private String _firstNameFilter; private String _lastNameFilter; private NSArray _filteredArray; public String firstNameFilter() { return _firstNameFilter; } public void setFirstNameFilter(String value) { _firstNameFilter = value; _filteredArray = null; } public String lastNameFilter() { return _lastNameFilter; } public void setLastNameFilter(String value) { _lastNameFilter = value; _filteredArray = null; } public NSArray allClientsAfterFilter() { if (_filteredArray == null) { EOQualifier lastNameQual = null; if (_lastNameFilter != null) { lastNameQual = ERXQ.likeInsensitive("personInfo.lastName", _lastNameFilter + "*"); } else { lastNameQual = ERXQ.likeInsensitive("personInfo.lastName", "*"); } EOQualifier firstNameQual = null; if (_firstNameFilter != null) { firstNameQual = ERXQ.likeInsensitive("personInfo.firstName", _firstNameFilter + "*"); } else { firstNameQual = ERXQ.likeInsensitive("personInfo.firstName", "*"); } EOQualifier qual = ERXQ.and(lastNameQual, firstNameQual); _filteredArray = EOSortOrdering.sortedArrayUsingKeyOrderArray(EOQualifier.filteredArrayWithQualifier(allClients(), qual), null); } return _filteredArray; } Thanks for any help on this. Regards, Joe Kramer CyberApps, Inc. ___ 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: Recording the steps made by an user in an app
On May 27, 2010, at 7:42 AM, Pascal Robert wrote: Le 10-05-27 à 10:32, Mark Ritchie a écrit : On 27/May/2010, at 7:26 AM, Pascal Robert wrote: What's the best way to "record" the steps that an user is doing? I guess that I can add log4j calls in all the steps, but I was wondering if an easier solution exists. How many concurrent users are we talking about? Based on recent usage, sometimes we have up to 5 concurrent users. I hope you are running that a new 8 core Xserve! :-P I would use WORecordingPath however it interleaves concurrent sessions so it's a little hard to deal with multiple users. For a long time I've wanted something that would do this at the woadaptor level however haven't quite got around to setting that up! ;-) M. ___ 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 Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Recording the steps made by an user in an app
Le 10-05-27 à 10:33, George Domurot a écrit : This might produce excessive logging for a bit, but can't you print a stack trace each time the change is made (or when it becomes null)? At least you would see exactly where in your code the call is coming from. NSLog.out.appendln(new RuntimeException("changed value...")); That shouldn't generate too much logging so I will try this out. -G On May 27, 2010, at 7:26 AM, Pascal Robert wrote: We have a strange problem here where a relation between two EOs get "lost" (eg, the relation is set to null). Since it's a public app, we can't easily find out under which circumstances the problem get in. I enabled logging in the EOs so that I can at least see if the relation is set to null, but that won't tell me where it was set to null. What's the best way to "record" the steps that an user is doing? I guess that I can add log4j calls in all the steps, but I was wondering if an easier solution exists. Pascal Robert prob...@macti.ca AIM: MacTICanada Twitter : MacTICanada LinkedIn : http://www.linkedin.com/in/macti WO Community profile : http://wocommunity.org/page/member? name=probert ___ 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/george%40boxofficetickets.com This email sent to geo...@boxofficetickets.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: Recording the steps made by an user in an app
There's stuff in ERXSession that does this. Search for ERXActionLogging in the Wonder source. I think the trick was to override session.appendToReponse to log objectForKey("ERXActionLogging") and context.page.name. Cheers, Anjo Am 27.05.2010 um 16:26 schrieb Pascal Robert: > We have a strange problem here where a relation between two EOs get "lost" > (eg, the relation is set to null). Since it's a public app, we can't easily > find out under which circumstances the problem get in. I enabled logging in > the EOs so that I can at least see if the relation is set to null, but that > won't tell me where it was set to null. > > What's the best way to "record" the steps that an user is doing? I guess that > I can add log4j calls in all the steps, but I was wondering if an easier > solution exists. > > > Pascal Robert > prob...@macti.ca > > AIM: MacTICanada > Twitter : MacTICanada > LinkedIn : http://www.linkedin.com/in/macti > WO Community profile : http://wocommunity.org/page/member?name=probert > > ___ > 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/anjo%40krank.net > > This email sent to a...@krank.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: Recording the steps made by an user in an app
Le 10-05-27 à 10:32, Mark Ritchie a écrit : On 27/May/2010, at 7:26 AM, Pascal Robert wrote: What's the best way to "record" the steps that an user is doing? I guess that I can add log4j calls in all the steps, but I was wondering if an easier solution exists. How many concurrent users are we talking about? Based on recent usage, sometimes we have up to 5 concurrent users. I would use WORecordingPath however it interleaves concurrent sessions so it's a little hard to deal with multiple users. For a long time I've wanted something that would do this at the woadaptor level however haven't quite got around to setting that up! ;-) M. ___ 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: Recording the steps made by an user in an app
This might produce excessive logging for a bit, but can't you print a stack trace each time the change is made (or when it becomes null)? At least you would see exactly where in your code the call is coming from. NSLog.out.appendln(new RuntimeException("changed value...")); -G On May 27, 2010, at 7:26 AM, Pascal Robert wrote: > We have a strange problem here where a relation between two EOs get "lost" > (eg, the relation is set to null). Since it's a public app, we can't easily > find out under which circumstances the problem get in. I enabled logging in > the EOs so that I can at least see if the relation is set to null, but that > won't tell me where it was set to null. > > What's the best way to "record" the steps that an user is doing? I guess that > I can add log4j calls in all the steps, but I was wondering if an easier > solution exists. > > > Pascal Robert > prob...@macti.ca > > AIM: MacTICanada > Twitter : MacTICanada > LinkedIn : http://www.linkedin.com/in/macti > WO Community profile : http://wocommunity.org/page/member?name=probert > > ___ > 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/george%40boxofficetickets.com > > This email sent to geo...@boxofficetickets.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: Recording the steps made by an user in an app
On 27/May/2010, at 7:26 AM, Pascal Robert wrote: > What's the best way to "record" the steps that an user is doing? I guess that > I can add log4j calls in all the steps, but I was wondering if an easier > solution exists. How many concurrent users are we talking about? I would use WORecordingPath however it interleaves concurrent sessions so it's a little hard to deal with multiple users. For a long time I've wanted something that would do this at the woadaptor level however haven't quite got around to setting that up! ;-) M. ___ 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: Recording the steps made by an user in an app
On May 27, 2010, at 7:26 AM, Pascal Robert wrote: We have a strange problem here where a relation between two EOs get "lost" (eg, the relation is set to null). Since it's a public app, we can't easily find out under which circumstances the problem get in. I enabled logging in the EOs so that I can at least see if the relation is set to null, but that won't tell me where it was set to null. You could log a stack trace when it is null. That will show you where it originated, but not why it happened. What's the best way to "record" the steps that an user is doing? I guess that I can add log4j calls in all the steps, but I was wondering if an easier solution exists. I can't think of one for this situation. 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
Recording the steps made by an user in an app
We have a strange problem here where a relation between two EOs get "lost" (eg, the relation is set to null). Since it's a public app, we can't easily find out under which circumstances the problem get in. I enabled logging in the EOs so that I can at least see if the relation is set to null, but that won't tell me where it was set to null. What's the best way to "record" the steps that an user is doing? I guess that I can add log4j calls in all the steps, but I was wondering if an easier solution exists. Pascal Robert prob...@macti.ca AIM: MacTICanada Twitter : MacTICanada LinkedIn : http://www.linkedin.com/in/macti WO Community profile : http://wocommunity.org/page/member?name=probert ___ 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: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)
On 27/May/2010, at 5:09 AM, David LeBer wrote: > Tommy's night is usually Wednesday right? > Maybe a WO contingent meetup there? I think that there were 3 runs last year! ;-) I'm sure that we can figure something out! M. ___ 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: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)
I'll be there along with a co-worker. Seeing more WO people is always good. See ya, John ___ 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: [OT] Yay Apple!
Yay! Maybe this means they're finally able to afford to promote WO :D http://www.asp.net/ - hugi On 27.5.2010, at 11:36, Ramsey Lee Gurley wrote: > Our favorite fruit company just surpassed Microsoft and is now the second > largest company in the US behind Exxon-Mobil (^_^) > > http://www.nytimes.com/2010/05/27/technology/27apple.html?hp > > Congratulations to everyone at Apple! > > 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: > http://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is > > This email sent to h...@karlmenn.is ___ 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: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)
HI guys I'll be there, and look forward to seeing you all again. It's been a few years. Chuck I'll miss seeing you! ciao mich --- Michelle Parker Web Objectives Pty Ltd 33 Ridge St Gordon, NSW, 2072 Australia Phone: (02) 9499 3166 Fax: (02) 9499 3166 Mobile : 0412 064 123 m...@webobjectives.com.au --- On 27/05/2010, at 10:09 PM, David LeBer wrote: > > On 2010-05-27, at 1:23 AM, Mark Ritchie wrote: > >> T's sooo good!! ;-) >> You really should come along! > > Tommy's night is usually Wednesday right? > > Maybe a WO contingent meetup there? > >> >> Sent from my iPhone >> >> On 2010-05-26, at 21:31, Chuck Hill wrote: >> >>> Alex Cone... Tequila... Tommy's... >>> >>> I've never attended, but the thought sets my liver aquiver. >>> >>> Good luck! >>> >>> >>> On May 26, 2010, at 9:02 PM, George Domurot wrote: >>> Two geeks from out team will be there too ... more tequila shots this year? -G On May 26, 2010, at 6:18 PM, David LeBer wrote: > On 2010-05-26, at 8:55 PM, Chuck Hill wrote: > >> >> On May 26, 2010, at 5:53 PM, Mark Ritchie wrote: >> > See you about town! ;-) Are you up here enjoying the cold, wet summer? >>> >>> Nope, I was more thinking at the previously arranged pub meet in San >>> Francisco in a week! ;-) >> >> Sadly, I won't be at WWDC this year. My house is getting renovated and >> I want to keep an eye on it. Will you be at WOWODC? >> >> >> Chuck > > I'm hijacking this thread (well, kinda, I created a new email) to ask > about list member attendance at WWDC. > > I'll be there, Chuck won't, and I'm sure there are lots of you who would > find little of interest, but how many does that leave? > > Can I get a show of hands? Are there enough to plan anything? > > ;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/george%40boxofficetickets.com > > This email sent to geo...@boxofficetickets.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/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 Subscription: >>> http://lists.apple.com/mailman/options/webobjects-dev/mark.ritchie%40mac.com >>> >>> This email sent to mark.ritc...@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/dleber_wodev%40codeferous.com >> >> This email sent to dleber_wo...@codeferous.com > > ;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/mich%40webobjectives.com.au > > This email sent to m...@webobjectives.com.au ___ Do not post
Re: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)
Can I get a show of hands? Are there enough to plan anything? +1 Boris ___ 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: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)
On 2010-05-27, at 1:23 AM, Mark Ritchie wrote: > T's sooo good!! ;-) > You really should come along! Tommy's night is usually Wednesday right? Maybe a WO contingent meetup there? > > Sent from my iPhone > > On 2010-05-26, at 21:31, Chuck Hill wrote: > >> Alex Cone... Tequila... Tommy's... >> >> I've never attended, but the thought sets my liver aquiver. >> >> Good luck! >> >> >> On May 26, 2010, at 9:02 PM, George Domurot wrote: >> >>> Two geeks from out team will be there too ... more tequila shots this year? >>> >>> -G >>> >>> On May 26, 2010, at 6:18 PM, David LeBer wrote: >>> On 2010-05-26, at 8:55 PM, Chuck Hill wrote: > > On May 26, 2010, at 5:53 PM, Mark Ritchie wrote: > See you about town! ;-) >>> Are you up here enjoying the cold, wet summer? >> >> Nope, I was more thinking at the previously arranged pub meet in San >> Francisco in a week! ;-) > > Sadly, I won't be at WWDC this year. My house is getting renovated and I > want to keep an eye on it. Will you be at WOWODC? > > > Chuck I'm hijacking this thread (well, kinda, I created a new email) to ask about list member attendance at WWDC. I'll be there, Chuck won't, and I'm sure there are lots of you who would find little of interest, but how many does that leave? Can I get a show of hands? Are there enough to plan anything? ;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/george%40boxofficetickets.com This email sent to geo...@boxofficetickets.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/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 Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/mark.ritchie%40mac.com >> >> This email sent to mark.ritc...@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/dleber_wodev%40codeferous.com > > This email sent to dleber_wo...@codeferous.com ;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
[OT] Yay Apple!
Our favorite fruit company just surpassed Microsoft and is now the second largest company in the US behind Exxon-Mobil (^_^) http://www.nytimes.com/2010/05/27/technology/27apple.html?hp Congratulations to everyone at Apple! Ramsey 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
Debugging EO design smells
Hi, I'm working on a 10yo woapp that started recently to behave strangely when deleting records : the saveChanges() methods triggered a complete refresh on some huge tables. After searching a while we found that this was caused by to-many relationships which had inverse relationships. We deleted the unwanted reverse relationships which solved most of our cases but we still have similar issues on other parts of our application. Is there a (good) not so bad practice to locate those smells (except parsing each of the 50+ EOModels of the app ?) Thanks Fred ___ 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: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)
Hi! I'll skip WWDC this year. You people behave! ;) Yours Miguel Arroz On 2010/05/27, at 02:18, David LeBer wrote: > On 2010-05-26, at 8:55 PM, Chuck Hill wrote: > >> >> On May 26, 2010, at 5:53 PM, Mark Ritchie wrote: >> > See you about town! ;-) Are you up here enjoying the cold, wet summer? >>> >>> Nope, I was more thinking at the previously arranged pub meet in San >>> Francisco in a week! ;-) >> >> Sadly, I won't be at WWDC this year. My house is getting renovated and I >> want to keep an eye on it. Will you be at WOWODC? >> >> >> Chuck > > I'm hijacking this thread (well, kinda, I created a new email) to ask about > list member attendance at WWDC. > > I'll be there, Chuck won't, and I'm sure there are lots of you who would find > little of interest, but how many does that leave? > > Can I get a show of hands? Are there enough to plan anything? > > ;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/arroz%40guiamac.com > > This email sent to ar...@guiamac.com 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: WWDC? (Was: Snow Leopard, Apache 2.2, Skewed Load Balancing?)
I'll be there. Even though I am not doing any WO work these days, wouldn't mind having a beer with the WO folks ;-) Andrus On May 27, 2010, at 4:18 AM, David LeBer wrote: Sadly, I won't be at WWDC this year. My house is getting renovated and I want to keep an eye on it. Will you be at WOWODC? Chuck I'm hijacking this thread (well, kinda, I created a new email) to ask about list member attendance at WWDC. I'll be there, Chuck won't, and I'm sure there are lots of you who would find little of interest, but how many does that leave? Can I get a show of hands? Are there enough to plan anything? ;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/andrus%40objectstyle.org This email sent to and...@objectstyle.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