Re: csv report download -> Safari adding .html to filename?

2009-04-09 Thread Leif Harrison
Well, that appears to have worked! Thank you Chuck! - Leif On Apr 9, 2009, at 9:36 PM, Chuck Hill wrote: On Apr 9, 2009, at 6:33 PM, Leif Harrison wrote: Okay, now I might be getting somewhere. Here's the output from curl to the component action (once I figured out how to do it.

Re: csv report download -> Safari adding .html to filename?

2009-04-09 Thread Chuck Hill
On Apr 9, 2009, at 6:33 PM, Leif Harrison wrote: Okay, now I might be getting somewhere. Here's the output from curl to the component action (once I figured out how to do it...): ... < content-type: text/html; charset=iso-8859-1 ... So...the headers ARE different...but I have idea why WO

Re: ERXEC Exception

2009-04-09 Thread Guido Neitzer
On 9. Apr. 2009, at 19:35 , Ken Anderson wrote: I never pass EOs between threads - always GlobalIDs... saves LOTS of headaches! Me neither. Nevertheless - it might be an explanation. cug ___ Do not post admin requests to the list. They will be ign

Re: [OT] local persistence ORM

2009-04-09 Thread John Ours
What about combining Cayenne backed with H2? John On Apr 9, 2009, at 5:29 PM, Stamenkovic Florijan wrote: Nope... 1) I am not allowed to bundle all of WO into my client app. 2) This should be light-weight. Both in terms of the API and the library size. WO is neither. Thx, F On Apr 09,

Re: [OT] local persistence ORM

2009-04-09 Thread Daniel Mejía
Hi, To have persistence in the client I'm using the JavaPersistence API with NetBeans. Here you can find an example with MS Access, but also works fine with Derby. http://wiki.netbeans.org/JavaPersistenceApi Saludos, Daniel. On 09/04/2009, at 07:35 p.m., webobjects-dev-requ...@lists.appl

Re: ERXEC Exception

2009-04-09 Thread Ken Anderson
I never pass EOs between threads - always GlobalIDs... saves LOTS of headaches! On Apr 9, 2009, at 5:18 PM, Guido Neitzer wrote: On 9. Apr. 2009, at 12:29 , Joe Moreno wrote: Hi All, I'm not familiar with the details of ERXEC and I was wondering, when using it, if I should ever see the

Re: csv report download -> Safari adding .html to filename?

2009-04-09 Thread John Ours
On Apr 9, 2009, at 9:33 PM, Leif Harrison wrote: So...the headers ARE different...but I have idea why WO is changing my Content-Type after I have explicitly set it...? In the code you sent earlier you are using: response.setContent(report);

Re: csv report download -> Safari adding .html to filename?

2009-04-09 Thread Leif Harrison
Okay, now I might be getting somewhere. Here's the output from curl to the component action (once I figured out how to do it...): Ocelot[83]: curl --verbose 'http://localhost:4700/cgi-bin/WebObjects/MobileWarrior.woa/wo/qSRcn5dobL9Z8IfwY4inF0/20.0.1.0.33.1' -d "content = 0.1.0.33.1.1 =&0.1

Re: csv report download -> Safari adding .html to filename?

2009-04-09 Thread Chuck Hill
curl the two and check for differences in the headers On Apr 9, 2009, at 5:25 PM, Leif Harrison wrote: Okay, so here's an interesting thing...I created a direct action that returns a pre-configured (to hard-code some login information and such) version of the response page so that I could t

Re: csv report download -> Safari adding .html to filename?

2009-04-09 Thread Leif Harrison
Okay, so here's an interesting thing...I created a direct action that returns a pre-configured (to hard-code some login information and such) version of the response page so that I could test using curl. I noticed that...if I use that same direct action URL in Safari...I magically get the

Re: csv report download -> Safari adding .html to filename?

2009-04-09 Thread Leif Harrison
On Apr 9, 2009, at 12:54 PM, squ...@mac.com wrote: This should be straightforward and with the exception of (1) below, I don't see any errors. Here's a couple of things to try: 1) you shouldn't be calling super.appendToResponse() Okay, got rid of that, but still no luck. 2) does reportFil

Re: [OT] local persistence ORM

2009-04-09 Thread Stamenkovic Florijan
Nope... 1) I am not allowed to bundle all of WO into my client app. 2) This should be light-weight. Both in terms of the API and the library size. WO is neither. Thx, F On Apr 09, 2009, at 17:24, David Avendasora wrote: Hmm. Even if WO doesn't automatically copy it to the client, couldn't

Re: [OT] local persistence ORM

2009-04-09 Thread David Avendasora
Hmm. Even if WO doesn't automatically copy it to the client, couldn't you manually do it, if all you want it for is for writing stuff to the FS of the client and not accessing the server-side object store? Just thinking out-loud. Dave On Apr 9, 2009, at 5:16 PM, Stamenkovic Florijan wrote:

Re: ERXEC Exception

2009-04-09 Thread Guido Neitzer
On 9. Apr. 2009, at 12:29 , Joe Moreno wrote: Hi All, I'm not familiar with the details of ERXEC and I was wondering, when using it, if I should ever see the following exception? (Perhaps I have a buggy version - 5.0.0.8093?) I can imagine stuff like that happening, when you do things in

Re: [OT] local persistence ORM

2009-04-09 Thread Stamenkovic Florijan
Not possible, as it would require server-side WO libraries to use. F On Apr 09, 2009, at 13:47, David Avendasora wrote: I have never looked at it, but what about Wonder's JavaFSAdaptor EOAdaptor? I believe it is a work in progress, but I think I remember Mike talking about it at one of the

Re: ERXEC Exception

2009-04-09 Thread shravan kumar
Hi Joe, The problem is lock on EC is held by one thread let's say main thread and without EC being unlocked another thread i.e., GC thread deallocated the EC. As Chuck is saying, the said EC is not properly unlocked. ERXEC ExceptionFriday, April 10, 2009 12:59 AMFrom:"Joe Moreno" To:"WebObjects-D

Re: Open new window as POST

2009-04-09 Thread Miguel Arroz
Hi! On 2009/04/09, at 21:45, Miguel Arroz wrote: Hi! I believe it's not possible to create a POST request from a link using pure HTML. You'll have to use JavaScript, and the link must trigger some form on the page with the data you want on (hidden) fields. To open a new window with

Re: Open new window as POST

2009-04-09 Thread Miguel Arroz
Hi! I believe it's not possible to create a POST request from a link using pure HTML. You'll have to use JavaScript, and the link must trigger some form on the page with the data you want on (hidden) fields. To open a new window with the result, just set the target of the form to be a

Open new window as POST

2009-04-09 Thread Dawn Lockhart
I have a link that when the user clicks on it, I need to redirect the new window to a URL using a POST instead of a GET so that the parameters I'm sending aren't visible. From the googling that I've done, it seems like I have to use a WORedirect to get it to use a POST, but can't seem to figure out

Re: ERXEC Exception

2009-04-09 Thread Chuck Hill
It looks to me like you are calling lock() and unlock() on an ec somewhere in your code and doing it incorrectly. Chuck On Apr 9, 2009, at 12:29 PM, Joe Moreno wrote: Hi All, I'm not familiar with the details of ERXEC and I was wondering, when using it, if I should ever see the followin

Re: EOEditingContext Lock/Unlock best practice?

2009-04-09 Thread shravan kumar
Thanks for providing MultiECLockManager class David. --- On Fri, 4/10/09, David LeBer wrote: From: David LeBer Subject: Re: EOEditingContext Lock/Unlock best practice? To: Cc: "shravan kumar" , webobjects-dev@lists.apple.com Date: Friday, April 10, 2009, 1:35 AM On 9-Apr-09, at 3:58 PM, Guid

Re: EOEditingContext Lock/Unlock best practice?

2009-04-09 Thread shravan kumar
Thanks for your time and advise Guido. --- On Fri, 4/10/09, Guido Neitzer wrote: From: Guido Neitzer Subject: Re: EOEditingContext Lock/Unlock best practice? To: "shravan kumar" Cc: webobjects-dev@lists.apple.com Date: Friday, April 10, 2009, 1:28 AM On 9. Apr. 2009, at 12:46 , shravan kumar

Re: EOEditingContext Lock/Unlock best practice?

2009-04-09 Thread David LeBer
On 9-Apr-09, at 3:58 PM, Guido Neitzer wrote: On 9. Apr. 2009, at 12:46 , shravan kumar wrote: Now am using ERXEC.newEditingContext() for creating new EC's, manually locking/ unlocking where required. Also locking/ unlocking in awake/ sleep respectively respect object bindings in the com

Re: EOEditingContext Lock/Unlock best practice?

2009-04-09 Thread Guido Neitzer
On 9. Apr. 2009, at 12:46 , shravan kumar wrote: Now am using ERXEC.newEditingContext() for creating new EC's, manually locking/ unlocking where required. Also locking/ unlocking in awake/ sleep respectively respect object bindings in the component. As long as you don't subclass ERXApplicat

Re: csv report download -> Safari adding .html to filename?

2009-04-09 Thread squirk
On Thu, 9 Apr 2009, Leif Harrison wrote: ...still banging my head against the wall on this one.  :(  I've tried all of the suggestions so far (thank you to all!) but still with no luck. Should I be using a different subclass other than ERXComponent? (I've tried WOComponent as well, which also

Re: EOEditingContext Lock/Unlock best practice?

2009-04-09 Thread shravan kumar
Now am using ERXEC.newEditingContext() for creating new EC's, manually locking/ unlocking where required. Also locking/ unlocking in awake/ sleep respectively respect object bindings in the component. Thank You,Shravan Kumar. M --- On Fri, 4/10/09, Guido Neitzer wrote: From: Guido Neitzer Sub

Re: EOEditingContext Lock/Unlock best practice?

2009-04-09 Thread shravan kumar
Thanks so much Guido for your advise. Am sorry to disappoint you. We are just concerned about issues (performance or any number of changes in app that we may have to take up) that may arise by converting our app to Wonder compliant. My Manager is bit reluctant in going this way as our app is sta

ERXEC Exception

2009-04-09 Thread Joe Moreno
Hi All, I'm not familiar with the details of ERXEC and I was wondering, when using it, if I should ever see the following exception? (Perhaps I have a buggy version - 5.0.0.8093?) Thanks, Joe [2009-04-09 12:24:57 PDT] Unable to release locks held by a deallocated EOEditingContext. [20

Re: EOEditingContext Lock/Unlock best practice?

2009-04-09 Thread Guido Neitzer
I'd rather go with ERXEC - this bring you way more than just EC locking. Guido On 9. Apr. 2009, at 11:36 , shravan kumar wrote: Hello Group, I have been pointed to following URl to acquire MultiECLockManager class in wiki and in some EC lock/ unlock issue discussion thread, but this link

Re: EOEditingContext Lock/Unlock best practice?

2009-04-09 Thread shravan kumar
Hello Group, I have been pointed to following URl to acquire MultiECLockManager class in wiki and in some EC lock/ unlock issue discussion thread, but this link seems to be broken, can any one provide me the latest stable version of this file:http://wocode.com/cgi-bin/WebObjects/WOCode.woa/wa/Sh

Re: csv report download -> Safari adding .html to filename?

2009-04-09 Thread Chuck Hill
On Apr 9, 2009, at 11:19 AM, Leif Harrison wrote: ...still banging my head against the wall on this one. :( I've tried all of the suggestions so far (thank you to all!) but still with no luck. Should I be using a different subclass other than ERXComponent? (I've tried WOComponent as we

Re: csv report download -> Safari adding .html to filename?

2009-04-09 Thread Leif Harrison
...still banging my head against the wall on this one. :( I've tried all of the suggestions so far (thank you to all!) but still with no luck. Should I be using a different subclass other than ERXComponent? (I've tried WOComponent as well, which also did not work.) Is there some other met

Re: AjaxModalContainer/Dialog with JS resources

2009-04-09 Thread Chuck Hill
On Apr 8, 2009, at 10:06 PM, Greg Hulands wrote: On Apr 8, 2009, at 9:38 PM, Chuck Hill wrote: OK, first off ERXJavaScript is not Ajax technology so you want to avoid it when doing whizzy Web 2.0 stuff. They really don't play all that nicely together. You can inherit from AjaxComponen

Re: AjaxAutoComplete list width

2009-04-09 Thread Ricardo J. Parada
By the way, it worked great!! Thanks. On Apr 8, 2009, at 2:31 AM, Ricardo J. Parada wrote: Awesome... thanks. On Apr 7, 2009, at 8:14 PM, getsharp wrote: On 08/04/2009, at 6:27 AM, Ricardo J. Parada wrote: Is there a way to set the width of the list of matches that an AjaxAutoComplete

Re: [OT] local persistence ORM

2009-04-09 Thread David Avendasora
I have never looked at it, but what about Wonder's JavaFSAdaptor EOAdaptor? I believe it is a work in progress, but I think I remember Mike talking about it at one of the WONoVA meetings (semi-shameless plug). Dave On Apr 9, 2009, at 12:45 PM, Stamenkovic Florijan wrote: Hi all, I am w

[OT] local persistence ORM

2009-04-09 Thread Stamenkovic Florijan
Hi all, I am wondering about local persistence ORM pure Java libs. I know of Derby, and just started reading stuff about JDO. I am interested in reasonably easy, light-weight, fast, but not necessarily super-charged local persistence, similar to WO in it's in-memory object handling. Not

Re: Slow SQL slowing application - how to speed things up?

2009-04-09 Thread Guido Neitzer
On 8. Apr. 2009, at 22:16 , Peter Newnam wrote: Choke! 2 - 5 seconds on average?!!? That is orders of magnitude too slow! The bad news is that something is seriously wrong there (or you are deployed on an iPhone ;-). The good news is that something is seriously wrong so you should be ab

Sweet Flash Charts

2009-04-09 Thread Kieran Kelleher
http://amcharts.com/ ___ 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/options/webobjects-dev/arch