Force a subsequent call to a Javascript routine from within the Action method processing of a submit

2008-02-14 Thread Baiss Eric Magnusson
I have a WOImageButton with an Action method which brings up an editing pane. I need to call Javascript to set the of one of the WOPopupButtons in the editing pane, right now it always defaults to zero. The form has multiple submit buttons and each record shown on the page has it own W

Re: Tags inside tags [was: Re: WebObjects 5.4 is out.]

2008-02-14 Thread Paul Hoadley
On 13/02/2008, at 2:13 PM, Jake MacMullin wrote: I don't know if this has been aswered yet as for some reason this thread is a bit messed up for me - I don't have the original question... But, in answer to the broader question of "what's the WO idiom" for avoiding tags within tags? Someth

Re: Components and the Memory Game

2008-02-14 Thread Cornelius Jaeger
hi chuck it's kind of tricky, there is basically one root object, and the xml descends from that. everything are convoluted and strange relationships based on the root object. i've gone the easy way and written a small scheduler which i run as a separate app and just let that take care of i

Re: wobuild.properties NOT used by Wonder build files

2008-02-14 Thread Anjo Krank
you can edit Build/build/generic.xml and change to and see if this works. If It does, I'll change it in the code. My guess is that this part of wonder predates woproject's handling by a huge margin... Cheers, Anjo Am 14.02.2008 um 22:09 schrieb Archibal Singleton: O

wobuild.properties NOT used by Wonder build files

2008-02-14 Thread Archibal Singleton
On 11 Feb 2008, at 20:03, Archibal Singleton wrote: On 26 Oct 2007, at 12:21, Anjo Krank wrote: IIRC, you just set: wo.wosystemroot=/some/place/or/other where /some/place/or/other/Library/Frameworks/ has all the WO stuff in it. [snip] ie I've replace all occurences of /System on the r

Re: mySQL 5

2008-02-14 Thread Lachlan Deck
On 15/02/2008, at 1:23 AM, Simon McLean wrote: If I were in your shoes I would definitely look at Openbase and MySQL, but also Frontbase and Postgres which both seem to have quite fan base. I don't think you can go far wrong with any of them. Yep. Take note: if you're deployment environmen

Re: mySQL 5

2008-02-14 Thread Andrew Lindesay
Hello; Does anybody here have troubles with MySQL somehow leaking memory at the client end when long-run batch processes are occuring? I have had memory issues on two projects and identified the probably cause as the involvement of MySQL. One project uses three database products, and I

Re: 5.4.1 is out

2008-02-14 Thread Gavin Eadie
The notes are up: http://docs.info.apple.com/article.html?artnum=307466 On Feb 12, 2008, at 1:11 AM, Mr. Pierre Frisch wrote: Sorry about the release notes, they should have gone up with the release. We are trying to that fixed ASAP. In the mean time here they are. ___

Re: Servlet HttpSession in webobjects?

2008-02-14 Thread Mike Schrag
Cool, thanks, I'll give that a shot. Do you think it would be worth posting the final code if I get it working? Or maybe a short "HowTo" on the wiki disucssing creating a facebook integrated application, including how to setup things on the facebook side and in your project? Being it's

Re: Servlet HttpSession in webobjects?

2008-02-14 Thread netBrackets
Cool, thanks, I'll give that a shot. Do you think it would be worth posting the final code if I get it working? Or maybe a short "HowTo" on the wiki disucssing creating a facebook integrated application, including how to setup things on the facebook side and in your project? Being it's a pub

Re: Rapid Turnaround - RESOLVED BUT RUNS SLOW -

2008-02-14 Thread Ricardo Parada
Well, I found the mail where Mike Schrag talks about the slowness and so I decided to turn on the PB.project generation in the preferences. Then did a clean build. Quit and restarted Eclipse. And now it goes faster. :-D The lines in the console about will locate resources in '.../som

Re: WOAllowRapidTurnaround = true Isn't working...

2008-02-14 Thread Ricardo Parada
Hi Pierre. Did this make it into the latest WO 5.4.1 update? Thanks, Ricardo J. Parada On Jan 23, 2008, at 11:11 AM, Mr. Pierre Frisch wrote: Date: Wed, 23 Jan 2008 10:03:50 -0800 From: "Mr. Pierre Frisch" <[EMAIL PROTECTED]> Subject: Re: WOAllowRapidTurnaround = true Isn't working... To: Mi

Re: mySQL 5

2008-02-14 Thread Matteo Centro
I totally agree... And I personally don't trust anything that is not CLI ;) Also, when you understand the mechanism, it's pretty easy to setup clusters and replication! Command line is your friend! Matteo On 14-feb-08, at 15:23, Simon McLean wrote: I've often heard that MySQL is complic

Re: mySQL 5

2008-02-14 Thread Matteo Centro
We migrated ages ago but I remember there was an issue with TEXT data type encodings... If you are using accents or other weird european characters you'll have to dump the tables and recreate them and you'll have to play a little bit with --default-character-set when you do so. Hope it he

Re: mySQL 5

2008-02-14 Thread Simon McLean
I've often heard that MySQL is complicated to administer, but I've never understood where that opinion came from. Maybe it stems from older versions of MySQL, or maybe people are just referring to replication and clusters which don't have a GUI. Anyway, for the record, MySQL itself (cluster

Re: Servlet HttpSession in webobjects?

2008-02-14 Thread Mike Schrag
your Session.java: public class Session extends WOSession { private String _facebookSession; ... public void setFacebookSession(String facebookSession) { _facebookSession = facebookSession; } public String facebookSession() {

Re: mySQL 5

2008-02-14 Thread Daniel Brajkovic
I'm curious as to why you moved from openbase. MySQL seems more complicated to administer especially regarding clusters and also seems more expensive if you want any support. I am creating a new webapp and was planning to use openbase. Sent from my iPhone On Feb 14, 2008, at 5:17 AM, Simon

Re: mySQL 5

2008-02-14 Thread Simon McLean
we use 5 (we didn't upgrade from 4, we moved from openbase). no problems at all with webobjects. simon On 14 Feb 2008, at 11:11, David Griffith wrote: Hi All, I was wondering if anyone that is using mySQL has upgraded from mySQL 4 to mySQL 5? If so, have you noticed any bugs or pitfalls?

mySQL 5

2008-02-14 Thread David Griffith
Hi All, I was wondering if anyone that is using mySQL has upgraded from mySQL 4 to mySQL 5? If so, have you noticed any bugs or pitfalls? Our hosting service is going to upgrade us soon and I do remember that after the last upgrade we had some major problems due to some changes to the d

Re: Error on saveChanges with WOBrowser or WOCheckBoxList

2008-02-14 Thread Alexander Spohr
Am 12.02.2008 um 14:14 schrieb Sennikov, Dimitri: I only have 1-to-many, a user can be a part of several departments whereas department has no relationship with any user from its side. Are you sure, your model has a relationship? It sounds, like you try to have an NSArray as a column, not as

Re: Converting from one subclass to another

2008-02-14 Thread Alexander Spohr
Am 13.02.2008 um 23:06 schrieb David Avendasora: I think the best thing I could do is throw the whole inheritance structure out and simply put an "if" clause on the valueQuantity() method that returns the calculated value if nutritionValueType() returns "Calculated", or simply change nutri

Re: Rapid Turnaround - RESOLVED BUT RUNS SLOW -

2008-02-14 Thread Alexander Spohr
Am 14.02.2008 um 04:47 schrieb Ricardo Parada: On Feb 13, 2008, at 8:38 PM, Ricardo Parada wrote: I figured it out. It turned out that the superclass for my application has this in there in the constructor: this.setCachingEnabled(true); So I just changed that to true and now