Re: EnterpriseObjects in a regular Java application

2006-01-30 Thread John Lennard
Hi, I followed the stepwise article, but found that a few things in it were no longer relevant or api's had changed. This is how i got my editingContext etc. //gets a url for the model modelUrl = new URL("file:holidaybook.eomodeld");

Re: Easy question I hope

2006-01-30 Thread Ray Ackland
Randy, Believe you just select the column and press the delete key. r On 31/01/2006, at 9:57, Randy Wigginton wrote: In EOModeler, if I want to show a column, I select "Add Column..." from the nice little popup menu. What do I do if I want to HIDE a column? I've displayed some columns th

Re: EnterpriseObjects in a regular Java application

2006-01-30 Thread Mike Schrag
That NPE is a result of your Main Bundle being null ... If you're not running inside of a bundle, it falls back to using JavaFoundation as your bundle (this officially explains why when things get funky people end up launching JavaFoundation.woa!). Double check that JavaFoundation is, in f

Re: EnterpriseObjects in a regular Java application

2006-01-30 Thread John Huss
Calling  EOModelGroup.defaultGroup()  causes the exception I listed below.  So apparently I'm missing something.   John   - Original Message - From: Mike Schrag To: John Huss Cc: Ruenagel, Frank ; webobjects-dev@lists.apple.com Sent: Monday, January 30, 2006 3:5

Re: Easy question I hope

2006-01-30 Thread Art Isbell
On Jan 30, 2006, at 10:57 AM, Randy Wigginton wrote: In EOModeler, if I want to show a column, I select "Add Column..." from the nice little popup menu. What do I do if I want to HIDE a column? Select the column and press the "Delete" key. Aloha, Art __

Re: Sessions

2006-01-30 Thread Art Isbell
On Jan 30, 2006, at 10:59 AM, Norberto Menendez wrote: How is it that you establish sessions that don't time out in WO (for an application with a small number of users < 50) ? WOSession's setTimeOut() method takes a double as the number of seconds argument. I believe that if you calculate

Re: EnterpriseObjects in a regular Java application

2006-01-30 Thread Mike Schrag
It's a lot easier than that .. Here's a little bit of sample code from a test main method I have:  public static void main(String[] args) throws MalformedURLException {    EOModelGroup.defaultGroup().addModelWithPathURL(new File("MyEOModel.eomodeld").toURL());    EOEditingContext ec = new EOEditing

Re: EnterpriseObjects in a regular Java application

2006-01-30 Thread John Huss
I'm still having problems with this.  It seems to be having trouble loading Bundles or something.   I tried several different things.  The most promising has been the approach described here: http://www.wodeveloper.com/omniLists/eof/2002/March/msg00018.html My code looks like this (Import.jav

Re: Sessions

2006-01-30 Thread Jerry W. Walker
Hi, Norberto, I don't think you can establish sessions that don't time out. However, if you set Session timeout to several days, it has the same practical effect. At my last company, we had a couple internal applications that required logins. Rather than keeping sessions from timing out,

Re: Easy question I hope

2006-01-30 Thread Jerry W. Walker
Hi, Randy, Select the column by clicking on the column heading, then press the delete key. Regards, Jerry On Jan 30, 2006, at 3:57 PM, Randy Wigginton wrote: In EOModeler, if I want to show a column, I select "Add Column..." from the nice little popup menu. What do I do if I want to HIDE

Re: Easy question I hope

2006-01-30 Thread Alan Ward
select the column (by clicking on it's title) and hit the delete key Alan On Jan 30, 2006, at 1:57 PM, Randy Wigginton wrote: In EOModeler, if I want to show a column, I select "Add Column..." from the nice little popup menu. What do I do if I want to HIDE a column? I've displayed some c

Sessions

2006-01-30 Thread Norberto Menendez
How is it that you establish sessions that don't time out in WO (for an application with a small number of users < 50) ? Are there any suggested strategies ? Thanks ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mai

Easy question I hope

2006-01-30 Thread Randy Wigginton
In EOModeler, if I want to show a column, I select "Add Column..." from the nice little popup menu. What do I do if I want to HIDE a column? I've displayed some columns that are useless to me - such as Definition. How do I make EOModeler stop showing it? __

(no subject)

2006-01-30 Thread Thomas B Winans
Can anyone point to a nice WebObjects web service example in which the service is not RPC? Thanks, Tom Winans ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/U

RE: EnterpriseObjects in a regular Java application

2006-01-30 Thread Ricardo Strausz
It really depends on your skills as a WO programmer... since I do not know, I prefer to take the conservative advise:start with Direct-to-Java.The next step is... NeXTSTEP.. just kidding,Then, step by step you can customise it until you get a feeling on the different parts of the framew

Re: Openbase

2006-01-30 Thread Robert Walker
Ken, Sorry I don't have the older version of the WOMovies.db, but was wondering what version of WebObjects you are currently using. You are correct that this database has been changed to OBMovies.db. The only difference I found, that seems to matter, is in the CREDIT_CARD table. They ch

Re: D2WQuery Component Frustration

2006-01-30 Thread James Cicenia
Ah I see... I will take at long at it again. On Jan 30, 2006, at 9:49 AM, Anjo Krank wrote: As far as I know, you wouldn´t have access to the embedded D2WQuery's displayGoup from your wrapping component. This is because what you get is the dataSource and not the display group... why not s

Re: wocheckbox?

2006-01-30 Thread Jerry W. Walker
Hi, leila, I strongly recommend the approach offered on David's blog. Using that rather than adding a boolean to your class will help your code follow the MVC pattern. Check boxes are pure View/Controller class material and should be kept out of the Model classes. Regards, Jerry On Jan

Re: D2WQuery Component Frustration

2006-01-30 Thread Anjo Krank
As far as I know, you wouldn´t have access to the embedded D2WQuery's displayGoup from your wrapping component. This is because what you get is the dataSource and not the display group... why not simply do things like I told you to: take a look at ERD2WQueryPage and have your subclass do s

Re: D2WQuery Component Frustration

2006-01-30 Thread Guido Neitzer
On 30.01.2006, at 15:19 Uhr, James Cicenia wrote: Bottom line is, I just can't figure out how get what the user entered for their query. If I understand you correctly, you have added (in WOBuilder) a D2WQuery component in your own component, have set up some bindings for it and let it cal

Openbase

2006-01-30 Thread Ken Foust
it appears they have changed WOMovies.db to OBMovies.db - I don't want of mess with their version in case it is part of some new example. Could someone please tell me where I can download a copy or perhaps someone could email me a copy at [EMAIL PROTECTED] thanks - ken

Re: wocheckbox?

2006-01-30 Thread David LeBer
On 30-Jan-06, at 8:41 AM, leila nemmiche wrote: Hi Group; I've been working with a wocheckbox in worepetition. The goal is removing those objects checked in the list. I've not been able to do this when invoking a wocomponent action (button). I supposed that the problem came from the fact t

D2WQuery Component Frustration

2006-01-30 Thread James Cicenia
Hello All - I am completely frustrated and have been working on this issue on and off for nearly two weeks. Bottom line is, I just can't figure out how get what the user entered for their query. I have tried looking at every dictionary in the display group but nothing exists?! What am I

Re: wocheckbox?

2006-01-30 Thread Tanmoy Roy
Hi Leila, We have implemented something in the lines you are planning to do. Kindly let me know if you are populating the WORepitition from an array fetched from a database. If that is the case then add a boolean variable in the .java class that you have generated from the EOModel. Bind the set and

wocheckbox?

2006-01-30 Thread leila nemmiche
Hi Group; I've been working with a wocheckbox in worepetition. The goalis removing those objects checked in the list. I've not been able to do this when invoking a wocomponent action (button). I supposed that the problem came from the fact that the checkbox is in a WOIFrame... is it possible? I

Re: Trouble Making New Project

2006-01-30 Thread Jerry W. Walker
Hi, Eric,Unix has problems with spaces in a file path. Apple used three such names for directories in the displayed paths:  * Developer Tools  * Project Templates  * Cocoa-Java ApplicationSpaces in path names on Unix, of course, work if the path name is quoted or the spaces are quoted. It seems t

RE: EnterpriseObjects in a regular Java application

2006-01-30 Thread Ruenagel, Frank
Hi, there is a little bit outdated stepwise article about this issue: http://www.stepwise.com/Articles/Technical/2001-07-01.01.html It has helped me to create a java console app. HTH Frank > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > pple.com]O > n Behal