Re: Antw.: Upload Files

2010-11-20 Thread Larry Mills-Gahl
Sure. I'm probably not going to get to it until Monday or so, but I'll package up my example and send it along. Larry On 11/20/10 4:54 PM, Frank Stock wrote: > > Hi Larry, > > Thank you for the advice, but it is a bit complicated for me, can you > send met perhaps an example so I can look at it?

Re: First nightmare with WO inheritance after lots of [prior] success..

2010-11-20 Thread Chuck Hill
Yes, database level foreign key constraints are not compatible with horizontal inheritance. They do work with single table inheritance. I prefer Single Table over Vertical or Horizontal unless I have a specific need for them. It is more efficient and has few issues. It does bother people who

Re: First nightmare with WO inheritance after lots of [prior] success..

2010-11-20 Thread Mark Wardle
I think i'm being dim. I'll simply remove the db level constraints and hope EOF keeps everything rational. Mark -- Dr. Mark Wardle Specialist registrar, Neurology (Sent from my mobile) On 20 Nov 2010, at 22:13, Mark Wardle wrote: Dear all, [ Using Wonder with WO54 and PostgreSQL. ] Is it a

First nightmare with WO inheritance after lots of [prior] success..

2010-11-20 Thread Mark Wardle
Dear all, [ Using Wonder with WO54 and PostgreSQL. ] Is it appropriate to remove foreign key constraints when you get into hairy and complex webobjects inheritance? I have an abstract entity Form with many subentities using horizontal inheritance. This has worked perfectly and I have subentitie

Re: new Session

2010-11-20 Thread Farrukh Ijaz
On 11/23/09 5:06 PM, Frank Stock wrote: > Hi all, > > I want to be able to create a new session, so once the user has logged in and > is working in one session, he should be able to open a new session, but > without logging in again. > I need this because if a user is for instance creating an in

Re: Upload Files

2010-11-20 Thread Larry Mills-Gahl
In playing with this a little more, I noticed one of the problems was the AjaxFlexibleFileUpload is inside it's own form, so removing the WOForm wrapping the WOFileUpload made that work really well (and the auto upload worked well also) I am going to look more into the AjaxFlexibleFileUpload becau

Re: Upload Files

2010-11-20 Thread Larry Mills-Gahl
I spent a little time on this but it was a relatively low priority so I haven't finished. I could get a defined number of files uploaded without any problem, but I wanted to be able to allow the user to add more files to the upload batch. The problem was really a display problem because when I subm

Re: new Session

2010-11-20 Thread Larry Mills-Gahl
Would it be possible to have the Session in your app contain an Array of active invoices (instead of just one active invoice at a time)? I certainly don't know all the details of your app, but it seems that if you think of the Session as handling state for the app user, then you should be able to h

Re: ERRest and ToMany relationships

2010-11-20 Thread Mike Schrag
seems like a bug On Nov 20, 2010, at 3:20 AM, Farrukh Ijaz wrote: > > On 19, نومبر 2010, at 11:30 PM, Pascal Robert wrote: > >> Hi (especially Mike S.), >> >> Mike, in the comments you made on my ERRest slides for WOWODC, you said that >> sub-entities should be created for To Many relationsh

Re: ERRest and ToMany relationships

2010-11-20 Thread Farrukh Ijaz
On 19, نومبر 2010, at 11:30 PM, Pascal Robert wrote: > Hi (especially Mike S.), > > Mike, in the comments you made on my ERRest slides for WOWODC, you said that > sub-entities should be created for To Many relationships, but I just tried > back and it's doesn't work for me. I have a Order wit

Re: Deployment from Hudson to wotaskd/Monitor

2010-11-20 Thread David Avendasora
Very nice Pascal! I plan on using this in the next few weeks! Dave On Nov 15, 2010, at 9:53 PM, Pascal Robert wrote: > I finally added a page about the script we demonstrated at WOWODC to deploy > from Hudson to your app server by using a Perl script and the REST calls and > direct actions tha