Eclipse not releasing backend???

2008-02-08 Thread Theodore Petrosky
I seem to be having a problem with eclipse not releasing my postgresql backend when I stop my test app. I pushed the number of max_connections to 60... but if I start and stop my app, I run out of connections and I am forced to quit Eclipse and relaunch. Is there a way to force eclipse to close th

Re: Problem showing project images in app ported to WOLips from XCode

2008-02-08 Thread Apoorva Muralidhara
[I meant to send this to the whole list, not just to Chuck.] On Feb 7, 2008, at 7:25 PM, Chuck Hill wrote: This is such a fun part of WOLips! I'm having the time of my life. :-) I think you are using the Fluffy Bunny layout. That flattens resources automatically. If you want WebServer

Re: SQL Schema comparator

2008-02-08 Thread Lachlan Deck
On 09/02/2008, at 7:41 AM, Mike Schrag wrote: Subject says it all... the ideia is comparing two SQL schemas to help writing migration stuff. Anyone knows/uses/recommends any software to do this? To sidestep your question, I write ERX migrations as I'm developing -- I never modify the datab

Re: NSNumberFormatter vs NumberFormat

2008-02-08 Thread Lachlan Deck
On 09/02/2008, at 4:03 AM, Daniele Corti wrote: 2008/2/8, Michael Halliday <[EMAIL PROTECTED]>: Just a question regarding the use of NSNumberFormatter vs NumberFormat. Hi Michael, Look I'm not an expert of this, but I see that NumberFormat has not the format() method for Objects (it

Wonder Blog

2008-02-08 Thread Anjo Krank
All, we finally decided to scrap the SF page and create a blog: http://projectwonder.blogspot.com/ So you might want to subscribe to get announcements of new features and stuff. Cheers, Anjo ___ Do not post admin requests to the list. They will

Re: Store (large) images inside or outside database?

2008-02-08 Thread Lachlan Deck
On 08/02/2008, at 8:58 PM, Susanne Schneider wrote: These were my considerations: - memory consumption while using eos (as I understood the image- property would at least be hold twice: once in the eo in every editing context and once in the snapshot) If you do store them in the database, co

IE7 Printing WOImage issues

2008-02-08 Thread Brian Lakeman
I've been banging my head against the wall trying to work around this issue: I've got a WOImage that uses the data attribute bound to an NSData object to provide the image, and the mimeType defined accordingly. When viewing this in IE7 the image displays fine, if I try to print the page,

Re: SQL Schema comparator

2008-02-08 Thread David den Boer
Actually, we use SQLDeveloper for our Oracle, but also for some of the smaller databases in MySQL and Postgres around here too. It is just a jdbc solution, granted, not as good for non-oracle as it is for Oracle. On Feb 8, 2008, at 12:14 PM, Oliver Scheel wrote: Which database do you use?

Re: Multiple EOModels & Servlets

2008-02-08 Thread David Avendasora
Okay, I figured it out. In my Context.xml file (which Tomcat copies and renames to the conf/ Catalina/localhost/MyApp.xml upon startup, the datasource Resource "name" parameters have to match the name of the EOModel. So, if your model is named MyApp.eomodel, the data source "name" paramete

Re: Wonder 4 and JAVA/WO versions

2008-02-08 Thread Oliver Scheel
Thank you for that information. "I will give me a try" ;-) Oliver > Von: Lachlan Deck <[EMAIL PROTECTED]> > Datum: Fri, 8 Feb 2008 21:33:38 +1100 > An: Oliver Scheel <[EMAIL PROTECTED]> > Cc: > Betreff: Re: Wonder 4 and JAVA/WO versions > > On 07/02/2008, at 8:26 PM, Oliver Scheel wrote: > >>

Multiple EOModels & Servlets

2008-02-08 Thread David Avendasora
Hi all, I'm getting the following error: [2008-02-08 16:11:42,847] NSLog$Log4JLogger - An exception occurred while trying to open a channel: com.webobjects.jdbcadaptor.JDBCAdaptorException: Found multiple data sources. Please map the EOModels to a data source explicitly! How do you expl

Re: SQL Schema comparator

2008-02-08 Thread Miguel Arroz
Hi! That will work for relatively small modifications, but I'm doing some big changes and experimentation, so I don't want to be constantly thinking on migration code right now. That would require too much discipline! :) Yours Miguel Arroz On 2008/02/08, at 20:41, Mike Schrag wrote

Re: SQL Schema comparator

2008-02-08 Thread Miguel Arroz
Hi! I forgot that detail: I'm using PostgreSQL. Yours Miguel Arroz On 2008/02/08, at 20:14, Oliver Scheel wrote: Which database do you use? For Oracle you can use PL/SQL Developer which does a quite good job (though it doesn't support partitioned tables and indexes). For all other d

Re: SQL Schema comparator

2008-02-08 Thread James Nugent
Subject says it all... the ideia is comparing two SQL schemas to help writing migration stuff. Anyone knows/uses/recommends any software to do this? If you're developing against SQL Server (which I suppose is unlikely but possible!), Red Gate SQL Compare and SQL Data Compare do a fantast

Re: SQL Schema comparator

2008-02-08 Thread Mike Schrag
Subject says it all... the ideia is comparing two SQL schemas to help writing migration stuff. Anyone knows/uses/recommends any software to do this? To sidestep your question, I write ERX migrations as I'm developing -- I never modify the database directly. That way when you're done with

Re: Dealing with relationships and inheritance

2008-02-08 Thread David Holt
Hi Philippe, Practical WebObjects uses Eclipse, but there have been a lot of improvements to the WOLips tools since it was published. It is intended for a pretty experienced audience, but the concepts are very valuable to start to wrap your head around even if you're a beginner. Check o

Re: SQL Schema comparator

2008-02-08 Thread Oliver Scheel
Which database do you use? For Oracle you can use PL/SQL Developer which does a quite good job (though it doesn't support partitioned tables and indexes). For all other databases you could take a look at Aqua Data Studio. Oliver > Von: David Holt <[EMAIL PROTECTED]> > Datum: Fri, 08 Feb 2008 11

Re: Dealing with relationships and inheritance

2008-02-08 Thread Philippe Guitard
As far as I know there's no book covering WebObjects programming with WOLips. Would Chuck's book "Practical WebObjects" be a good starting point to learn the WO concepts with the IDE set aside (XCode vs. Eclipse)? ~Philippe ___ Do not post admin request

Re: SQL Schema comparator

2008-02-08 Thread David Holt
Hi Miguel, I find "textwrangler" and "FileMerge" (/Developer/Applications/ Utilities/FileMerge) work well for this task if you export the schemas as .sql files. Just compare the differences line by line as you would for code. David On 8-Feb-08, at 11:21 AM, Miguel Arroz wrote: Hi! Su

SQL Schema comparator

2008-02-08 Thread Miguel Arroz
Hi! Subject says it all... the ideia is comparing two SQL schemas to help writing migration stuff. Anyone knows/uses/recommends any software to do this? Yours Miguel Arroz Miguel Arroz http://www.terminalapp.net http://www.ipragma.com smime.p7s Description: S/MIME cryptographic s

Re: WOCheckBox to my instance

2008-02-08 Thread Ryan Klems
So your checkbox is in a form, is the form actually submitting? e.g. is there an onClick() on the checkbox to submit the form, or a submit button that you are pressing? Also, is this a direct action or a component action form, if its a direct action, you have to manage the value on your o

Re: WOCheckBox to my instance

2008-02-08 Thread Theodore Petrosky
Interesting, when I put public ListOfAds(WOContext context) { super(context); allAdsBool = true; } the checkbox shows up as checked... but when I click it to remove the check the setter is not firing. Ted into the --- David LeBer <[EMAIL PROTECTED]> wrote: > > On 8-Feb-08, a

Re: WOCheckBox to my instance

2008-02-08 Thread Theodore Petrosky
yes... the whole page is wrapped up in: all my stuff mainForm : WOForm { multipleSubmit = true; } --- David LeBer <[EMAIL PROTECTED]> wrote: > > On 8-Feb-08, at 11:23 AM, Theodore Petrosky wrote: > > > I have a WOCheckBox in my Component and I am > trying to > > bind it back t

Re: WOCheckBox to my instance

2008-02-08 Thread David LeBer
On 8-Feb-08, at 11:23 AM, Theodore Petrosky wrote: I have a WOCheckBox in my Component and I am trying to bind it back to the app. I have this in my WOD HTML WOD allOrOpenOnlyCheckBox: WOCheckBox { checked = allAdsBool; } And this in my .java: public Boolean allAdsBool; public Boolea

AW: WOCheckBox to my instance

2008-02-08 Thread Weide, Björn
Hi, please ensure that you have the checkbox inside a WOForm tag (and that you are submitting this form). Ciao, Bjoern -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Theodore Petrosky Gesendet: Freitag, 8. Februar 2008 18:04 An: Daniele Corti Cc

Re: WOCheckBox to my instance

2008-02-08 Thread Theodore Petrosky
So, If I understand your suggestion: allOrOpenOnlyCheckBox: WOCheckBox { value = "true"; selection = allAdsBool; } I am trying this now... but when I click the checkbox I do not see the NSLog fire. Ted --- Daniele Corti <[EMAIL PROTECTED]> wrote: > 2008/2/8, Theodore Petrosky <[EM

Re: NSNumberFormatter vs NumberFormat

2008-02-08 Thread Daniele Corti
2008/2/8, Michael Halliday <[EMAIL PROTECTED]>: > > Hey list!! > > Just a question regarding the use of NSNumberFormatter vs NumberFormat. > > We're working on localizing one of our app for use in multiple > countries. We are dealing with decimal and currency formats in a > variety of locales. Ju

Re: NSNumberFormatter vs NumberFormat

2008-02-08 Thread Mr. Pierre Frisch
There was a long discussion about the NSTimestampFormatter not long ago. I would put the NSNumberFormatter in the same bag. Duplicate API, should be deprecated. I did not do it as it was was working for most people but I don't see the point of fixing bugs there when the Java one work perfec

Re: Dealing with relationships and inheritance

2008-02-08 Thread Chuck Hill
I was fairly sure that I have seen this in other situations, but it might just have been using the EOUtilities methods which don't set isDeep. Charles, are your table names identical in the model? What code is triggering the multiple selects on one table? Chuck On Feb 7, 2008, at 3:22

Re: WOCheckBox to my instance

2008-02-08 Thread Daniele Corti
2008/2/8, Theodore Petrosky <[EMAIL PROTECTED]>: > > I have a WOCheckBox in my Component and I am trying to > bind it back to the app. I have this in my WOD > > HTML > > > > WOD > allOrOpenOnlyCheckBox: WOCheckBox { > checked = allAdsBool; > } Ehm, I usually don't use this binding, I prefer

Re: LazyGenericRecordBinding

2008-02-08 Thread Chuck Hill
On Feb 8, 2008, at 5:24 AM, Frédéric JECKER wrote: Hi, I handle deep object graphs and sometimes, coming from nowhere I run into LazyGenericRecordBinding errors: [2008-02-08 14:01:29 CET] java.lang.NullPointerException at com.webobjects.eocontrol.EOCustomObject.willReadRelationship

NSNumberFormatter vs NumberFormat

2008-02-08 Thread Michael Halliday
Hey list!! Just a question regarding the use of NSNumberFormatter vs NumberFormat. We're working on localizing one of our app for use in multiple countries. We are dealing with decimal and currency formats in a variety of locales. Just wondering what everyone else uses and the pros and c

WOCheckBox to my instance

2008-02-08 Thread Theodore Petrosky
I have a WOCheckBox in my Component and I am trying to bind it back to the app. I have this in my WOD HTML WOD allOrOpenOnlyCheckBox: WOCheckBox { checked = allAdsBool; } And this in my .java: public Boolean allAdsBool; public Boolean allAdsBool() { return allAdsBool; } public

LazyGenericRecordBinding

2008-02-08 Thread Frédéric JECKER
Hi, I handle deep object graphs and sometimes, coming from nowhere I run into LazyGenericRecordBinding errors: [2008-02-08 14:01:29 CET] java.lang.NullPointerException at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1293) at com.webobjects.eocontrol

Re: Store (large) images inside or outside database?

2008-02-08 Thread Andrew Lindesay
Hello Susanne; I have a project where I'm needing to store fairly large quantities of data as files - maybe some hundreds of gigs or a terabyte or so. I keep an index of the data in a relational database, but the actual files are stored on a file-server. I have written a little servlet

Re: Wonder 4 and JAVA/WO versions

2008-02-08 Thread Lachlan Deck
On 07/02/2008, at 8:26 PM, Oliver Scheel wrote: I was using an earlier version of Wonder 4 with WO 5.2.4 and Java 1.4. Now I want to upgrade, but the binaries are only (or at least mostly) for Java 1.5. Simple question: Is the Wonder 4 still compatible to WO 5.2.4 and Java 1.4 for the most

Re: Eclipse Default Template Issue?

2008-02-08 Thread David Avendasora
And, the newest versions of WOLips hides the fact that Main.wo is a folder because usually what you want to do is open both the HTML and WOD file together, so it treats it like a package, which means that a double-click doesn't open the folder, it opens BOTH the .html and .wod files automat

Re: Store (large) images inside or outside database?

2008-02-08 Thread sip-dev
Hi, as far as I remember, oracle 9i uses to store big blobs in the filesystem and handles them with an internal link - I suppose this to be the default, though you can make the db store everything within its own files. So I would prefer the option of pushing all images into the fs and hand

Store (large) images inside or outside database?

2008-02-08 Thread Susanne Schneider
Hi everyone, here. Jerry, in any case thanks for the link.> today I need some advice on a conceptual basis: We need to include images in our WO 5.2.3 application working with Oracle 9.i as a database. The images may be of various kind including DICOM images and therefore could be very different