Re: IllegalStateException: There is no database snapshot available...

2009-04-02 Thread Michael Schmiedgen
Please keep messages on the list. arghhh... pressed the wrong button. Yes, thats what I mean. For every page that does data manipulation I use a child editing context. Why a child instead of a peer? To me, using a child seems to be the wrong thing to do. That may well be causing this prob

AjaxAutoComplete and AjaxObserveField

2009-04-02 Thread Ricardo J. Parada
Hi, I have an AjaxAutoComplete. The user types something, the list of matches is displayed, then the user selects from the list and the selected item is entered in to the AjaxAutoComplete text field. Now, when the user tabs out of the AjaxAutoComplete text field I want the value of the

Re: Stopping EOEntityClassDescription.validateObjectForSave from tripping relationships

2009-04-02 Thread Chuck Hill
On Apr 2, 2009, at 2:27 PM, Jeffrey Simpson wrote: Thanks for the quick reply. Your right about not modeling the expensive relationships. I have done some debugging of the whole validateObjectForSave it looks like it is called for every relationship whether it is mandatory or not. Overridi

Re: Stopping EOEntityClassDescription.validateObjectForSave from tripping relationships

2009-04-02 Thread Jeffrey Simpson
Thanks for the quick reply. Your right about not modeling the expensive relationships. I have done some debugging of the whole validateObjectForSave it looks like it is called for every relationship whether it is mandatory or not. Overriding validateValueForKey would not help since the query has

WOResponse and WOLongResponsePage

2009-04-02 Thread Mersida Kurti
Hello, Does anyone know what the wait time is for WOResponse and WOLongResponsePage? I can't seem to find them in the WO docs. Thanks in advance, Mersida ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing

Re: WO Apache Adaptor not seeing my apps

2009-04-02 Thread Mr. Pierre Frisch
Hi Mark, You should force the WOHost on Monitor / wotaskd and each instance or they can become confused. We have a better solution on 5.5 using the localhost but on 5.4 and previous the best approach is to fix the WOHost. Pierre -- Pierre Frisch pie...@apple.com On Apr 2, 2009, at 11:37

Re: WO Apache Adaptor not seeing my apps

2009-04-02 Thread Mark Ritchie
On 2-Apr-09, at 2:44 PM, Mr. Pierre Frisch wrote: You should force the WOHost on Monitor / wotaskd and each instance or they can become confused. We have a better solution on 5.5 using the localhost but on 5.4 and previous the best approach is to fix the WOHost. Thanks Pierre! Perhaps this

Re: WO Apache Adaptor not seeing my apps

2009-04-02 Thread Hugi Thordarson
Ding ding ding, bingo! Chuck takes the cake. I changed the Apache-adaptor configuration to fetch configuration info from the host's real name (rather than "localhost"), and the adaptor magically starts to work. However, on two of my other servers, fetching the configuration from "localhost"

Re: WO Apache Adaptor not seeing my apps

2009-04-02 Thread Chuck Hill
On Apr 2, 2009, at 11:37 AM, Mark Ritchie wrote: On 2-Apr-09, at 2:21 PM, Chuck Hill wrote: I am just using the stock code. Are you deploying your apps with JavaMonitor on your dev machine? Dev mode launches are handled a little differently and might short circuit some of this. But I h

Re: WO Apache Adaptor not seeing my apps

2009-04-02 Thread Mark Ritchie
On 2-Apr-09, at 2:21 PM, Chuck Hill wrote: I am just using the stock code. Are you deploying your apps with JavaMonitor on your dev machine? Dev mode launches are handled a little differently and might short circuit some of this. But I have had intermittent problems in the past if the app

Re: WO Apache Adaptor not seeing my apps

2009-04-02 Thread Chuck Hill
On Apr 2, 2009, at 11:17 AM, Mark Ritchie wrote: On 2-Apr-09, at 1:56 PM, Chuck Hill wrote: Host name mismatch. wotaskd is not running on localhost. Hi Chuck! Is this a restriction of the adaptor code from Project Wonder? I'm running the stock WOAdaptor and I use localhost on my develop

Re: WO Apache Adaptor not seeing my apps

2009-04-02 Thread Mark Ritchie
On 2-Apr-09, at 1:56 PM, Chuck Hill wrote: Host name mismatch. wotaskd is not running on localhost. Hi Chuck! Is this a restriction of the adaptor code from Project Wonder? I'm running the stock WOAdaptor and I use localhost on my development machine all the time and it works just fine

Re: Stopping EOEntityClassDescription.validateObjectForSave from tripping relationships

2009-04-02 Thread Chuck Hill
On Apr 2, 2009, at 7:20 AM, Jeffrey Simpson wrote: When a EO object is saved EOEntityClassDescription.validateObjectForSave will be called on it. This method goes over all the classes properties and relationships where it calls validateValueForKey. Is there a way to stop EOEntityClassDesc

Re: WO Apache Adaptor not seeing my apps

2009-04-02 Thread Chuck Hill
On Apr 2, 2009, at 6:36 AM, Hugi Thordarson wrote: Good morning folks, It's been a while since I've set up a new WO server and I'm getting a bit rusty. Perhaps someone can show me what I'm overlooking... * Everything running on the same machine. * I've got wotaskd running on the machine, a

Re: WO Apache Adaptor not seeing my apps

2009-04-02 Thread Mark Ritchie
On 2-Apr-09, at 10:07 AM, Hugi Thordarson wrote: WebObjectsConfig http://localhost:1085 10 That looks correct however your WOAdaptorInfo page doesn't register the setting. Have you shutdown and restarted Apache to be sure that it's picking up the setting? Also, just 'cause I'm curious, woul

Re: modeling problem

2009-04-02 Thread Tim Worman
Daniel: I have group authorization working. I haven't looked at Chuck's classes yet but I know I am using some methods that Chuck shared for handling LDAP multi-values. To determine group membership I am using PosixGroup.memberUid(). That is a multi-value attribute. The code I'm using con

Re: ERXWORepetition sending null iterator item.

2009-04-02 Thread Dan Grec
Sweet, thanks Chuck! -Dan On 1-Apr-09, at 11:03 PM, Chuck Hill wrote: On Apr 1, 2009, at 7:18 AM, Dan Grec wrote: Greg, We use AjaxTabbedPanelTab very heavily in our apps - we were the ones that pushed Mike & Chuck to add an isVisible binding. So far, we've got two ways we make them be

Re: displayGroup usage?

2009-04-02 Thread Mike Schrag
= "35" /> ms ___ 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%

Stopping EOEntityClassDescription.validateObjectForSave from tripping relationships

2009-04-02 Thread Jeffrey Simpson
When a EO object is saved EOEntityClassDescription.validateObjectForSave will be called on it. This method goes over all the classes properties and relationships where it calls validateValueForKey. Is there a way to stop EOEntityClassDescription from validating relationships? When it validates a

Re: displayGroup usage?

2009-04-02 Thread Q
On 02/04/2009, at 10:43 PM, David Avendasora wrote: Hi Ted, I don't do DisplayGroups, but I think the problem is that since "selectedObject" could be any type, there is no way for the component validator to know that password is valid. In stable, this is the case, in nightly it is not.

Re: WO Apache Adaptor not seeing my apps

2009-04-02 Thread Hugi Thordarson
I'm just using the default port (1085), and the configuration in httpd.conf is set like so: WebObjectsConfig http://localhost:1085 10 And curling "http://localhost:1085"; returns the configuration :-/ Odd... - hugi // Hugi Thordarson // http://hugi.karlmenn.is/ On 2.4.2009, at 13:47, Pasc

Re: WO Apache Adaptor not seeing my apps

2009-04-02 Thread Pascal Robert
Missmatch between the adaptor URL in Monitor vs the apache.conf config for Apache? And check if you are using the correct TCP port and host to talk to wotaskd in apache.conf. Good morning folks, It's been a while since I've set up a new WO server and I'm getting a bit rusty. Perhaps someo

WO Apache Adaptor not seeing my apps

2009-04-02 Thread Hugi Thordarson
Good morning folks, It's been a while since I've set up a new WO server and I'm getting a bit rusty. Perhaps someone can show me what I'm overlooking... * Everything running on the same machine. * I've got wotaskd running on the machine, and the WO module installed. * I ran JavaMonitor manual

Re: displayGroup usage?

2009-04-02 Thread Theodore Petrosky
I switched to using the .wo (no inline binding for these objects) and used your //valid switch. UserNameField: WOTextField { value = userDG.selectedObject.username; //valid size = "35"; } worked like a charm. I don't understand why this same line from a different component thro

Re: WOLips - Can't find Webobjects Frameworks

2009-04-02 Thread Phil Horton
Hi Chuck, Thanks for your earlier response. Now I've had some more time I've tried various options on this - changed the owner and permissions, checked the content of the file, and still can't get Eclipse to find the WO Frameworks. Is there any way that I can check if the properties file

Re: displayGroup usage?

2009-04-02 Thread David Avendasora
Hi Ted, I don't do DisplayGroups, but I think the problem is that since "selectedObject" could be any type, there is no way for the component validator to know that password is valid. I know with non-inline components, you simply add "//valid" after the binding in the .wo file. I'm not su

displayGroup usage?

2009-04-02 Thread Theodore Petrosky
I have started an project to track contacts... It is a very simple concept but I thought I would use it to learn something of displayGroups. Here is how I am using them now: in my .java I create a definition with: public ERXDisplayGroup userDG; and in the constructor: userListEO = ERXEC.newE

Re: Error message [Connection reset by peer: Amount read didn't match content-length]

2009-04-02 Thread Mark Ritchie
On 26-Dec-07, at 9:44 PM, Ren, Kevin wrote: [2007-12-27 15:30:22 NZDT] com.webobjects.foundation.NSForwardException for java.io.IOException: Connection reset by peer: Amount read didn't match content-length Kevin, Are you still having this problem? If so, could you enable WOAdaptor de