Re: Cheat: Run EOModeler on Leopard

2008-01-14 Thread Joe Moreno
Mike and Pierre, Thanks for pointing out the Relationship Wizard – that's a huge help. Now, I only need to use EOModeler 4.5.1 to view (read only) the models graphically (in diagram mode) and occasional data browsing. Thanks for all the support, Joe On Jan 14, 2008, at 09:10:12, M

Re: "server_port" header is always "0"

2008-01-14 Thread Chuck Hill
Check the other headers, it might be there under a new name. Chuck On Jan 14, 2008, at 10:33 AM, James Brook wrote: No matter what I do, my application always reports that the value of the "server_port" header is "0". I am running WebObjects 5.3 on Leopard, with the latest version of Wonde

Re: Help on running without DirectConnect

2008-01-14 Thread Chuck Hill
On Jan 14, 2008, at 3:13 PM, William Hatch wrote: On Jan 14, 2008, at 5:14 PM, Guido Neitzer wrote: On 14.01.2008, at 14:59, William Hatch wrote: Yes. I restarted apache again to make sure, but still the same results. Why would SiteConfig list the app, but not be able to connect to it (

Re: [SOLVED] JavaEOGenerator generates no files...

2008-01-14 Thread Gaastra Dennis - WO Lists
Solved, Thanks to Art's updated version and Jake's + other's command line help. :-) With Kind Regards, Dennis Gaastra, On 14-Jan-08, at 3:05 PM, Jake MacMullin wrote: Dennis, I had the same problem. I downloaded the JavaEOGenerator from the Apple web site (http://developer.apple.com/sa

Re: Help on running without DirectConnect

2008-01-14 Thread William Hatch
On Jan 14, 2008, at 5:14 PM, Guido Neitzer wrote: On 14.01.2008, at 14:59, William Hatch wrote: Yes. I restarted apache again to make sure, but still the same results. Why would SiteConfig list the app, but not be able to connect to it (find it), and why is the initial URL showing up lik

Re: JavaEOGenerator generates no files...

2008-01-14 Thread Jake MacMullin
Dennis, I had the same problem. I downloaded the JavaEOGenerator from the Apple web site (http://developer.apple.com/samplecode/JavaEOGenerator/index.html ). It compiled and ran fine - but failed to produce any files. Stepping through the source code in the debugger - I figured out what th

Libraries for tables contain hierarchical data?

2008-01-14 Thread Chris Meyer
Are there any EO-based libraries for managing tables with hierarchical data? The data might be represented with either an adjacency model or the nested set model depending on what libraries are available. ___ Do not post admin requests to the list. They

Re: Help on running without DirectConnect

2008-01-14 Thread Guido Neitzer
On 14.01.2008, at 14:59, William Hatch wrote: Yes. I restarted apache again to make sure, but still the same results. Why would SiteConfig list the app, but not be able to connect to it (find it), and why is the initial URL showing up like a DirectConnect URL? Thanks Guido. I was wonderin

Re: Help on running without DirectConnect

2008-01-14 Thread William Hatch
Bill Hatch Macaulay Library 4-2116 On Jan 14, 2008, at 4:44 PM, Guido Neitzer wrote: On 14.01.2008, at 14:22, William Hatch wrote: And, when typing in this URL as you suggested: http://127.0.0.1/ cgi-bin/WebObjects/myApp.woa/-5 I get the dreaded "The requested application was not fou

Re: Help on running without DirectConnect

2008-01-14 Thread Guido Neitzer
On 14.01.2008, at 14:22, William Hatch wrote: And, when typing in this URL as you suggested: http://127.0.0.1/cgi-bin/WebObjects/myApp.woa/-5 I get the dreaded "The requested application was not found on this server." message. But, I can hit the wotaskd config using http://localhost:1085

Re: Help on running without DirectConnect

2008-01-14 Thread William Hatch
Thanks Art. Bill On Jan 14, 2008, at 4:11 PM, Art Isbell wrote: On Jan 14, 2008, at 10:58 AM, William Hatch wrote: In Eclipse, I've disabled WODirectConnectEnabled, and modified WOAdaptorURL to http://localhost/cgi-bin/WebObjects, set WOPort 5, and WOHost localhost. I'm able to get t

Re: Help on running without DirectConnect

2008-01-14 Thread Art Isbell
On Jan 14, 2008, at 10:58 AM, William Hatch wrote: In Eclipse, I've disabled WODirectConnectEnabled, and modified WOAdaptorURL to http://localhost/cgi-bin/WebObjects, set WOPort 5, and WOHost localhost. I'm able to get the wotaskd configuration when hitting http://localhost:1085, and th

Re: Help on running without DirectConnect

2008-01-14 Thread William Hatch
I meant to append this to the earlier post: When the app launches, I get this line in the console: Opening application's URL in browser: http://localhost/cgi-bin/WebObjects/myApp.woa/-5 which would appear to be correct for straight apache configuration, however, the url the browser has

Help on running without DirectConnect

2008-01-14 Thread William Hatch
Configuring a new dev machine to use apache instead of direct connect; Tiger and 5.3.3. I've modified the apache adaptor to use localhost, set wotaskd to run on localhost, named the apache server localhost in httpd.conf and created a start up plist in /Library/LaunchDeamons for wotaskd. I

Re: die terrible error message (Unable to find framework named "YourApplicationName")

2008-01-14 Thread David Avendasora
Okay, So I rolled the new Ant Builder back in, and I'm now getting the error again. G.. I've rolled it back, and killed the build directory, emptied the trash, deleted the project (without deleting the files) and reimported it, restarted Eclipse and danced a spirit dance to the WO god

Re: JavaEOGenerator generates no files...

2008-01-14 Thread Gaastra Dennis - WO Lists
Hi Bogdan et al, No modifications; everything stock. Even tried to download it again. Still no files... :-( Why has Pierre not answered this??? Greetings, Dennis. On 14-Jan-08, at 1:46 AM, Bogdan Zlatanov wrote: Gaastra Dennis - WO Lists wrote: Dear List, Running JavaEOGenerator seems

Re: Fetch Specifications defined in the .eomodel

2008-01-14 Thread Florijan Stamenkovic
Stateless Remote Method Invocation is the only way I was able to get model defined fetch specs on the client. Client code: private static final EODistributedObjectStore dos = (EODistributedObjectStore)(EOEditingContext.defaultParentObjectStore()); /** * Invokes the remote method on sessio

Re: die terrible error message (Unable to find framework named "YourApplicationName")

2008-01-14 Thread David Avendasora
You know, with Xcode that would have been the first thing I would have done... I did clean a bunch of times, but it took actually deleting the build file through Eclipse to fix it. Thanks! Dave On Jan 14, 2008, at 2:39 PM, Mike Schrag wrote: when in doubt, delete the "build" folder in y

Re: die terrible error message (Unable to find framework named "YourApplicationName")

2008-01-14 Thread Mike Schrag
when in doubt, delete the "build" folder in your projects and force a clean build ... On Jan 14, 2008, at 2:33 PM, David Avendasora wrote: Oh, and I'm running Eclipse Version: 3.2.2, WOLips 2.0.0.4118 Dave On Jan 14, 2008, at 1:48 PM, David Avendasora wrote: Okay all you "Future Yous" out

Re: die terrible error message (Unable to find framework named "YourApplicationName")

2008-01-14 Thread David Avendasora
Oh, and I'm running Eclipse Version: 3.2.2, WOLips 2.0.0.4118 Dave On Jan 14, 2008, at 1:48 PM, David Avendasora wrote: Okay all you "Future Yous" out there, I'm getting this error and I can't seem to get it to go away. I have not modified the components at all since they were automatica

Re: die terrible error message (Unable to find framework named "YourApplicationName")

2008-01-14 Thread David Avendasora
Okay all you "Future Yous" out there, I'm getting this error and I can't seem to get it to go away. I have not modified the components at all since they were automatically generated way-back-when by Xcode during the project setup. This has been working fine for days, and all I did was try t

Re: Cheat: Run EOModeler on Leopard

2008-01-14 Thread Mike Schrag
The only area i think Entity Modeler is still weaker than EOModeler is for building fetch specifications, but it's definitely usable in it's current state. graphical qualifier builder is coming. I'm now trying to eliminate WOBuilder from by brain. That's a tougher call, but having disc

non direct connect; server dropping connection

2008-01-14 Thread William Hatch
Configuring a new dev machine to use apache instead of direct connect; Tiger and 5.3.3. I've modified the apache adaptor to use localhost, set wotaskd to run on localhost, named the apache server localhost in httpd.conf and created a start up plist in /Library/LaunchDeamons for wotaskd. In

"server_port" header is always "0"

2008-01-14 Thread James Brook
No matter what I do, my application always reports that the value of the "server_port" header is "0". I am running WebObjects 5.3 on Leopard, with the latest version of Wonder and using Apache 2.2 and the adaptor that ships with WO 5.4. Has anyone run into this? I suspect an adaptor problem

Re: Cheat: Run EOModeler on Leopard

2008-01-14 Thread Simon McLean
+ 1 I only discovered the relationship wizard a few weeks back and it resulted in EOModeler finally being retired from our development tool kit. We are 100% Entity Modeler now. The only area i think Entity Modeler is still weaker than EOModeler is for building fetch specifications, but it

Re: Cheat: Run EOModeler on Leopard

2008-01-14 Thread Mike Schrag
You are only one key stroke away from disaster. That, and with the relationship wizard in Entity Modeler, other than if you are using a reverse-engineered model where the entities already contain keys, it should be MUCH faster. The relationship wizard will do one-to-many, many-to-one, many-

Re: css and WOLips help

2008-01-14 Thread Mike Schrag
h1.my { background-image: url('images/icon.gif'); } Incidentally, I believe relative path references inside CSS this will only consistently work in all modes of execution (directconnect, webserver + development, webserver + deployment) if you use Project Wonder (or have a similar hac

Re: Cheat: Run EOModeler on Leopard

2008-01-14 Thread Mr. Pierre Frisch
I would very strongly advise you against doing that. There are new construct in the model for WO 5.4 that are supported by Entity Modeler that EOModeler does not know about and will very happily destroy. This is likely to lead to major disappointment, EOModeler check for a minimum version o

Re: css and WOLips help

2008-01-14 Thread Theodore Petrosky
Thanks this worked and it would have worked sooner if I would have spelled the css file correctly... Ted >Message: 7 >Date: Mon, 14 Jan 2008 04:19:59 -0500 >From: Pascal Robert <[EMAIL PROTECTED]> >Subject: Re: css and WOLips help >To: Denis Frolov <[EMAIL PROTECTED]> >Cc: webobjects-dev@lis

Re: The Eclipse build folder

2008-01-14 Thread David Avendasora
Yep, got one working. Pretty simple, even for an Ant noob like me. Look for it soon in the Java Client portion of the WO Wiki. Dave On Jan 14, 2008, at 11:41 AM, Chuck Hill wrote: On Jan 14, 2008, at 6:34 AM, Mike Schrag wrote: 1) You can also try setting up an Ant Builder ... I've n

Re: css and WOLips help

2008-01-14 Thread Denis Frolov
Example by Pascal will work ok in development mode provided you have all the images in WebServerResources, e.g: workspace/MyProject/WebServerResources/base.css workspace/MyProject/WebServerResources/images/icon.gif In base.css you can have something like: h1.my { background-image: url

Re: css and WOLips help

2008-01-14 Thread Pascal Robert
Le 08-01-14 à 11:39, Theodore Petrosky a écrit : but what about during the development stage Whilst I am working in Eclipse? You mean when you run your app from WOLips ? Use the WebServerResources tip and it will work on both development and deployment, with DirectConnect enable or n

Re: The Eclipse build folder

2008-01-14 Thread Chuck Hill
On Jan 14, 2008, at 6:34 AM, Mike Schrag wrote: 1) You can also try setting up an Ant Builder ... I've never used additional builders, and I'm not sure if they run with the incremental builder runs, but you can try them out. Go to project properties=>Builders=>New... and try adding

Re: css and WOLips help

2008-01-14 Thread Theodore Petrosky
but what about during the development stage Whilst I am working in Eclipse? is there an simple example out there that uses an external css file that I could download? Ted --- Guido Neitzer <[EMAIL PROTECTED]> wrote: > On 13.01.2008, at 19:54, Theodore Petrosky wrote: > > > I am new to ext

Re: WO5.4: Generics for objectsWithFetchSpecification ???

2008-01-14 Thread Mike Schrag
- rawObjectsWithFetchSpecification and enterpriseObjectsWithFetchSpecification can safely override/ignore the flag. They're new methods after all and won't break any existing code. - objectsWithFetchSpecification should behave as it always has. Perhaps it and fetchSpecs flag don't even need

Re: WO5.4: Generics for objectsWithFetchSpecification ???

2008-01-14 Thread Lachlan Deck
On 15/01/2008, at 2:30 AM, Mike Schrag wrote: Couldn't you handle both raw rows and EOs by using the type NSArray? You might as well return "Object" and not use generics if you do this, though ... The point is that you WANT a more specific EO class. I think Lachlan's basic concept is the cl

Re: WO5.4: Generics for objectsWithFetchSpecification ???

2008-01-14 Thread Mike Schrag
Couldn't you handle both raw rows and EOs by using the type NSArray? You might as well return "Object" and not use generics if you do this, though ... The point is that you WANT a more specific EO class. I think Lachlan's basic concept is the clearest so far (if this feature goes in at all)

Re: WO5.4: Generics for objectsWithFetchSpecification ???

2008-01-14 Thread John Huss
Couldn't you handle both raw rows and EOs by using the type NSArray? I treat things this way and casting to a more specific EO class may not be necessary. John On Jan 13, 2008 10:03 PM, Lachlan Deck <[EMAIL PROTECTED]> wrote: > On 14/01/2008, at 2:13 PM, Mr. Pierre Frisch wrote: > > > I am stil

Re: The Eclipse build folder

2008-01-14 Thread Mike Schrag
1) You can also try setting up an Ant Builder ... I've never used additional builders, and I'm not sure if they run with the incremental builder runs, but you can try them out. Go to project properties=>Builders=>New... and try adding an Ant builder and have it execute the custom bui

Re: The Eclipse build folder

2008-01-14 Thread David Avendasora
Hey Paolo, Mike Hmm... I guess both normal and lowercase works, at least for me. Is there some specification somewhere that states it isn't the lowercase version? I'll put the feature request into Jira using the normal class name. Also, I have slightly modified my work-around until the fe

Re: JavaEOGenerator generates no files...

2008-01-14 Thread Mr. Pierre Frisch
Sorry Mike, I have not looked at it for I while. I should have known you would have fixed it. :-) Pierre -- Pierre Frisch [EMAIL PROTECTED] On Jan 13, 2008, at 20:00, Mike Schrag wrote: The only problem with the Velocity version is that you have to put the generated classes and your subcla

Re: wotable and display order

2008-01-14 Thread Daniele Corti
2008/1/11, Theodore Petrosky <[EMAIL PROTECTED]>: > > I can not find in any documentation information about > WOTable and the sort/display order. (I understand it > is just displaying an Array) > > What I want to do is display an Array in two columns > and flow the data first in the left column, th

Re: JavaEOGenerator generates no files...

2008-01-14 Thread Bogdan Zlatanov
Gaastra Dennis - WO Lists wrote: Dear List, Running JavaEOGenerator seems to find the model correctly, but produces no files (although it claims it does) ../JavaEOGenerator.woa/JavaEOGenerator -model /Users/sjobs/Documents/JavaEOGenerator/bizDAV_Stuff/bizDAV.eomodeld/ -verbose -destination

Re: Inline bindings

2008-01-14 Thread Guido Neitzer
On 14.01.2008, at 02:25, Simon McLean wrote: What is the difference ? What do the [ ] imply ? The square brackets are WO 5.4 default style, you can change that to a dollar though. WOOgnl has the dollar as the inline style. cug -- Real-World WebObjects class at the Big Nerd Ranch March 2

Re: Inline bindings

2008-01-14 Thread Simon McLean
should be: Actually, it should be more like: cug Hi cug This seems to work too: What is the difference ? What do the [ ] imply ? Simon ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Web

Re: css and WOLips help

2008-01-14 Thread Pascal Robert
Le 08-01-14 à 04:01, Denis Frolov a écrit : On Jan 14, 2008, at 5:54 AM, Theodore Petrosky wrote: I am new to external css files... I am still testing, or rather I am testing my patience to get this to work... If I have this line in my area: Where does the file thejobstyle.css need to l

Re: css and WOLips help

2008-01-14 Thread Denis Frolov
On Jan 14, 2008, at 5:54 AM, Theodore Petrosky wrote: I am new to external css files... I am still testing, or rather I am testing my patience to get this to work... If I have this line in my area: Where does the file thejobstyle.css need to live. One way is to put it along with all the