Re: plist problem

2005-11-07 Thread Art Isbell
On Nov 7, 2005, at 8:16 PM, Corin Lawson wrote: I made some changes, by hand, to some of the .plist files of my eo model. When I ran my app next it gave this error: "Property list parsing failed while attempting to read array. No comma found between array elements." I have searched for the

plist problem

2005-11-07 Thread Corin Lawson
Hi, I made some changes, by hand, to some of the .plist files of my eo model. When I ran my app next it gave this error: "Property list parsing failed while attempting to read array. No comma found between array elements." I have searched for the missing comma but I can not find it. I tri

Re: EO_PK_TABLE and auto_increment

2005-11-07 Thread Corin Lawson
Mysql... (sorry I forgot to mention.) On 01/11/2005, at 11:11 PM, Ken Anderson wrote: What database are you using? On Nov 1, 2005, at 3:53 AM, Corin Lawson wrote: On 01/11/2005, at 7:39 PM, Corin Lawson wrote: Hi all, I have a WO app that accesses an existing database which is curre

Unwanted Session Creation

2005-11-07 Thread Greg Hulands
Hi, In my application I have found where a new session is getting created, but it shouldn't be. I have logged out the sessionID from the context().request(), but when I do session(), it is creating a new session, even though there is a session id in the request. Under what circumstances do

Re: Unit testing

2005-11-07 Thread Christian Pekeler
Slightly different topic, but how do you write tests at the component level? Short: Don't. Instead, write code that can be tested independently. Long: http://pragmaticprogrammer.com/starter_kit/utj (for example) My WOComponent classes need a WOContext in the constructor. And there needs to

Re: Custom class with D2W

2005-11-07 Thread Robert Walker
public void awakeFromInsertion(EOEditingContext context) {        super.awakeFromInsertion(context);        if (value() == null) {            setValue(new BigDecimal("500"));        } }}This is very appropriate for setting default values in any WebObjects application, no matter the type.  For D2W t

Custom class with D2W

2005-11-07 Thread Pete Rive
Hi to all you WO masters of the universe,I am a newbie trying to build a D2W app. I started out looking at a Java Client app but decided to change to a D2W.I am trying to customise some business logic that will allow automatically include  a value when a new record is added to the database. In Dire

Re: Forms and page refresh

2005-11-07 Thread Mike Schrag
You can also use ERXJSSubmitFunction in Wonder and set the onClick action on your link to call that function. ms On Nov 7, 2005, at 12:26 PM, David LeBer wrote: On 7-Nov-05, at 12:17 PM, David Griffith wrote: Hi all, Am I right to assume that if I have a new EO (which has been registere

Re: whywebobjects.com

2005-11-07 Thread Gaastra Dennis - WO Lists
Please fix it up! This is a disaster... I thought this was our great shared site to promote WO to the WORLD.With Kind Regards,Dennis Gaastra, M.B.A.[sfu.ca], B.Sc.[ubc.ca]Chief Technology Officer,WEBAPPZ Systems, Inc.HQ:  (+1) 604.921.1333Fax:  (+1) 604.921.4313Cell:  (+1) 604.787.2532Email: [EMAIL

whywebobjects.com

2005-11-07 Thread womail
I have moved my blog (getoutandwo.com) and started putting together a list of useful WO links. In the process I noticed that whywebobjects.com now goes to one of those icky fake search engine sites with the Firefox-defeating pop-up ads. There are quite a few people out there who are linki

Re: Forms and page refresh

2005-11-07 Thread David LeBer
On 7-Nov-05, at 12:17 PM, David Griffith wrote: Hi all, Am I right to assume that if I have a new EO (which has been registered with the EC but has not been 'saved') and the user enters data via the form on the page and then clicks, for example, a hyperlink that refreshes the page, that t

Forms and page refresh

2005-11-07 Thread David Griffith
Hi all, Am I right to assume that if I have a new EO (which has been registered with the EC but has not been 'saved') and the user enters data via the form on the page and then clicks, for example, a hyperlink that refreshes the page, that the form values will be lost? i.e. the form is no

Re: simple form question

2005-11-07 Thread David Griffith
Hi Gino,Try:context().request().headerForKey("")I'm not sure exactly what the key is to get the URL but if you use:context().request().headerKeys()I think you can get a list of all the headers that are set in the request you are referring to.Regards,David.On 27 Oct 2005, at 14:19, Gino Pacitti wrot

Re: Unit testing

2005-11-07 Thread Sam Barnum
Slightly different topic, but how do you write tests at the component level? My WOComponent classes need a WOContext in the constructor. And there needs to be a running applicaiton, or else you run into NullPointerExceptions. I can fake a WOContext by manually creating a WORequest with th

Re: Implementing "google like" search

2005-11-07 Thread 時期 精霊
Hello, Thanks for all the answers. I'm currently using Oracle and PostgreSQL. I'll have a look at lucene too. Regards Kuon On Oct 28, 2005, at 10:35 PM, Arturo Perez wrote: 時期 精霊 wrote: Hello, I have an SQL database with a field called "title". ... But my customer want a google like searc