Re: Customizing the EOSortOrdering

2006-03-27 Thread Anjo Krank
The sql is generated in the expression class of the the plugin for your db. You could for example generate the expression, get the statement, fix it and put it into the fetch spec as a hint, probably in a DBC delegate. Or you could write your own plugin by subclassing the oracle plugin an

Re: Object not registered in any editingContext?

2006-03-27 Thread Ian Joyner
Thanks Chuck, I should have thought of that since every other enumeration type I have handled that way, but this was code left over from about six months ago, which had always seemed to be working. Doesn't seem to be much overhead in the refetch since it must be filtering in memory anyway.

Re: New Web Components failing to compile?

2006-03-27 Thread Lachlan Deck
Hi there, On 24/03/2006, at 5:02 AM, Chuck Hill wrote: On Mar 23, 2006, at 5:20 AM, Jerry W. Walker wrote: Hi, Jeffrey, While he's walking away whistling, Chuck will soon have you believing that the only way to develop a WO project is under Windows in Eclipse. Sir! I take offence! I

Re: Object not registered in any editingContext?

2006-03-27 Thread Chuck Hill
On Mar 27, 2006, at 7:59 PM, Ian Joyner wrote: Fixed it! The problem is a small optimization on the server side, trying to load something only once and storing in a static variable - NOT A GOOD IDEA. Normally, this runs just fine, especially in the development environment, where the server

Re: Object not registered in any editingContext?

2006-03-27 Thread Ian Joyner
Fixed it! The problem is a small optimization on the server side, trying to load something only once and storing in a static variable - NOT A GOOD IDEA. Normally, this runs just fine, especially in the development environment, where the server is restarted every test. However, when started

Customizing the EOSortOrdering

2006-03-27 Thread David Sargent
I have a need to sort the objects in ascending order with NULL first. I am using Oracle 10g and it support an SQL option to do just that. order by shipDate nulls first. The question is how is the best way to get WO to allow me to use this oracle feature. I looked at overriding the EOSortOrde

Re: Google Maps WOComponent anyone?

2006-03-27 Thread Mark Wardle
Kieran Kelleher wrote: Anyone got a simple WOComponent for google maps yet (is this wishful thinking!) with bindings like latitude longitude or an NSArray of an NSKeyValueCoding object with latitude/longitude keys for plotting a bunch of points? Regards, Kieran I think the Terms & Condi

Re: New Web Components failing to compile?

2006-03-27 Thread Mike Schrag
Either figure out how to integrate effectively with EOModeler/ WOBuilder in Xcode, or rewrite it. I don't personally care about WOBuilder, but EOModeler is essential and there will be a workaround ... Windows people ultimately will have to have a rewrite for things to continue to work prop

Re: New Web Components failing to compile?

2006-03-27 Thread womail
On Mar 27, 2006, at 5:00 PM, Chuck Hill wrote: Those are my top reasons. There are many more. I was just reading my e-mail, minding my own business, when suddenly this infernal whistling started up. I thought it was coming from the computer, but it seemed to surround me, penetrating my

Re: NoClassDefFoundError?

2006-03-27 Thread Ray Kiddy
On Mar 27, 2006, at 2:03 PM, Ian Coleman wrote: yes it is in there, here is the whole Run Log: AssetManager has exited with status 1. Chuck Hill wrote: That seems to suggest that /System/Library/Frameworks/ JavaWebObjects.framework/Resources/Java/javawebobjects.jar is not on the c

Re: New Web Components failing to compile?

2006-03-27 Thread Chuck Hill
Hi, On Mar 24, 2006, at 10:30 PM, Lachlan Deck wrote: On 24/03/2006, at 5:02 AM, Chuck Hill wrote: On Mar 23, 2006, at 5:20 AM, Jerry W. Walker wrote: The easiest way to add a component on Mac OS X using the standard WO tools is: * Open your project in Xcode * Create your new component

Re: Object not registered in any editingContext?

2006-03-27 Thread Chuck Hill
Hi Ian, On Mar 27, 2006, at 4:40 PM, Ian Joyner wrote: Thanks for the reply Chuck. I don't think there is a problem with the Person save code, because it also fails on the Member save code (although member is a subclass of person, the controllers are different and the Member controller doe

Re: Object not registered in any editingContext?

2006-03-27 Thread Ian Joyner
Thanks for the reply Chuck. I don't think there is a problem with the Person save code, because it also fails on the Member save code (although member is a subclass of person, the controllers are different and the Member controller does not post a notification). However, I just found someth

Re: Object not registered in any editingContext?

2006-03-27 Thread Chuck Hill
Hi Ian, On Mar 27, 2006, at 2:41 PM, Ian Joyner wrote: (Sorry if this is a repost, but it has not turned up in my inbox from last night.) The list has been a bit unstable the last few days. I was getting bounces at one point that said Webobjects-dev@lists.apple.com was an unknown mailbo

Re: Basic Question

2006-03-27 Thread Jerry W. Walker
Hi, Lachlan, On Mar 24, 2006, at 5:22 PM, Lachlan Deck wrote: Hi Jerry, the below seems to be a very good overview that will be useful for others for some time to come. Aw, shucks, Lachlan, you're just saying that to make me feel better after watching me eat crow three times yesterday on

Re: Basic Question

2006-03-27 Thread Lachlan Deck
Hi Jerry, the below seems to be a very good overview that will be useful for others for some time to come. Why not put it up here? http://en.wikibooks.org/wiki/ Programming:WebObjects#The_Build_Products -> Overview More specifically...

Re: MySQL JDBC connection

2006-03-27 Thread Paul Lynch
Resending, because it didn't show up (and I suspect my mail server). On 24 Mar 2006, at 04:01, netBrackets wrote: Now I remember why I have never used a database in my app. While EOM looks like very cool stuff, I can never get past the very first step of getting the EOModeler to connect to

Re: Help. Error from jam ??

2006-03-27 Thread Jake Macmullin
I've found that rebuilding the project 'code sense index' can help cure strange problems (esp if files have changed path). Highlight the project in the 'Groups and Files' view, click Apple + I and click the 'rebuild code sense index'. This has solved some strange build bugs for me in the pa

Re: wildcard search problem (apology)

2006-03-27 Thread Timmy
Sorry for the double-posting. I was having a problem posting to the list - lists.apple.com was choking on my messages for some unknown reason. So, I tried from another machine and ended up with two posts. Sorry, T ___ Do not post admin requests to t

Re: Help. Error from jam ??

2006-03-27 Thread Chuck Hill
On Mar 26, 2006, at 3:34 PM, Owen McKerrow wrote: Hi All, I'm just shifting from 5.2 to 5.3 and am having some trouble with a particular project, the others that I have tested are fine. When I try to build it I get this strange error : Message : Command /Developer/Private/jam failed with

wildcard search problem

2006-03-27 Thread Timmy
WO folks: I've implemented a wildcard search on one of my WOComponents by adding a bunch of EOKeyValueQualifiers to an array. The search takes user input, appends a "*" then I build the qualifiers as so: qualifiers.addObject(new EOKeyValueQualifier("field1", EOQualifier.QualifierOperator

wildcard search problem

2006-03-27 Thread Timmy
WO folks: background - I have a table ("job") that I have extended by adding a one-to-one, owns destination relationship to another table ("jobDepartment" - for correlation to "department"). The reason is long and sordid but it, for now, it makes sense to keep it as is. I am forcing the c

Re: Help. Error from jam ??

2006-03-27 Thread Sacha Michel Mallais
On Mar 26, 2006, at 3:34 PM, Owen McKerrow wrote: What is jam ? jam is the build system used by Xcode. It is analogous to make and ant. And any ideas on how I could fix this problem ? Did you post the complete context of the error? I can't see any reason for it to have failed. It cou

Object not registered in any editingContext?

2006-03-27 Thread Ian Joyner
(Sorry if this is a repost, but it has not turned up in my inbox from last night.) I'm intermittently getting the error: "Cannot obtain globalId for an object which is not registered in any editingContext" I see quite a few have run into this one over the years and have read all those po

wildcard search and relationship traversal

2006-03-27 Thread Timmy
WO folks: background - I have a table ("job") that I have extended by adding a one-to-one, owns destination relationship to another table ("jobDepartment" - for correlation to "department"). The reason is long and sordid but it, for now, it makes sense to keep it as is. I am forcing the c

Help. Error from jam ??

2006-03-27 Thread Owen McKerrow
Hi All, I'm just shifting from 5.2 to 5.3 and am having some trouble with a particular project, the others that I have tested are fine. When I try to build it I get this strange error : Message : Command /Developer/Private/jam failed with exit code 1 Location : Tool:0 Checking Dependencies

Re: NoClassDefFoundError?

2006-03-27 Thread Ian Coleman
yes it is in there, here is the whole Run Log: Reading MacOSClassPath.txt ... Launching AssetManager.woa ... java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System" -DWOLocalRootDirectory="" -DWOUserDirectory="/Users/ian/AssetManager/build/Development" -DWOEnvClassPath="" -DWOApplica

Re: NoClassDefFoundError?

2006-03-27 Thread Chuck Hill
That seems to suggest that /System/Library/Frameworks/ JavaWebObjects.framework/Resources/Java/javawebobjects.jar is not on the classpath or can't be read (due to lack of permisssions). Is JavaWebObjects included in the frameworks? Do you see it on the classpath when the app launches?

Re: MySQL JDBC connection

2006-03-27 Thread Kieran Kelleher
Jeff,An open source, simple to use, Universal Binary (great on the new MacBook Pro!) ishttp://www.theonline.org/cocoamysql/Watch out though, changes to data AND table configuration are saved automatically so make sure you have a steady mouse finger with no accidental clicks!Still, I really, rea

Re: triggeering an event

2006-03-27 Thread Amedeo Mantica
thanks! On 27/mar/06, at 23:22, Sacha Michel Mallais wrote: On Mar 27, 2006, at 1:19 AM, Amedeo Mantica wrote: Hello, Is possible to trigger an event to be run one time at week? You could set something up in your application, but the easiest (and arguably best) way to do this would be to

NoClassDefFoundError?

2006-03-27 Thread Ian Coleman
I can not figure out how to fix this problem, mainly because I don't know how I did it. None of my WO projects will run any more, they all exit with status 1. Even if I just create a D2W, it still exits with status 1. They all have this in the Run Log: . /Library/WebObjects/Extensions/

Exception in _popComponentFromContext

2006-03-27 Thread Ricardo Parada
Hi All,I'm getting an exception and I can't quite figure out why.  Here's the stack trace to see if it rings a bell with anyone.Any ideas?  :-)  What's this _popComponentFromContext() ?java.lang.NullPointerExceptioncom.webobjects.appserver._private.WOComponentReference._popComponentFromContext(WOCo

Re: triggeering an event

2006-03-27 Thread apl
Hello; Hello, Is possible to trigger an event to be run one time at week? Thanks Regards Amedeo One easy way to do this if you are deploying on UNIX is to invoke a DA using "curl" from a crontab entry. cheers. ___ Andrew Lindesay www.lindesay.co.nz

Re: triggeering an event

2006-03-27 Thread Sacha Michel Mallais
On Mar 27, 2006, at 1:19 AM, Amedeo Mantica wrote: Hello, Is possible to trigger an event to be run one time at week? You could set something up in your application, but the easiest (and arguably best) way to do this would be to set up a cron job (do a "man crontab" in Terminal or get a GU

Re: Generating reports in excel?

2006-03-27 Thread Jake Macmullin
Owen, 1) Do you copy and paste the whole XML file or just the table part ? i.e. do you include things like the DocumentProperties and Styles ? I assume so. Yep, the whole XML file. 2) What version of WO are you using ? Because when I open the file up in WOBuilder my rows and columns are

triggeering an event

2006-03-27 Thread Amedeo Mantica
Hello, Is possible to trigger an event to be run one time at week? Thanks Regards Amedeo ___ 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 S

Re: Modeling Question

2006-03-27 Thread Lachlan Deck
Hi there, On 25/03/2006, at 12:15 AM, James Cicenia wrote: I am modeling a SEO Management application. Basically I have the following DestinationSite DirectorySite PartnerSite UnclassifiedSite DestinationPage DirectoryPage PartnerPage

Re: Simple Escape Question

2006-03-27 Thread Kieran Kelleher
James, IIRC there is a class named StringEscapeUtils that escapes strings for most any purpose in the jakarta commons lang project. Regards, Kieran On Mar 23, 2006, at 9:02 AM, James Cicenia wrote: It's early ... Is there a simple Java command that will escape my string for a raw sql st

Re: MySQL JDBC connection

2006-03-27 Thread netBrackets
OK,   After putting the latest driver (mysql-connector-java-3.1.12-bin.jar) in the java/extensions directory, I started getting an Incorrect Driver found error (or something like that).  Then, as the root MySQL user I added a new MySQL user with root privileges to the mysql database with something

Re: MySQL JDBC connection

2006-03-27 Thread netBrackets
Thanks to all for all the great replies.  I really have no problem learning mySQL and the command line interface.  Once I can get started I can pick things up (or remember them from before) pretty quick.  It's all the startup stuff (configuration, installation, connections, getting the right versio

Re: problem with WOFileUpload

2006-03-27 Thread Chuck Hill
Hi, On Mar 23, 2006, at 6:42 AM, Jean-François Veillette wrote: Thanks Chuck ! I like the proxy idea, we where thinking something around netstat, but a proxy might be better. We will ask our admins to take a look. Further information : - yesterday, trying to debug the apache configuration