Re: qualifier with (NULL or joined value)?

2016-04-26 Thread Chuck Hill
It is a database thing, you need to model the relationship as an outer join. Chuck On 2016-04-26, 9:45 AM, "webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of OC" wrote: >Hi there, > >I would need to fetch objects with qualifier > >=== >EOQualifier.qualifierWithQualifi

qualifier with (NULL or joined value)?

2016-04-26 Thread OC
Hi there, I would need to fetch objects with qualifier === EOQualifier.qualifierWithQualifierFormat("owner.userType = %@ OR owner = NULL",new NSArray(pc.userType)) === where "owner" is a :1 relationship based on C_OWNER_ID foreign key. That, alas, does not work at all. It generates a SQL ===

Re: 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

2016-04-26 Thread Raymond NANEON
Hi Samuel, I found the problem. Another Dev created a WOCOmponent and called it AjaxResponse. So sometime, er.ajax.Ajaxresponse is called in stead of the component AjaxResponse. I go to try to fix and make some tests. Thanks Envoyé depuis iCloud Le 26 avril 2016 à 14:37, Samuel Pelletier a

Re: 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

2016-04-26 Thread Raymond NANEON
I want to be a more litlle clear. My component "ListeModelesMailsColloque" embeds AjaxResponse, it look like :         Vous devez specifier un utilisateur!      ... in .wod ajaxErrorResponse : AjaxResponse {     error = true; } ajaxResponse : AjaxResponse {   error = false; } I don'

Re: 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

2016-04-26 Thread Samuel Pelletier
Raymond, I suspect an error in a component definition (in the html or wod) you have a reference to AjaxResponse. I would try to do a text search of "AjaxResponse" in your project, you may have some unexpected results. Samuel > Le 26 avr. 2016 à 03:51, Raymond NANEON a écrit : > > Hi Samuel

Re: 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

2016-04-26 Thread Raymond NANEON
Hi Samuel, I changed my classes names to ColAjaxAction extends ERXDirectAction and ColAjaxResponse extends myAjaxComponent which extends WOComponent. So no refrences of AjaxFramework classes but I still get the same exception. Here is entire stack : [code] avr. 26 09:39:07 Colloque[50889]