Re: WOPopupButton

2010-07-08 Thread Amiel Montecillo
Hi Jeremy, You need to pass the bindings of you WOPopupButton and WOTextField to your next page. For example using inline bindings: public Object selectedNumber; public String name; Then on the submit action: public page1 goToAnotherComponent() { page1 nextPage = (page1)pageWithNam

WOPopupButton

2010-07-08 Thread Jeremy Doseck
Hi, I am having some problems with simple Form where couple of WOPopupButtons and WOTextFields are in. I guess it must be quite simple, I need those data to be viewed in the next page (nextpage.wo) when they are selected (PopUpButton) and inserted (Textfield) and finally processed with Button by th

[WOWODC] Reminder : early-bird pricing ends on July 13 at midnight

2010-07-08 Thread Pascal Robert
Hello everyone, just a quick reminder : early-bird pricing for WOWODC 2010 ends at 07/13/2010 12:00AM PST. The presenters are already working hard on their presentations, so we hope to see you in August! -- Pascal Robert prob...@macti.ca WOWODC 2010 : August 27th-29th, Montreal. wowodc.com

D2W and WOLongResponsePage

2010-07-08 Thread David Holt
Hi all, Has anyone used WOLongResponsePage with DirectToWeb? Thanks, David ___ 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: h

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Greg Lappen
Ah, that makes a little more sense. We're using WO 5.4.3. On Thu, Jul 8, 2010 at 3:20 PM, Chuck Hill wrote: > > On Jul 8, 2010, at 10:28 AM, Mark Ritchie wrote: > > > On 8/Jul/2010, at 10:58 AM, Chuck Hill wrote: > >> Is the database content (not the schema) the same for both deployments? > Co

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Chuck Hill
On Jul 8, 2010, at 10:28 AM, Mark Ritchie wrote: > On 8/Jul/2010, at 10:58 AM, Chuck Hill wrote: >> Is the database content (not the schema) the same for both deployments? >> Could one have a very large number of back-pointing relationships that the >> other does not have? If so, I will sugge

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Kieran Kelleher
You need ERExtensions, which is core Wonder framework, to get Wonder's NS collection classes. That needs to be in classpath before Apple's foundation framework. On Jul 8, 2010, at 3:06 PM, Greg Lappen wrote: > I guess I'm confused because I did not actually update the lookup entities > (the on

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Chuck Hill
On Jul 8, 2010, at 10:35 AM, Greg Lappen wrote: > Chuck, you are the MAN! > > I removed the relationship between my lookup entity back to the many-to-many > entity and the issue is gone. I still don't understand why all those > back-references were in memory in the first place, or why webobje

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Greg Lappen
I guess I'm confused because I did not actually update the lookup entities (the ones that had the huge toMany relationship) - I was updating objects that sit between my main model (LPFile) and the lookup one (LPForm), i.e. I was deleting, then inserting LPFileForm objects. Also, do you mean its li

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Anjo Krank
Am 08.07.2010 um 20:23 schrieb Anjo Krank: > n^log(n) Make that n*log(n) of course. Cheers, Anjo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Upd

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Anjo Krank
> Yes, EOF will be slow when saving an object with a huge modeled toMany > relationship since it fetches the entire relationship for validateForSave. That's the same stuff they were telling us during WWDC years ago. Back then "huge" was a guy that bought 20k songs. The actual issue is that NSM

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Greg Lappen
Chuck, you are the MAN! I removed the relationship between my lookup entity back to the many-to-many entity and the issue is gone. I still don't understand why all those back-references were in memory in the first place, or why webobjects felt they had to be updated. Does WO always try to keep t

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Mark Ritchie
On 8/Jul/2010, at 10:58 AM, Chuck Hill wrote: > Is the database content (not the schema) the same for both deployments? > Could one have a very large number of back-pointing relationships that the > other does not have? If so, I will suggest that you have a modelling issue. > If not... puzzli

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Alexis Tual
Le 8 juil. 2010 à 16:23, Greg Lappen a écrit : > I did turn on database logging. What I saw was that the app selected the > next value from a sequence, then paused for 20 seconds, then did an insert > (and then did 20 other sql statements within a second). It does the same > exact thing each

HELP: Apache Segmentation Faults

2010-07-08 Thread Gaastra Dennis - WO Lists
Dear List, Since Apache 2.2.14, we are experiencing segmentation faults with apache and/or the webobjects adaptor. Everything is standard config: Leopard 10.5.8 + all latest updates + SSL. Would we need a better adaptor, tweak our apache settings, and is it a hardware fault? Thanks for any ass

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Kieran Kelleher
Yes, EOF will be slow when saving an object with a huge modeled toMany relationship since it fetches the entire relationship for validateForSave. The solution is to remove the toMany side of the relationship from the eomodel and (if needed) add your own business logic for fetching/modifying/dele

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Chuck Hill
On Jul 8, 2010, at 8:14 AM, Greg Lappen wrote: > I am using some Wonder frameworks, but I don't think I am pulling it in > globally. My thread dump doesn't show any wonder classes in the mix. Lacking this fix would certainly make the problem worse. > Chuck, can you elaborate more on the back

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Farrukh Ijaz
Hi Greg, Try with the following variation. Farrukh On 2010-07-08, at 5:49 PM, Greg Lappen wrote: > Ah, yes, thanks for catching that. I fixed that and re-tested, and I still > get the 20 second delay. The code now looks like: > > > public class LPFile extends _LPFile { > >

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Greg Lappen
I am using some Wonder frameworks, but I don't think I am pulling it in globally. My thread dump doesn't show any wonder classes in the mix. Chuck, can you elaborate more on the back-pointing relationships issue? You said it might be a modelling issue - does that mean that EO has problems when a

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Mike Schrag
Are you using Wonder? I seem to recall that Anjo fixed a pretty huge performance problem in removeObject a year or two ago ... ms On Jul 8, 2010, at 10:58 AM, Chuck Hill wrote: > Hi Greg, > > Is the database content (not the schema) the same for both deployments? > Could one have a very larg

Re: FileUpload problem in AjaxModalDialog

2010-07-08 Thread Chuck Hill
Try the Ajax uploader. On Jul 8, 2010, at 8:01 AM, Sreenivasulu A wrote: > Hi All, > > I am having file upload issue with ERXOptionalForm which is wrapped with > AjaxModalDialog. When I am going to upload the file in a modal window, it is > not accepting the file to upload. I did the below sh

Re: http://wiki.objectstyle.org/ is not loading home page fully

2010-07-08 Thread Miguel Arroz
Hi! Seems to be working fine. Try to erase cookies. When using badly configured NAT or Proxy services the size of the request may cause problems. Killing cookies reduces that size. Yours Miguel Arroz On 2010/07/07, at 15:07, Kieran Kelleher wrote: > I can get to direct URLs of any bookma

FileUpload problem in AjaxModalDialog

2010-07-08 Thread Sreenivasulu A
Hi All, I am having file upload issue with ERXOptionalForm which is wrapped with AjaxModalDialog. When I am going to upload the file in a modal window, it is not accepting the file to upload. I did the below shown bindings to my ModalDialog, ERXOptionalForm, WOFileUpload and AjaxSubmitButton. WO

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Chuck Hill
Hi Greg, Is the database content (not the schema) the same for both deployments? Could one have a very large number of back-pointing relationships that the other does not have? If so, I will suggest that you have a modelling issue. If not... puzzling. Chuck On Jul 8, 2010, at 6:46 AM, Gre

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Greg Lappen
Ah, yes, thanks for catching that. I fixed that and re-tested, and I still get the 20 second delay. The code now looks like: public class LPFile extends _LPFile { public synchronized void setFileData(NSData fileData) throws IOException { // Update forms by deleting existing

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Ramsey Gurley
On Jul 8, 2010, at 9:46 AM, Greg Lappen wrote: Hi all, I am running into a bizarre issue with our WebObjects Application. I have searched the lists for quite a while, but could not find a case where someone had the same problem. What is even stranger is that our application is deployed

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Greg Lappen
I did turn on database logging. What I saw was that the app selected the next value from a sequence, then paused for 20 seconds, then did an insert (and then did 20 other sql statements within a second). It does the same exact thing each time. Also, the java process is using over 100% cpu, not t

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread John Huss
Did you turn on SQL logging? Is it executing queries in that time? Probably the database is the bottleneck. John On Thu, Jul 8, 2010 at 8:46 AM, Greg Lappen wrote: > Hi all, > > I am running into a bizarre issue with our WebObjects Application. I have > searched the lists for quite a while,

20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Greg Lappen
Hi all, I am running into a bizarre issue with our WebObjects Application. I have searched the lists for quite a while, but could not find a case where someone had the same problem. What is even stranger is that our application is deployed on two different servers, both with WebObjects 5.4.3 an