Question from an EOF neophyte

2006-05-16 Thread Jeff Schmitz
I'm currently using classes that inherit from EOGenericRecord for my enterprise objects.  When I retrieve a string value from one of the functions in an EO class directly, things work fine.  However, when I follow a relationship to call a function on a related enterprise object, both the key and th

Re: NSTimestampFormatter DECREMENTING 'day' on each pass

2006-05-16 Thread Chuck Hill
On May 16, 2006, at 4:54 PM, Art Isbell wrote: On May 16, 2006, at 1:16 PM, WebObjects wrote: I can still 'force' a failure (the 'day' decrements each time the record is saved) by submitting dates in the year 1700, but years in the 1900's seem to work fine. Strange (to me). And, why w

Re: WebAssistant not working any longer

2006-05-16 Thread Kevin Avoy
I can get the WebAssistant to work by removing the EOModel from the project (not the disk). The models are fine - no problems. The problem occurs even with a new project with a newly created EOModel from reverse engineering a simple table. Very strange! Everything was working properly on

Re: Is it possible to get a WebObjects demo?

2006-05-16 Thread David LeBer
On 16-May-06, at 9:35 PM, Frederick C. Lee wrote: I see: WebObjects 5.3 Update for Mac OS X Server 10.4 but I don't see WebObjects proper. I suspect that it's included in XCode 2.2.1 ... which is odd, I can't find WebObjects in my copy of XCode. I'll download the entire XCode 2.2.1 and che

Re: Is it possible to get a WebObjects demo?

2006-05-16 Thread Chuck Hill
On May 16, 2006, at 6:35 PM, Frederick C. Lee wrote: I see: WebObjects 5.3 Update for Mac OS X Server 10.4 but I don't see WebObjects proper. I suspect that it's included in XCode 2.2.1 Yes. Is is a separate package that you need to install after the main Xcode install is complete. ...

Re: Is it possible to get a WebObjects demo?

2006-05-16 Thread Frederick C. Lee
I see: WebObjects 5.3 Update for Mac OS X Server 10.4 but I don't see WebObjects proper.I suspect that it's included in XCode 2.2.1... which is odd, I can't find WebObjects in my copy of XCode.  I'll download the entire XCode 2.2.1 and check there.Thanks for the tip!Ric.On May 16, 2006, at 5:09 PM,

Re: Is it possible to get a WebObjects demo?

2006-05-16 Thread Chuck Hill
I have no idea what it is that Oracle offers. WebObjects is not Open Source, but it is effectively free. If you have a Mac, you can download it here: http://developer.apple.com/tools/download/ If you don't have a Mac, your cheapest / easiest option is to buy a Mac mini. You can probably

Re: Is it possible to get a WebObjects demo?

2006-05-16 Thread Alan Ward
It's even better than you expected you can get the whole thing (not just a demo). WebObjects is free! On May 16, 2006, at 6:02 PM, Frederick C. Lee wrote: Greetings: I'm thinking of working with Apple's WebObjects and would like to work with a demo before deciding to invest; sim

Is it possible to get a WebObjects demo?

2006-05-16 Thread Frederick C. Lee
Greetings: I'm thinking of working with Apple's WebObjects and would like to work with a demo before deciding to invest; similar to what Oracle offers to developers. is this possible? Ric. ___ Do not post admin requests to the list. They will be

Re: NSTimestampFormatter DECREMENTING 'day' on each pass

2006-05-16 Thread Art Isbell
On May 16, 2006, at 1:16 PM, WebObjects wrote: I can still 'force' a failure (the 'day' decrements each time the record is saved) by submitting dates in the year 1700, but years in the 1900's seem to work fine. Strange (to me). And, why would having a lower year (one in the 1700's for in

Re: NSTimestampFormatter DECREMENTING 'day' on each pass

2006-05-16 Thread WebObjects
Ken, (and others who can help) I did try using the GUI and like Ken I didn't have any luck, so I modified the plist (below). I can still 'force' a failure (the 'day' decrements each time the record is saved) by submitting dates in the year 1700, but years in the 1900's seem to work fine. Strange

Re: NSTimestampFormatter DECREMENTING 'day' on each pass

2006-05-16 Thread apl
Hello Bill; It depends on your database as some products always think they are in GMT and others try and fiddle the inbound/outbound timestamps so it depends on your specific setup. I tend to do this in my app constructor to force the JVM itself into GMT... TimeZone tz = java.uti

WebAssistant not working any longer

2006-05-16 Thread Kevin Avoy
The WebAssistant was working properly for me, now I cannot get it to start, even for new projects. - I had a small DTW app, WebAssistant working properly. - I added an EOModel from another application that I was integrating with. The added Model had some custom classes defined, which my app did

Re: NSTimestampFormatter DECREMENTING 'day' on each pass

2006-05-16 Thread Ken Anderson
Bill, In my experience, since about WOF 4, the ability to change the time zone through the UI hasn't worked (at least not for me). YMMV, you can look at the inspector for a datetime and it should show you the server time zone and have a set button. When I hit the set button, I can never

Re: NSTimestampFormatter DECREMENTING 'day' on each pass

2006-05-16 Thread WebObjects
If anyone can help nudge me just a little further along... (please) I'm having a heck of a time understanding 'how' to programmatically, or via EOModeler, alter the 'serverTimeZone' attribute. Is there a simple step 1, 2, 3, explanation someone can shove in my direction? Greatly appreciated! -B

RE: Best Way to communicate with Tomcat

2006-05-16 Thread apl
Hello Philippe; Perhaps you could expand on what you mean by "interconnect" as this is like saying you want to build a bridge without specifiying if it's for two cars a day, for or a motorway or for rail. In each case it would be a different sort of bridge you would want. cheers. I wond

Re: Inheritance Problem

2006-05-16 Thread David Avendasora
I am using vertical-mapping for my inheritance (I know, not a good idea, but work with me). I'm using it in another inheritance relationship in the same model and it works just fine in that one, but in this one it doesn't, very odd. My database is MS SQL Server 2000, and it doesn't appear t

Re: Can't find records in Oracle?

2006-05-16 Thread Chuck Hill
It sounds like the Value Type in the model for one of these attributes is missing / wrong. See http://developer.apple.com/ documentation/WebObjects/UsingEOModeler/4WorkingWithAttributes/ chapter_4_section_3.html#//apple_ref/doc/uid/TP30001018-CH204-BABFGECE In particular, c—tells the adaptor

Can't find records in Oracle?

2006-05-16 Thread Marc Respass
Hi All, My app cannot find records that exist using the fetch spec that I have. I develop locally using OpenBase and then move the app to our test box using Oracle. My fetch spec is ((payDate = $payDate) and ((sent = 0) or (sent = nil)) and ((objectCode = $code1) or (objectCode = $code2))

Re: refreshing the defaultEditingContext

2006-05-16 Thread Ken Anderson
On May 16, 2006, at 1:05 PM, Dev WO wrote:-when creating an editing Context inside my direct action (like suggested by Robert), the Editing context gets created each time the action is called and so fetches the database every-time, right?No.  It depends on how you access your data.  If you do a fet

Re: headers question

2006-05-16 Thread Graham J Lee
On 16/5/06 19:20, Yury Peskin wrote: WO 5.2.3. I need to find out which browser our users use. I know you have to look for the header, but I forgot which header, and in fact, how to do that. You can get the headers from the WORequest with the headers() method, and you're looking for the User-A

Re: Inheritance Problem

2006-05-16 Thread Chuck Hill
Hi David, I am not too clear on our inheritance configuration from your message. Two possibilities jump to mind. 1. If you have the sub-entities in their own tables, then you can't enforce foreign-key constraints. i.e. If you have a Person entity in a Person table and an Employee entity

Re: Inheritance Problem

2006-05-16 Thread Robert Walker
David, How are you defining your one-to-one relationship? Is it propagating the primary key in one direction? Can you illustrate your relationship/inheritance design? That would really help a lot. Indicate where you are propagating keys, etc. On May 16, 2006, at 11:25 AM, David Avendas

Re: refreshing the defaultEditingContext

2006-05-16 Thread Dev WO
Thanks all for your answers and tips. Based on all your suggestions, I took some time to learn more about Editing Context which I obviously don't know enough;) So something I didn't knew was the ability to create an Editing Context without a session! I'm actually trying to re-think my appli

Inheritance Problem

2006-05-16 Thread David Avendasora
Hi all, I am trying to save an instance of a subclass to the database after creating it from scratch. I am getting a foreign-key constraint error from the database because it hasn't created the database record for the parent class yet, which has a one-to-one relationship configured in the

Re: Can I reference a session from Application.handleException?

2006-05-16 Thread Mike Schrag
You are passed the WOContext of the exception, which you can get the current session from if one exists. ms On May 16, 2006, at 10:22 AM, John Huss wrote: In Application.handleException is there anyway to log information from the session that caused the error? In particular, I'd like to kno

Can I reference a session from Application.handleException?

2006-05-16 Thread John Huss
In Application.handleException is there anyway to log information from the session that caused the error? In particular, I'd like to know what user received the error (the user is stored in the session). Since Application is outside the context of a session I'm not sure if it's possible. John __

Re: WO 5.3 with Linux?

2006-05-16 Thread Mike Schrag
The only thing we ran into is the thing he mentions on the page about symlinking uncompress ... You can also edit install.sh and change the tar commands to use lowercase z instead of capital Z.  That fixed it also.msOn May 15, 2006, at 3:30 PM, Randy Wigginton wrote:I am about to attempt installing

EOModeler on Windows XP problem -problem solved

2006-05-16 Thread Sigurður Anton Ólafsson
If anyone is having a problem with EOModeler on Windows XP, here’s a solution: ---   I had a problem with EOModeler, it simply wouldn’t start.   It’s a part of WebObjects 5.2.4, that is WebObjects 5.2 that had been updated to 5.2.4   The bug came in during the update.   The solutio

Re: NSTimestampFormatter DECREMENTING 'day' on each pass

2006-05-16 Thread Wolfram Stebel
Am 16.05.2006 0:37 Uhr schrieb "WebObjects" unter <[EMAIL PROTECTED]>: > I did scour the archives before asking - all roads lead to the same > unanswered question... How is an EOF attribute like " serverTimeZone = GMT;" > set? Doc of EOAttribute: " The handling of dates assumes by default that bo

Best Way to communicate with Tomcat

2006-05-16 Thread Philippe Lafoucrière
Hello, I wonder what would be the best way to interconnect some webobjects servers with a tomcat one. I'm thinking of several solutions (SOAP/WSDL, RMI, JMS, etc.), but what are respective performances of this solutions ? Thank you by advance, Philippe