Re: Custom EOSortOrdering for a WODisplayGroup

2010-05-04 Thread Johann Werner
Hi Paul, if you want to write your own comparator look at ERXComparisonSupport from Wonder how it should be written. Unfortunately you have to register your comparator for a specific class type (e.g. String.class) so it is used automatically in place of the default comparator but this means you

Custom EOSortOrdering for a WODisplayGroup

2010-05-04 Thread Paul Hoadley
Hello, Here is the problem I am trying to solve: 1. I have an 'Invoice' entity with a 'number' attribute. The attribute's type is VARCHAR. This is completely intentional, as the client may want the "number" to contain letters at some point. (Pretend the attribute name is "identifier" if it

Re: Question about concurrent request handling

2010-05-04 Thread Chuck Hill
On May 4, 2010, at 4:43 PM, Ricardo J. Parada wrote: On May 4, 2010, at 6:23 PM, Chuck Hill wrote: On May 4, 2010, at 3:17 PM, Ricardo J. Parada wrote: If I have concurrent request handling enabled and I have a query taking a long time, will other requests block when they try to access

Re: Question about concurrent request handling

2010-05-04 Thread Ricardo J. Parada
On May 4, 2010, at 6:23 PM, Chuck Hill wrote: > On May 4, 2010, at 3:17 PM, Ricardo J. Parada wrote: >> >> If I have concurrent request handling enabled and I have a query taking a >> long time, will other requests block when they try to access the database >> until the request that issued the

Re: Question about concurrent request handling

2010-05-04 Thread Tom M. Blenko
Even with concurrent request handling turned on, access to the database is serialized. Two backdoor ways of getting an additional EOF stack: Most long queries (after optimization) I've had were related to reporting. Moving the reporting to a separate application prevented the long query

Re: Entity Modeler: _deletedEntityNamesInObjectStore in index.eomodeld

2010-05-04 Thread Paul Hoadley
On 05/05/2010, at 2:28 AM, Chuck Hill wrote: > On May 4, 2010, at 3:50 AM, Paul Hoadley wrote: > >> Hello, >> >> I added an attribute to the "Fund" entity in an EO model. I'm about to >> commit the changes, and I see this in the diff for index.eomodeld: >> >>internalInfo = {"_deletedEntit

Re: Question about concurrent request handling

2010-05-04 Thread Chuck Hill
On May 4, 2010, at 3:17 PM, Ricardo J. Parada wrote: If I have concurrent request handling enabled and I have a query taking a long time, will other requests block when they try to access the database until the request that issued the long query finishes? They will block if they attempt

Question about concurrent request handling

2010-05-04 Thread Ricardo J. Parada
If I have concurrent request handling enabled and I have a query taking a long time, will other requests block when they try to access the database until the request that issued the long query finishes? Thanks, Ricardo ___ Do not post admin reques

Re: appendToResponse ??

2010-05-04 Thread Farrukh Ijaz
Did you try using AjaxModalDialog.update(context()) ? before the return statement of the action you invoked? On 2010-05-04, at 11:57 PM, Theodore Petrosky wrote: > I am using an AjaxModalDialog with an action that returns the 'nextPage'. > (right from the ajax examples)... > > I want the page

Re: appendToResponse ??

2010-05-04 Thread Theodore Petrosky
My bad... I forget the.. super.appendToResponse(response, context); on the last line.. Ted --- On Tue, 5/4/10, Theodore Petrosky wrote: > From: Theodore Petrosky > Subject: appendToResponse ?? > To: webobjects-dev@lists.apple.com > Date: Tuesday, May 4, 2010, 4:57 PM > I am using an

appendToResponse ??

2010-05-04 Thread Theodore Petrosky
I am using an AjaxModalDialog with an action that returns the 'nextPage'. (right from the ajax examples)... I want the page java to go to the database for data when it shows so I am hoping to add: public void appendToResponse(WOResponse response, WOContext context) { NSLog.out.appendln(

Re: WODirectConnectEnabled false resource paths problem

2010-05-04 Thread David LeBer
On 2010-05-04, at 4:31 PM, David LeBer wrote: > > On 2010-05-04, at 9:39 AM, Kieran Kelleher wrote: > >> FWIW, I have no problems with dev resource URLS and I just checked two >> separate application dev environments right just now: >> >> 1) Eclipse 3.5.1 Carbon, WOLips 3.5.6409, WebObjects 5

Re: WODirectConnectEnabled false resource paths problem

2010-05-04 Thread David LeBer
On 2010-05-04, at 9:39 AM, Kieran Kelleher wrote: > FWIW, I have no problems with dev resource URLS and I just checked two > separate application dev environments right just now: > > 1) Eclipse 3.5.1 Carbon, WOLips 3.5.6409, WebObjects 5.3.3 > > 2) Eclipse 3.5.1 Carbon, WOLips 3.5.6031, WebObj

Re: ERModernLook

2010-05-04 Thread Travis Britt
On May 4, 2010, at 2:49 PM, David Avendasora wrote: > I'm busy cutting out meaningless smart-ass comments made by me and using text > pop-ups to show the meaningful questions asked by others I take this to mean the mostly-baseless accusations of me sucking up all the bandwidth with Middle Earth

Re: ERModernLook

2010-05-04 Thread David Holt
On 2010-05-04, at 11:49 AM, David Avendasora wrote: > Hi David, David, David and all non-Davids, > > I actually just started editing it today. I had completely forgotten about it > until Travis Britt asked after it. WHAT??? You're not using it on all your projects yet? :-) > > I've got prob

Re: ERModernLook

2010-05-04 Thread Pascal Robert
Le 10-05-04 à 14:59, David LeBer a écrit : On 2010-05-04, at 2:49 PM, David Avendasora wrote: Hi David, David, David and all non-Davids, Really? *All* non-Davids? Thanks a lot, I was working hard on that whole exclusivity thing and you had to ruin it. I think that we shall call all of

Re: secure binding

2010-05-04 Thread Chuck Hill
On May 4, 2010, at 9:53 AM, Cheong Hee Ng wrote: I mentioned about the approaches as once I discussed with close contact who run serious application e.g. internet banking, advised the switching should be avoided. It may induce some problems due to secured http switching or someone could m

Re: ERModernLook

2010-05-04 Thread David LeBer
On 2010-05-04, at 2:49 PM, David Avendasora wrote: > Hi David, David, David and all non-Davids, Really? *All* non-Davids? Thanks a lot, I was working hard on that whole exclusivity thing and you had to ruin it. > > I actually just started editing it today. I had completely forgotten about it

Re: ERModernLook

2010-05-04 Thread David Avendasora
Hi David, David, David and all non-Davids, I actually just started editing it today. I had completely forgotten about it until Travis Britt asked after it. I've got probably another hour or so of editing to do to get it ready to go. David's audio is perfect and so is the demo itself, but the au

Re: qualifierWithQualifierFormat ???

2010-05-04 Thread David LeBer
On 2010-05-04, at 2:23 PM, David LeBer wrote: > > On 2010-05-04, at 12:34 PM, Theodore Petrosky wrote: > >> David, >> >> This is fantastic... >> >> EOQualifier openVersionsQualifier = >> Job.VERSIONS.dot(Version.VERSION_STATUS).dot(VersionStatus.VERSION_STATUS_TITLE).eq("Released").and(Job

Re: back to ERXBatchingDisplayGroup instead of ERXDisplayGroup

2010-05-04 Thread Chuck Hill
On May 4, 2010, at 11:08 AM, Baiss Eric Magnusson wrote: On May 3, 2010, at 6:18 PM, Chuck Hill wrote: public ERXBatchingDisplayGroup curTrans; curTrans.queryBindings().setObjectForKey( … ); try { curTrans.setObjectArray( theOwner.tra

Re: qualifierWithQualifierFormat ???

2010-05-04 Thread David LeBer
On 2010-05-04, at 12:34 PM, Theodore Petrosky wrote: > David, > > This is fantastic... > > EOQualifier openVersionsQualifier = > Job.VERSIONS.dot(Version.VERSION_STATUS).dot(VersionStatus.VERSION_STATUS_TITLE).eq("Released").and(Job.CLIENT.eq(currentClient)); > > readyToBillJobList

Re: back to ERXBatchingDisplayGroup instead of ERXDisplayGroup

2010-05-04 Thread Baiss Eric Magnusson
On May 3, 2010, at 6:18 PM, Chuck Hill wrote: >> public ERXBatchingDisplayGroup curTrans; >> curTrans.queryBindings().setObjectForKey( … ); >> try { >> curTrans.setObjectArray( theOwner.transactions() ); >> curTrans.qualifyDataSource(); >

Re: qualifierWithQualifierFormat ???

2010-05-04 Thread David Avendasora
On May 4, 2010, at 12:34 PM, Theodore Petrosky wrote: > I copied the fetchJobs(EC, qual, sort) from the _Job.java and pasted into > Job.java with the change "fetchSpec.setUsesDistinct(true);". > Is this the recommended way to handle this? > > > public static NSArray fetchDistinctJobs(EOEditing

Re: qualifierWithQualifierFormat ???

2010-05-04 Thread Theodore Petrosky
I may play with that suggestion, however the solution that David sent me is perfect (and uses Wonder)... I could not figure out how to traverse the relationships until David showed the .dot() format... Check it out in the mail list. Ted --- On Tue, 5/4/10, Joe Kramer wrote: From: Joe Kramer

Re: Entity Modeler: _deletedEntityNamesInObjectStore in index.eomodeld

2010-05-04 Thread Chuck Hill
On May 4, 2010, at 3:50 AM, Paul Hoadley wrote: Hello, I added an attribute to the "Fund" entity in an EO model. I'm about to commit the changes, and I see this in the diff for index.eomodeld: internalInfo = {"_deletedEntityNamesInObjectStore" = (Fund); }; I see an old post archived

Re: secure binding

2010-05-04 Thread Cheong Hee Ng
I mentioned about the approaches as once I discussed with close contact who run serious application e.g. internet banking, advised the switching should be avoided. It may induce some problems due to secured http switching or someone could make a mistake and thus exposed the confidentiality risks,

Re: qualifierWithQualifierFormat ???

2010-05-04 Thread Joe Kramer
Hi Ted, Couldn't you do something like this where everything in args is an Object? NSMutableArray args = new NSMutableArray(new Object[] {currentClient, "Released"}); openVersionsQualifier = EOQualifier.qualifierWithQualifierFormat("versions.versionStatus.versionStatusTitle = %@ and client = %@)

Re: qualifierWithQualifierFormat ???

2010-05-04 Thread Theodore Petrosky
David, This is fantastic... EOQualifier openVersionsQualifier = Job.VERSIONS.dot(Version.VERSION_STATUS).dot(VersionStatus.VERSION_STATUS_TITLE).eq("Released").and(Job.CLIENT.eq(currentClient)); readyToBillJobList = Job.fetchDistinctJobs(jobListEC, openVersionsQualifier, null); fantastic.

Re: qualifierWithQualifierFormat ???

2010-05-04 Thread David LeBer
On 2010-05-04, at 11:55 AM, Theodore Petrosky wrote: > NSMutableArray args = new NSMutableArray(); > args.addObject(currentClient); > > openVersionsQualifier = > EOQualifier.qualifierWithQualifierFormat("versions.versionStatus.versionStatusTitle > = 'Released' and client = %@)",

qualifierWithQualifierFormat ???

2010-05-04 Thread Theodore Petrosky
NSMutableArray args = new NSMutableArray(); args.addObject(currentClient); openVersionsQualifier = EOQualifier.qualifierWithQualifierFormat("versions.versionStatus.versionStatusTitle = 'Released' and client = %@)", args); readyToBillJobList = Job.fetchDistinctJ

Re: WODirectConnectEnabled false resource paths problem

2010-05-04 Thread Kieran Kelleher
FWIW, I have no problems with dev resource URLS and I just checked two separate application dev environments right just now: 1) Eclipse 3.5.1 Carbon, WOLips 3.5.6409, WebObjects 5.3.3 2) Eclipse 3.5.1 Carbon, WOLips 3.5.6031, WebObjects 5.4.3 Mac config: OS X 10.6.3 I have been using these env

Re: back to ERXBatchingDisplayGroup instead of ERXDisplayGroup

2010-05-04 Thread Lachlan Deck
On 04/05/2010, at 11:18 AM, Chuck Hill wrote: > On May 3, 2010, at 5:38 PM, Baiss Eric Magnusson wrote: > >> I have an Owner, the Owner has many Transactions. >> >> <...> >> In the pages Constructor I used: >> ... >> public ERXBatchingDisplayGroup curTrans; >> ... >> curTrans.queryBind

Entity Modeler: _deletedEntityNamesInObjectStore in index.eomodeld

2010-05-04 Thread Paul Hoadley
Hello, I added an attribute to the "Fund" entity in an EO model. I'm about to commit the changes, and I see this in the diff for index.eomodeld: internalInfo = {"_deletedEntityNamesInObjectStore" = (Fund); }; I see an old post archived here: http://article.gmane.org/gmane.comp.web.webobj

Re: secure binding

2010-05-04 Thread David Griffith
Hi Cheong, Yes that's what it does. Regarding which is the better practice, I don't think it makes a huge difference but it might depend a bit on what you are doing. For example, I am using one app but parts of that app (like where the client logs in and gives account details etc.) uses SSL s

Re: secure binding

2010-05-04 Thread Cheong Hee
Is the component binding secure=true supposed to switch the url from http -> https, and then by clicking on the component with binding secure=false it will switch it back from https -> http? If so, what will be the better practice : one secure app and one non-secure app, or one app to switch sec

Re: secure binding

2010-05-04 Thread David Griffith
Hi Chuck, Yes, am using 5.4.3 and Wonder. It does look like an Apache issue, I was wondering if it could be that. I'll ask the server guys to have a look and see if they can change it. Thanks all for your comments, Regards, David. On May 4, 2010, at 3:20 AM, Chuck Hill wrote: On May 3, 20

Re: secure binding

2010-05-04 Thread Susanne Schneider
Hi David, Hi all, When you click certain buttons on my website, I want a secure URL returned. I have set the secure=true binding and the page does get returned using the https:// url instead of http:// but I have a question. It's not so much of a problem as an inconsistency. If you go to