clearing a toMany relationship fault

2008-09-02 Thread Lachlan Deck
Hi there, just wondering ... how would I go about clearing the faults for certain toMany relationships of an object. i.e., I'm iterating through certain toMany keys and I want to obtain the faults without firing them (best case scenario) and then clear them so that they are refreshed. A

Re: Invalidating objects asynchronously

2008-09-02 Thread Tonny Staunsbrink
Interesting problem, my solution to the problem is: "don't". Keeping multiple data stores in sync is a pain. It is in WO as is in in any other distributed environment - for example database clusters. The challenges are so numerous that i consider sharding a better solution for load balancing. In t

Re: Invalidating objects asynchronously

2008-09-02 Thread Stephane Guyot
Dan, interesting question and trouble ... I have no clear answer but question that i hope may help you, see below. Le 2 sept. 08 à 18:57, Dan Grec a écrit : Hi everyone, We're having an interesting problem in our apps, and I wanted to see if anyone else has solved it. background: We're

Re: [OT] Scriptaculous effects OpenUp/ClosedDown smoothness

2008-09-02 Thread Chuck Hill
On Sep 2, 2008, at 5:08 PM, Miguel Arroz wrote: Hi! You are right, I just figured it out... there are two DIVs, one above and one below, and both have margins. When the animated DIV disappears, the margins collapse over each other or so. I placed another DIV wrapping the animated one wi

Re: [OT] Scriptaculous effects OpenUp/ClosedDown smoothness

2008-09-02 Thread Miguel Arroz
Hi! You are right, I just figured it out... there are two DIVs, one above and one below, and both have margins. When the animated DIV disappears, the margins collapse over each other or so. I placed another DIV wrapping the animated one with padding top and bottom set to 1px to avoid th

Re: [OT] Scriptaculous effects OpenUp/ClosedDown smoothness

2008-09-02 Thread Mike Schrag
Looks like Scriptaculous tries to calculate the DIV height to start iterating, but the initial calculation is wrong. Or anything else... Basically,yes ... It appears that scriptaculous effects don't proper handle, I believe, animating margins. I think the popping you see at the end of the a

Re: [OT] Scriptaculous effects OpenUp/ClosedDown smoothness

2008-09-02 Thread Miguel Arroz
Hi! It's not completely consistent among Safari and Firefoxes (I cannot test IE right now) but it's not working correctly in neither of them. Looks like Scriptaculous tries to calculate the DIV height to start iterating, but the initial calculation is wrong. Or anything else... Your

Re: [OT] Scriptaculous effects OpenUp/ClosedDown smoothness

2008-09-02 Thread Kieran Kelleher
Does this behaviour show in all popular browsers? IE6, IE7, FireFox 3, FireFox 2, Safari 3 ? On Sep 2, 2008, at 6:48 PM, Miguel Arroz wrote: Hi! This is driving me crazy, and as AjaxFramework includes scriptaculous, maybe someone here knows the trick. I usually apply effects those

[OT] Scriptaculous effects OpenUp/ClosedDown smoothness

2008-09-02 Thread Miguel Arroz
Hi! This is driving me crazy, and as AjaxFramework includes scriptaculous, maybe someone here knows the trick. I usually apply effects those effects to DIVs. The problem is that sometimes the effect runs smoothly from the start until the end, but sometimes it doesn't. When it doesn't,

Re: Invalidating objects asynchronously

2008-09-02 Thread Sherry Tirko
We are seeing some similar issues and are also using session().defaultEditingContext(). Can someone tell me what the problems are with using the default editing context? Thanks, Sherry On Sep 2, 2008, at 12:57 PM, Dan Grec wrote: Hi everyone, We're having an interesting problem in our a

Re: Fetching data in WOLongResponsePage

2008-09-02 Thread Chuck Hill
On Aug 29, 2008, at 9:43 PM, Art Isbell wrote: On Aug 29, 2008, at 6:25 PM, Chuck Hill wrote: What is the fetchTimestamp of the EC in the main thread? If it is older than the objects being returned and their related objects, it should not fetch. I increased the default fetch timestamp

Invalidating objects asynchronously

2008-09-02 Thread Dan Grec
Hi everyone, We're having an interesting problem in our apps, and I wanted to see if anyone else has solved it. background: We're not using page-based editing contexts. Everything (!) is in the session().defaultEditingContext(). I know, this is bad. We're working hard to fix this for our ne

Re: WebObjects/WOnder CSS and Image path issues

2008-09-02 Thread Alex Horovitz
I think the easiest thing to get your problem patched around in the short run (until this all gets figured out) would be to: 1) Do a split install of YourApp.woa putting the web server split into the WebObjects folder inside your doc root (/Library/WeServer/Documents/WebObjects

Re: WebObjects/WOnder CSS and Image path issues

2008-09-02 Thread James Cicenia
I am now having a similar problem in a non-wonder application. I recently did a complete clean and rebuild. Now my development can't see any of the images or stylesheets anymore. What directory is it looking in? I swear I have located it everywhere. I am using: application().resourceManager().

Re: WebObjects/WOnder CSS and Image path issues

2008-09-02 Thread Andrew R. Kinnie
OK, I just went back and uninstalled Wonder and reinstalled it per the instructions, and it still isn't working. The WOLips Console is giving me an exception, which leads me to believe that there is a configuration issue with static resources. The second line here indicates that it is loo

Re: Multiple File Upload

2008-09-02 Thread Joshua Paul
You could either use multiple WOFileUpload components, or if you're willing to use Flash you can use SWFUpload (I have a WO component for it, if you'd like it). On Sep 1, 2008, at 10:52 PM, [EMAIL PROTECTED] wrote: Hi, I am using WebObjects 5.4 for my development. In my application I

Re: Multiple File Upload

2008-09-02 Thread Kieran Kelleher
IIRC, there is an example of multiple file upload in /Developer/Examples/JavaWebObjects/FileUpload. HTH, Kieran On Sep 2, 2008, at 1:55 AM, Santhosh wrote: Hi, I am using WebObjects 5.4 for my development. In my application I am using WOFileUpload Component. It is taking one file at a

Re: java object definition question

2008-09-02 Thread tedpet5
Thanks, after reading through the pdf, I realized my error (oh, if life were only that simple)... NSMutableArray args = new NSMutableArray(); args.addObject(theSelectedManufacturer.id()); is what I was looking for... Thanks again. Ted --- On Tue, 9/2/08, Ramsey Gurley <[EMAIL PROTECTED]> wro

Re: Automatic data generation

2008-09-02 Thread Georg Tuparev
On Aug 28, 2008, at 4:11 PM, Florijan Stamenkovic wrote: Georg, You mention testing, does your app also do data generation? And what kind of testing exactly are you referring to? The app I was talking about is not a test app. It converts data in suitable format, and it has WO specific en