WebObjects 5.3 and J2SE 5.0

2006-09-26 Thread Michael Scott
Title: WebObjects 5.3 and J2SE 5.0 Does WebObjects work with J2SE 5.0 yet? I must have missed the announcement! The last record I have is an announcement on 25 April 2006 that WebObjects is not compatible. But that was 4 months ago, so surely it is compatible by now! If this is not the case,

Re: addObjectsToBothSide... not really both side

2006-09-26 Thread Zak Burke
Dev WO wrote on 9/25/06 1:26 PM: So this one is a oneToOne relationship, with is specified in both entities A and B. [...] A and B have a foreign key to each other, but only A gets it... B's foreign key stay null. I think you may not be modeling the relationship correctly. If you really

Re: WebObjects 5.3 and J2SE 5.0

2006-09-26 Thread Ian Joyner
I'm using WO 5.3.2 just fine with J2SE 5. However, I have seen no announcements saying that the previous non-compatibility statement has been removed, so it's caveat emptor. Works great with generics.IanOn 26/09/2006, at 4:28 PM, Michael Scott wrote: Does WebObjects work with J2SE 5.0 yet? I must

Re: Converting a .strings text file to a NSArray or NSDictionary

2006-09-26 Thread Jan Grathwohl
Hi Xavier, you could read the content of your InputStream into a String and then use NSPropertyListSerialization to parse that String into a dictionary: NSDictionary dict = (NSDictionary)NSPropertyListSerialization.propertyListFromString(fileContent); Jan Am 26.09.2006 um 12:06 schrieb Dev

Re: Regular v Servlet resource manager use

2006-09-26 Thread Gavin Eadie
... thanks for your suggestion, Kai, however At 3:06 PM +0300 9/26/06, Kai S. Wong wrote: In order to be deployment safe (original or servlet), you need to use *URL* method to access your resources. Replace your original method inputStreamForResourceNamed to pathURLForResourceNamed and open

Re: WOUnit and EOEditingContext not found

2006-09-26 Thread John Larson
Thanks for the feedback. That makes much more sense. John On Sep 25, 2006, at 5:59 PM, Christian Pekeler wrote: Same here. Each of our projects has a custom utilities framework that contains the helper classes and jars used by all the other apps and frameworks. junit-4.1.jar and

Re: Regular v Servlet resource manager use

2006-09-26 Thread Gavin Eadie
... thanks for your suggestion, Kai, however At 3:06 PM +0300 9/26/06, Kai S. Wong wrote: In order to be deployment safe (original or servlet), you need to use *URL* method to access your resources. Replace your original method inputStreamForResourceNamed to pathURLForResourceNamed and open

Converting a .strings text file to a NSArray or NSDictionary

2006-09-26 Thread Dev WO
Hi:)I've got a resource in my Framework (text.strings), I know I can access a specific key using WOResourceManager.stringForKey, but I need to create an array of all the key in the file.I first though I could go through an InputStream likerm.inputStreamForResourceNamed ("text.strings",

Re: Regular v Servlet resource manager use

2006-09-26 Thread Chuck Hill
Hi Gavin, First off, I know Jacques Schmidt about servlet deployment so this may be useless information. :-) This resource location is very dependent on paths. For a regular WO app, if the current working directory is not the .woa directory, resources will not be found. I expect

Re: Help - Relationships, Bindings, w/Full Text Search

2006-09-26 Thread Chuck Hill
Hi Drew, On Sep 25, 2006, at 7:56 PM, Drew Thoeni wrote: On Sep 25, 2006, at 5:21 PM, Chuck Hill wrote: On Sep 24, 2006, at 8:18 AM, Drew Thoeni wrote: I'm using Frontbase's full text index to successfully return rows. The main goal is to allow users to search large-full text columns,

Re: constructing a url...

2006-09-26 Thread James Cicenia
I display JFreeChart graphs all the time. In this particular graph, a bubble graph, I need to popup a window with the project. Everything is HTML with an image map. The way jFreeChart renders it, it calls a method to create the imagemap urls. I can control that and have wonderfully with a

Re: constructing a url...

2006-09-26 Thread Chuck Hill
On Sep 23, 2006, at 8:01 AM, James Cicenia wrote: On Sep 22, 2006, at 3:28 PM, Chuck Hill wrote: On Sep 21, 2006, at 7:26 PM, James Cicenia wrote: Chuck - I have been reading and re-reading that section. And, I still can't seem to grasp one fundamental issue and that is how I am to relate

Start up problems

2006-09-26 Thread Gino Pacitti
Hi All Can anyone help to debug this problem I am having. I built an app using WO5.3 and deployed on a server with 5.2 installed and it all worked fine. Now I am trying to deploy on a 5.3 Tiger server and I get this error message in the log: at

Re: constructing a url...

2006-09-26 Thread James Cicenia
OK -- Here is the real problem I need for the popup page to know the parent page so that javascript can do its magic. If I use a DA then there is really no parent page while a component action gives you the parent page. Maybe what you suggest will work then. I will try that tonight.

Re: addObjectsToBothSide... not really both side

2006-09-26 Thread Dev WO
Hi zak, Dev WO wrote on 9/25/06 1:26 PM: So this one is a oneToOne relationship, with is specified in both entities A and B. [...] A and B have a foreign key to each other, but only A gets it... B's foreign key stay null. I think you may not be modeling the relationship correctly. If you

Re: addObjectsToBothSide... not really both side

2006-09-26 Thread Ken Anderson
You really need to set both directions - EOF will not do it for you. On Sep 26, 2006, at 3:38 PM, Dev WO wrote: Hi zak, Dev WO wrote on 9/25/06 1:26 PM: So this one is a oneToOne relationship, with is specified in both entities A and B. [...] A and B have a foreign key to each other, but

Re: Start up problems

2006-09-26 Thread Chuck Hill
On Sep 26, 2006, at 12:16 PM, Gino Pacitti wrote: Hi All Can anyone help to debug this problem I am having. I built an app using WO5.3 and deployed on a server with 5.2 installed and it all worked fine. Now I am trying to deploy on a 5.3 Tiger server and I get this error message in the

Re: Help - Relationships, Bindings, w/Full Text Search

2006-09-26 Thread Paul Lynch
On 26 Sep 2006, at 18:10, Chuck Hill wrote: On Sep 25, 2006, at 7:56 PM, Drew Thoeni wrote: I am not pulling back object IDs (primary and foreign keys) in the SQL query because the OIDs are not part of the EOModel; Surely the OIDs are part of the EOModel. I will assume that you mean they

Re: constructing a url...

2006-09-26 Thread Chuck Hill
On Sep 26, 2006, at 12:22 PM, James Cicenia wrote: OK -- Here is the real problem I need for the popup page to know the parent page so that javascript can do its magic. You mean in Java in your WO app, or in JavaScript in the browser? What exactly do you need. If I use a DA

Re: addObjectsToBothSide... not really both side

2006-09-26 Thread Dev WO
I've setup my onetoone on both pk and everything is good:) Thanks a lot:) I'll wait for tomorrow for the next question;) Xavier You really need to set both directions - EOF will not do it for you. On Sep 26, 2006, at 3:38 PM, Dev WO wrote: Hi zak, Dev WO wrote on 9/25/06 1:26 PM: So

problem generating pdf using apache FOP

2006-09-26 Thread Amedeo Mantica
Dear WebObjects collegues, I tried everithing, but I get strings such \000d instead if carriage return in generated pdf files. I followed the Practical WeboOjects XML output Chapter (Generating PDF from XML) Any suggestion? Thanks Amedeo ___

Re: constructing a url...

2006-09-26 Thread James Cicenia
I know this is confusing My app has a lot of popups. Not my design whereby when a person edits something in the popup and then hits save and then close and refresh I automatically submit the originating page. This has worked great. However with DirectActions this does not work.

Re: Help - Relationships, Bindings, w/Full Text Search

2006-09-26 Thread Drew Thoeni
Chuck, Thanks for the pointers (again). You are correct. I do, of course, have OIDs in the EOModel. I misspoke on that point. I am not, as you pointed out, including them in the class properties. The objectFromRawRow is the perfect solution for my problem as the user does not bring back

Re: constructing a url...

2006-09-26 Thread Mark Morris
James, I've done something similar to this, but quite a few years ago. I haven't followed this whole thread, but maybe the same concept will work for you. I created a ClosePopUpPage component that I would call from my pop up page submit action. (So right off the bat, any changes in the

EO/Java class default Values

2006-09-26 Thread Tarun Reddy
Sorry if this is dirt simply but I seem to be missing something that every google search, as well as page 170 in Joshua Marker's book suggest should work.I have a small app where there is an WOHyperlink called "Submit new idea" that calls a method that creates a new "Idea" object and the returns a