Inner Java Enum as value class in EntityModeler

2009-11-07 Thread Riccardo De Menna
Hi, This issue was already discussed once but I can't really find if it was fixed somehow and I'm missing the obvious. I'm trying more and more to force myself to use Java Enums whenever possible (instead of static fields) and often I find myself in need to serialize them to db for

Installing WO 543 on Linux

2009-11-07 Thread David Griffith
Hi all, Following the instructions at: http://wiki.objectstyle.org/confluence/display/WO/Installing+WO+5.3+or+WO+5.4+on+Linux Building the Apache WO Module, I'm running into this problem: /usr/local/apache/bin/apxs -i -a -n WebObjects mod_WebObjects.la I get: -bash:

Re: Installing WO 543 on Linux

2009-11-07 Thread David Griffith
Sorry, I found apxs but this is the error I'm getting: apxs -i -a -n WebObjects mod_WebObjects.la /usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/apr-1/build/ libtool' mod_WebObjects.la /usr/lib/httpd/modules /usr/lib/apr-1/build/libtool --mode=install cp mod_WebObjects.la /usr/

Re: Inner Java Enum as value class in EntityModeler

2009-11-07 Thread Johann Werner
Hi Riccardo, some time ago I had the very same problem using inner enums in Entity Modeler. I found that the easiest way was to move those enums out of their outer class and make them normal enums. The other, more laborious, way would be to tweak the eogenerator templates to do the

Re: Uses for D2JC (was: Gianduia and WO)

2009-11-07 Thread Johan Henselmans
Op 7 nov 2009, om 06:20 heeft Ashley Aitken het volgende geschreven: I'm always blown away by the power of D2*, especially D2JC (even given the Java GUI). I was never too clear on the development process after having built the CRUD, it seemed less quite mysterious (and not very well

Re: Uses for D2JC (was: Gianduia and WO)

2009-11-07 Thread Mike Schrag
Is D2* still used by Apple? yes 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: Installing WO 543 on Linux

2009-11-07 Thread Joe Little
On Sat, Nov 7, 2009 at 2:00 AM, David Griffith da...@infinityspain.com wrote: Sorry, I found apxs but this is the error I'm getting: apxs -i -a -n WebObjects mod_WebObjects.la /usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/apr-1/build/libtool' mod_WebObjects.la /usr/lib/httpd/modules

Re: Uses for D2JC (was: Gianduia and WO)

2009-11-07 Thread John Huss
You could argue that it doesn't matter much if a JavaClient looks awful on the Mac since 90% of your user will be running Windows - and probably more for a business application. Also, the Nimbushttp://bp0.blogger.com/_B11qFTiSj3U/SF-fNZv6DKI/AAM/D7NvQQzwYzQ/s1600-h/nimbus.giflook and feel

Re: Inner Java Enum as value class in EntityModeler [SOLVED]

2009-11-07 Thread Riccardo De Menna
Hi Johann, Thank you for your advice. As you suggested, solving the issue was just a matter of tweaking the templates. I'm using some custom written ones but for anyone with the same issue it's just a matter of sprinkling a bunch of '.replace('$','.')' after any occurrence of the

extending ERXWOLongResponsePage

2009-11-07 Thread ross dev
I'm using WebObjects 5.4.3 with recommended Eclipse/WOLips versions for Snow Leopard ( Eclipse 3.4.2 / WOLips 3.4 ). I'm trying to extend ERXWOLongResponsePage and use methods from its inheritance like pageWithName, appendToResponse, and pageForResult. All throw errors as if they do not exist

Re: extending ERXWOLongResponsePage

2009-11-07 Thread Chuck Hill
On Nov 7, 2009, at 10:20 AM, ross dev wrote: I'm using WebObjects 5.4.3 with recommended Eclipse/WOLips versions for Snow Leopard ( Eclipse 3.4.2 / WOLips 3.4 ). I'm trying to extend ERXWOLongResponsePage and use methods from its inheritance like pageWithName, appendToResponse, and

Re: Installing WO 543 on Linux

2009-11-07 Thread David Griffith
Hi Joe, Yes I have already done that. I did manage to get it to complete the 'make' command by running it from the Adaptor directory and not from the Apache2.2 directory (it wouldn't run from there) but I think I am perhaps missing some settings in the make.config. Firstly, should the

Re: Installing WO 543 on Linux

2009-11-07 Thread Pascal Robert
Try to install a pre-build one : http://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/centos/5/ Hi Joe, Yes I have already done that. I did manage to get it to complete the 'make' command by running it from the Adaptor directory and not from the Apache2.2 directory (it

D2WQuery embedded loses state

2009-11-07 Thread Mark Wardle
Hi all. This may be a stupid question... I've embedded a D2WQuery within a ListPage. It acts as a filter for the list; in fact I use ERDQueryAnyKey exclusively to allow a google-like search of the listed entities. Thank you to all who helped me make the mental leap to D2W - I don't think I'm

Re: Validation errors inside a sub-component

2009-11-07 Thread Pascal Robert
Brain damage... My component superclass was doing this : public void awake() { session().setErrors(new NSMutableArrayString()); } So when SaveStatViewer was called, the array was empty... Maybe drop all your validation handling into your page component

Re: Validation errors inside a sub-component

2009-11-07 Thread Chuck Hill
On Nov 7, 2009, at 7:28 PM, Pascal Robert wrote: Brain damage... My component superclass was doing this : public void awake() { session().setErrors(new NSMutableArrayString()); } So when SaveStatViewer was called, the array was empty... And you are not

Re: Validation errors inside a sub-component

2009-11-07 Thread Pascal Robert
- Chuck Hill ch...@global-village.net a écrit : On Nov 7, 2009, at 7:28 PM, Pascal Robert wrote: Brain damage... My component superclass was doing this : public void awake() { session().setErrors(new NSMutableArrayString()); } So when SaveStatViewer was

Re: D2WQuery embedded loses state

2009-11-07 Thread Ramsey Lee Gurley
On Nov 7, 2009, at 4:58 PM, Mark Wardle wrote: Hi all. This may be a stupid question... I've embedded a D2WQuery within a ListPage. It acts as a filter for the list; in fact I use ERDQueryAnyKey exclusively to allow a google-like search of the listed entities. Thank you to all who helped me