Re: WebObjects Foundation

2006-08-18 Thread womail
On Aug 17, 2006, at 10:12 AM, Chuck Hill wrote: On Aug 16, 2006, at 11:15 PM, [EMAIL PROTECTED] wrote: herding cats Like this: http://video.google.com/videoplay? docid=7635587316493151891 Yes, exactly! As far as I'm concerned that is the Best. Superbowl. Ad. Ever. Except for one s

Re: RE Little starter help with instance and action of a WOConponent

2006-08-18 Thread John Larson
Jeremy,This thread should restart here.  To remove any potential for error, redifine your aPerson field public and try again.  If this doesn't work, then please post the code for the field.  KeyValueCoding will search for public fields, then public accessor methods, then protected fields, then prot

Re: EOAndQualifier on child entity property

2006-08-18 Thread Chuck Hill
I can see any problems in the code. My three suggestions: 1. Check your model to ensure that all of attributes have names and column names 2. Try using another one like InSetQualifier. Not sure if that will work here, but I have had problems where one of these qualifiers would not work,

Re: Going mad with using framework

2006-08-18 Thread RedBugz Software
On 8/18/06, Yann Bizeul <[EMAIL PROTECTED]> wrote: Hi list,I'm trying to install QualifierAdditions.framework.After installing eclipse because I did not find a way to compile itwith xcode, I did "Install Framework" in eclipse. So far, so well, the framework seem to be instal

Re: EOAndQualifier on child entity property

2006-08-18 Thread Art Isbell
On Aug 18, 2006, at 11:38 AM, Yann Bizeul wrote: SELECT t1.id FROM Location t1, LocationTag t2, Tag t3 WHERE t1.id = t2.locationId AND t2.tagId = t3.id AND (t3.tag = "tag1" OR t3.tag = "tag2") GROUP BY t1.id HAVING COUNT(t1.id) = 2 Is there a way to "map" that query so that it fits in a EOQ

Re: EOAndQualifier on child entity property

2006-08-18 Thread Yann Bizeul
This makes me wonder whether you have modeled the Location <<->> Tag relationship correctly. Using EOModeler's join in many-to-many relationship functionality, you should end up with: Location <->> LocationTag <<-> Tag EOModeler will flatten the Location.locationTags and LocationTag.ta

Re: EOAndQualifier on child entity property

2006-08-18 Thread Art Isbell
On Aug 18, 2006, at 9:29 AM, Yann Bizeul wrote: public Main doFind() { Main nextPage = (Main)pageWithName("Main"); NSArray tags = NSArray.componentsSeparatedByString(tag," "); NSMutableArray tagsQualifiers = new NSMutableArray(); int i; f

Re: D2W Problem

2006-08-18 Thread Dustin Withers
Robert, Woops!  That did it (the diamond right).  I guess that generates classes for each attribute?Thanks,-dustinOn Aug 18, 2006, at 3:40 PM, Robert Walker wrote:Dustin,You aren't using inheritance by chance are you?From:http://developer.apple.com/documentation/WebObjects/UsingEOModeler/4WorkingWi

Re: D2W Problem

2006-08-18 Thread Robert Walker
Dustin,You aren't using inheritance by chance are you?From:http://developer.apple.com/documentation/WebObjects/UsingEOModeler/4WorkingWithAttributes/chapter_4_section_3.html#//apple_ref/doc/uid/TP30001018-CH204-BABBEBAIAllows NullBy default, attributes you add to entities allow null values, except

D2W Problem

2006-08-18 Thread Dustin Withers
Hello All, So I have a foreign key that does not allow nulls and the relationship to the primary is Mandatory. When I run the direct to web app and create a new record D2W comes back telling me that the foreign key does not allow nulls and will not save the record. If I allow nulls on

Re: EOAndQualifier on child entity property

2006-08-18 Thread Yann Bizeul
A safer bet is to use some extensions to WO. See Pierre Bernards excellent qualifier extensions at http://www.bernard-web.com/pierre/webobjects/code.html I tried that with the following code : public Main doFind() { Main nextPage = (Main)pageWithName("Main"); NSArra

Re: EOAndQualifier on child entity property

2006-08-18 Thread Yann Bizeul
EOQualifier q = EOQualifier.qualifierWithQualifierFormat ("myAttribute CONTAINS %s AND myAttribute CONTAINS %s", new NSArray (new Object[] {tag1, tag2})); If this is equivalent to using a EOAndQualifier to join two "CONTAINS" statements, then yes, I did try and it gives the same result Thanks

Re: EOAndQualifier on child entity property

2006-08-18 Thread Yann Bizeul
Hi, thanks for the answer, I don't see what I can do with a IN() statement, because I know there ar lot of objects having ANY tags the user requested, but I want to get all objects having ALL tags the user requested :-/ Regards, Yann Bizeul • yann at tynsoe.org Cocoa Developer Tynsoe Pro

Re: WWDC Videos?

2006-08-18 Thread Pascal Robert
Le 06-08-18, à 14:17, Mark Ritchie a écrit : On 18-Aug-06, at 2:09 PM, Pascal Robert wrote: 3 months even for people that actually went to WWDC ? :-/ 2 or 3 years ago, sessions from earlier in the week were made available to attendees later in the same week of WWDC. When someone else ment

Re: WWDC Videos?

2006-08-18 Thread Mark Ritchie
On 18-Aug-06, at 2:09 PM, Pascal Robert wrote: 3 months even for people that actually went to WWDC ? :-/ 2 or 3 years ago, sessions from earlier in the week were made available to attendees later in the same week of WWDC. When someone else mentioned a session that you missed, it was handy

Re: WWDC Videos?

2006-08-18 Thread Pascal Robert
3 months even for people that actually went to WWDC ? :-/ Last year, Apple Developer Connection members had to wait ~3 months to watch the videos. I don't know what this year's schedule is. If we posted the videos immediately after the conference, I'd imagine ticket sales would decline. --

Re: WWDC Videos?

2006-08-18 Thread Ken Anderson
If we didn't go, how would we have had the pleasure of meeting you? :) Ken On Aug 18, 2006, at 1:48 PM, Cliff Tuel wrote: Last year, Apple Developer Connection members had to wait ~3 months to watch the videos. I don't know what this year's schedule is. If we posted the videos immediatel

Re: WWDC Videos?

2006-08-18 Thread Cliff Tuel
Last year, Apple Developer Connection members had to wait ~3 months to watch the videos. I don't know what this year's schedule is. If we posted the videos immediately after the conference, I'd imagine ticket sales would decline. -- Cliff Tuel . http://apple.com/services/technicalsupport ___

Re: Newbie : help to customize an D2W freeze component

2006-08-18 Thread Chuck Hill
Do you call deleteObject() anywhere in your code? forgetObject()? It seems to be trying to delete an ExtraitTitre. How does that relate to your upload? Chuck On Aug 18, 2006, at 5:54 AM, Gilles MATHURIN wrote: Hello all i freeze an edit page in order to allow the upload of a media r

Re: RE Little starter help with instance and action of a WOConponent

2006-08-18 Thread jeremy . deroyer
Ok, it's friday afternoon, I will go back home soon... (;-( Jérémy P.S. : but I will have learned lot of things today ! Paul Lynch <[EMAIL PROTECTED]> 18/08/2006 18:51 A [EMAIL PROTECTED] cc Webobjects <[EMAIL PROTECTED]>, webobjects-dev Objet Re: RE Little starter help with inst

Re: RE Little starter help with instance and action of a WOConponent

2006-08-18 Thread Mark Morris
Hello Richard,WO components can access instance variables just as well as set/get methods, so that's not the issue.  (They don't even need to be public.)  Perhaps your Main.java has the wrong target, or some other similar scenario.  Because although you are seeing them in the source code, they're n

Re: RE Little starter help with instance and action of a WOConponent

2006-08-18 Thread Paul Lynch
On 18 Aug 2006, at 16:58, [EMAIL PROTECTED] wrote: It's the problem. WebObjects don't acces directly the instance variable but the getter and setter methods. Just look at the error message that explains you webobjects try to find the right method . This isn't correct. WebObjects can acces

Re: whywebobjects.org - WWDC followup [and URLs]

2006-08-18 Thread Sam Barnum
I like it but it's a little long... how about: WayToWo (or Way2WO) MoWo! Forget about cowbell, what it really needs is some mo' wo -Sam On Aug 17, 2006, at 10:48 AM, lbland wrote: On Aug 16, 2006, at 3:33 PM, Pascal Robert wrote: That's a good name :-) Or maybe "WebObjects' Not Rails" o

RE Found the problem Project Target Setting

2006-08-18 Thread jeremy . deroyer
I use the Application Server target for all except the pure "web resources" like images that are targeted in the "Web Server" target. For the frameworks, webobjects rather like "Web Server" target because it put them directly when creating new projects. Jérémy Webobjects <[EMAIL PROTECTED]

Re: RE Little starter help with instance and action of a WOConponent

2006-08-18 Thread jeremy . deroyer
It's the problem. WebObjects don't acces directly the instance variable but the getter and setter methods. Just look at the error message that explains you webobjects try to find the right method . > not have an instance variable of the name aPerson or _aPerson, nor a > method of the name

Little starter help with instance and action of a WOConponent

2006-08-18 Thread Webobjects
Hello, I have been away from WO for sometime and I picked it up again today. I am having a problem that any instance variable or method I add using WOBuilder to my Main component can not be found during runtime, but I see the method and instance code add to main.java . Note that the access lev

Re: RE Little starter help with instance and action of a WOConponent

2006-08-18 Thread Webobjects
Hello, The instance variable in Main.java aPerson is has access level of pubilc and the method addPerson is also public. The class Person is a public also, so think this may not be the problem. Richard On Aug 18, 2006 11:42 AM, [EMAIL PROTECTED] wrote: > It seems that you did forget the getter

RE Little starter help with instance and action of a WOConponent

2006-08-18 Thread jeremy . deroyer
It seems that you did forget the getters and setters that need public acces. Jérémy Webobjects <[EMAIL PROTECTED]> Envoyé par : [EMAIL PROTECTED] 18/08/2006 16:51 A [EMAIL PROTECTED] cc Objet Little starter help with instance and action of a WOConponen

Re: Validation Exception

2006-08-18 Thread Marcos Trejo Munguia
Hi Chuck, First of all, thanks for your reply! I really appreciate your help. I'll try to be more specific, I think I'm confusing you, so here I go. I'm using MultiECLockManager to handle the locking/unlocking of my own editing contexts. The code that inserts InventoryTransDetail's to the ec an

[SOLVED] WOHTTPConnection and broken pipe

2006-08-18 Thread jeremy . deroyer
I've solved the problem : "just" need to setAllowsConcurrentRequestHandling(true) in the WOApplication... Jérémy __ Hi All, Does anyone succeded in using WOHTTPConnection in WO5.3 ? Indeed, I'm migrating an app developed with WO5.1 that contains the following code : WOHTTPCo

Re: Re: EOAndQualifier on child entity property

2006-08-18 Thread John Huss
I'd use ERXInQualifier in Project Wonder to get something like: WHERE tag1 IN ('tag1', 'tag2') John ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Upd

Re: Schema Synchronization "magic"

2006-08-18 Thread John Huss
I haven't gotten Synchronize Schema to work with Firebird, but it does generate schema for tables when you create a new model. You might be able to create a new model and then copy the parts you need, or you could look to see how the new model part works and try to use the same logic to really sy

WOHTTPConnection and broken pipe

2006-08-18 Thread jeremy . deroyer
Hi All, Does anyone succeded in using WOHTTPConnection in WO5.3 ? Indeed, I'm migrating an app developed with WO5.1 that contains the following code : WOHTTPConnection myConnection != new WOHTTPConnection("localhost", Application.application().port()); myConnection.sendRequest(new WORequest("GE

Newbie : need help to customize an D2W freeze component

2006-08-18 Thread Gilles MATHURIN
Here is the exception description in Safari : Harmonyka-D2W Error: java.lang.IllegalStateException: recordDeleteForObject: com.webobjects.eoaccess.EODatabaseContext [EMAIL PROTECTED] failed to find a snapshot for EO with Global ID:_EOIntegralKeyGlobalID[ExtraitTitre (java.lang.Long)1] tha

Re: Many questions about SCM and svn in XCode

2006-08-18 Thread Niels Meersschaert
Benoit, I believe refresh simply checks to see whether the local resource is in sync with the repository so that it can update the needs update display. Update actually brings it into sync. The out of date message means your local copy isn't updated before making the merge. I.E. your lo

Newbie : help to customize an D2W freeze component

2006-08-18 Thread Gilles MATHURIN
Hello all i freeze an edit page in order to allow the upload of a media resource in my database by a WOFileUpload. I first went in a too complicated way, so i rethink how i could do that with the help of Chuck and R.Walker. So what i did, is simply freeze the edit page and include an WOFi

Many questions about SCM and svn in XCode

2006-08-18 Thread benoit cantin
Hello, I use SCM in XCode with svn, but it is not always as simple as I would like it to be. First of all, what is the difference between options "update entire project" and "refresh entire project" ? Many times, I got this kind of error "svn: Out of date: 'test.eomodeld/test.plist' in tra

[Job opportunity] Developer wanted in Düsse ldorf, Germany

2006-08-18 Thread Jan Grathwohl
Hello everybody, Kontrast Communication Services in Düsseldorf, Germany is again looking for a Java/WO developer. Kontrast is a full service agency with currently about 70 employess, and is also doing advertising and prepress work. Our web/online unit does web application development for customer

WWDC Videos?

2006-08-18 Thread Aaron Rosenzweig
Hi WOFriends,Does anyone know where to find the DVD or downloadable developer TV versions of WebObjects sessions from the recent WWDC? I tried poking around but didn't see any mention of them. I'd like to see the talk about Web 2.0/Ajax.Anyone know if the videos are planned for this year's conferen

Going mad with using framework

2006-08-18 Thread Yann Bizeul
Hi list, I'm trying to install QualifierAdditions.framework. After installing eclipse because I did not find a way to compile it with xcode, I did "Install Framework" in eclipse. So far, so well, the framework seem to be installed in /Library/ Frameworks and I have a .jar into the Ja

Re: EOAndQualifier on child entity property

2006-08-18 Thread Alexander Spohr
Am 18.08.2006 um 01:47 schrieb Sacha Michel Mallais: On Aug 17, 2006, at 4:04 PM, Yann Bizeul wrote: Say an entity MyEntity, having a many-to-many relationship with a Tag entity, the purpose of that is tagging MyEntity with one or more keywords (tags) Now I want to get all MyEntity havin