Re: Convenience functions in model classes

2008-04-11 Thread Jeff Schmitz
That seems like an exceedingly odd way to get a single entry on a single Pool. Does the code that calls this not know the Pool? How does it get the Pool and Entry names? Yes, it will only have the Strings (you gotta start somewhere). Even if you only have the names, EOQualifier entr

Re: Staying with WebObjects

2008-04-11 Thread Chuck Hill
On Apr 11, 2008, at 6:28 PM, Alan Ward wrote: On Apr 11, 2008, at 7:24 PM, Simon McLean wrote: so come one alan, how did you end up over the pond too ? we all want to know the nitty gritty ... :-) I too married an English woman and this was the only way I could escape :-) Curse you

WOLips Installer Final List

2008-04-11 Thread Jeremy Matthews
Please send any final requests for changes/additions to the WOLips installer as soon as possible...we're finalizing the list to prepare the next revision. Thanks, jeremy ___ Do not post admin requests to the list. They will be ignored. Webobjects-de

Re: Staying with WebObjects

2008-04-11 Thread Simon McLean
These english women hey ? the cause of many problems :-) I some how feel left out. I married one of them, yet i'm still stuck here in england ... good old guildford. i was down there a few weeks back visiting a client. i can assure you, you are definitely better off where you are right no

Re: Staying with WebObjects

2008-04-11 Thread Alan Ward
On Apr 11, 2008, at 7:24 PM, Simon McLean wrote: so come one alan, how did you end up over the pond too ? we all want to know the nitty gritty ... :-) I too married an English woman and this was the only way I could escape :-) To be honest I was working for a US software company

Re: Staying with WebObjects

2008-04-11 Thread Simon McLean
wow, so you must have made it to california by sail ? well done captain pierre :-) Well, he came to Canada to make his fortune in the fur trade first... i was just reading about that on wikipeida, and i could swear it mentioned pierre... ___

Re: Staying with WebObjects

2008-04-11 Thread Simon McLean
so come one alan, how did you end up over the pond too ? we all want to know the nitty gritty ... :-) Simon On 12 Apr 2008, at 02:22, Alan Ward wrote: On Apr 11, 2008, at 7:13 PM, Simon McLean wrote: wow, so you must have made it to california by sail ? well done captain pierre :-) Yes

Re: Staying with WebObjects

2008-04-11 Thread David LeBer
On 11-Apr-08, at 9:13 PM, Simon McLean wrote: wow, so you must have made it to california by sail ? well done captain pierre :-) Well, he came to Canada to make his fortune in the fur trade first... Simon On 12 Apr 2008, at 02:08, Mr. Pierre Frisch wrote: I got married in London to a bri

Re: Staying with WebObjects

2008-04-11 Thread Alan Ward
On Apr 11, 2008, at 7:13 PM, Simon McLean wrote: wow, so you must have made it to california by sail ? well done captain pierre :-) Yes, Pierre's older than I thought :-) ...unless he was into horse racing. I believe race horses are still sold in guineas. the extra 5% covers the

Re: Staying with WebObjects

2008-04-11 Thread Chuck Hill
The English have always had a penchant for quaint counting systems. Thank goodness the French were not so afflicted! Chuck On Apr 11, 2008, at 6:08 PM, Mr. Pierre Frisch wrote: I got married in London to a british girl and that was long enough ago that I know what a guinea is (105 pences)

Re: Staying with WebObjects

2008-04-11 Thread Simon McLean
wow, so you must have made it to california by sail ? well done captain pierre :-) Simon On 12 Apr 2008, at 02:08, Mr. Pierre Frisch wrote: I got married in London to a british girl and that was long enough ago that I know what a guinea is (105 pences). Pierre -- Pierre Frisch [EMAIL PROT

Re: Staying with WebObjects

2008-04-11 Thread Mr. Pierre Frisch
I got married in London to a british girl and that was long enough ago that I know what a guinea is (105 pences). Pierre -- Pierre Frisch [EMAIL PROTECTED] On Apr 11, 2008, at 18:04, Simon McLean wrote: ok, there really is some history here. and there's me thinking piere had just added an

Re: Staying with WebObjects

2008-04-11 Thread Simon McLean
ok, there really is some history here. and there's me thinking piere had just added an "h" by mistake ... ;-) simon On 12 Apr 2008, at 01:44, Michelle Parker wrote: LOL I didn't need to look it up. I saw it in a book I was reading last week, by Charles Dickens! m On 12/04/2008, at 10:

Re: Staying with WebObjects

2008-04-11 Thread Michelle Parker
LOL I didn't need to look it up. I saw it in a book I was reading last week, by Charles Dickens! m On 12/04/2008, at 10:24 AM, Chuck Hill wrote: LOL. I wish I could claim that I needed to look that up... On Apr 11, 2008, at 5:16 PM, Mr. Pierre Frisch wrote: For us old fart we could j

Re: Staying with WebObjects

2008-04-11 Thread Chuck Hill
LOL. I wish I could claim that I needed to look that up... On Apr 11, 2008, at 5:16 PM, Mr. Pierre Frisch wrote: For us old fart we could just bring a farthing to the table. Pierre -- Pierre Frisch [EMAIL PROTECTED] On Apr 11, 2008, at 13:38, Simon McLean wrote: ps. i'm too young to know

Re: Staying with WebObjects

2008-04-11 Thread Mr. Pierre Frisch
For us old fart we could just bring a farthing to the table. Pierre -- Pierre Frisch [EMAIL PROTECTED] On Apr 11, 2008, at 13:38, Simon McLean wrote: ps. i'm too young to know that! Simon Just my 2 pence, being british n'all :-) A true Brit would say tuppence. :-)

Re: Convenience functions in model classes

2008-04-11 Thread Chuck Hill
On Apr 10, 2008, at 7:13 PM, Art Isbell wrote: On Apr 10, 2008, at 3:46 PM, Jeff Schmitz wrote: // Question 1: Does a function like this really belong down in my EO class. // There's something about doing the actual Fetches in this class that rubs // me the wrong way, however I don't want

Re: Convenience functions in model classes

2008-04-11 Thread Chuck Hill
I will defer answers to your questions to a reply to Art's message. On Apr 10, 2008, at 6:46 PM, Jeff Schmitz wrote: Continuing on with my EO indoctrination, I think I understand the concepts ok, but when it comes to fleshing the concepts out into actual code I'm still struggling. I was hop

Re: rowDiffsForAttributes _dbSnapshot and _newRow missing attributes

2008-04-11 Thread Chuck Hill
On Apr 11, 2008, at 10:42 AM, David Avendasora wrote: Oh, and I get this error other Entities, referencing simple (Integer) class attributes too. I don't know what changed that is causing this! Happy Friday Dave! I dug through some old messages. All the bad memories came back. This is mo

Re: rowDiffsForAttributes _dbSnapshot and _newRow missing attributes

2008-04-11 Thread David Avendasora
Oh, and I get this error other Entities, referencing simple (Integer) class attributes too. I don't know what changed that is causing this! Dave On Apr 11, 2008, at 1:37 PM, David Avendasora wrote: Hi all, I'm using WO 5.3 and only ERExtensions from Wonder. I've just started getting an odd

Re: Quick Eclipse Question

2008-04-11 Thread David Avendasora
Wow. You got "Eclipse" and "Intuitive" into one sentence. I didn't think it could be done. =:-0 Dave On Apr 11, 2008, at 5:33 PM, Ted Archibald wrote: There's so many things with Eclipse/WOLips that are powerful but not inherently intuitive. _

Re: Quick Eclipse Question

2008-04-11 Thread Ted Archibald
Ahhh perfect! There's so many things with Eclipse/WOLips that are powerful but not inherently intuitive. Thanks. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help

Re: Staying with WebObjects

2008-04-11 Thread Alan Ward
On Apr 11, 2008, at 2:47 PM, David Avendasora wrote: On Apr 11, 2008, at 4:06 PM, Simon McLean wrote: I think the real bug-bear for people struggling to get their companies to commit to webobjects isn't the fact that it's not open source - i think it's the fact that you have to buy a mac

Re: Staying with WebObjects

2008-04-11 Thread David Avendasora
If a free computer with a license of WO isn't enough, you also get the iPhone/iPod Touch SDK as well! How's your company going to make an iPhone app without a Mac? ;) Dave On Apr 11, 2008, at 4:47 PM, David Avendasora wrote: On Apr 11, 2008, at 4:06 PM, Simon McLean wrote: I think the re

Re: Staying with WebObjects

2008-04-11 Thread Simon McLean
I think the real bug-bear for people struggling to get their companies to commit to webobjects isn't the fact that it's not open source - i think it's the fact that you have to buy a mac to get your hands on the frameworks. No problem. Just write up the purchase order for a copy of the WO

Re: ERXMigrationTable.newColumn does not set default value

2008-04-11 Thread Mike Schrag
Not sure why we didn't do this already :) But then, Anjo will probably respond momentarily and point out that we do :) It seems to me that this would maintain API compatibility, so the only backwards compatibility issue would be if you try to run these apps on an older WO that doesn't supp

Re: unit tests and woapplication bundles, resources, etc.

2008-04-11 Thread Chuck Hill
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 have parameters that are in the Properties file, the woapp accesses them through System.getPrope

Re: Quick Eclipse Question

2008-04-11 Thread David LeBer
On 11-Apr-08, at 4:57 PM, Ted Archibald wrote: Yeah, I saw that the other day. Is that the only current method to determine the possible bindings in the component editor? There is always lookahead typing. In an inline binding or the wod hit control space: <> On Fri, Apr 11, 2008 at 2:53

Re: Quick Eclipse Question

2008-04-11 Thread Chuck Hill
Ctrl-space (or whatever you have auto complete keyed as) should popup a list: Foo: WOString { <-- put your cursor here and Ctrl-space } On Apr 11, 2008, at 1:57 PM, Ted Archibald wrote: Yeah, I saw that the other day. Is that the only current method to determine the possible bindings in t

Re: Quick Eclipse Question

2008-04-11 Thread Ted Archibald
Yeah, I saw that the other day. Is that the only current method to determine the possible bindings in the component editor? On Fri, Apr 11, 2008 at 2:53 PM, David LeBer <[EMAIL PROTECTED]> wrote: > > On 11-Apr-08, at 4:45 PM, Ted Archibald wrote: > > I'm a new Eclipse convert and loving it as a

Re: Quick Eclipse Question

2008-04-11 Thread David LeBer
On 11-Apr-08, at 4:45 PM, Ted Archibald wrote: I'm a new Eclipse convert and loving it as a whole. I'm wonder if there is an easy way in the component editor if there's an easy way to determine what bindings a component has? Most bindings I know of the top of my head, except for a couple

Re: Northern Virginia WO developers? Fans? Paparazzi?

2008-04-11 Thread David Avendasora
Okay, then I guess the first meeting of WONoVa will be the 16th or the 23rd. I can do either. The 16th would be better (sooner's always better, right?) Andrew, do you want to setup the Google Group, or should I? Dave On Apr 11, 2008, at 3:26 PM, Mike Schrag wrote: Maybe a Wed (16th or 23

Re: Staying with WebObjects

2008-04-11 Thread David Avendasora
On Apr 11, 2008, at 4:06 PM, Simon McLean wrote: I think the real bug-bear for people struggling to get their companies to commit to webobjects isn't the fact that it's not open source - i think it's the fact that you have to buy a mac to get your hands on the frameworks. No problem. J

Quick Eclipse Question

2008-04-11 Thread Ted Archibald
I'm a new Eclipse convert and loving it as a whole. I'm wonder if there is an easy way in the component editor if there's an easy way to determine what bindings a component has? Most bindings I know of the top of my head, except for a couple here and there. So now in Eclipse is there a way to find

WOBatchNavigationBar issue

2008-04-11 Thread Yury Peskin
List, I use a WOBatchNavigationBar in my component. I am getting the following error: Error: java.lang.ClassCastException: Proof Reason: Proof Stack trace: FileLine# Method Package WOBatchNavigationBar.java 100 _singularName com.webobject

Re: Staying with WebObjects

2008-04-11 Thread Simon McLean
ps. i'm too young to know that! Simon Just my 2 pence, being british n'all :-) A true Brit would say tuppence. :-) ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)

Re: Staying with WebObjects

2008-04-11 Thread Simon McLean
Hi Alan - I think the real bug-bear for people struggling to get their companies to commit to webobjects isn't the fact that it's not open source - i think it's the fact that you have to buy a mac to get your hands on the frameworks. Really? That's news to me. Maybe there is some misu

Re: Staying with WebObjects

2008-04-11 Thread Alan Ward
On Apr 11, 2008, at 2:06 PM, Simon McLean wrote: Hi Pierre - Thanks for replying - unfortunately not all of us make it to WWDC! When you say "fix bugs for other platforms" is that because of bugs in other platforms JRM ? I don't see how you can have a bug in a java framework that doesn't

Re: Staying with WebObjects

2008-04-11 Thread Chuck Hill
On Apr 11, 2008, at 1:06 PM, Simon McLean wrote: Hi Pierre - Thanks for replying - unfortunately not all of us make it to WWDC! When you say "fix bugs for other platforms" is that because of bugs in other platforms JRM ? I don't see how you can have a bug in a java framework that doesn't a

Re: rowDiffsForAttributes _dbSnapshot and _newRow missing attributes

2008-04-11 Thread David Avendasora
On Apr 11, 2008, at 3:03 PM, Chuck Hill wrote: Are you using raw com.webobjects.eocontrol.EOEditingContext editing contexts?!!? Well, sort of Java Client, don't cha know. IMO that class is WY too buggy to be used unpatched. Are you saying that the Project WOnder EditingContext cla

unit tests and woapplication bundles, resources, etc.

2008-04-11 Thread Greg Brown
Hi, I am having trouble with my testing of my woapp. I have parameters that are in the Properties file, the woapp accesses them through System.getProperty("importLogFilename"); BUT, when running with the testng environment in eclipse, all the strings from calls like System.getProperty("imp

Re: Staying with WebObjects

2008-04-11 Thread Simon McLean
Hi Pierre - Thanks for replying - unfortunately not all of us make it to WWDC! When you say "fix bugs for other platforms" is that because of bugs in other platforms JRM ? I don't see how you can have a bug in a java framework that doesn't apply to all platforms ? I think the real bug-bear

Re: ERXMigrationTable.newColumn does not set default value

2008-04-11 Thread John Huss
+1 this would be great On Fri, Apr 11, 2008 at 2:41 PM, Mr. Pierre Frisch <[EMAIL PROTECTED]> wrote: > Both implementation are included. I was thinking of adding a more general > mechanism that we could implement in the awakeFromInsertion default > implementation. We could add a default value t

Re: rowDiffsForAttributes _dbSnapshot and _newRow missing attributes

2008-04-11 Thread David Avendasora
@#$% Stupid RMI is causing the problem. I don't know why, but apparently having read-only attributes on the client that get their value from the server side eventually corrupts the EC. I have a guess though. Because this is a Java Client UI instead of web, these values that are calculat

Re: ERXMigrationTable.newColumn does not set default value

2008-04-11 Thread Mr. Pierre Frisch
Both implementation are included. I was thinking of adding a more general mechanism that we could implement in the awakeFromInsertion default implementation. We could add a default value to the attribute and set it in the EOCustomObject in the super method. The main issue is backward compat

Re: My First Deployment^^

2008-04-11 Thread Mike Schrag
This is a split install. In a proper deployment, your WebServerResources are deployed into the /Library/WebServer/Documents/ WebObjects/YourApp.woa/Contents/WebServerResources and .../Frameworks/ YourFramework.framework/WebServerResources and server by Apache directly instead of by your WO

Re: Northern Virginia WO developers? Fans? Paparazzi?

2008-04-11 Thread Mike Schrag
Maybe a Wed (16th or 23th) .. I'll send this to one a couple of our NoVA clients and see if they're interested in coming. You want to setup a google group or something for it? ms On Apr 11, 2008, at 3:15 PM, David Avendasora wrote: Obviously I'm in. If Mike Schrag commits to coming, I'll

Re: rowDiffsForAttributes _dbSnapshot and _newRow missing attributes

2008-04-11 Thread Chuck Hill
On Apr 11, 2008, at 12:10 PM, David Avendasora wrote: On Apr 11, 2008, at 3:03 PM, Chuck Hill wrote: Are you using raw com.webobjects.eocontrol.EOEditingContext editing contexts?!!? Well, sort of Java Client, don't cha know. IMO that class is WY too buggy to be used unpatched.

Re: ERXMigrationTable.newColumn does not set default value

2008-04-11 Thread Mike Schrag
Actually it is. The integrated FB plug-in in WO 5.4.x has the same capabilities as the Wonder one. May be we should define an extension to the EOModel format so that we could extent it to all vendors. I'm not sure about 5.4's implementation, but Wonder has a alternate default value implementa

Re: Northern Virginia WO developers? Fans? Paparazzi?

2008-04-11 Thread David Avendasora
Obviously I'm in. If Mike Schrag commits to coming, I'll buy him dinner and drinks! I owe him. Big-time. Dave On Apr 11, 2008, at 3:06 PM, Andrew R. Kinnie wrote: Greetings All! Dave Avendasora and I are trying to create a group for WebObjects users, developers, etc. in the Northern Vir

My First Deployment^^

2008-04-11 Thread Ken Ishimoto
Hi everybody, After works with WO now for over 6 months, creating Framework, a lot of translation of Wonder & Wo into Japanese. I tried my first small test Deployment WO 5.4.1. And I have some troubles. maybe somebody has a hint, or faced this problem. Development Maschine : OSX 10.5.2 W

Northern Virginia WO developers? Fans? Paparazzi?

2008-04-11 Thread Andrew R. Kinnie
Greetings All! Dave Avendasora and I are trying to create a group for WebObjects users, developers, etc. in the Northern Virginia. We would like to meet semi-regularly and discuss fabulous WO related topics. Is anyone interested? Anyone have thoughts? Ideas? We were thinking of having

Re: rowDiffsForAttributes _dbSnapshot and _newRow missing attributes

2008-04-11 Thread Chuck Hill
On Apr 11, 2008, at 11:23 AM, David Avendasora wrote: On Apr 11, 2008, at 1:55 PM, Chuck Hill wrote: Yeah, I am afraid so. I am trying to recall what thing_S_ can cause this. Mike and I looked at this a while ago. It bit me. HARD. I think my mind has pushed it out. Are you using ra

Re: ERXMigrationTable.newColumn does not set default value

2008-04-11 Thread Mr. Pierre Frisch
If you are an ADC member download the iPhone SDK and look into packages. Pierre -- Pierre Frisch [EMAIL PROTECTED] On Apr 10, 2008, at 6:48, Mike Schrag wrote: 5.3 or 5.4.next, yes. ms On Apr 10, 2008, at 9:45 AM, Helmut Schottmüller wrote: Hi Mike, in fact I am using 5.4. So what's the

Re: ERXMigrationTable.newColumn does not set default value

2008-04-11 Thread Mr. Pierre Frisch
Actually it is. The integrated FB plug-in in WO 5.4.x has the same capabilities as the Wonder one. May be we should define an extension to the EOModel format so that we could extent it to all vendors. Pierre -- Pierre Frisch [EMAIL PROTECTED] On Apr 9, 2008, at 10:38, Mike Schrag wrote: I

Re: Staying with WebObjects

2008-04-11 Thread Mr. Pierre Frisch
Let me repeat what I said at WWDC last year. The reason for moving out of XCode is that the WOLips / eclipse tools chain offer a much better environment for WebObjects / Java development than XCode has ever offered, why reinvent the wheel when we have a very good quality development environ

Re: rowDiffsForAttributes _dbSnapshot and _newRow missing attributes

2008-04-11 Thread David Avendasora
On Apr 11, 2008, at 1:55 PM, Chuck Hill wrote: Yeah, I am afraid so. I am trying to recall what thing_S_ can cause this. Mike and I looked at this a while ago. It bit me. HARD. I think my mind has pushed it out. Are you using raw com.webobjects.eocontrol.EOEditingContext editing con

Re: Staying with WebObjects

2008-04-11 Thread Jeff Smith
Simon, I think you're right on it. It's just java now: install the Xcode tools (WO Frameworks--which you could put on any platform if you liked), download Eclipse (free/Java), download WOLips/WOnder (free/ Java) and then you can deploy on Linux/Tomcat/etc. (free/Java). I'm on OSX so the m

Re: WO deployment on WebSphere

2008-04-11 Thread Henrique Prange
Hi Alex, We have some WebObjects (5.3.2) apps deployed as true WARs (not SSDD) on WebSphere 6.1. What problems are you facing? Cheers, Henrique On Fri, Apr 11, 2008 at 11:11 AM, Alex Finkel <[EMAIL PROTECTED]> wrote: > Hi list, > > Can anyone point me in the right direction. I am facing a tas

rowDiffsForAttributes _dbSnapshot and _newRow missing attributes

2008-04-11 Thread David Avendasora
Hi all, I'm using WO 5.3 and only ERExtensions from Wonder. I've just started getting an odd error now when I try to save my EditingContext that I've never gotten before. The full stack trace is below, but here's the basics, formatted for easier reading: Server exception: rowDiffsForAttr

Re: Leaving WebObjects

2008-04-11 Thread Daniel Beatty
Greetings Chuck, Thank you for responding. The answer to the first question is dependent on the speed as to which I can find a journal or conference to submit the paper to. The idea is to ensure that such ideas implemented with WO are catch the eyes of many both in and out of the WO co

Re: JavaClient RMI and Validation

2008-04-11 Thread Florijan Stamenkovic
On Apr 11, 2008, at 12:19, Anjo Krank wrote: To validate an EC, you can processRecentChanges() which flushes the cascading deletes and stuff and then validate the EOs in inserted/ updated/deletedObjects individually. Validation of inserted/updated/deletedObjects individually was exactly

Re: Staying with WebObjects

2008-04-11 Thread Simon McLean
I don't understand the platform issue given that the tools are now deprecated. WO is just plain old java isn't it ? what is there to support ? when the tools were around i could understand it. let's face it, they didn't want to support the tools on OSX, let alone any other platform :-)

Re: JavaClient RMI and Validation

2008-04-11 Thread Florijan Stamenkovic
On Apr 11, 2008, at 11:15, David Avendasora wrote: Actually, in this situation I could also postpone the RMI until after the EO has been saved. Is there any way to tell if the EO has been saved to the DB yet? In your EO: public boolean isSaved(){ EOEditingContext ec = edit

Staying with WebObjects

2008-04-11 Thread Elim Qiu
WO is cool once you did something by using 20+% of its power. But this is only from developer's view point. >From manager point jof view: (1) small user group; (2) limited official develop/deploy plantform; (3) Nothing attractive enough non-technically; these should be enough reasons to leave WO

Re: JavaClient RMI and Validation

2008-04-11 Thread Anjo Krank
Am 11.04.2008 um 17:15 schrieb David Avendasora: However, I've never worked with editing context's delegates though, and only assume about it's functionality, maybe Anjo had something different in mind... I had in mind what he asked: Does anyone have a way to disable the validation for a

Re: Custom Main Component

2008-04-11 Thread Francis Labrie
Le 2008-04-11 à 10:43, Mike Schrag a écrit : After deep search... ;-) the only methods referring to "Main" are WOApplication's "pageWithName(String, WOContext)" and WODirectAction's "defaultAction()", at least in WO 5.3.x Don't forget to search .wod files in the core components ... That's

Re: JavaClient RMI and Validation

2008-04-11 Thread David Avendasora
Actually, in this situation I could also postpone the RMI until after the EO has been saved. Is there any way to tell if the EO has been saved to the DB yet? Keeping in mind that the Client-Side EOF does not include the EOAccess package. Is ec.hasChanges() as fine-grained as it gets, or eve

WOResponse with single LF, without CR

2008-04-11 Thread Sennikov, Dimitri
Hi, I've come onto a problem with exporting .csv files for Excel. I have certain data in a multi-line format. I want this data to stay multi-line in Excel but what happens in reality is the cells in Excel display squares instead of new line characters. The cause of the problem is the Carriage Ret

Re: Custom Main Component

2008-04-11 Thread Mike Schrag
After deep search... ;-) the only methods referring to "Main" are WOApplication's "pageWithName(String, WOContext)" and WODirectAction's "defaultAction()", at least in WO 5.3.x Don't forget to search .wod files in the core components ... I know at least the default exception page component li

Re: JavaClient RMI and Validation

2008-04-11 Thread Florijan Stamenkovic
On Apr 11, 2008, at 10:07, Florijan Stamenkovic wrote: Sounds like a regular PITA. Well, if you insist on keeping the process on the server, I don't know of any other way you can do it then the one you already do (except for the eo.editingContext ().validateForSave()) change... Oh damn, t

WO deployment on WebSphere

2008-04-11 Thread Alex Finkel
Hi list, Can anyone point me in the right direction. I am facing a task of deploying a WO app on WebSphere. I have the app built in Eclipse fine with the WAR and SSDD created. And I need to deploy it on WS 6.1 installed on Windows. Thanks, --Alex __

Re: JavaClient RMI and Validation

2008-04-11 Thread Florijan Stamenkovic
On Apr 11, 2008, at 04:57, David Avendasora wrote: It's a complicated function that steps through lots of relationships adds up values. Sounds like a regular PITA. Well, if you insist on keeping the process on the server, I don't know of any other way you can do it then the one you alrea

Re: Custom Main Component

2008-04-11 Thread Francis Labrie
Mike Schrag wrote: And don't forget to override WOApplication's "pageWithName (String, WOContext)" too: You can instead do _NSUtilities.setClassForName(MyPage.class, "Main") for this ... True, but not very sexy either... This also isn't strictly required if you only want to replace the

Re: Custom Main Component

2008-04-11 Thread Mike Schrag
And don't forget to override WOApplication's "pageWithName(String, WOContext)" too: You can instead do _NSUtilities.setClassForName(MyPage.class, "Main") for this ... This also isn't strictly required if you only want to replace the entry page (if you're using DA default). But WO will send

Re: Custom Main Component

2008-04-11 Thread Francis Labrie
Stefan Klein wrote: you can change / overwrite: public WOActionResults defaultAction() { return pageWithName(MyPage.class.getName()); } in DirectAction.java And don't forget to override WOApplication's "pageWithName(String, WOContext)" too: public WOComponent

Re: JavaClient RMI and Validation

2008-04-11 Thread David Avendasora
Sheesh. I just knew it would be really obscure, undocumented and unintuitive. Dave On Apr 11, 2008, at 7:56 AM, Greg Hulands wrote: myEO.validateForSave() I will just try to keep the RMI from happening until everything is validated. Is there a way of manually triggering validation on an

Re: Custom Main Component

2008-04-11 Thread Daniele Corti
2008/4/11 Stefan Klein <[EMAIL PROTECTED]>: > Sorry, I forget to tell > No Problem. > > Daniele Corti schrieb: > > > > 2008/4/11 Mike Schrag <[EMAIL PROTECTED]>: > > > Only if you set the default request handler to be DirectActions in your > > app constructor: > > > > > > setDefaultRequestHa

Re: Custom Main Component

2008-04-11 Thread Stefan Klein
Sorry, I forget to tell Daniele Corti schrieb: 2008/4/11 Mike Schrag <[EMAIL PROTECTED] >: Only if you set the default request handler to be DirectActions in your app constructor: setDefaultRequestHandler(requestHandlerForKey(directActionReques

Re: Custom Main Component

2008-04-11 Thread Daniele Corti
2008/4/11 Mike Schrag <[EMAIL PROTECTED]>: > Only if you set the default request handler to be DirectActions in your > app constructor: > > > setDefaultRequestHandler(requestHandlerForKey(directActionRequestHandlerKey())); > Thank you Mike! > > ms > > On Apr 11, 2008, at 7:58 AM, Daniele Cort

Re: Custom Main Component

2008-04-11 Thread Mike Schrag
Only if you set the default request handler to be DirectActions in your app constructor: setDefaultRequestHandler (requestHandlerForKey(directActionRequestHandlerKey())); ms On Apr 11, 2008, at 7:58 AM, Daniele Corti wrote: Hi Stefan 2008/4/11 Stefan Klein <[EMAIL PROTECTED]>: Hi,

Re: Custom Main Component

2008-04-11 Thread Daniele Corti
Hi Stefan 2008/4/11 Stefan Klein <[EMAIL PROTECTED]>: > Hi, > > you can change / overwrite: > > public WOActionResults defaultAction() > { > return pageWithName(MyPage.class.getName()); > } > > in DirectAction.java > When You open a app (for example http://localhost:45220/cg

Re: JavaClient RMI and Validation

2008-04-11 Thread Greg Hulands
myEO.validateForSave() On Apr 11, 2008, at 1:57 AM, David Avendasora wrote: It's a complicated function that steps through lots of relationships adds up values. It needs to be aware of other changes made in a given Editing Context, so I don't think I can do it via stateless. I guess telling

Re: Custom Main Component

2008-04-11 Thread Stefan Klein
Hi, you can change / overwrite: public WOActionResults defaultAction() { return pageWithName(MyPage.class.getName()); } in DirectAction.java Stefan Daniele Corti schrieb: Hi list, My question probably is really simple, but I really don't find out how to do it: Is

Custom Main Component

2008-04-11 Thread Daniele Corti
Hi list, My question probably is really simple, but I really don't find out how to do it: Is there a way to choose another component that is not Main.wo, to be load at startup? Thank you for any help!! -- Daniele Corti AIM: S0CR4TE5 Messenger: [EMAIL PROTECTED] -- Computers are like a

Re: JavaClient RMI and Validation

2008-04-11 Thread David Avendasora
It's a complicated function that steps through lots of relationships adds up values. It needs to be aware of other changes made in a given Editing Context, so I don't think I can do it via stateless. I guess telling it not to do the validation, if this were even possible, is not the right w

Re: Convenience functions in model classes

2008-04-11 Thread Denis Frolov
On Fri, Apr 11, 2008 at 5:46 AM, Jeff Schmitz <[EMAIL PROTECTED]> wrote: > Continuing on with my EO indoctrination, I think I understand the concepts > ok, but when it comes to fleshing the concepts out into actual code I'm > still struggling. I was hoping before I get too along down a wrong road,