Re: Java Client Cursor placement in text fields?

2005-12-14 Thread Pierre . Bernard
I can confirm that the problem exists with WO 5.2.3, Java 1.4.2 on Win 2K funny I never noticed. Pierre [EMAIL PROTECTED] wrote on 12/14/2005 07:00:42 AM: > Has anyone else noticed in Java Client that if you tab into a text   > field or a text cell in a table, the cursor is placed at the end o

Re: stringQualifierOperators (like, contains) (David Holt)

2005-12-14 Thread Paul D Yu
DavidYou should be using something like this for a case insensitive searchEOKeyValueQualifier q1 = new EOKeyValueQualifier("title", EOQualifier.QualifierOperatorCaseInsensitiveLike, mytitle);Are you using Oracle?  If you are the Contains clause if for the Context Index not the normal VARCHAR index.

RE: Webobjects-dev Digest, Vol 2, Issue 782

2005-12-14 Thread Lonie, Chris
David, All that is missing is the wildcard characters in the SQL. Asterisks ('*') must be added to the beginning and end of your string 'handwashing'. (The wildcard character shows as a percent symbol in the raw SQL because WO knows what your DB uses.) (I haven't used CONTAINS myself, but I'm goi

Help with NSXMLOutputStream/NSSMLInputStream

2005-12-14 Thread Robert Walker
I need to serialize some objects for use in web services and am getting the following exception for this example code:Error occurs on both Xcode 2.0/WO 5.2.4 and Xcode 2.2/WO 5.3.1...  Simply calling this static method from Application class as a test.  Doesn't seem to matter where it's called: als

Re: Help with NSXMLOutputStream/NSSMLInputStream

2005-12-14 Thread Jean-François Veillette
hmmm ... if xmlos is null, would it be that the exception is thrown before the assignation ? so the error would either on :   os = new BufferedOutputStream(new FileOutputStream(fileName)); if there is a problem creating the bufferedOutputStream (bad file output stream). or if os is valid, it woul

Re: Setting up a Target for Any Build of WOA app...

2005-12-14 Thread Jerry W. Walker
Hi, Nathan, Though I don't have an answer for you, you might try posting the question to Apple's Xcode mailing list [EMAIL PROTECTED] It has several Xcode heavies answering questions, a few from inside Apple. Xcode is clearly getting better support overall than WO, but that's probab

Re: Database System Tables [WO newbie]

2005-12-14 Thread Jerry W. Walker
Hi, Thomas, Though I've never done this and have never used Ingres, I don't see why you can't create entities in an EOModel that reference the tables and fetch them like any other Enterprise Objects (EOs). An easy test would be to create the entities in EOModeler, than use the data browse

Re: Help with NSXMLOutputStream/NSSMLInputStream

2005-12-14 Thread Jean-François Veillette
I can't really help you on that one, I've never experienced this problem. But here is some piece of code that works for me : // Create a stream to the output file. ByteArrayOutputStream output_stream = new ByteArrayOutputStream(); // Create an XML-output stream. NSXMLOutputStream xml_stream = n

Overriding WODisplayGroup methods

2005-12-14 Thread ktbull
Hi, I would like to override a few WODisplayGroup methods, namely displayNextBatch and displayPreviousBatch. Currently my WOComponent has a WODisplayGroup containing a WOBatchNavigationBar used to change the displayed objects on my page. I would like to perform some additional logic bef

Re: Help with NSXMLOutputStream/NSSMLInputStream

2005-12-14 Thread Robert Walker
Oh sorry.  Here is line 70:                        // XML output stream                     xmlos = new NSXMLOutputStream(os);On Dec 14, 2005, at 11:06 AM, Jean-François Veillette wrote:    at ProcessorService.serialize(ProcessorService.java:70) where is line 70 ?- jfvLe 05-12-14, à 11:01, Robert W

Re: Help with NSXMLOutputStream/NSSMLInputStream

2005-12-14 Thread Robert Walker
Oops sorry again.  Ignore last postingLine 70 is actually                             xmlos.flush();On Dec 14, 2005, at 11:06 AM, Jean-François Veillette wrote:    at ProcessorService.serialize(ProcessorService.java:70) where is line 70 ?- jfvLe 05-12-14, à 11:01, Robert Walker a écrit : I need

Re: Help with NSXMLOutputStream/NSSMLInputStream

2005-12-14 Thread Robert Walker
You are correct after inserting the null check the error has moved to line 58:  xmlos = new NSXMLOutputStream(os); <<--- line 58New exception:[2005-12-14 11:35:14 EST] java.lang.ExceptionInInitializerError at ProcessorService.serialize(ProcessorService.java:58) at Application.(Application.java:52)

Re: Database System Tables [WO newbie]

2005-12-14 Thread Mark Morris
Hello Thomas, Also, if you're having trouble seeing those tables in EOModeler's "new model" assistant, a workaround I've used in the past with Oracle (which may work in your case as well) is to create an empty table in your schema for each the table you want to add. I do something like:

Re: Database System Tables [WO newbie]

2005-12-14 Thread Chuck Hill
On Dec 13, 2005, at 7:44 AM, Thomas Friesen wrote: I am just beginning to work with WebObjects/EnterpriseObjects, and as an Ingres DBA, am rather interested in accessing the system catalogues (iitables, iirelations, etc.) via Enterprise Objects. I was a little surprised that I was able to

Re: WO development philosophy

2005-12-14 Thread Chuck Hill
On Dec 12, 2005, at 1:15 PM, Pete Rive wrote: Hi folks, I have been slowly learning WO and java, although I am not a developer by any stretch of the imagination. I have also been researching a number of other development approaches. I like a lot of aspects of WO but am not sure if it can

Re: Returning results from HTTPConnection request...

2005-12-14 Thread Chuck Hill
Hi, On Dec 12, 2005, at 12:24 PM, Nathan Walker wrote: I guess I was looking to see if anybody had any innovative ideas on this concept. I guess I could have the Flash constantly looping through posting requests to the server and checking things, (Maybe have a DirectAction that returned an

Re: Overriding WODisplayGroup methods

2005-12-14 Thread Art Isbell
On Dec 14, 2005, at 7:05 AM, [EMAIL PROTECTED] wrote: Error: com.webobjects.foundation.NSForwardException [java.lang.IllegalArgumentException] While trying to set the field "localizationCodesDG" on an object of type LocalizationCodePage we expected a LocalizationCodePage$MyDisplayGroup but

Re: Ridiculously stupid problem

2005-12-14 Thread Lachlan Deck
Hi there, On 13/12/2005, at 12:21 PM, Chuck Hill wrote: This is a very unhelpful default in veXcode. By default it suggests adding the file to the wrong target (think build process). Instead of it adding to the one that does compilation (Application Server), it wants to add it to the one

Re: WO development philosophy

2005-12-14 Thread Pete Rive
Thanks very much for your comments Chuck. The open source Wiki http://www.wodev.com looks like it could be just what I am looking for. I like the look of Twiki also, and that includes a blog. I take your point on EOF and p2p. I would like to include some Digital Rights Management and have b

Re: Returning results from HTTPConnection request...

2005-12-14 Thread wojingo
Chuck Hill wrote: Hi, On Dec 12, 2005, at 12:24 PM, Nathan Walker wrote: I guess I was looking to see if anybody had any innovative ideas on this concept. I guess I could have the Flash constantly looping through posting requests to the server and checking things, (Maybe have a DirectActi

Fwd: How do I update a relationship in a WODisplayGroup?

2005-12-14 Thread Arturo Pérez
Zak Burke wrote: [EMAIL PROTECTED] wrote on 12/13/05 3:57 PM: In my experience, WO will update attributes persisted to the DB, but for relations it only pulls from its cache. AFAIK, That's only true if you don't use EOF to make the relationship changes (think trigger or such) OR your code is

Re: How do I update a relationship in a WODisplayGroup?

2005-12-14 Thread Chuck Hill
On Dec 14, 2005, at 6:20 PM, Arturo Pérez wrote: Zak Burke wrote: [EMAIL PROTECTED] wrote on 12/13/05 3:57 PM: In my experience, WO will update attributes persisted to the DB, but for relations it only pulls from its cache. AFAIK, That's only true if you don't use EOF to make the relatio