Component Actions: & encoding bug

2007-08-22 Thread Joe Moreno
Hi, I was just recently bitten by WOContext's directActionURLForActionNamed bug:  The key/value pairs generated by this method are joined by & instead of just &. Obviously, that was a simple bug to work around (just replace & with & as Jeff Schmitz suggested).But, now for a tougher problem. I have

Re: setting default order of entity fetches

2007-08-22 Thread Louis Demers
Hi, this is the first time I saw the page you referenced. Is there some error on the page http://wiki.objectstyle.org/confluence/display/WO/ Programming__WebObjects-Project+WONDER-Frameworks-ERExtensions which cases none of the links to work ? On 22-Aug-07, at 22:52 , Steven Mark McCr

Re: setting default order of entity fetches

2007-08-22 Thread Chuck Hill
On Aug 22, 2007, at 6:22 PM, Lachlan Deck wrote: On 23/08/2007, at 10:46 AM, Chuck Hill wrote: On Aug 22, 2007, at 5:09 PM, Lachlan Deck wrote: Hi there, EOEntity has a restrictingQualifier that's applied to every fetch for the relevant entity. Is there any similar mechanism for instal

Re: setting default order of entity fetches

2007-08-22 Thread Steven Mark McCraw
For Wonder users, you can do all kinds of neat things with ERXArrayUtilities and key-value coding: http://wiki.objectstyle.org/confluence/display/WO/ Programming__WebObjects-WOnder-ERXArrayUtilities This allows you to do things like quickly and easily sort in your bindings: list = [EMAIL

Re: setting default order of entity fetches

2007-08-22 Thread Ken Anderson
To me, sorting is something that should really occur at the UI or 'use' level. Also, if you consider the amount of CPU needed to sort the EOs returned to you, it's probably comparable to what the DB has to do anyway, so why not distribute it? On Aug 22, 2007, at 9:22 PM, Lachlan Deck wrote

Re: setting default order of entity fetches

2007-08-22 Thread Lachlan Deck
On 23/08/2007, at 10:46 AM, Chuck Hill wrote: On Aug 22, 2007, at 5:09 PM, Lachlan Deck wrote: Hi there, EOEntity has a restrictingQualifier that's applied to every fetch for the relevant entity. Is there any similar mechanism for installing a default ordering for fetched objects of eac

Re: setting default order of entity fetches

2007-08-22 Thread Chuck Hill
On Aug 22, 2007, at 5:09 PM, Lachlan Deck wrote: Hi there, EOEntity has a restrictingQualifier that's applied to every fetch for the relevant entity. Is there any similar mechanism for installing a default ordering for fetched objects of each entity (e.g., when following a toMany relat

setting default order of entity fetches

2007-08-22 Thread Lachlan Deck
Hi there, EOEntity has a restrictingQualifier that's applied to every fetch for the relevant entity. Is there any similar mechanism for installing a default ordering for fetched objects of each entity (e.g., when following a toMany relationship)? Or any delegate methods somewhere? Thank

WebServices Custom Fault Message

2007-08-22 Thread Drew Thoeni
Dear list, I'm implementing a web service (must say WO makes this quite easy) and would like to send back custom fault messages (e.g. record not found, etc.). I've been through the two docs Apple has, the examples, and the list archives and have found no mention of how to implement this.

Question about WOFrameworksBaseURL option

2007-08-22 Thread Kieran Kelleher
Quick question: For using the WOFrameworksBaseURL option to point to embedded frameworks ws resources, do I need to embed the Apple ws resources frameworks too from or can I just embed my /Library/ Frameworks ws resources dependencies? ___ Do no

Re: Your input on new open source projects

2007-08-22 Thread Hugi Thordarson
If you don't mind using commercial software, I'm using PD4ML to do this and it works like a charm (I gave up using iText, primarily because I didn't have the time to figure out some of it's quirks - although I'm using it in some places). I grabbed the following method from our frameworks as

Re: Poor Oracle performance? getting rid of bind variables

2007-08-22 Thread Pascal Robert
Le 07-08-22 à 11:34, Guido Neitzer a écrit : On 22.08.2007, at 07:06, Mike Schrag wrote: Yes, this is REEEALLY important, as you found. It's the same with Postgresql, too, Yeah, but there it is really easy to get it to update statistics automatically with autovacuum which works really w

Re: Poor Oracle performance? getting rid of bind variables

2007-08-22 Thread Guido Neitzer
On 22.08.2007, at 07:06, Mike Schrag wrote: Yes, this is REEEALLY important, as you found. It's the same with Postgresql, too, Yeah, but there it is really easy to get it to update statistics automatically with autovacuum which works really well if it is correctly set up. Not sure about

Re: Poor Oracle performance? getting rid of bind variables

2007-08-22 Thread Wiktor Moskwa
Pascal Robert pisze: > The reason ? The statistics on the prod server were 10 months old. As > a example, a SELECT was taking 4 minutes with the old stats, after a > refresh of the stats, the same query would take ... 500 ms. If you do > an EXPLAIN on a SELECT and you see some CARTESIAN JOINT, c

Re: Poor Oracle performance? getting rid of bind variables

2007-08-22 Thread Mike Schrag
Speaking of, last week I found out the hard way that you really have to keep your statistics up to date or else everything will be slow. Our test server, where we don't collect statistics at all (so I guess it was using COB), was returning results faster than our production server (even i

Re: Poor Oracle performance? getting rid of bind variables

2007-08-22 Thread Pascal Robert
Le 07-08-21 à 16:07, Wiktor Moskwa a écrit : Ken Anderson wrote: According to the DBA, we're using the Rule Based Optimizer, not the Cost Based Optimizer, so therefore, no statistics. Well, RBO is deprecated in 10g and CBO is far superior to it. It's completely off-topic but I can't unders

Re: Installing WebObjects deployment on macosx 10.4 client computer

2007-08-22 Thread Fabrice Pipart
The only issue I have with deploying on a Client OS X is the management of ssl certificate to use htttps. The cert key is asked in console. That means you have to manually start Apache after any restart. On the other side Server OS X has a nice mechanism to do this by itself. Just in case you pl

Re: Your input on new open source projects

2007-08-22 Thread Fabrice Pipart
On Aug 20, 2007, at 11:44 AM, Kieran Kelleher wrote: Hi Pascal, #1) An open source WO framework that renders PDF files from a HTML response the same as if a user did a "Print to PDF" in their browser . the framework can wrap iText or whatever . That one would be GREAT for me :-)