Re: Is Migration Borked on WO 5.4.1

2008-04-15 Thread Guido Neitzer
On 15.04.2008, at 22:51, Jerome Chan wrote: Are database migrations functional on com.webobjects.version = 5.4.1? API migrations from Wonder? Yes, because SQL generation is somewhat broken in 5.4.1. SQL file migrations work though. That problem will be fixed in 5.4.2. cug -- http://www.

Is Migration Borked on WO 5.4.1

2008-04-15 Thread Jerome Chan
Are database migrations functional on com.webobjects.version = 5.4.1? ___ 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: http://li

Re: Aggregated exceptions question

2008-04-15 Thread Florijan Stamenkovic
On Apr 15, 2008, at 15:16, Chuck Hill wrote: I don't see that as a large problem for validateForDelete. And out they go :) F ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.ap

Re: Converting to self-closing webobject tags

2008-04-15 Thread Lachlan Deck
On 16/04/2008, at 11:05 AM, Mr. Pierre Frisch wrote: This is some really bad style. Use a WOGenericElement or WOGenericContainer. Speak to the graphic designers for me ;-) There's the ideal, and there's the reality... As for the format conversion just use Mike tool to reformat the html it w

Re: It's still alive again still forever!! :-)

2008-04-15 Thread Chuck Hill
On Apr 15, 2008, at 5:14 PM, David Holt wrote: Yes, Virginia, there are WO sessions after all. http://developer.apple.com/wwdc/sessions/#tab=it&session=1175 Java and WebObjects Overview Essentials Session Java and WebObjects are proven technologies used by small businesses and enterprises ar

Re: Converting to self-closing webobject tags

2008-04-15 Thread Mr. Pierre Frisch
This is some really bad style. Use a WOGenericElement or WOGenericContainer. As for the format conversion just use Mike tool to reformat the html it will do it for you very nicely. Pierre -- Pierre Frisch [EMAIL PROTECTED] On Apr 15, 2008, at 17:09, Lachlan Deck wrote: AFAIK, you still n

Re: Local Instance of EO Problem

2008-04-15 Thread Joe Moreno
Chuck, Thanks. It looks like it turned out to be my bug. I "crossed my streams" (editing contexts). - Joe On Apr 15, 2008, at 14:03:30, Chuck Hill wrote: On Apr 15, 2008, at 1:09 PM, Joe Moreno wrote: Chuck, Upon closer examination, I am seeing that if an EO field was null, then up

It's still alive again still forever!! :-)

2008-04-15 Thread David Holt
Yes, Virginia, there are WO sessions after all. http://developer.apple.com/wwdc/sessions/#tab=it&session=1175 Java and WebObjects Overview Essentials Session Java and WebObjects are proven technologies used by small businesses and enterprises around the world, including Apple. Come see how Mac

Re: Converting to self-closing webobject tags

2008-04-15 Thread Lachlan Deck
AFAIK, you still need old-style tags when your wo tags are within quotes. e.g., On 15/04/2008, at 6:17 AM, John Huss wrote: I thought I would convert a bunch of old WOBuilder-made components to use the shorter and more readable self-closing webobjects tags, so becomes You can replace

Re: Tomcat Woes :)

2008-04-15 Thread Don Lindsay
Is there anything I can do to fix this other than going to 5.4? I did misstate, I am using WebObjects V 5.3 not 5.3. Thanks, Don On Apr 15, 2008, at 6:33 PM, Mr. Pierre Frisch wrote: This was fixed in WO 5.4 Pierre -- Pierre Frisch [EMAIL PROTECTED] On Apr 15, 2008, at 15:02, Steve Quir

Re: Tomcat Woes :)

2008-04-15 Thread Mr. Pierre Frisch
This was fixed in WO 5.4 Pierre -- Pierre Frisch [EMAIL PROTECTED] On Apr 15, 2008, at 15:02, Steve Quirk wrote: This is a long standing bug in EOModel.java - I don't know if it's been fixed. They use File.pathSeparator to construct the URL to the resource in the .eomodeld bundle - this

Re: [ANN] New Screencast

2008-04-15 Thread Pascal Robert
It was a joke, sorry I forgot the smiley :-) But we do need to reach our minimum. No new screencast until we reach the minimum numbers of guests for WOWODC! On 15-Apr-08, at 2:21 PM, Daniel DeCovnick wrote: Is there a part 3 coming anytime soon? The first two were great, and really he

Re: Tomcat Woes :)

2008-04-15 Thread Steve Quirk
This is a long standing bug in EOModel.java - I don't know if it's been fixed. They use File.pathSeparator to construct the URL to the resource in the .eomodeld bundle - this, of course, doesn't work on windows. I have a subclass of EOModel that I did to fix this a while ago - let me know i

Re: Would You Use WOs On A New Project

2008-04-15 Thread Miguel Arroz
Hi! On 2008/04/15, at 21:57, Chuck Hill wrote: On Apr 15, 2008, at 1:26 PM, Nolan Whitaker wrote: All, I suppose that I wasn't entirely clear with my question. I know that web objects is written in Java, implementing a number of the Cocoa classes. My question is why use a product like

Re: Would You Use WOs On A New Project

2008-04-15 Thread Hugi Þórðarson
In addition the the other 99% of very important WO functionality that you are totally ignoring, most of the Java API is horrific to use. The WO versions are much nicer. Java collection classes not my brain make good feel. - h ___ Do not post admin

Re: Local Instance of EO Problem

2008-04-15 Thread Chuck Hill
On Apr 15, 2008, at 1:09 PM, Joe Moreno wrote: Chuck, Upon closer examination, I am seeing that if an EO field was null, then updated, but not saved, it seems that the unsaved, previously null value, gets pushed into the snapshot 'cause I see the new, unsaved value, appear when getting

Re: Would You Use WOs On A New Project

2008-04-15 Thread Chuck Hill
On Apr 15, 2008, at 1:26 PM, Nolan Whitaker wrote: All, I suppose that I wasn't entirely clear with my question. I know that web objects is written in Java, implementing a number of the Cocoa classes. My question is why use a product like WOs when classes that perform an equivalent fun

Re: Would You Use WOs On A New Project

2008-04-15 Thread Miguel Arroz
Hi! The answer for you question is exactly the same as for this one: why don't you use .NET instead of Cocoa? After all, it's the same thing, windows, buttons, menus... :) It's not what it does, it's HOW it does it. And WO is still ahead by far. Yours Miguel Arroz On 2008/04/15,

Re: Would You Use WOs On A New Project

2008-04-15 Thread David LeBer
On 15-Apr-08, at 4:26 PM, Nolan Whitaker wrote: All, I suppose that I wasn't entirely clear with my question. I know that web objects is written in Java, implementing a number of the Cocoa classes. My question is why use a product like WOs when classes that perform an equivalent functi

Re: Would You Use WOs On A New Project

2008-04-15 Thread David Avendasora
There's a complete database-independent Object-Relational Mapping functionality including Session management in the Java spec? This is just one piece of what WO does for you without you even having to think (very hard) about it - and if you use Java Client, it extends right across the serve

Re: Would You Use WOs On A New Project

2008-04-15 Thread Andrew Lindesay
Hello Nolan; I'm under the impression that there are few, if any, WO classes that can't be mapped to one or more Java A full run-down on WebObjects framework set is a bit much for a quick mailing list post, but I consider for my work that the WebObjects architecture, on balance, to be sup

Re: How to make a NonBreakingString component

2008-04-15 Thread David LeBer
On 15-Apr-08, at 3:58 PM, John Huss wrote: I'd like to make a component that is exactly like WOString except that it replaces all spaces with   (non-breaking spaces). Is there an easy way to do that without having to write all the code to handle the dateformat and numberformat stuff? Is

Fwd: Would You Use WOs On A New Project

2008-04-15 Thread Nolan Whitaker
All, I suppose that I wasn't entirely clear with my question. I know that web objects is written in Java, implementing a number of the Cocoa classes. My question is why use a product like WOs when classes that perform an equivalent function generally exist in the current Java spec. Wh

Tomcat Woes :)

2008-04-15 Thread Don Lindsay
Hello; I have an application that I have just redeployed to Tomcat. The application starts up fine. but when the EOModel is accessed it encounters the following error: com.webobjects.foundation.NSForwardException for java.io.FileNotFoundException: JAR entry Resources/dwtm.eomodeld\Users

Re: Local Instance of EO Problem

2008-04-15 Thread Joe Moreno
Chuck, Upon closer examination, I am seeing that if an EO field was null, then updated, but not saved, it seems that the unsaved, previously null value, gets pushed into the snapshot 'cause I see the new, unsaved value, appear when getting a local instance from a peer EC. Does th

Re: How to make a NonBreakingString component

2008-04-15 Thread Chuck Hill
I'd write a formatter and use the formatter binding: AString: WOString { value = someString; formatter = nonBreakingSpaceFormatter; } Formatters are more flexible in terms of reusability that components. Chuck On Apr 15, 2008, at 12:58 PM, John Huss wrote: I'd like to make a compone

How to make a NonBreakingString component

2008-04-15 Thread John Huss
I'd like to make a component that is exactly like WOString except that it replaces all spaces with   (non-breaking spaces). Is there an easy way to do that without having to write all the code to handle the dateformat and numberformat stuff? Is there an existing component that already does someth

Re: Would You Use WOs On A New Project

2008-04-15 Thread Ken Anderson
Nolan, The beauty of WebObjects being implemented 100% in Java is you don't have to make that choice. You can leverage the power of WebObjects and EOF, and still use any other Java libraries you want. Ken On Apr 15, 2008, at 3:25 PM, Nolan Whitaker wrote: Hello. First off, let me say t

Re: Would You Use WOs On A New Project

2008-04-15 Thread David Avendasora
I'd absolutely use it for a new project. Especially for web or Java Client applications. But for Cocoa How are you going to hook the two together? Not that you can't, but the Java-Cocoa bridge is long gone. Is there a reason you don't want to use a Java Client? Dave On Apr 15, 2008,

Would You Use WOs On A New Project

2008-04-15 Thread Nolan Whitaker
Hello. First off, let me say that I absolutely love what Apple has done with Cocoa. (I owned a NeXTStation '040 back in the mid 1990s and now wish I had done more software development with it instead of trading it for a Sun Sparc 5, but hindsight is 20/20. ) I'm in the process of working up

Re: Aggregated exceptions question

2008-04-15 Thread Chuck Hill
On Apr 14, 2008, at 12:37 PM, Florijan Stamenkovic wrote: Hi all, I'm wondering how many people use (and depend on) NSValidation.ValidationException aggregation capabilities, especially in validateForDelete? I use them, but not in validateForDelete. Or not often... The thing being, I'

Re: [ANN] New Screencast

2008-04-15 Thread Pascal Robert
No new screencast until we reach the minimum numbers of guests for WOWODC! On 15-Apr-08, at 2:21 PM, Daniel DeCovnick wrote: Is there a part 3 coming anytime soon? The first two were great, and really helped lower the learning curve for WO, at least for me. Yeah, eventually. Unfortunatel

Re: [ANN] New Screencast

2008-04-15 Thread David LeBer
On 15-Apr-08, at 2:21 PM, Daniel DeCovnick wrote: Is there a part 3 coming anytime soon? The first two were great, and really helped lower the learning curve for WO, at least for me. Yeah, eventually. Unfortunately I sometimes have to make a living :-) Damn clients, with them around you can

Re: [ANN] New Screencast

2008-04-15 Thread Daniel DeCovnick
Is there a part 3 coming anytime soon? The first two were great, and really helped lower the learning curve for WO, at least for me. -Dan On Mar 26, 2008, at 8:57 AM, David LeBer wrote: I just posted part 2 of my WO/Project Wonder/Wolips Series. This episode

Re: Entity Modeler SQL Generation - differences between WO 5.3 and 5.4

2008-04-15 Thread David LeBer
On 15-Apr-08, at 2:09 PM, J Stephanos wrote: When I use Mike's WO53 -> WO54 script (See http://lists.apple.com/archives/Webobjects-dev/2007/Oct/msg00357.html) to switch between 5.3 and 5.4, here are the differences seen in Entity Modeler when used to Generate SQL: MySQL 5.0.51a Eclipse 3.3.1

Entity Modeler SQL Generation - differences between WO 5.3 and 5.4

2008-04-15 Thread J Stephanos
When I use Mike's WO53 -> WO54 script (See http://lists.apple.com/archives/Webobjects-dev/2007/Oct/msg00357.html) to switch between 5.3 and 5.4, here are the differences seen in Entity Modeler when used to Generate SQL: MySQL 5.0.51a Eclipse 3.3.1.1 WOLips 5085 with WO 5.3 ---

Re: unit tests and woapplication bundles, resources, etc. SOLVED (sorta)

2008-04-15 Thread Chuck Hill
On Apr 15, 2008, at 8:00 AM, Mr.G Brown wrote: On Apr 11, 2008, at 5:05 PM, Chuck Hill wrote: On Apr 11, 2008, at 1:08 PM, Greg Brown wrote: Hi, I am having trouble with my testing of my woapp. FWIW, I never unit test my woapps. I never have any code in them worth unit testing. I

Re: unit tests and woapplication bundles, resources, etc. SOLVED (sorta)

2008-04-15 Thread Mr . G Brown
On Apr 11, 2008, at 5:05 PM, Chuck Hill wrote: On Apr 11, 2008, at 1:08 PM, Greg Brown wrote: Hi, I am having trouble with my testing of my woapp. FWIW, I never unit test my woapps. I never have any code in them worth unit testing. I test some utilitiies methods that are used everyw

Re: Strange behaviour of AjaxSortableList

2008-04-15 Thread Mike Schrag
it works fine for me. But since I don't know what parentOnUpdate(container) does, it might not be the perfect solution. @Mike: I think this is your code. Do you have any hints for me? My hint is that if the component is weird and broken, it is a pretty good indication that I don't use it :)

Re: new to ajax

2008-04-15 Thread Daniele Corti
2008/4/15 Amedeo Mantica <[EMAIL PROTECTED]>: > Thank you all! Now works fine... > I'm starting to love Ajax :-) > Have a look at this first! http://www.readwriteweb.com/archives/how_javascript_is_slowing_down_the_web.php > On 15/apr/08, at 10:43, Daniele Corti wrote: > > > > 2008/4/14 Amedeo M

Re: new to ajax

2008-04-15 Thread Amedeo Mantica
Thank you all! Now works fine... I'm starting to love Ajax :-) On 15/apr/08, at 10:43, Daniele Corti wrote: 2008/4/14 Amedeo Mantica <[EMAIL PROTECTED]>: Hello, I'm now experimenting ajax, and the forst problem comes out... probably is easy, but I need your help... I'd like to create a n

Re: Ajax in ProjectWonder

2008-04-15 Thread Yung-Luen Lan
On Tue, Apr 15, 2008 at 2:37 AM, Chuck Hill <[EMAIL PROTECTED]> wrote: > > 3. I found the examples come with Xcode / ProjectWonder is hard to run for > > a newbie. I can't get any example running until I saw this screencast: > > http://www.wocommunity.org/podcasts/WO54_Examples.mov > > > > Unfortu

Re: Strange behaviour of AjaxSortableList

2008-04-15 Thread Helmut Schottmüller
Hi Daniele, Am 15.04.2008 um 13:00 schrieb Daniele Corti: Well there is also the other use: each has a textfield with the order id, that allow the user to change it dinamically. look at this: http://www.rantsandraves.co.uk/images/rantpix/rant15/joomla.gif Yea, but then I don't need

Using ERXMutableArray

2008-04-15 Thread Jeff Schmitz
Kind of on this note of documenting the er.extensions stuff, is there an example of how to properly read, set and store an ERXMutableArray to store, say, an array of Boolean's as an attribute of an enterprise object? Also, if mutable arrays are so bad, why is this type ok to use? i.e. I r

Re: Strange behaviour of AjaxSortableList

2008-04-15 Thread Helmut Schottmüller
Ok, the problem seems to be the onUpdate binding. The AjaxSortableList generates code like: ... ; var parentOnUpdate = parentOnUpdate(container); ... If you set the onUpdate binding (e.g. with 'updateContainerUpdate()') it generates ...; var parentOnUpdate = updateContainerUpdate(); paren

Re: Strange behaviour of AjaxSortableList

2008-04-15 Thread Daniele Corti
2008/4/15 Helmut Schottmüller <[EMAIL PROTECTED]>: > Hi Daniele, > > Am 15.04.2008 um 12:13 schrieb Daniele Corti: > > > > > > > Well, I think you should consider a way different of Sortablelist to > > reorder the list... try something like arrow up and down and textfield with > > the order (in Jo

Re: Strange behaviour of AjaxSortableList

2008-04-15 Thread Helmut Schottmüller
Hi Daniele, Am 15.04.2008 um 12:13 schrieb Daniele Corti: Well, I think you should consider a way different of Sortablelist to reorder the list... try something like arrow up and down and textfield with the order (in Joomla Style if you know it). Or you can do two pages, one for reorder

Re: Strange behaviour of AjaxSortableList

2008-04-15 Thread Daniele Corti
2008/4/15 Helmut Schottmüller <[EMAIL PROTECTED]>: > Hi Daniele, > > Am 15.04.2008 um 11:53 schrieb Daniele Corti: > > > > > > > > > Just to know, if you remove the "xyzUpdate()" function at the onUpdate > > event what happen? > > > > everything works as suspected. > The problem is, I need the upd

Re: Strange behaviour of AjaxSortableList

2008-04-15 Thread Helmut Schottmüller
Hi Daniele, Am 15.04.2008 um 11:53 schrieb Daniele Corti: Just to know, if you remove the "xyzUpdate()" function at the onUpdate event what happen? everything works as suspected. The problem is, I need the update of the AjaxSortableList because I have the following configuration: My L

Re: Migrating a WOLips/Eclipse enviroment to another user and/or computer

2008-04-15 Thread Jürgen Lorenz Simon
On 13.04.2008, at 22:36, David LeBer wrote: On 13-Apr-08, at 3:40 PM, Gaastra Dennis - WO Lists wrote: Dear List, What does one have to do in order to move/copy a WOLips/Eclipse environment from one user account to another user or system? Both source and target are Leopard. Obviously t

Re: Strange behaviour of AjaxSortableList

2008-04-15 Thread Helmut Schottmüller
Hi Daniele, I don't perform any expensive actions on the server side. You can force this behaviour if you take the Wonder Ajax Examples and surround one of the sortable lists with an AjaxUpdateContainer. Then call the update function of the update container on onUpdate of the AjaxSortable

Re: Strange behaviour of AjaxSortableList

2008-04-15 Thread Daniele Corti
2008/4/15 Helmut Schottmüller <[EMAIL PROTECTED]>: > Hi, > > I created an AjaxSortableList which I enclosed with an AjaxUpdateContainer > (id="xyz"). > To the onUpdate binding of the AjaxSortableList I bound "xyzUpdate()" to > update the parent update container after the list has been changed. > >

Strange behaviour of AjaxSortableList

2008-04-15 Thread Helmut Schottmüller
Hi, I created an AjaxSortableList which I enclosed with an AjaxUpdateContainer (id="xyz"). To the onUpdate binding of the AjaxSortableList I bound "xyzUpdate()" to update the parent update container after the list has been changed. The strange behaviour is that when I change the position of

Re: new to ajax

2008-04-15 Thread Daniele Corti
2008/4/14 Amedeo Mantica <[EMAIL PROTECTED]>: > Hello, I'm now experimenting ajax, and the forst problem comes out... > probably is easy, but I need your help... > I'd like to create a nested WOPopUpButtons... > > I wrote this code... > > > > "myProvinceContainer" action = "$doSearch" /> > >

databaseContextShouldFetchObjects/databaseContextDidFetchObjects not working

2008-04-15 Thread Anjo Krank
All, I also posted this as a bug report, but maybe I should ask here, too... Following the docs on the DBC delegate methods, i'm trying to build an EO cache. The workings should be that databaseContextShouldFetchObjects() checks a cache for an identifier for the current fetch spec and retu

Re: new to ajax

2008-04-15 Thread Amedeo Mantica
Today, redownloaded and the Ajax Example is in place, but yesterday not! Someone is joking ? :-) Regards Amedeo On 14/apr/08, at 22:21, David LeBer wrote: On 14-Apr-08, at 4:14 PM, Amedeo Mantica wrote: I have got all from http://webobjects.mdimension.com/wonder/ Yup, and the AjaxExample

Re: ERD2WEditPercentage (setting the values)

2008-04-15 Thread Anjo Krank
you can't. patches welcome :) Am 15.04.2008 um 08:39 schrieb Mat Johnson: ERD2WEditPercentage ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update y