Re: WO 5.4 Linux Deployment

2008-04-01 Thread Aleksey Novicov
Which source do you recommend using? The source that is distributed with Xcode and is in /Developer/Examples/WebObjects/Source/Adaptors? Or the source in Project Wonder? On Mar 30, 2008, at 10:22 PM, Joe Little wrote: On Tue, Mar 25, 2008 at 6:41 PM, Aleksey Novicov <[EMAIL PROTECTED]> wro

Re: WO 5.4 Linux Deployment

2008-04-01 Thread Aleksey Novicov
Thanks Jeff! I tried this and found that the latest Eclipse/WOLips tools are very complete in packaging up woapps for servlet deployment. However, there were a couple of caveats worth mentioning: 1. Starting with a WOnder Application template there is no need (and no option!) to create a

Re: Accessing Session

2008-04-01 Thread Guido Neitzer
On 01.04.2008, at 21:14, Eleni Manou wrote: Can anyone help e on how to access session variables? Before (WO 5.3) I had simply to declare a variable in to the session.java class and then I cold read and and set this variable using (Session)session(). This seems that does not work in my Ecli

Re: Why no 1to1 relationships?

2008-04-01 Thread Jeff Schmitz
On Apr 1, 2008, at 10:41 PM, Andrew Lindesay wrote: Hello Jeff; I've decided to fully EOize my app to replace my current use of flat files, mainly to better deal with concurrency issues. In creating my analogous tables, I found that there's no way to specify a "1 to 1" relationship betw

Re: Why no 1to1 relationships?

2008-04-01 Thread Chuck Hill
On Apr 1, 2008, at 8:41 PM, Andrew Lindesay wrote: Hello Jeff; I've decided to fully EOize my app to replace my current use of flat files, mainly to better deal with concurrency issues. In creating my analogous tables, I found that there's no way to specify a "1 to 1" relationship betwe

Re: Why no 1to1 relationships?

2008-04-01 Thread Andrew Lindesay
Hello Jeff; I've decided to fully EOize my app to replace my current use of flat files, mainly to better deal with concurrency issues. In creating my analogous tables, I found that there's no way to specify a "1 to 1" relationship between tables using the Entity Modeler tool. Is there a

Re: Why no 1to1 relationships?

2008-04-01 Thread Chuck Hill
On Apr 1, 2008, at 7:29 PM, Jeff Schmitz wrote: I've decided to fully EOize my app to replace my current use of flat files, mainly to better deal with concurrency issues. In creating my analogous tables, I found that there's no way to specify a "1 to 1" relationship between tables using t

Re: Accessing Session

2008-04-01 Thread David LeBer
On 1-Apr-08, at 11:14 PM, Eleni Manou wrote: Hi all, Can anyone help e on how to access session variables? Before (WO 5.3) I had simply to declare a variable in to the session.java class and then I cold read and and set this variable using (Session)session(). This seems that does not wor

Accessing Session

2008-04-01 Thread Eleni Manou
Hi all, Can anyone help e on how to access session variables? Before (WO 5.3) I had simply to declare a variable in to the session.java class and then I cold read and and set this variable using (Session)session(). This seems that does not work in my Eclipse/WOLips project. Am I doing som

Why no 1to1 relationships?

2008-04-01 Thread Jeff Schmitz
I've decided to fully EOize my app to replace my current use of flat files, mainly to better deal with concurrency issues. In creating my analogous tables, I found that there's no way to specify a "1 to 1" relationship between tables using the Entity Modeler tool. Is there a specific reas

[OT] Postgresql capital accentuated characters problem

2008-04-01 Thread Miguel Arroz
Hi! This is not exactly the most appropriate place to ask this, but many of you use PgSQL and many of you work with accentuated characters, so maybe some of you know what's going on here. I created an UNIQUE INDEX using the lower() function to create a case-insensitive UNIQUE constrai

Re: an interesting lockRowComparingAttributes:

2008-04-01 Thread Chuck Hill
On Apr 1, 2008, at 3:06 PM, Johan Henselmans wrote: I have an interesting time with the following error: Error: com.webobjects.eoaccess.EOGeneralAdaptorException: lockRowComparingAttributes -- com.webobjects.jdbcadaptor.JDBCChannel: lock operation failed to select any rows The situatio

an interesting lockRowComparingAttributes:

2008-04-01 Thread Johan Henselmans
I have an interesting time with the following error: Error: com.webobjects.eoaccess.EOGeneralAdaptorException: lockRowComparingAttributes -- com.webobjects.jdbcadaptor.JDBCChannel: lock operation failed to select any rows The situation: I am using ERProtoypes and a Postgresql database (late

Re: derby examples

2008-04-01 Thread Francois Bientz
Thank you Art, My error : I added a (new) derby.properties files in the PetStoreWOJava WO project ... instead of editing the PetStoreWOJava/wo-resources/Resources/Properties file franc On Mar 30, 2008, at 10:12 PM, Francois Bientz wrote: Should the EO (Derby) examples work for WO5.4.1 ? I w

[Meeting] Toronto Area Cocoa and WebObjects Developer Group - April 8

2008-04-01 Thread Karl Moskowski
The next meeting of tacow / Cocoaheads Toronto will be held on Tuesday, April 8 at 6:30 PM at Ryerson University. Apple's Steve Hayman will be talking about the iPhone SDK. More info and directions are available at . Thanks and see you there. Karl Moskowski <

Re: WWDC 08

2008-04-01 Thread Lachlan Deck
On 02/04/2008, at 6:57 AM, Daniel Beatty wrote: Greetings Franco and all participants with the WO list, Speaking of scientific use for web objects, I would like to see if I could get a paper into the conference. One thing that would be nice for WOWWDC is to have things like conference procee

Re: [ANN] WOWODC 2008

2008-04-01 Thread Jeremy Rosenberg
That's very cool, but the market that we need to reach is the Java community more than the Mac community IMHO. I just came from The Server Side Java Symposium and it was cool to hear what the Java world is up to but they are all still missing so much of the goodness that we enjoy in WO. One of

Re: WWDC 08

2008-04-01 Thread Daniel Beatty
Greetings Franco and all participants with the WO list, Speaking of scientific use for web objects, I would like to see if I could get a paper into the conference. One thing that would be nice for WOWWDC is to have things like conference proceedings contain papers, tutorials and other goodi

Re: Locking Session.defaultEditingContext() Question

2008-04-01 Thread Mike Schrag
When we use a new editing context we have been very careful to lock and unlock before and after use. 95.72% chance you're "not careful enough". Are you using MultiECLockManager (or whatever that's called)? How are you locking your editing context while your page renders on pages where you c

Re: Locking Session.defaultEditingContext() Question

2008-04-01 Thread Tonny Staunsbrink
If I should take a guess, I would say it's a concurrency issue. Are you running a multithreaded app, do you have custom RequestHandler or are you running any background jobs? /T On Tue, Apr 1, 2008 at 5:17 PM, Dov Rosenberg <[EMAIL PROTECTED]> wrote: > I have been tracking down a strange error i

Re: [ANN] WOWODC 2008

2008-04-01 Thread David Avendasora
It's good to have the _relatively_ mainstream media at least mentioning WO. I think your right that we won't get more attendees, but it does raise the public awareness. Dave On Apr 1, 2008, at 1:07 PM, Pascal Robert wrote: It doesn't bring more people to the conference, but it do bring a

Re: [ANN] WOWODC 2008

2008-04-01 Thread David Avendasora
Check it out! http://www.macworld.com/article/132776/2008/04/wowodc.html Dave On Mar 31, 2008, at 5:10 AM, Pascal Robert wrote: WOWODC, our annual WebObjects conference, is being held on June 7th and 8th 2008, the weekend before WWDC, at the Parc 55 Hotel in San Franscico. Join us for two

Re: [ANN] WOWODC 2008

2008-04-01 Thread Kieran Kelleher
Pascal, Please try and get the digital session recordings this year .. I, for one, will be looking forward to, and buying, the download immediately when available. Regards, Kieran On Apr 1, 2008, at 1:07 PM, Pascal Robert wrote: It doesn't bring more people to the conference, but it d

Re: [ANN] WOWODC 2008

2008-04-01 Thread Pascal Robert
It doesn't bring more people to the conference, but it do bring a lot of people to the Web site, at least it give some visibility to WO :-) Check it out! http://www.macworld.com/article/132776/2008/04/wowodc.html Dave On Mar 31, 2008, at 5:10 AM, Pascal Robert wrote: WOWODC, our annual WebO

Re: How to get the application object from a DirectAction

2008-04-01 Thread Archibald Singleton
On 01 Apr 2008, at 10:39, Mike Schrag wrote: WOApplication.application() OK, time to get some sleep, thanks! ms On Apr 1, 2008, at 9:32 AM, Archibald Singleton wrote: Hello, I suppose there must be an obvious and easy way to get the application object from a subclass of WODirectActio

Locking Session.defaultEditingContext() Question

2008-04-01 Thread Dov Rosenberg
I have been tracking down a strange error in our app. java.lang.IllegalStateException: There is no database snapshot available for the object In a lot of places we use a new EditingContext instead of the default Editing Context for the session. When we use a new editing context we have been very

Re: ERXWORepetition

2008-04-01 Thread Mike Schrag
It's not wrong, but you need to make sure that the objects that you generate properly implement .equals and .hashcode. That's the most likely cause of this problem, and it's basically a safety net for you, because this can lead to really nasty security problems. If you know your particula

ERXWORepetition

2008-04-01 Thread Logi Helguson
After Wonder-nizing a project I found a WORepetition that was getting it's NSArray list from a method in the components JAVA class cast a UnmatchedObjectException( null at ERXWORepetition.invokeAction( ERXWORepetition.java:400 ). Logging "Wrong object NUMBER vs OTHER_NUMBER..." + the contents of t

Re: How to get the application object from a DirectAction

2008-04-01 Thread Mike Schrag
WOApplication.application() ms On Apr 1, 2008, at 9:32 AM, Archibald Singleton wrote: Hello, I suppose there must be an obvious and easy way to get the application object from a subclass of WODirectAction but I can't find it %-) Can someone please point me to the obvious? TIA = tmk =

How to get the application object from a DirectAction

2008-04-01 Thread Archibald Singleton
Hello, I suppose there must be an obvious and easy way to get the application object from a subclass of WODirectAction but I can't find it %-) Can someone please point me to the obvious? TIA = tmk = ___ Do not post admin requests to the list. They

Re: binding validation problem

2008-04-01 Thread Mike Schrag
That sounds like a type cache bug, but I haven't seen that one ... If you can get a reproducible case of it, log a bug. ms On Apr 1, 2008, at 8:31 AM, Archibald Singleton wrote: On 01 Apr 2008, at 09:06, Mike Schrag wrote: That warning is normal when you use the default method application

Re: EOGenerator code won't compile

2008-04-01 Thread Mike Schrag
The Wonder EOGenerator templates are written against the latest Wonder. If you aren't using the latest Wonder you either need to get the older templates and use them, or take the new ones and modify them to match your version. ms On Apr 1, 2008, at 7:57 AM, Jeff Schmitz wrote: I'm using

Re: binding validation problem

2008-04-01 Thread Archibald Singleton
On 01 Apr 2008, at 09:06, Mike Schrag wrote: That warning is normal when you use the default method application() from WOComponent. That method returns an object of type WOApplication that does not have your ivar declared. That should not be true in WOLips ... If it is, it's a bug. WOAppli

Re: binding validation problem

2008-04-01 Thread Mike Schrag
That warning is normal when you use the default method application() from WOComponent. That method returns an object of type WOApplication that does not have your ivar declared. That should not be true in WOLips ... If it is, it's a bug. WOApplication and WOSession are handled in a special w

Re: Hyperlinks and action methods

2008-04-01 Thread Mike Schrag
The ERD2WDirectAction does all of this, btw. Cheers, Anjo Am 01.04.2008 um 05:14 schrieb Mike Schrag: and it will look for page components (named by convention, though they must implement a particular interface as a security measure). So for instance it will look for PersonListXmlPage, or

EOGenerator code won't compile

2008-04-01 Thread Jeff Schmitz
I'm using: WOLips 5.4 Leopard Client Java 1.5.0 _WonderEntity.java for my EOGenerator template Frontbase When I add a relationship between two tables and regenerate my EO classes, it references the following class that the compiler can't find: er.extensions.ERXGenericRecord.

Re: binding validation problem

2008-04-01 Thread Alexander Spohr
Am 01.04.2008 um 10:24 schrieb Johann Werner: That warning is normal when you use the default method application() from WOComponent. Last time I used it WOBuilder knew about Session and Application so it should work without warnings. atze --- Alexander Spohr Freeport & Solive

Re: D2WS: Can't obtain rules because of protected access!

2008-04-01 Thread Anjo Krank
The error message is garbage. the problem is /* 221*/if(d2wmodel instanceof _WSRuleModel) /* 222*/rules = ((_WSRuleModel)d2wmodel)._rules(); /* 224*/else /* 224*/throw new IllegalStateException("Can't obtain rules because of protected access!"); so your

D2WS: Can't obtain rules because of protected access!

2008-04-01 Thread Juergen Lorenz Simon
Hi, I posted this message to the WOLips list at first. But since this seems to be more of a WebObjects isue, I'll cross post it here. I'm trying to develop a D2WS application on Eclipse with WOLips. Starting the web service assistant and connecting to the application fails. The error mess

Re: [OT] Limiting File Upload Sizes

2008-04-01 Thread Owen McKerrow
Hi Guys, Thanks for the suggestions. I was after something specifically that stopped the user even trying to upload something so they don't waste time sitting around waiting for something to upload only have it to fail half way through. I will check out Joshua's implementation. Owen McKe

Re: binding validation problem

2008-04-01 Thread Johann Werner
Am 01.04.2008 um 05:26 schrieb Archibald Singleton: On 01 Apr 2008, at 00:16, Mike Schrag wrote: filename = "~$currentItem + \".gif\""/> OGNL doesn't use $, it just uses the binding name, so "~ $currentItem + \".gif\"" is invalid, it should be "~currentItem + '.gif'" (single tick instead of

Re: Hyperlinks and action methods

2008-04-01 Thread Anjo Krank
The ERD2WDirectAction does all of this, btw. Cheers, Anjo Am 01.04.2008 um 05:14 schrieb Mike Schrag: and it will look for page components (named by convention, though they must implement a particular interface as a security measure). So for instance it will look for PersonListXmlPage, or