Re: JNDI Datasource vs JDBC (Tomcat deployment)

2008-11-11 Thread Tonny Staunsbrink
Can't quite see how that will work with webobjects (in it's out of the box state), in WO you a multiple threads (when concurrent request handling is enabled) which uses a a synchronized data store. That combined WO's request handler locking strategies makes WO single threaded in practice. The servl

Re: Frontbase CLOB newline problem

2008-11-11 Thread Johann Werner
Am 12.11.2008 um 07:37 schrieb Awbrey Hughlett: On Nov 12, 2008, at 12:33 AM, Q wrote: On 12/11/2008, at 4:24 PM, Awbrey Hughlett wrote: On Nov 12, 2008, at 12:14 AM, Richard Stephens wrote: String comments = aListing.additionalComments().replaceAll("\n", "\\n"); comments = aListing.

Re: Frontbase CLOB newline problem

2008-11-11 Thread Awbrey Hughlett
On Nov 12, 2008, at 12:33 AM, Q wrote: On 12/11/2008, at 4:24 PM, Awbrey Hughlett wrote: On Nov 12, 2008, at 12:14 AM, Richard Stephens wrote: String comments = aListing.additionalComments().replaceAll("\n", "\\n"); comments = aListing.additionalComments().replaceAll("\r", "\\n"); Ar

Re: Frontbase CLOB newline problem

2008-11-11 Thread Q
On 12/11/2008, at 4:24 PM, Awbrey Hughlett wrote: On Nov 12, 2008, at 12:14 AM, Richard Stephens wrote: String comments = aListing.additionalComments().replaceAll("\n", "\ \n"); comments = aListing.additionalComments().replaceAll("\r", "\\n"); Are you sure you don't mean String comments

Re: Frontbase CLOB newline problem

2008-11-11 Thread Awbrey Hughlett
On Nov 12, 2008, at 12:14 AM, Richard Stephens wrote: String comments = aListing.additionalComments().replaceAll("\n", "\ \n"); comments = aListing.additionalComments().replaceAll("\r", "\\n"); Are you sure you don't mean String comments = aListing.additionalComments().replaceAll("\n", "\

Re: Frontbase CLOB newline problem

2008-11-11 Thread Awbrey Hughlett
On Nov 11, 2008, at 11:46 PM, Chuck Hill wrote: On Nov 11, 2008, at 3:39 PM, Awbrey Hughlett wrote: I am trying to print out a text document with data from a CLOB in Frontbase. Print out, as in to an HTML page? No, I am printing it out to a text document available for download as in e

Re: Frontbase CLOB newline problem

2008-11-11 Thread Richard Stephens
String comments = aListing.additionalComments().replaceAll("\n", "\ \n"); comments = aListing.additionalComments().replaceAll("\r", "\\n"); Are you sure you don't mean String comments = aListing.additionalComments().replaceAll("\n", "\\n"); comments = comments.replaceAll("\r", "\\n"); But thi

Re: Frontbase CLOB newline problem

2008-11-11 Thread Chuck Hill
On Nov 11, 2008, at 3:39 PM, Awbrey Hughlett wrote: I am trying to print out a text document with data from a CLOB in Frontbase. Print out, as in to an HTML page? In my code, I get the data and set it to a string value. What I want to do is get rid of all line breaks and carriage return

Re: Frontbase CLOB newline problem

2008-11-11 Thread Mitchell Smith
This is entirely untested but maybe: String comments = aListing.additionalComments().replaceAll("\\n", "\\\n"); Please let me know how it goes. - Original Message - From: "Awbrey Hughlett" <[EMAIL PROTECTED]> To: "WebObjects-Dev Apple" Sent: Wednesday, November 12, 2008 9:39 AM Subj

Frontbase CLOB newline problem

2008-11-11 Thread Awbrey Hughlett
I am trying to print out a text document with data from a CLOB in Frontbase. In my code, I get the data and set it to a string value. What I want to do is get rid of all line breaks and carriage returns. So here is what I have tried and the results that follow: String comments = aListing.ad

Re: Spell Check with WebObjects [Bug in ERXGoogleSpell API]

2008-11-11 Thread Mike Schrag
Modified/Fixed Code: Thanks .. fixed. ms ___ 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.apple.com/mailman/opti

Re: Unit testing & loading models

2008-11-11 Thread Chuck Hill
Hi Logi, On Nov 11, 2008, at 6:26 AM, Logi Helguson wrote: I created a setUp for my Unit test to load the models I needed: // add eomodels NSArray models = new NSArray( new String[] { "MY_MODEL" } ); String path = getClass().getResource( "/" ).toString(); path = path.replace( "bin/", ""

Spell Check with WebObjects [Bug in ERXGoogleSpell API]

2008-11-11 Thread shravan kumar
Hello Mike/ Project Wonder Team, I see a bug in the ERXGoogleSpell API and just want to bring to your attention. Please validate. In the suggestions(text, lang, hl) method, I think we should pass-in 'hl' as the last argument after '&hl=' query string, but 'lang' is passed instead: Current Cod

Re: Spell Check with WebObjects

2008-11-11 Thread John Huss
Jazzy is a dead project, but it does work. It takes just a simple word list (a file with one word per line) as it's dictionary. You have to handle contractions and possessive words manually. John On Tue, Nov 11, 2008 at 5:28 AM, Mike Schrag <[EMAIL PROTECTED]> wrote: > Given the limitation of

Re: capistrano deployments w/ wo

2008-11-11 Thread Mike Schrag
Actually I can do both 1) and 2) :). The only thing - I'm afraid I'll be able to do it not sooner than this weekend. Sounds good to me ... Any info you're able to share would be appreciated. ms ___ Do not post admin requests to the list. They will b

Re: capistrano deployments w/ wo

2008-11-11 Thread Jean-Francois Veillette
Le 08-11-11 à 11:01, Michael Bushkov a écrit : Hi Mike! Actually our whole build/deployment system is built around capistrano. We're not using standard capistrano recipes, but we use our own. It has a lot of stuff we need (builds on commits, automatic builds of dependencies, apps restarting, se

Re: capistrano deployments w/ wo

2008-11-11 Thread Michael Bushkov
Hi Mike! Actually our whole build/deployment system is built around capistrano. We're not using standard capistrano recipes, but we use our own. It has a lot of stuff we need (builds on commits, automatic builds of dependencies, apps restarting, selenium testing, user hooks, notification hooks, etc

capistrano deployments w/ wo

2008-11-11 Thread Mike Schrag
i have a hazy memory of someone talking about deploying wo apps with capistrano and was curious who that was and if they had some more details they could share ... just looking around at some options and capistrano seems like a decent starting point. ms

MEETING: Chicago CocoaHeads/CAWUG Tuesday November 11th

2008-11-11 Thread Bob Frank
Just a reminder, hope to see you tonight. The Chicago CocoaHeads / Chicago Cocoa and WebObjects User Group (CAWUG) is holding our next meeting Tuesday, November 11th, at 7:00 PM at the Apple Store on Michigan Ave. Agenda: - Introductions & Announcements - Your first coc

Unit testing & loading models

2008-11-11 Thread Logi Helguson
I created a setUp for my Unit test to load the models I needed: // add eomodels NSArray models = new NSArray( new String[] { "MY_MODEL" } ); String path = getClass().getResource( "/" ).toString(); path = path.replace( "bin/", "" ); // now we should be at the workspace, add location for EOMo

Re: Spell Check with WebObjects

2008-11-11 Thread Mike Schrag
Given the limitation of 1000 requests/ day and 10 words to be sent at a time, I am a bit scary to use Google spell check API. Do we have any other better alternative. http://www.google.com/search?client=safari&rls=en-us&q=java+spell+check&ie=UTF-8&oe=UTF-8 turns up quite a few alternatives in