Re: Where is WO 5.3.4 distributed ?

2007-12-19 Thread Q
On 19/12/2007, at 3:22 PM, Gavin Eadie wrote: I'm certain there was a WO 5.3.4 release after the DST fix release (5.3.3), but I'm having trouble finding it. I looked in the XCode 2.5 distribution and it looks very much like the version carried there is 5.3.3 (the JavaWebObjects

Re: A REAL newbie

2007-12-19 Thread James Nugent
No Leopard for me for production dev machines or servers yet . . way too busy to be fiddling with it. Eclipse 3.3.1 / WOLips #4750 OS X 10.4.X Tiger / Java 1.5 / WO 5.3.X w/Wonder MySQL 4.1.X w/InnoDB / Connector-J 5.0.X I'm guessing it's something to do with WO5.4 rather than WOLips,

Re: A REAL newbie

2007-12-19 Thread Simon McLean
I think the general consensus is that WO5.3 works better at the moment! WO is DB independent so no alternative option should work any better with WO than MySQL (bugs excluded). Did you try manually editing the SQL to include the one line that creates the EOPK table. ? Simon On 19 Dec

Re: Where is WO 5.3.4 distributed ?

2007-12-19 Thread Mr. Pierre Frisch
There is no WO 5.3.4, The version distributed with XCode 2.5 is a recompile of WO 5.3.3 as was distributed with the DST update in February. Pierre -- Pierre Frisch [EMAIL PROTECTED] On Dec 19, 2007, at 4:01, Q wrote: On 19/12/2007, at 3:22 PM, Gavin Eadie wrote: I'm certain there was a

Re: Where is WO 5.3.4 distributed ?

2007-12-19 Thread Gavin Eadie
At 6:33 AM -0800 12/19/07, Mr. Pierre Frisch wrote: There is no WO 5.3.4, The version distributed with XCode 2.5 is a recompile of WO 5.3.3 as was distributed with the DST update in February. ... thanks, Pierre. Apologies to the list for my embarrassing fantasy life!

Re: Batch inserts

2007-12-19 Thread Mark Morris
I've never seen this insert syntax. Is this new, or have I just missed it? Thanks, Mark On Dec 19, 2007, at 11:45 AM, Charles Koppelman wrote: So ERX provides us with a great way to do massive updates (ERXEOAccessUtilities.updateRowsDescribedByQualifier). Is there a way that anyone on

Re: Batch inserts

2007-12-19 Thread Galen Rhodes
It's been around a while but I don't think it's a standard. MySQL supports and, I think, Oracle supports it. -- Galen Rhodes [EMAIL PROTECTED] On Dec 19, 2007, at 12:57 PM, Mark Morris wrote: I've never seen this insert syntax. Is this new, or have I just missed it? Thanks, Mark On

Re: Wosid suppression broken in 5.4?

2007-12-19 Thread Guido Neitzer
On 19.12.2007, at 06:36, Jean-François Veillette wrote: If you know the href, and don't want any WO mungling, just use a ... directly, or use WOGenericContainer if the href is hand made. WOHyperlink is for WO, so it deal with wo session if one exist. I know my ways around that, that's not

Re: Batch inserts

2007-12-19 Thread Charles Koppelman
OK, db2 supports it, but I¹ll withdraw the question if it isn¹t SQL standard On 12/19/07 1:02 PM, Galen Rhodes [EMAIL PROTECTED] wrote: It's been around a while but I don't think it's a standard. MySQL supports and, I think, Oracle supports it. -- Galen Rhodes [EMAIL PROTECTED]

Re: Unable to locate WOOpenURL on your computer

2007-12-19 Thread Guido Neitzer
On 19.12.2007, at 10:52, Ricardo Parada wrote: [2007-12-19 10:39:22 MST] main Unable to locate WOOpenURL on your computer, AutoOpen launch will not work Any ideas where I went wrong? :-) WOOpenURL is not included in Leopard anymore. Hint from David LeBer: sudo mkdir

Re: Batch inserts

2007-12-19 Thread Galen Rhodes
Well, I simply mean that I don't think it's been codified into any SQL standard by any standards body. BUT there are defacto standards. I guess the argument could be made that if 80+% of database servers support it then it's as good as a standard. Kinda like how Microsoft imposes

Re: Unable to locate WOOpenURL on your computer

2007-12-19 Thread Ricardo Parada
On Dec 19, 2007, at 11:10 AM, Guido Neitzer wrote: On 19.12.2007, at 10:52, Ricardo Parada wrote: [2007-12-19 10:39:22 MST] main Unable to locate WOOpenURL on your computer, AutoOpen launch will not work Any ideas where I went wrong? :-) WOOpenURL is not included in Leopard anymore.

Re: Batch inserts

2007-12-19 Thread Kieran Kelleher
Do them one at a time using adaptor operations in a loop ( I regularly run some processes that insert 500,000 to 1,000,000 rows using this method and it is pretty fast. I forget what the numbers were, but it is acceptable. The code pattern was copied from ERX's updateRows and

Re: Batch inserts

2007-12-19 Thread Mike Schrag
HTH, Kieran *cough*submittoWonder*cough* ms ___ 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 Subscription:

Re: Batch inserts

2007-12-19 Thread Kieran Kelleher
In case you want to track it as an issue http://issues.objectstyle.org/jira/browse/WONDER-58 On Dec 19, 2007, at 2:20 PM, Mike Schrag wrote: HTH, Kieran *cough*submittoWonder*cough* ms ___ Do not post admin requests to the list. They will

Re: Batch inserts

2007-12-19 Thread Kieran Kelleher
And BTW, these massive insert operations are usually done in a background thread (either autonomous or with LongResponse meta- refreshing page) and IIRC (without looking at my code but I usually have one or a pool of OSC's just for EOF intensive background threads) I am probably using a

Re: Batch inserts

2007-12-19 Thread Charles Koppelman
Thanks! This is great. I¹ll try it out! On 12/19/07 3:01 PM, Kieran Kelleher [EMAIL PROTECTED] wrote: And BTW, these massive insert operations are usually done in a background thread (either autonomous or with LongResponse meta-refreshing page) and IIRC (without looking at my code but I

Re: Batch inserts

2007-12-19 Thread Mike Schrag
Anjo has committed these into Wonder ... ERXEOAccessUtilities.insertRows. ms On Dec 19, 2007, at 3:01 PM, Kieran Kelleher wrote: And BTW, these massive insert operations are usually done in a background thread (either autonomous or with LongResponse meta- refreshing page) and IIRC

Re: Batch inserts

2007-12-19 Thread Anjo Krank
Yeah, well... mostly :) As we already have the code for the wrap locking stuff, it was more work writing the JavaDoc than checking the patches... Cheers, Anjo Am 19.12.2007 um 21:18 schrieb Mike Schrag: Anjo has committed these into Wonder ... ERXEOAccessUtilities.insertRows.

Re: Batch inserts

2007-12-19 Thread Kieran Kelleher
Anjo, Nice concise code. I should have integrated better with existing ChannelAction inner class before submitting patch sorry about that! Regards, Kieran On Dec 19, 2007, at 3:21 PM, Anjo Krank wrote: Yeah, well... mostly :) As we already have the code for the wrap locking stuff,

Re: Batch inserts

2007-12-19 Thread Anjo Krank
Am 19.12.2007 um 21:35 schrieb Kieran Kelleher: Nice concise code. I should have integrated better with existing ChannelAction inner class before submitting patch sorry about that! You are hereby excused :) You can atone by testing as this code was write-only... Cheers, Anjo

Re: 5.4 Several IFrames on a page doing directActions...

2007-12-19 Thread Don Lindsay
Hello; Interesting. Where would you increase this cache? I looked in the Properities file in Resources, but it is not there. I don't need this right now, but I have seen the you backtracked too far message in the past. Thanks, Don On Dec 17, 2007, at 4:43 PM, Chuck Hill wrote: Good

Re: 5.4 Several IFrames on a page doing directActions...

2007-12-19 Thread Les Vogel
In your Application.java file, you can call setPageCacheSize(size) On 12/17/07, Don Lindsay [EMAIL PROTECTED] wrote: Hello; Interesting. Where would you increase this cache? I looked in the Properities file in Resources, but it is not there. I don't need this right now, but I have seen

Re: Wosid suppression broken in 5.4?

2007-12-19 Thread Chuck Hill
FWIW, I agree with Guido on this one. Chuck On Dec 19, 2007, at 10:09 AM, Guido Neitzer wrote: On 19.12.2007, at 06:36, Jean-François Veillette wrote: If you know the href, and don't want any WO mungling, just use a ... directly, or use WOGenericContainer if the href is hand made.

Re: WO 5.4 on Leopard Client - JavaMonitor

2007-12-19 Thread Chuck Hill
FWIW, I have heard another report of this. On Dec 18, 2007, at 1:38 PM, Les Vogel wrote: So, I've used the scripts that everyone sent around. That launch JavaMonitor as user: appserver. And, I used the wiki instructions script for Alternative Ant Build Script for Fully Embedded and

Re: PDF engine, that handles tables well / ReportMill

2007-12-19 Thread Chuck Hill
Dennis, On Dec 18, 2007, at 10:31 AM, Gaastra Dennis - WO Lists wrote: Actually, ReportMill WAS the reason we created our PDFkit in 2001. Since ReportMill had too many issues and did not match our client's needs, we decided to write our own tool. Our tool is 100% native WebObjects;

Migration code to Eclips/Wolips question

2007-12-19 Thread Ren, Kevin
Hi, guys I got Eclips/WOLips question here: I tried to upgrade my old WO application code to Eclipse/WOLips environment. is there any tools or code available?, code is before Xcode project. Anyway, I manually copy the code to new project, for example in CategoryEditor component, I copied java

Re: 5.4 Alt Ant Build Script for Fully Embedded Split Install Bundled... (split_embedded_build.xml)

2007-12-19 Thread Les Vogel
Yep - you were right. My resources.include.patternset file was missing a / at the end of Components/**/*.wo as soon as I fixed it. All worked. Thanks. On 12/18/07, Kieran Kelleher [EMAIL PROTECTED] wrote: Well, run the script, then go and check the contents of the dist folder and make sure

Re: Wosid suppression broken in 5.4?

2007-12-19 Thread Anjo Krank
Am 19.12.2007 um 22:41 schrieb Chuck Hill: FWIW, I agree with Guido on this one. Me too, 100%. In particular as this used to work differently. If you WANT to return a WOSID, you'd normally do it by returning context.directActionURL() or whatever, which includes is if you want it. To

Re: Wosid suppression broken in 5.4?

2007-12-19 Thread Anjo Krank
In particular as this is a glaring security issue as you'd be exposing WOSIDs to other sites which have no business with it! Oh my, why don't I check the logs for this stupid apple app server and see if I can plunder their accounts! Sweet, Anjo Am 20.12.2007 um 00:15 schrieb Anjo Krank:

Velocity EOGenerator create package problem

2007-12-19 Thread Ren, Kevin
Hi, This is my .eogen content: -destination Source/recipe/eo -java -javaTemplate _Entity.java -model recipe.eomodeld -subclassDestination Source/recipe/eo -subclassTemplates Entity.java -templatedir Templates -verbose Run EOGeberate command, all good created all java classes for me in

Re: Wosid suppression broken in 5.4?

2007-12-19 Thread Chuck Hill
On Dec 19, 2007, at 3:18 PM, Anjo Krank wrote: In particular as this is a glaring security issue as you'd be exposing WOSIDs to other sites which have no business with it! Oh my, why don't I check the logs for this stupid apple app server and see if I can plunder their accounts! Sweet,

Re: Wosid suppression broken in 5.4?

2007-12-19 Thread Mike Schrag
In particular as this is a glaring security issue as you'd be exposing WOSIDs to other sites which have no business with it! Aside from being 100% right (as always) anyway ;) , this is a very valid point. ms ___ Do not post admin requests to the

Re: Velocity EOGenerator create package problem

2007-12-19 Thread Tobias Crawley
Kevin: Did you specify package information in your eomodel? In the Class Name field for the entity, have to give the full package path, e.g.: recipe.eo.Ingredient instead of just Ingredient. Then you would specify the destination and subclassDestination as Source/. Tobias On Dec 19,

Re: Velocity EOGenerator create package problem

2007-12-19 Thread Mike Schrag
Velocity EOGenerator totally ignores the -createPackage flag -- it always creates packages (because it's the right thing to do). It determines the package name to use from the class name you set in your EOModel file. The superclass package field is a new feature that lets you specify,

Re: Wosid suppression broken in 5.4?

2007-12-19 Thread Anjo Krank
Oops! :-P That seems a pretty clear cut reason to NOT have this added to the URL. AND potentially messing up other WO apps what you might refer to, like http://.../AppA.woa/wa/cool?wosid=sessionfromAppB When AppA might have a cookie set or the URL already constructed correctly?

RE: Wosid suppression broken in 5.4?

2007-12-19 Thread James C. Lee
Maybe I'm missing something here. But calling setStoresIDsInURLs(false) from one's session constructor takes care of this issue: public Session() { super(); setStoresIDsInURLs(false); } We were caught by surprise with this new feature. But the above one-liner took care of it. We

Legacy database integration and mysql autoinc fields.

2007-12-19 Thread Q
Does anyone have any notes on integrating a WO/EOF app with a existing mysql database that is actively managed by a legacy app the uses the evil mysql auto-increment field for primary key generation? Maybe there is something in Wonder I haven't found to help with this? -- Seeya...Q Quinton

RE: Velocity EOGenerator create package problem

2007-12-19 Thread Ren, Kevin
OK, i got it. i put the whole name in the eomodel, like Tobias said e.g.: recipe.eo.Ingredient instead of just Ingredient. All generated in recipe/eo dir and with package name. but it's bit painful if there are more table/classes. is it possible to setup packagename argument in the EOGenerator

Re: Migration code to Eclips/Wolips question

2007-12-19 Thread Pascal Robert
Le 07-12-19 à 17:15, Ren, Kevin a écrit : Hi, guys I got Eclips/WOLips question here: I tried to upgrade my old WO application code to Eclipse/WOLips environment. is there any tools or code available?, code is before Xcode project. If you are on OS X, check out:

Re: Migration code to Eclips/Wolips question

2007-12-19 Thread Mike Schrag
http://wiki.objectstyle.org/confluence/display/WOL/Migrating+from+XCode+to+WOLips I would recommend this as well with the exception that I would say to ALWAYS use Pascal's XcodeMigration script. No offense to Chuck, but Pascal's application is just a more thorough migration

Re: Migration code to Eclips/Wolips question

2007-12-19 Thread Chuck Hill
On Dec 19, 2007, at 5:52 PM, Mike Schrag wrote: http://wiki.objectstyle.org/confluence/display/WOL/Migrating+from +XCode+to+WOLips I would recommend this as well with the exception that I would say to ALWAYS use Pascal's XcodeMigration script. No offense to Chuck, but Pascal's

Re: Migration code to Eclips/Wolips question

2007-12-19 Thread Pascal Robert
Le 07-12-19 à 21:00, Chuck Hill a écrit : On Dec 19, 2007, at 5:52 PM, Mike Schrag wrote: http://wiki.objectstyle.org/confluence/display/WOL/Migrating+from +XCode+to+WOLips I would recommend this as well with the exception that I would say to ALWAYS use Pascal's XcodeMigration script.

Re: 10.5 WO Migration, Add Host - Invalid Password - Access Denied

2007-12-19 Thread Chuck Hill
Having a hard time deciphering this. I'll add a few notes. On Dec 19, 2007, at 4:26 PM, Baiss Eric Magnusson wrote: My notes below, of my migratory progress, will hopefully help in solving the problem. 1) cascadewebdesign com.webobjects.wotaskd[11782]: [2007-12-14 0:14:54 PST] main

Re: Migration code to Eclips/Wolips question

2007-12-19 Thread Chuck Hill
On Dec 19, 2007, at 6:07 PM, Pascal Robert wrote: Le 07-12-19 à 21:00, Chuck Hill a écrit : On Dec 19, 2007, at 5:52 PM, Mike Schrag wrote: http://wiki.objectstyle.org/confluence/display/WOL/Migrating +from+XCode+to+WOLips I would recommend this as well with the exception that I would

DisplayGroups and Backtracking Too Far

2007-12-19 Thread Neil MacLennan
I'm having trouble with DisplayGroups and a backtracking too far error -- without pressing the Back button on my browser, i.e. on a 'forward, progressive' link/action I have a DisplayGroup within a WOComponentContent template. The DisplayGroup shows me a batch of entries (using a

Re: DisplayGroups and Backtracking Too Far

2007-12-19 Thread Chuck Hill
On Dec 19, 2007, at 6:27 PM, Neil MacLennan wrote: I'm having trouble with DisplayGroups and a backtracking too far error -- without pressing the Back button on my browser, i.e. on a 'forward, progressive' link/action I have a DisplayGroup within a WOComponentContent template. The

RE: Migration code to Eclips/Wolips question

2007-12-19 Thread Ren, Kevin
thank you guys, but my code is older than Xcode. I have to manually migrate them,because I am working on Ubuntu not mac. One more question about WOdisplayGroup. In my java code, I have Public WODisplayGroup recipeDisplayGroup; In wod file RecipeName:WOTextField{ value=

RE: Velocity EOGenerator create package problem

2007-12-19 Thread Ren, Kevin
from i understood today: I have to put the whole class name in eomodel like recipe.eo.Recipe instead of just recipe. is that right? Now i clean my old recipe/eo folder. sorry make confused i have one Recipe table/class and use package name recipe as well. built with superclass package=base,

Re: Velocity EOGenerator create package problem

2007-12-19 Thread Mike Schrag
templates download from http://webobjects.mdimension.com/wolips/EOGenerator/Velocity%20EOGenerator%20Templates/ These were the original samples, but there are actually built-in templates (newer versions of these) ... To get started, you should not actually need the templates from the

Re: Velocity EOGenerator create package problem

2007-12-19 Thread Mike Schrag
These were the original samples, but there are actually built-in templates (newer versions of these) ... I just updated the mdt.com site with the latest versions of the templates -- you can grab those if you want, too. ms ___ Do not post admin

Newbie WOLIps

2007-12-19 Thread s. tunji turner
Does the bindings inspector allow edits on the webobject components. I see them displayed, but i cannot edit them? wolips 3.3.4750 s. tunji turner team firstsightmedia ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev

Re: Migration code to Eclips/Wolips question

2007-12-19 Thread Q
On 20/12/2007, at 1:13 PM, Ren, Kevin wrote: thank you guys, but my code is older than Xcode. I have to manually migrate them,because I am working on Ubuntu not mac. One more question about WOdisplayGroup. In my java code, I have Public WODisplayGroup recipeDisplayGroup; In wod file