Re: [OT] New WO Years Resolutions.

2008-12-19 Thread Guido Neitzer
On 19.12.2008, at 20:42, David Holt wrote: Please don't do it in German! No, I won't ... ;-) cug ___ 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: [OT] New WO Years Resolutions.

2008-12-19 Thread David Holt
Please don't do it in German! David On 19-Dec-08, at 7:41 PM, Guido Neitzer wrote: And I wanted to do a D2W screencast. Maybe when I'm with my parents in Germany in Jan ... ;-) ___ Do not post admin requests to the list. They will be ignored. Webo

Re: [OT] New WO Years Resolutions.

2008-12-19 Thread David Holt
Great idea! USE D2W Update and write comprehensive documentation for D2W Localize everything going forward Stop using DefaultEditingContext :-) Check out SproutCore Add more stuff to the wiki as I go and before it is perfect. It is never perfect. Buy Anjo a beer at WOWODC 2009 ;-) David On 1

Re: [OT] New WO Years Resolutions.

2008-12-19 Thread Guido Neitzer
On 19.12.2008, at 20:03, Q wrote: - Watch all the WOWODC videos - Use Click-To-Open / Click-To-Debug more Same here. - Learn Direct 2 Web Dito. - Start using ERSelenium Hmpf, where is the time? - Contribute more to WOLips & the WO Wiki - Contribute more to Wonder - Complete and relea

Re: [OT] New WO Years Resolutions.

2008-12-19 Thread TW
Geez, if the two apps that sprung me into WO-dom three years ago would just stop growing, I'd like to do all the same ones. I haven't done a thing on that list either. Glad to be part of the WO community though. T Worman UCLA On Dec 19, 2008, at 7:03 PM, Q wrote: This is my list of new WO

[OT] New WO Years Resolutions.

2008-12-19 Thread Q
This is my list of new WO years resolutions currently: - Watch all the WOWODC videos - Use Click-To-Open / Click-To-Debug more - Use JavaRebel more - Learn Direct 2 Web - Start using ERSelenium - Check out using JavaClient / JBND - Check out using GWT + WO - Check out using JavaFX + WO - Check ou

Re: Weird sql generation problem running migration from WO5.4 (Oracle)

2008-12-19 Thread Chuck Hill
I was talking to Mike about this and in order to keep Wonder compatible with both WO 5.3 and 5.4 is quite a bit of effort, not just adding this one method. I suspect that this is just the tip of the proverbial iceberg. Chuck On Dec 17, 2008, at 8:34 PM, Richard Stephens wrote: Chuck,

Re: Really, really OT: Professor Chaos supports EOF

2008-12-19 Thread Anjo Krank
I...see... I a o glad that I belong to a cult that follows a fake 10 year old kid no one really likes... Cheers, Anjo Am 19.12.2008 um 17:09 schrieb Hugi Thordarson: OK, a bit off topic, but I do believe that revealing this important piece of information is in the best interest of the WO

Re: [OT] Selecting column names in FrontBase

2008-12-19 Thread David Holt
How about as an example SELECT FirstName, LastName from User_Table; That gives me a list of rows such as: John Jones Mary Kay etc. What I'd like to do is get FirstName LastName John Jones Mary Kay etc. On 19-Dec-08, at 2:47 PM, Josh Paul wrote: What is the SQL you are using for the SELE

Re: [OT] Selecting column names in FrontBase

2008-12-19 Thread Josh Paul
What is the SQL you are using for the SELECT? Can't you simply include the column names after the SELECT statement? SELECT columnName FROM tableName ... ? On Dec 19, 2008, at 11:20 AM, David Holt wrote: Hello all, Does anyone know how to select column names along with the data using SQL9

Re: EOF Transaction logging

2008-12-19 Thread David Holt
I agree. Thanks for sharing, Ken. I have been thinking about audit for a long time, and your implementation seems like a very reasonable one. David On 19-Dec-08, at 2:07 PM, Hugi Thordarson wrote: Ken, that's actually... Really, really cool! Thanks for taking the time to write this, I'm cu

Re: EOF Transaction logging

2008-12-19 Thread Hugi Thordarson
Ken, that's actually... Really, really cool! Thanks for taking the time to write this, I'm currently wrapping my head around how to incorporate it in The Perfect DBMS Independent Audit Trail™ :-). On the same note; does anyone know if Wonder's audit trail is any good? Cheers, - Hugi // Hug

Re: Replicating iTunes Smart List in WO?

2008-12-19 Thread David Holt
Hi Jerome, This might be a primitive solution and I haven't tried it, but maybe you could have several WOAnyFields in the component and hide all but one in conditionals until the + button is clicked. The + button in each one would expose the next WOAnyField below it. You'd have a limited

Re: Replicating iTunes Smart List in WO?

2008-12-19 Thread Chuck Hill
On Dec 19, 2008, at 11:20 AM, Jerome Chan wrote: I want to create a dynamic search list like iTunes Smart List. Is it possible to use several WOAnyFields to change what is displayed for a WODisplayGroup? + - [name] [contains] xxx + - [name [ends] zzz + - [age] [greater] 30 Where clicking

Replicating iTunes Smart List in WO?

2008-12-19 Thread Jerome Chan
I want to create a dynamic search list like iTunes Smart List. Is it possible to use several WOAnyFields to change what is displayed for a WODisplayGroup? + - [name] [contains] xxx + - [name [ends] zzz + - [age] [greater] 30 Where clicking on the + button will add a new search field and cl

Re: optimization/indexing

2008-12-19 Thread Chuck Hill
On Dec 19, 2008, at 10:34 AM, Jeff Schmitz wrote: Yes, Chuck pointed that out to me too (whoops). I just didn't think to question how a database company would spell it =8^O. You need to select the Danish dictionary to spell check that. Chuck On Dec 19, 2008, at 12:11 PM, Kieran Kelleh

Re: Huge file long response prep and download

2008-12-19 Thread Susanne Schneider
Hi Kieran, you could return the page to be displayed to the user with an meta-reload at the top for downloading the file with a download action. The meta-reload is only displayed once with a flag set from the finished action and reset from the download-action. This should work as long as the

Re: EOF Transaction logging

2008-12-19 Thread Ken Anderson
I use a hybrid approach... I use the database to copy every row modified or deleted to an audit table. Every object has a trans_id field, which is a foreign key relationship to a transaction table. The primary key of that table increases like regular unique integer primary keys. In EOF,

Re: optimization/indexing

2008-12-19 Thread Jeff Schmitz
Yes, Chuck pointed that out to me too (whoops). I just didn't think to question how a database company would spell it =8^O. On Dec 19, 2008, at 12:11 PM, Kieran Kelleher wrote: indexes or indices: From elitist Dictionary.app ;-) index |ˈɪnˈdɛks|noun ( pl. -dexes |ˈɪnˈdɛksəz| or esp. in

Re: Huge file long response prep and download

2008-12-19 Thread Kieran Kelleher
Hi Miguel, I have no problem using AjaxProgress, long response updating, etc for "normal" long response tasks where a *single* WOActionResults gets fired at the end of the long response task to take user to whatever page I want to push them to . the question is what behaviour to have

Re: Huge file long response prep and download

2008-12-19 Thread Miguel Arroz
Hi! One way we use to solve those problems is to have a part of the page updating every X seconds (it may be an AjaxUpdateContainer or so). When possible, we show up the percentage of the processing on that AUC. Yours Miguel Arroz On 2008/12/19, at 17:55, Kieran Kelleher wrote: L

Re: optimization/indexing

2008-12-19 Thread Kieran Kelleher
indexes or indices: From elitist Dictionary.app ;-) index |ˈɪnˈdɛks|noun ( pl. -dexes |ˈɪnˈdɛksəz| or esp. in technical use -dices |ˈɪndəˈsiz|) On Dec 19, 2008, at 9:05 AM, Jeff Schmitz wrote: btw, why does the Mail app say 'indeces' is misspelled? Guess we're supposed to stick to the m

Re: EOF Transaction logging

2008-12-19 Thread Henrique Prange
Hi Hugi, Take a look at Houdah Frameworks. I think the Audit Trail [1][2] solution provided by this framework could be helpful. The Wonder Bug Tracker application also includes support for audit trail. Maybe you can learn something from there. [1]http://code.google.com/p/houdah-webobjects-f

Huge file long response prep and download

2008-12-19 Thread Kieran Kelleher
Looking for UI behaviour ideas When I have a case of large file download that needs a long response preparation scenario due to file prep time, I normally do one of these 2: 1) Open a popup Window saying sth like "please wait while we prepare your file..." and that popup runs the l

Re: EOF Transaction logging

2008-12-19 Thread Hugi Thordarson
I considered that, it is a good approach since it would log all changes to the DB regardless of the application used to access it. But it falls short since creating an interface to access that old data is complex (meaning that we'd have to create a separate non-WO (or heaviliy modified EOF)

Re: EOF Transaction logging

2008-12-19 Thread Dov Rosenberg
Most of the projects I worked on with this requirement used the built in audit tracking functions of the database. Most DBA¹s didn¹t leave the requirement to the developers to enforce. That way everything is tracked in a consistent fashion across applications. Dov Rosenberg On 12/19/08 11:57 AM,

Re: EOF Transaction logging (omitted attachment added)

2008-12-19 Thread Hugi Thordarson
Whoops, forgot the attachment :-). Spy.java Description: Binary data On 19.12.2008, at 16:57, Hugi Thordarson wrote:Well, for each off-topic post, I guess you must send at least one on-topic post :-).So, I work on government databases, and a big part of our requirements revolves around keeping tra

EOF Transaction logging

2008-12-19 Thread Hugi Thordarson
Well, for each off-topic post, I guess you must send at least one on- topic post :-). So, I work on government databases, and a big part of our requirements revolves around keeping track of changes. We need to know exactly how our databases looked at some point in time, and we need to know w

Really, really OT: Professor Chaos supports EOF

2008-12-19 Thread Hugi Thordarson
OK, a bit off topic, but I do believe that revealing this important piece of information is in the best interest of the WO community.Professor Chaos, the evil alter ego of one Leopold Stotch (a.k.a. "Butters") accesses all his evil databases using EOF. And he's one enthusiastic evangelist as well,

Re: optimization/indexing

2008-12-19 Thread Chuck Hill
On Dec 19, 2008, at 6:26 AM, Jeff Schmitz wrote: Whoops, I think I misread the suggestion. No, there wasn't an index for WinAnalysis.comboTeamID. And creating one makes a HUGE HUGE HUGE (enough emphasis??) difference. from minutes to less than a second to load the page. So it was the

[Off Topic] The Joy of the Holidaze

2008-12-19 Thread Dov Rosenberg
> Dear Diary, > > Once again our family is off to visit the rest of our family up near the > Southern Arctic Circle that runs thru Indiana and Michigan. This year we > thought we would make our annual trek just a bit more challenging by flying > into Detroit which is currently under 35 feet of

Re: optimization/indexing

2008-12-19 Thread Chuck Hill
On Dec 19, 2008, at 5:55 AM, Jeff Schmitz wrote: A to-many relationship is what I was thinking. Maybe Team -->> WinAnalysis. You might need to add an attribute to maintain ordering on the destination entity (e.g. which win?) as to-many relationships are unordered by definition (in EOF, n

Re: optimization/indexing

2008-12-19 Thread Jeff Schmitz
Whoops, I think I misread the suggestion. No, there wasn't an index for WinAnalysis.comboTeamID. And creating one makes a HUGE HUGE HUGE (enough emphasis??) difference. from minutes to less than a second to load the page. So it was the 'indexes' after all. Again, many thanks, I should

Re: optimization/indexing

2008-12-19 Thread Jeff Schmitz
OK, I tried to do this, and in the process hit a dialogue that said I had to change my transaction settings to be serializable, pessimistic, read write. Are these setting just for the FrontBase Manager app, or global (i.e. also for my webobjects app?). Anyway, after saying ok, change my tr

Re: Obtaining newly generated primary keys during save

2008-12-19 Thread Kieran Kelleher
Wonder ERXGenericRecord.rawPrimaryKeyInTransaction() On Dec 19, 2008, at 6:13 AM, Gennady Kushnir wrote: Hello, list I'm trying to get primary key value from one enterprise object to get stored in another table. But if the object is recently inserted it does not have any primary key and consequ

Obtaining newly generated primary keys during save

2008-12-19 Thread Gennady Kushnir
Hello, list I'm trying to get primary key value from one enterprise object to get stored in another table. But if the object is recently inserted it does not have any primary key and consequently I have nothing to save. I tried to trigger second tabe initialisation on EOGlobalID.GlobalIDChangedNoti