Re: Problem with Oracle adapter and update

2006-10-10 Thread Tarun Reddy
On Oct 10, 2006, at 9:37 PM, shaun wrote: Hi, Tarun Reddy wrote: On Oct 10, 2006, at 8:02 PM, shaun wrote: Hi, Tarun Reddy wrote: On Oct 10, 2006, at 7:02 PM, Art Isbell wrote: On Oct 10, 2006, at 2:36 PM, Tarun Reddy wrote: Trying this in sqlplus with this statement: UPDATE IDEA SET

Re: Problem with Oracle adapter and update

2006-10-10 Thread Art Isbell
On Oct 10, 2006, at 5:37 PM, shaun wrote: Also, I'm using NSCalendarDate not NSTimestamp for valueClassName in my eomodels. NSCalendarDate is the "Value Class (Obj-C)" equivalent of the "Value Class (Java)" NSTimestamp. These days, you should probably delete the "Value Class (Obj-C)" co

Re: MSSQLServer Unicode Support

2006-10-10 Thread Art Isbell
On Oct 10, 2006, at 2:24 PM, Dov Rosenberg wrote:In order to store unicode data into one of these columns it is necessary to preface the value with an N such as INSERT into locale (recordid, localedesc) values (123, N’日本語'); Otherwise only ??? Will be stored in the database. In order to find

Re: Problem with Oracle adapter and update

2006-10-10 Thread shaun
Hi, Tarun Reddy wrote: On Oct 10, 2006, at 8:02 PM, shaun wrote: Hi, Tarun Reddy wrote: On Oct 10, 2006, at 7:02 PM, Art Isbell wrote: On Oct 10, 2006, at 2:36 PM, Tarun Reddy wrote: Trying this in sqlplus with this statement: UPDATE IDEA SET STATUS = "A" WHERE (IDEA_OID = 1 AND AVGRAT

Re: Problem with Oracle adapter and update

2006-10-10 Thread Tarun Reddy
On Oct 10, 2006, at 8:02 PM, shaun wrote: Hi, Tarun Reddy wrote: On Oct 10, 2006, at 7:02 PM, Art Isbell wrote: On Oct 10, 2006, at 2:36 PM, Tarun Reddy wrote: Trying this in sqlplus with this statement: UPDATE IDEA SET STATUS = "A" WHERE (IDEA_OID = 1 AND AVGRATING is NULL AND CATEGORY

Re: Problem with Oracle adapter and update

2006-10-10 Thread shaun
Hi, Tarun Reddy wrote: On Oct 10, 2006, at 7:02 PM, Art Isbell wrote: On Oct 10, 2006, at 2:36 PM, Tarun Reddy wrote: Trying this in sqlplus with this statement: UPDATE IDEA SET STATUS = "A" WHERE (IDEA_OID = 1 AND AVGRATING is NULL AND CATEGORY_OID = 6 AND IDEADESC = "afdsafadsfasfa" AND

Re: Problem with Oracle adapter and update

2006-10-10 Thread Tarun Reddy
On Oct 10, 2006, at 7:02 PM, Art Isbell wrote: On Oct 10, 2006, at 2:36 PM, Tarun Reddy wrote: Trying this in sqlplus with this statement: UPDATE IDEA SET STATUS = "A" WHERE (IDEA_OID = 1 AND AVGRATING is NULL AND CATEGORY_OID = 6 AND IDEADESC = "afdsafadsfasfa" AND IDEANAME = "fdsfadf" A

Re: Dealing with URLs length

2006-10-10 Thread shaun
Miguel Arroz wrote: Hi! On 2006/10/10, at 21:50, Chuck Hill wrote: Interesting I never tried that. Thanks for the tip! You just have this then? WebObjectsAlias /WebObjects Yap! :) Taking the cgi-bin part out makes the URL look much better! Yours Cool. Thanks for that info. I t

Problem with Oracle adapter and update

2006-10-10 Thread Tarun Reddy
So I'm trying to do a simple update against an Oracle XE database. Inserts and deletes work beautifully. My code is as simple as: Session session = (Session) session(); EOEditingContext ec = session.defaultEditingContext();NSLog.allowDebugLoggingForGroups(0x1L);anIdea.setAcceptedStatu

Re: Detecting eo changes when they happen

2006-10-10 Thread Sacha Michel Mallais
On Oct 10, 2006, at 3:09 PM, Florijan Stamenkovic wrote: How about overriding all takeValue...() methods? Would that be inadvisable? That's one way. You could check that the key you were getting was actually an attribute of the EO too if you wanted. Also keep in mind that EOF uses take*

MSSQLServer Unicode Support

2006-10-10 Thread Dov Rosenberg
Title: MSSQLServer Unicode Support I finally have gotten some more time to figure out how to deal with MS SQL Servers unicode support using EOF. As a refresher – here is the problem: To support unicode in MSSQL Server, the columns need to be nchar, ntext, or nvarchar (not a problem). In order t

Re: Detecting eo changes when they happen

2006-10-10 Thread Chuck Hill
On Oct 10, 2006, at 3:09 PM, Florijan Stamenkovic wrote: Hi Chuck, If nothing like that exists, I am thinking of implementing it through a notification posting EOGenericRecord subclass. Any comments or tips about this? There is a discussion and implementation of what you want in Practi

Re: Help with ERJavaMail and system properties

2006-10-10 Thread Dev WO
Sorry to keep on asking help on this one, but it causes me much trouble...I tried to set the properties directly in the ERExtensions.framework Properties file with:er.extensions.ERXApplication.DefaultMessageEncoding=UTF8er.extensions.ERXMessageEncoding.Enabled=truebut it keeps on serving the page i

Re: roblem with XSLT Trasformations - was problem generating PDF using FOP

2006-10-10 Thread Travis Cripps
Amadeo, Hi. I created a sample project from your files, and was initially getting the same result, with the characters in the file resulting from your transform being messed up. I changed all instances of String -> byte[] and byte[] -> String conversions to specify the character encoding

Re: Detecting eo changes when they happen

2006-10-10 Thread Florijan Stamenkovic
Hi Robert, Flor, I'm not sure if this is a good idea or not, I've never tried this myself, but have you looked into registering with EOObserverCenter for EOObserving.objectWillChange(Object)? Maybe it would be possible, in the Swing client scenario where I need it. The following code s

Re: Detecting eo changes when they happen

2006-10-10 Thread Florijan Stamenkovic
Hi Chuck, If nothing like that exists, I am thinking of implementing it through a notification posting EOGenericRecord subclass. Any comments or tips about this? There is a discussion and implementation of what you want in Practical WebObjects starting on page 67. You really need the he

Re: Dealing with URLs length

2006-10-10 Thread Miguel Arroz
Hi! On 2006/10/10, at 21:50, Chuck Hill wrote: Interesting I never tried that. Thanks for the tip! You just have this then? WebObjectsAlias /WebObjects Yap! :) Taking the cgi-bin part out makes the URL look much better! Yours Miguel Arroz "We have no sympathy for the lost souls W

[ANN] Cocoa client for Cayenne ROP

2006-10-10 Thread Tore Halset
Hello. Cayenne[1] ROP[2] (Remote Object Persistence) is sort of equivalent to WO/EOF Java Client. We have also started developing a Cocoa framework[3] that let users create Cocoa applications in Objective-C that connects to a server with Cayenne using Cayenne ROP. Along with the framework

Re: Dealing with URLs length

2006-10-10 Thread Chuck Hill
On Oct 10, 2006, at 1:43 PM, Miguel Arroz wrote: On 2006/10/10, at 21:07, Chuck Hill wrote: Is there a way to remove /cgi-bin/WebObjects/my_app_name.woa from WebObjects applications default URL with these constraints ? You can't remove all of it. You can shorten /cgi-bin/ and / my_app_na

Re: Dealing with URLs length

2006-10-10 Thread Miguel Arroz
Hi! On 2006/10/10, at 21:07, Chuck Hill wrote: Is there a way to remove /cgi-bin/WebObjects/my_app_name.woa from WebObjects applications default URL with these constraints ? You can't remove all of it. You can shorten /cgi-bin/ and / my_app_name.woa to something like /w/WebObjects/a.woa

Re: Dealing with URLs length

2006-10-10 Thread Chuck Hill
On Oct 9, 2006, at 9:06 AM, Cantin Benoit wrote: Dear WO users, I am dealing with my applications URL length. For different reasons, it can't be longer than 100 characters. So I am wondering how to shorten my URLs but : - without using Apache rewrite_mod ; - and without modifying my Direc

Re: Detecting eo changes when they happen

2006-10-10 Thread Chuck Hill
Hi Florijan, On Oct 10, 2006, at 9:03 AM, Florijan Stamenkovic wrote: Hi all, I am trying to find a way to detect changes eos just *after* they happen. If possible the implementation should consider the Author object changed, if one of his Books has been unassociated / deleted. I tried w

Re: Detecting eo changes when they happen

2006-10-10 Thread Robert Walker
Flor,I'm not sure if this is a good idea or not, I've never tried this myself, but have you looked into registering with EOObserverCenter for EOObserving.objectWillChange(Object)?Sounds a bit scary to me as far as possibly introducing performance, and other various, issues, but just might do the tr

Re: WO On Linux

2006-10-10 Thread Matt Kime
How often is sometimes? What flavor of linux are you using? How many apps/instances are you running? I run WO on linux and haven't experienced this problem. --matt Hi all, I was wondering if anyone else is using WO on Linux? It works great most of the time, but sometimes it crashes the serve

WOUnittest2 Error JavaNoneAdaptor

2006-10-10 Thread Frederico Lellis
Hi all, im have some problems when working with wounittest2, when i run one test here junit show me this error:java.lang.IllegalStateException: Unable to get the name of the class to instantiate for the adaptor framework JavaNoneAdaptor. The possible causes for this error are: the adaptor framework

Detecting eo changes when they happen

2006-10-10 Thread Florijan Stamenkovic
Hi all, I am trying to find a way to detect changes eos just *after* they happen. If possible the implementation should consider the Author object changed, if one of his Books has been unassociated / deleted. I tried with EOEditingContext notifications, but they are posted only at save t

MEETING: Reminder - Chicago - CocoaHeads / CAWUG October 10th

2006-10-10 Thread Bob Frank
Hi All, Just a quick reminder our meeting is tonight. -Bob On Oct 4, 2006, at 8:58 AM, Bob Frank wrote: Hi All, Just a reminder, the Chicago CocoaHeads / Chicago Cocoa and WebObjects User Group (CAWUG) is holding our next meeting this coming Tuesday, October 10th, at 6:00 PM at the Appl

Re: roblem with XSLT Trasformations - was problem generating PDF using FOP

2006-10-10 Thread Jean-François Veillette
Make sure that everytime you convert from binary to string you specify the encoding. Same thing when you convert from string to binary, explicitely set the encoding. If you do not specify the encoding, java will use the platform default (MacRoman on OSX) to do the conversion. I haven't lo

Re: roblem with XSLT Trasformations - was problem generating PDF using FOP

2006-10-10 Thread Amedeo Mantica
Thaks for collaboration Steve I tried, but got same identical result regards Amedeo On 10/ott/06, at 16:36, Steve Quirk wrote: I think your problem may be caused bby converting your XML and XSL into Strings instead of leaving them as bytes. Instead of these lines: String xsl = new Stri

WO On Linux

2006-10-10 Thread David Griffith
Hi all, I was wondering if anyone else is using WO on Linux? It works great most of the time, but sometimes it crashes the server which finally reboots. The biggest problem is that when the server reboots, WO starts to load each of the applications and something happens which stops it a

Re: Sending a request to a url but not returning the page to the user

2006-10-10 Thread Dev WO
Hello Mike,thanks for the clarification:)Is there something I should read regarding concurrent request? in case I need it next time:)XavierJust to be clear, your access pattern of calling into App A from App B does not actually require concurrent request handling to be enabled.  It's only when an a

Re: Webobjects-dev Digest, Vol 3, Issue 682

2006-10-10 Thread Frederico Lellis
Hi all, im have some problems when working with wounittest2, when i run one test here junit show me this error:java.lang.IllegalStateException: Unable to get the name of the class to instantiate for the adaptor framework JavaNoneAdaptor. The possible causes for this error are: the adaptor framework

Re: modifying the save method for WO Display Group

2006-10-10 Thread Jerry W. Walker
Hi, Mat, There are many places you can save the original value of transactionptDisplayGroup.selectedObject.passThroughAmt. I often override appendToResponse for this. If you override takeValuesFromRequest, the return from super.takeValuesFromRequest, will be the first place that all the

Re: Framework import [Solved]

2006-10-10 Thread Logi Helgu
Extensive cleaning( and restarting Eclipse ) finally solved this( must have been cached somewhere and leading to the duplicate import ). Thanx Hörður :) On 10/9/06 8:12 PM, "Hordur Thordarson" <[EMAIL PROTECTED]> wrote: > Is the framework included by any other frameworks ? > > Your problem is

Job opportunity on the Gold Coast (Australia).

2006-10-10 Thread Q
The Gold Coast based ISP I work for, OntheNet, is currently on the lookout for a competent developer for a full time internal developer position. A good working knowledge of OO, SQL DBs + ORM and Unix are vital, familiarity with WebObjects is highly desirable. This isn't technically a WebObjects de

Re: Sending a request to a url but not returning the page to the user

2006-10-10 Thread Mike Schrag
Just to be clear, your access pattern of calling into App A from App B does not actually require concurrent request handling to be enabled.  It's only when an app connects to itself.  That was a "general warning" rather than one specifically targeted at what you're trying to do.msOn Oct 10, 2006, a

Re: To lock() or not to lock()

2006-10-10 Thread Kieran Kelleher
Ricardo, Also, always make sure you use try-finally to make sure the ec is unlocked, otherwise an error condition might branch out and deadlock your EOF stack. (Of course, you can stick a catch in there aswell to report the error) ec.lock(); try { ... ... } finally {

Re: roblem with XSLT Trasformations - was problem generating PDF using FOP

2006-10-10 Thread Amedeo Mantica
Thank you for reply and collaboration here the link for dile downloads http://downloads.insigno.net/fileswo.zip the sourceXML is the XML data grabbed from database (using WebObjects's NSXMLOutputStream) the file is perfect. (some /u000d for CR/LF, but I think is ok) the SimpleTrasformation

Re: Help with ERJavaMail and system properties

2006-10-10 Thread Dev WO
Hi,I hope someone used to Wonder will be able to help.I seems I'm have global issue regarding parameters.From er.javamail attributes to text encoding...Everything is UTF8 but everything is served using ISOxxx! so I have different rendering issue and my customer get their notification emails with tr

Re: Sending a request to a url but not returning the page to the user

2006-10-10 Thread Dev WO
whoa, Thanks for all the replies and input:)I went for the java.net.URLConnectionand also turned on the concurrentrequesthandling (not sure if this can lead to problem...)Thanks Kieran for the sample code, I'm pretty sure I'll be using it:)XavierTHIS IS A RESEND SINCE MODERATOR STOPPED LAST REPLY F

Tomcat By SW 3.2

2006-10-10 Thread Jeremy Matthews
...has been released. Changes include:Updated Tomcat to version 5.5.17 (more than 200+ changes)Updated ANT to v. 1.6.5Updated AXIS components to v. 1.4Updated commons-collections to v. 3.2Updated commons-dbcp to v. 1.2.1Added FrontBase 4.2.6 (Complete Package; you must obtain your own free license