Can't update a toMany relationship (newbie Alert)

2006-01-19 Thread Louis Demers
Title: Can't update a toMany relationship (newbie Alert) Ok, I've been banging my head for more than 2 weeks on this one. Moved to something else to get some distance, But I still can't fix this. Background: I'm trying to develop a small app (as a too an learning experience before moving on to

Re: How to use datetime and boolean?

2006-01-19 Thread Lachlan Deck
Hi there, On 20/01/2006, at 2:34 AM, Jim Wong wrote: In EOModeler, how do I define date n boolean?? how's the format handling done? is there even boolean? This should help... 1) From EOModeler go to the Help Menu and Select "Using EOModeler" 2) From the list you want: WebObjects EOModeler Us

Re: Rss feeds

2006-01-19 Thread Ray Ackland
Sri, Had a look at the RSS spec's. It doesn't mention that there is room for user tags. There is a comments tag though, if that is of use to you. r On 20/01/2006, at 10:51, [EMAIL PROTECTED] wrote: But when i include any new tags other than the standard ones , and try to open it in safar

Re: How to use datetime and boolean?

2006-01-19 Thread Ian Joyner
There isn't a boolean. Put in your EOPrototypes entity an attribute named boolean with external data type char, internal data type String and external width of 1 (why is external width in the internal data type box?). The only two values allowed in this field is 'T' or 'F' (ie., class invar

Re: Managing EOF caching

2006-01-19 Thread Art Isbell
On Jan 19, 2006, at 11:54 AM, Michael DeMan wrote: You are correct on blowing away your editing contexts impacting performance heavily. Of course, the other side of the coin is that if you never do that over time EOF will try to cache the entire database in RAM... Actually, EOF will cac

Re: Managing EOF caching

2006-01-19 Thread Michael DeMan
Hi, Sounds like your hardware situation is okay. Doesn't matter what the specs are, as long as its got plenty of unused memory. You can always trade RAM for CPU cycles. You are correct on blowing away your editing contexts impacting performance heavily. Of course, the other side of the

Re: How to programmatically send a form

2006-01-19 Thread Dev WO
Using HttpsURLConnection is a bottleneck. If you only have one user, then fine, if a few charge cards at the same time, it will bottleneck. I have never done it the easy way (I'm a glutton for punishment! ;-), but AFAIK, the most common way for the easy way out is to let the provider provid

Re: Rss feeds

2006-01-19 Thread Ray Ackland
Sri, I would expect that it is fine to add these tags. The problem will probably be that RSS readers won't know what to do with them, and they will be ignored (which could be what you are wanting). r On 20/01/2006, at 5:45, [EMAIL PROTECTED] wrote: How to include/can we have custom tags

Re: How to programmatically send a form

2006-01-19 Thread Kieran Kelleher
Using HttpsURLConnection is a bottleneck. If you only have one user, then fine, if a few charge cards at the same time, it will bottleneck. I have never done it the easy way (I'm a glutton for punishment! ;-), but AFAIK, the most common way for the easy way out is to let the provider provid

Re: WebServices Sample Code Location ?

2006-01-19 Thread Ray Kiddy
The AmazonClient project was not shipped in the latest WO. If you had it before, we did not delete it. Do I think this upgrade strategy causes problems? Yes. Please file a bug. If you want *working* WS examples, that would be a good request to register in bugreport.apple.com. The AmazonCli

EO with Japanese value

2006-01-19 Thread YL
I've a old app that Japanese localization is needed recently in addition to (the already working)English and Chinese localization features. For some attributes, say firstName in Entity Person, I have to add localization (sub)attributes such as firstName_CN, and firstName_JP for first name in

Re: WO license with X Server

2006-01-19 Thread Art Isbell
On Jan 19, 2006, at 4:45 AM, [EMAIL PROTECTED] wrote: is it possible to find the license key anywhere on the machine itself's filesystem? It's in /System/Library/Frameworks/JavaWebObjects.framework/ Resources/License.key. Aloha, Art ___ Do not p

Re: Is there SNMP Support in WO?

2006-01-19 Thread Gavin Eadie
At 3:56 PM -0600 1/18/06, Chris Dillman wrote: Is there SNMP Support in WO? ... the answer (which I expect you are still waiting for!) is "no". Basic SNMP functionality should be provided by the host outside any WebObjects context. You could check that is true for your host by performin

Re: Is there SNMP Support in WO?

2006-01-19 Thread Chris Dillman
Wow! Funny how we see what we expect On Jan 18, 2006, at 7:04 PM, Miguel Arroz wrote: Hi! I guess Chris was taking about the Simple Network Management Protocol, and not about Symmetric Multi-processing! :) Correct ... LOL :) -- Email: [EMAIL PROTECTED] iChat / AIM: [EMAIL PROTECTE

Re: WebServices Sample Code Location ?

2006-01-19 Thread Randy Becker
I too have looked for AmazonClient in the past, but have been unable to find it. My /Developer/Examples/JavaWebObjects dir looks like this: DatabaseSetup FileUpload Frameworks HelloWorld JCDiscussionBoard JCEntityViewer JCMovies JCPointOfSale JCRealEstate JCRealEstatePhotos JCRentalStore JCStud

Re: How to programmatically send a form

2006-01-19 Thread Dev WO
Hi Kieran, thanks for the link and your blog;) If I'm not that expert in WO and java programming, would you say I should go for the HttpsURLConnection or I could stick with your example and go for the HttpClient library from Apache? What would be the method to provide another page than the WO

Re: WebServices Sample Code Location ?

2006-01-19 Thread Zak Burke
Denis Stanton wrote on 1/18/06 9:55 PM: On 19/01/2006, at 3:23 PM, Louis Demers wrote: the archives (and even documentation) refers to sample code for webservices [...] where can i find them ? :/Developer/Examples/JavaWebObjects/AmazonClient I couldn't find a list of what all these exam

Spotlight

2006-01-19 Thread Jim Wong
Anyway we can implement spotlight technology in XCode, WO? Jim ___ 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.a

Rss feeds

2006-01-19 Thread asrinivas
Hi All, I am currently working on RSS feeds, have some prob How to include/can we have custom tags in RSS RSS must have three mandatory tags 1. 2. 3. It can have N number of Items tags Each Item Tags in-turn can have some of the Standard Tags which can be My First Take at RSS Fee

Re: Managing EOF caching

2006-01-19 Thread Ken Anderson
Dave,The lag is basically how old a snapshot can be when an editing context goes and looks for it.  The default is an hour, which is usually too long.  The most important caveat:If the object is already in your editing context, the parameter does nothing (it will stay there forever)So, when an EC i

RE: Managing EOF caching

2006-01-19 Thread Dave Rathnow
Could someone tell me how to control the time that EOF caches an object?  Is it setDefaultFetchTimestampLag? Does the time get updated if you touch an object while it is cached or is it set once and then dumped when the time expires, no matter what you do?   Thanks,Dave. __

horizontal inheritance and bi-directional relationships

2006-01-19 Thread Vecchio . 23261288
Hi to all, I receive some strange results using horizontal inheritance mapping and bi-directional relationships in my application. The model I'm using is the following: --- --- --- | A | => | B |=> | C | --- --- --- ^

How to use datetime and boolean?

2006-01-19 Thread Jim Wong
In EOModeler, how do I define date n boolean?? how's the format handling done? is there even boolean? Jim ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubsc

RE: Managing EOF caching

2006-01-19 Thread Dave Rathnow
Title: RE: Managing EOF caching This application runs on a dual processor (2GHz I think) machine with 4GB of RAM so memory isn't much of an issue.  Also, throwing hardware at this problem hasn't resulted in any great improvements so we have to start doing opitimization of the code.  The good

Re: Class Long

2006-01-19 Thread Jerry W. Walker
Hi, Welemski,To answer your questions, it would help to know what error it generated. Was it a parsing error, a NullPointerException, an IllegalArgumentException, a ClassNotFoundException? Each are possible and would occur for different reasons.Regards,JerryOn Jan 19, 2006, at 6:14 AM, .::welemski:

WO license with X Server

2006-01-19 Thread webobjects-dev
Hi there We have a couple of XServe boxes one with Panther server and the other with Tiger server. I understand that a deployment license for WO comes with Tiger server. I would like to try out building WO projects as servlets using WO5.3, but to do so I need to enter a deployment license key. Is

Re: How to programmatically send a form

2006-01-19 Thread Kieran Kelleher
This might help. http://homepage.mac.com/kelleherk/iblog/C149402102/E773353034/index.html And for multi-threading management, I like this free library http://www.forward.com.au/javaProgramming/threadReturnsPackage/ ToCatchAThread.html Regards, Kieran On Jan 18, 2006, at 3:35 PM, D

Class Long

2006-01-19 Thread .::welemski::.
Hi,Why do WebObjects doesn't able to detect the class "Long"?Im trying to convert my variable String to a long data type by using the static method Long.parseLong(variable);But the method above didn't work it only generate an error. --  -- -- -- -- -- -- -- -- -- -- --   welemski -- -- --

Re: Managing EOF caching

2006-01-19 Thread Michael DeMan
Oh, one more item. If you can, do saveChanges() frequently. Don't sacrifice the integrity of your sandbox (EOEditingContext), but don't abuse it either. The best I can tell, nobody at Apple has messed much with the saveChanges code and it still runs on a lot original stuff from the late

Re: Managing EOF caching

2006-01-19 Thread Michael DeMan
The cheezy option is always hardware. Quick fix, and usually pretty cheap. Definitely not elegant. If this is a production application, I would check swap utilization on the server, and if its low, and especially if there are some bucks for a few extra GB of RAM, do as follows: 1. Get t