Strang behaviour with Eclipse

2007-02-26 Thread WIESEN Bruno
Hello, After downloading Eclipse, It was impossible to launch the application... until today... Here was the problem : When I tried to launch, Eclipse told me to see the log file because an error occured... Here is a little (little) part of this log file... !ENTRY org.eclipse.update.conf

Re: savePageInPermanentCache for sessions?

2007-02-26 Thread Stefan Klein
Hi, you can use:     public MyPage(WOContext aContext)     {         super(aContext);         session().savePageInPermanentCache(this);     } Stefan Gaastra Dennis - WO Lists schrieb: Dear List, We use 6 level nested frame pages. As such, a method like "session.savePageInPermanentCa

testing components with junit

2007-02-26 Thread Philippe Lafoucrière
Hello all, is there a way to test WoComponents with junit ? WOUnitTest sounds like a solution, but I had bad feedbacks on it. Thank by advance Philippe ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: testing components with junit

2007-02-26 Thread Kieran Kelleher
An alternative is Selenium. On Feb 26, 2007, at 9:48 AM, Philippe Lafoucrière wrote: Hello all, is there a way to test WoComponents with junit ? WOUnitTest sounds like a solution, but I had bad feedbacks on it. Thank by advance Philippe ___ Do n

Re: testing components with junit

2007-02-26 Thread Philippe Lafoucrière
On 26 févr. 07, at 15:54, Kieran Kelleher wrote: An alternative is Selenium. We have a flash interface based on flex, I don't think it will be easier... I'll take a look though. Thanks Philippe ___ Do not post admin requests to the list. They

Re: testing components with junit

2007-02-26 Thread Jacky Gagnon
Hi Philippe, I use WOUnitTest 1.x and I like it (for the moment!). But I never use it to test my WOComponent. Anyway, WOUnitTest 2.x removed support for testing components because it was a bad idea. Don't put too much complex java code into your WOComponent; if you really need to test ja

WebObjects5.3.3Update.pkg 8M1916 updated to 8M1917 (was Re: WebObjects 5.3.3 released)

2007-02-26 Thread Mark Ritchie
On 16-Feb-07, at 1:59 PM, Pascal Robert wrote: Same problem here (at home). xCode 2.4.1, WO 5.3.2, OS X 10.4.8, iMac Intel Core Duo. While tracking down exactly which files are changed by the WebObjects5.3.3Update.pkg update, I noticed that I have two versions of it. Looks like Apple upd

Re: WebObjects5.3.3Update.pkg 8M1916 updated to 8M1917 (was Re: WebObjects 5.3.3 released)

2007-02-26 Thread Pascal Robert
Le 07-02-26 à 11:10, Mark Ritchie a écrit : On 16-Feb-07, at 1:59 PM, Pascal Robert wrote: Same problem here (at home). xCode 2.4.1, WO 5.3.2, OS X 10.4.8, iMac Intel Core Duo. While tracking down exactly which files are changed by the WebObjects5.3.3Update.pkg update, I noticed that I h

Re: Looking for a good source of AJAX info

2007-02-26 Thread Chuck Hill
Are you using FireBug? http://www.getfirebug.com/ You _want_ to be using that if you are doing Ajax, JS, CSS etc. Other than that, Google is what I use to answer questions. Chuck On Feb 24, 2007, at 3:43 PM, Miguel Arroz wrote: Hi! I'm sorry this is a little off-topic, but I could really

Re: savePageInPermanentCache for sessions?

2007-02-26 Thread Gaastra Dennis - WO Lists
Hi Mark, Are you sure; that would be great. But then the documentation is not clear about this. Can anybody confirm this? With Kind Regards, Dennis Gaastra, M.B.A.[sfu.ca], B.Sc.[ubc.ca] Chief Technology Officer, On 26-Feb-07, at 5:35 AM, Mark Gowdy wrote: Ohh. I didn't realize that WOSe

Re: savePageInPermanentCache for sessions?

2007-02-26 Thread Mike Schrag
yes, this is correct on both counts On Feb 26, 2007, at 1:27 PM, Gaastra Dennis - WO Lists wrote: Hi Mark, Are you sure; that would be great. But then the documentation is not clear about this. Can anybody confirm this? With Kind Regards, Dennis Gaastra, M.B.A.[sfu.ca], B.Sc.[ubc.ca] Chie

Re: savePageInPermanentCache for sessions?

2007-02-26 Thread Chuck Hill
Yes. The _size_ is application wide. Note that this is the size in _each_ session, not the total. Each session has its own permanent page cache which goes out of scope / is garbage collected with the session. Chuck On Feb 26, 2007, at 10:27 AM, Gaastra Dennis - WO Lists wrote: Hi Mar

Problem Connecting to OpenBase

2007-02-26 Thread Fred Shurtleff
Hello All, I am unable to connect to a localhost OpenBase database that I had previously connected to last week. The console error is: An exception occurred while trying to open a channel:com.webobjects.jdbcadaptor.JDBCAdaptorException: JDBC connection failed for driver :'com.openbase.jdbc.ObD

Re: Problem Connecting to OpenBase

2007-02-26 Thread Chuck Hill
Use Spotlight to find OpenBaseJDBC.jar. You probably have it also in /Library/WebObjects/Extensions or some other inappropriate place. It should ONLY be in /Library/Java/Extensions Chuck On Feb 26, 2007, at 11:20 AM, Fred Shurtleff wrote: Hello All, I am unable to connect to a localho

Re: Problem Connecting to OpenBase

2007-02-26 Thread Fred Shurtleff
Checked Spotlight and it is ONLY in /Library/Java/Extensions (and of course - /Application/OpenBase/Developer). Also I looked further into the project Java Build Path and do see JRE System Library(JVM 1.4.2) which contains the item > OpenBaseJDBC.jar - /Library/Java/Extensions/. So the error t

Re: Problem Connecting to OpenBase

2007-02-26 Thread Chuck Hill
If it is in /Library/Java/Extensions, then it is on the classpath. Period. End of story. So the error must be something else. What have you done since it was last working? Think hard, _something_ has changed. Things to check: - are you explicitly including it on the classpath someplace e

Re: Problem Connecting to OpenBase

2007-02-26 Thread Timo Hoepfner
Hi there, had a similar issue last week. The symptoms were the same. Either some update (WO 533?) replaces the OpenBase driver with a outdated or broken one, or the last java update makes the old one useless. When I did a "System.out.println(ObDriver.class)" at application startup, I woul

Re: Looking for a good source of AJAX info

2007-02-26 Thread Miguel Arroz
Hi! Yes, I am! :) But I really could use some kind of mail-list to ask some tricky details about strange behaviours of certain browsers (Firefox in the bug I'm trying to hunt) when doing DOM manipulation and stuff like that. Sometimes Google is not enough! :) Yours Miguel Arroz On 2

Additional oracle data types?

2007-02-26 Thread Ken Anderson
WO friends, In trying to move a model from Sybase to Oracle, I've discovered that many datatypes that seem to be available on Oracle 10g are not in the pop-up in EOModeler. Is there a way to get the additional types available? Thanks, Ken ___

Can you add additional html attributes to WOTextField?

2007-02-26 Thread Kevin Windham
I have a WOTextField that I want to add some attributes to. Here is an example of what I got from my designer. How can I get WO to let me add that style or width attribute? It seems that those things can only be added using the static inspector which is unavailable when viewing the field i

Re: Additional oracle data types?

2007-02-26 Thread Mike Schrag
If you either toss your jdbc2Info inside your connection dictionary or switch adaptors, that will probably cause EOM to requery the database for its data types. ms On Feb 26, 2007, at 6:07 PM, Ken Anderson wrote: WO friends, In trying to move a model from Sybase to Oracle, I've discovered

Re: Can you add additional html attributes to WOTextField?

2007-02-26 Thread David LeBer
On 26-Feb-07, at 6:11 PM, Kevin Windham wrote: I have a WOTextField that I want to add some attributes to. Here is an example of what I got from my designer. How can I get WO to let me add that style or width attribute? It seems that those things can only be added using the static inspec

Re: Additional oracle data types?

2007-02-26 Thread Mike Schrag
Hmm .. In retrospect, you must have already switched adaptors to go to Oracle, so you should have already gone through that step. It's possible some of the data types just don't have standard JDBC equivalents? ms On Feb 26, 2007, at 6:12 PM, Mike Schrag wrote: If you either toss your jdb

Re: Can you add additional html attributes to WOTextField?

2007-02-26 Thread Kevin Windham
Argh! I tried that before I posted and got a null pointer exception or something similar when I loaded the page. I tried it again and it worked. Sorry for the wasted bandwidth, Kevin On Feb 26, 2007, at 5:20 PM, Chuck Hill wrote: Simple. Just add new bindings with those names and values.

Re: Can you add additional html attributes to WOTextField?

2007-02-26 Thread Chuck Hill
Simple. Just add new bindings with those names and values. Chuck On Feb 26, 2007, at 3:11 PM, Kevin Windham wrote: I have a WOTextField that I want to add some attributes to. Here is an example of what I got from my designer. How can I get WO to let me add that style or width attribute?

Re: Additional oracle data types?

2007-02-26 Thread Ken Anderson
I'm not sure. For Sybase, I get a long list of datatypes... I'll try removing the jdbc2info and see what happens... Ken On Feb 26, 2007, at 6:28 PM, Mike Schrag wrote: Hmm .. In retrospect, you must have already switched adaptors to go to Oracle, so you should have already gone through th

Re: Additional oracle data types?

2007-02-26 Thread Chuck Hill
IIRC, it depends on what the JDBC driver advertises to EOF. You may want to check if there is an updated driver. Chuck On Feb 26, 2007, at 3:58 PM, Ken Anderson wrote: I'm not sure. For Sybase, I get a long list of datatypes... I'll try removing the jdbc2info and see what happens... Ke

Re: Additional oracle data types?

2007-02-26 Thread Peter Vandoros
It also depends on what the Oracle JDBC plug in removes from the jdbc2info as well. I found that the default MS SQL Server JDBC plug in was removing the ntext and co data types. Regards Peter Chuck Hill wrote: IIRC, it depends on what the JDBC driver advertises to EOF. You may want to check

Re: Problem Connecting to OpenBase

2007-02-26 Thread Mark Ritchie
On 26-Feb-07, at 5:25 PM, Timo Hoepfner wrote: ... some update (WO 533?) replaces the OpenBase driver ... I've been looking at what's updated by the WebObjects5.3.3Update.pkg and I don't see any updates happening in /Library/Java/Extensions Mac OS X 10.4.8, Xcode 2.4.1 on ppc I've not tried

Re: Additional oracle data types?

2007-02-26 Thread Ken Anderson
At the moment, I'm not setting a driver or plugin. Does anyone recommend something different? I donwloaded the latest drivers from Oracle... we're using ojdbc14.jar. Ken On Feb 26, 2007, at 7:14 PM, Peter Vandoros wrote: It also depends on what the Oracle JDBC plug in removes from the

Multiple WOForm's and keeping information

2007-02-26 Thread Baiss Eric Magnusson
I have 2 WOForm's on a WOComponent page, the 2nd has set to "multipart/form-data", to support a file upload. The file is selected using the sub-component which has a . The user data is shown on the screen after the file is selected, but it does not exist in the source of the page if you

Re: How-tos: Eclipse + WO

2007-02-26 Thread Ricardo Parada
Hey Shravan... Thanks, that works great. I'm happily WO coding in Eclipse + WOLips. Works great!! On Feb 25, 2007, at 10:58 PM, Shravan Kumar.M wrote: Hi Ricardo, I think you want to find files in Eclipse. There is a command which helps you find any projects imported to Eclipse. In Ec

Re: Multiple WOForm's and keeping information

2007-02-26 Thread Sacha Michel Mallais
On Feb 26, 2007, at 7:16 PM, Baiss Eric Magnusson wrote: I have 2 WOForm's on a WOComponent page, the 2nd has set to "multipart/form-data", to support a file upload. The file is selected using the sub-component which has a . The user data is shown on the screen after the file is selecte

valid global ID could not be obtained for entity

2007-02-26 Thread Anthony Arthur
Is this a bug, or am I missed something? Upon a save I am getting a java.lang.IllegalStateException claiming a global ID could not be obtained. This error cropped up after I converted a join table, for which eos were not created, to an actual entity. I kept the same attributes that made

Re: valid global ID could not be obtained for entity

2007-02-26 Thread Chuck Hill
veXcode? Quit, delete the build directory, try again. Chuck On Feb 26, 2007, at 9:43 PM, Anthony Arthur wrote: Is this a bug, or am I missed something? Upon a save I am getting a java.lang.IllegalStateException claiming a global ID could not be obtained. This error cropped up after I co