Scheduled WOApps not scheduled

2006-04-27 Thread Wolfram Stebel
Hi List, i have a WOApp running in 7 instances. Each night i scheduled one of them to restart at 3AM. When i come to the server in the morning, one instance (the scheduled one) shows "refuse new session=ON" but there is no new log for the instance showing up after restart. So i suspect that the re

Re: Interfaces and Java Client

2006-04-27 Thread Paul Lynch
You may want to use entity inheritance to design your model; see http://developer.apple.com/documentation/WebObjects/UsingEOModeler/ 7ModelingInheritance/chapter_7_section_1.html The only thing I'll add is that, from experience, most of the times that using inheritance is possible, I choose

Re: reproduction of mailing list posts

2006-04-27 Thread Pierre Bernard
IANAL, but I would assume that the poster of a message retains copyright property. Thus if the original author grants permission to reproduce outside the mailing list all should be OK. I would anyway advocate an "ask first" approach. I for one would always agree to see my posts quoted or re

Re: reproduction of mailing list posts

2006-04-27 Thread Anjo Krank
Am 27.04.2006 um 10:14 schrieb Pierre Bernard: IANAL, but I would assume that the poster of a message retains copyright property. Thus if the original author grants permission to reproduce outside the mailing list all should be OK. I would anyway advocate an "ask first" approach. I for on

Re: reproduction of mailing list posts

2006-04-27 Thread Paul Lynch
On 27 Apr 2006, at 09:14, Pierre Bernard wrote: IANAL, but I would assume that the poster of a message retains copyright property. Under international copyright law, this is always true; it may not be under US copyright law, which is often at variance. The Apple clause quoted by Mike wa

Re: Connecting to Mysql4.1 from EOModeler on WinXP

2006-04-27 Thread Alexander Trofimchouk
Hello again! Three days elapsed and no answer which can resolve mentioned problem. Even developers say nothing! =) Please, if someone has a well working WebObjects 5.2.4 on WinXPsp2 with mysql 4.1.* or higher, would you mind posting it. I mean all needed environment variables, *.plists,

Re: MySQL JDBC Drivers

2006-04-27 Thread Kieran Kelleher
Yep, 3.1.XX is bad (for WebObjects anyhow), It did not work with my custom dictionary attribute mapped to a BLOB either.3.0.17 is fine.On Apr 26, 2006, at 8:19 PM, Zac Konopa wrote:Hey all,I came across a problem and managed to find a solution so I thought I would share it.  I was getting this exce

[NOOB-QUESTION] where should a jar file ?

2006-04-27 Thread Philippe Lafoucrière
Hello,I can't find in the documentation (and google btw)  how to solve this simple problem :I have to add an external library to my wo project, and I can't find in the doc where I should put the jar file.Can you help me please ?Thank you by advanceRegardsPhilippe -- Philippe Lafoucrière C.T.OMobile

Re: reproduction of mailing list posts

2006-04-27 Thread Mike Schrag
Since it's not entirely clear/agreed upon what the actual laws are, and specifically Apple prohibits this as a list rule without prior permission anyway, I will check w/ Apple first and ask any posters prior to copying anything. ms ___ Do not post

Re: [NOOB-QUESTION] where should a jar file ?

2006-04-27 Thread Paul Lynch
On 27 Apr 2006, at 14:20, Philippe Lafoucrière wrote: I can't find in the documentation (and google btw) how to solve this simple problem : I have to add an external library to my wo project, and I can't find in the doc where I should put the jar file. Well, anywhere that's in the class

Switch Component question...

2006-04-27 Thread James Cicenia
Hello - I am developing a new website and decided correctly or incorrectly, to have my wrapper page(s) be the main page and then swap out the content in the wrapper with the switch component. My question is.. normally I have code like nextPage.setEC(ec), etc., How do I do this with my arch

CUSTOM ORDERING IDEA

2006-04-27 Thread Amedeo Mantica
Hello friends! does anyone have an idea how to implement a custom row ordering in a database? My customers want to custom order row in database i can create an ordering column with a double type (number) so i can always move a row between two others... Actually I don't know how to graphi

Re: [NOOB-QUESTION] where should a jar file ?

2006-04-27 Thread Philippe Lafoucrière
On 27 avr. 06, at 15:28, Paul Lynch wrote: On 27 Apr 2006, at 14:20, Philippe Lafoucrière wrote: I can't find in the documentation (and google btw) how to solve this simple problem : I have to add an external library to my wo project, and I can't find in the doc where I should put the

Re: Switch Component question...

2006-04-27 Thread Jean-François Veillette
I have a somewhat similar setup. I have a sub-component (call it Section), that have menu-tab and is responsible to show the proper content based on the selected tab. In section, I have an ivar which track which menu-tab is selected. I have a method that return the content sub-component name, d

Re: Switch Component question...

2006-04-27 Thread Jerry W. Walker
Hi, James, On Apr 27, 2006, at 9:29 AM, James Cicenia wrote: Hello - I am developing a new website and decided correctly or incorrectly, to have my wrapper page(s) be the main page and then swap out the content in the wrapper with the switch component. My question is.. normally I have co

Re: Switch Component question...

2006-04-27 Thread Mark Morris
Hello James, I don't know that what you're doing is "just wrong" ;-) but another option which I've used often is to design your with a WOComponentContent instead of the WOSwitchComponent. This allows you to still call your pages normally, access their variables, etc., but still let you h

Re: Switch Component question...

2006-04-27 Thread Jean-François Veillette
This inverse the role-responsabilities of the component as proposed by James. This model work great when the wrapper is mostly static, or doesn't interact directly with the actual content shown. The other model proposed by James, is more appropriate (at least for me) when your 'wrapper' a

Re: Switch Component question...

2006-04-27 Thread Mark Morris
Uh, right, what Jerry said, quicker and in more detail. ;-) -- Mark On Apr 27, 2006, at 8:44 AM, Jerry W. Walker wrote: Hi, James, On Apr 27, 2006, at 9:29 AM, James Cicenia wrote: Hello - I am developing a new website and decided correctly or incorrectly, to have my wrapper page(s) be t

Re: Switch Component question...

2006-04-27 Thread Anjo Krank
This model work great when the wrapper is mostly static, or doesn't interact directly with the actual content shown. For these things, there is Wonder's ERXWOTemplate and ERXWOComponentContent. It kind of makes your head explode when you use it first, but with these you can have multiple co

Re: [NOOB-QUESTION] where should a jar file ?

2006-04-27 Thread Robert Walker
Philippe, Also if you double-click your "Application Server" target, click on "Expert View," you will find the "OTHER_JAVA_CLASS_PATH" setting. If you add your path there Xcode will append it to the generated class path. That is if you are using Xcode for development. If you want a .jar

Re: CUSTOM ORDERING IDEA

2006-04-27 Thread Jerry W. Walker
Hi, Amedeo, On Apr 27, 2006, at 9:34 AM, Amedeo Mantica wrote: Hello friends! does anyone have an idea how to implement a custom row ordering in a database? My customers want to custom order row in database i can create an ordering column with a double type (number) so i can always move

Re: Switch Component question...

2006-04-27 Thread James Cicenia
I had used the WOComponentContent in my last project. I had some issues, which I can't remember right now.. some problems refreshing views after a popup, or such. However, with using a switch component, yes with tabs, it is so easy to know where I was just by keeping a dictionary in my ses

Re: CUSTOM ORDERING IDEA

2006-04-27 Thread Ken Anderson
As I understand it, you're asking about how to store it - irrelevant of how you display it. To me, this is dependent on a couple of factors: 1) Is this strictly an ordering thing, or a priority thing? In other words, will there be gaps (like, record A has a 10 priority, record B has 20),

Re: Switch Component question...

2006-04-27 Thread Ken Anderson
I was about to write what Jerry wrote - so just consider this a nod :) Of course, since Jerry and I have worked together on a number of projects, this is no surprise! Ken On Apr 27, 2006, at 9:44 AM, Jerry W. Walker wrote: Hi, James, On Apr 27, 2006, at 9:29 AM, James Cicenia wrote: He

Re: [NOOB-QUESTION] where should a jar file ?

2006-04-27 Thread Philippe Lafoucrière
On 27 avr. 06, at 15:57, Robert Walker wrote: Philippe, Also if you double-click your "Application Server" target, click on "Expert View," you will find the "OTHER_JAVA_CLASS_PATH" setting. If you add your path there Xcode will append it to the generated class path. That is if you are

Re: Switch Component question...

2006-04-27 Thread Jerry W. Walker
Hi, Anjo, On Apr 27, 2006, at 9:56 AM, Anjo Krank wrote: This model work great when the wrapper is mostly static, or doesn't interact directly with the actual content shown. For these things, there is Wonder's ERXWOTemplate and ERXWOComponentContent. It kind of makes your head explode when

Re: Switch Component question...

2006-04-27 Thread Patrick Middleton
On 27 Apr 2006, at 14:29, James Cicenia wrote: Hello - I am developing a new website and decided correctly or incorrectly, to have my wrapper page(s) be the main page and then swap out the content in the wrapper with the switch component. My question is.. normally I have code like nextPa

Re: Switch Component question...

2006-04-27 Thread Jerry W. Walker
On Apr 27, 2006, at 10:11 AM, Ken Anderson wrote: I was about to write what Jerry wrote - so just consider this a nod :) Of course, since Jerry and I have worked together on a number of projects, this is no surprise! Aww, Ken, why'd you have to go and spill that??? Now they'll know that

Re: Switch Component question...

2006-04-27 Thread James Cicenia
Wirehose is definitely very hard to get one's head around. I have used it in one project and the learning curve was steep, and I am still sliding up and down it. There are a lot of files to be edited/created etc. just to make sure a component appears where you expect it. And the support is

Re: CUSTOM ORDERING IDEA

2006-04-27 Thread Robert Walker
Amedeo, I think we may need bit more background here. If you are talking about the order that the database engine inserts records onto the physical disk then that would be very impractical. Typically databases insert new records at the end. If they were to insert records somewhere in t

Re: Switch Component question...

2006-04-27 Thread Ken Anderson
Well Jerry, until you said that, how would anyone whether you got it from me, or I got it from you? :) On Apr 27, 2006, at 10:16 AM, Jerry W. Walker wrote: On Apr 27, 2006, at 10:11 AM, Ken Anderson wrote: I was about to write what Jerry wrote - so just consider this a nod :) Of course, s

Flat file subversion EOF adaptor

2006-04-27 Thread Pierre Frisch
I have a requirement to be able to same object as xml files in a subversion repository. Does anyone know of some similar thing? I was going to use the subversion native java API from subclipse and create a EOF adaptor. I am checking if anyone has done it before, no need to reinvent the whee

Re: CUSTOM ORDERING IDEA

2006-04-27 Thread Pierre Bernard
OK, I am going to throw a bit of SQL at the list: update MY_TABLE set ORDER = (1 + ORDER) where ORDER > $current; Shifts all rows above by one. Blows the EOF cache. Pierre On Apr 27, 2006, at 4:01 PM, Jerry W. Walker wrote: Hi, Amedeo, On Apr 27, 2006, at 9:34 AM, Amedeo Mantica wrote:

Multi tables having a to-many relationship to the same table

2006-04-27 Thread Rohrbaugh, John H
We have a change history logging table named ‘ChangeHistory’ and would like several tables to have a to-many relationship to it.     Student table has a to-many relationship to ChangeHistory named ‘toStudentChangeHistory’   School table has a to-many relationship to ChangeHistory named

Re: Switch Component question...

2006-04-27 Thread Jean-François Veillette
From what I see (and how I understand), this is not a vain intellectual exercise ... If you think of the content as a sub-view of it's parent wrapper : use woswitchcomponent. If you think of the wrapper as a decoration around the content : use wrapper technique with wocomponentcontent.

Re: Dumb Deployment and SQL Timstamp issue

2006-04-27 Thread Andrew R. Kinnie
Hmm. Well, now, after updating the Java on the deployment machine to 1.5 then telling it to default to 1.4, the new .woa runs on the deployment machine (though needed to fail a bunch of times before it did). Now however, I am back to the original programming problem of a timestamp appea

Re: Multi tables having a to-many relationship to the same table

2006-04-27 Thread Chuck Hill
Hi John, On Apr 27, 2006, at 8:03 AM, Rohrbaugh, John H wrote: First, a piece of advice. When you are working with EOF and start thinking thoughts like "how to specify the changeHistoryType part of the join", get up, take yourself outside, and give yourself a good talking to. Think Objec

Re: [NOOB-QUESTION] where should a jar file ?

2006-04-27 Thread Chuck Hill
On Apr 27, 2006, at 6:28 AM, Paul Lynch wrote: /Library/Java/Extensions is usually a good spot for random individual jars Allow me to vehemently disagree with that statement. /Library/Java/ Extensions is usually a terrible spot for random individual jars. This is for extensions to the

Re: Scheduled WOApps not scheduled

2006-04-27 Thread Jerry W. Walker
Hi, Wolfram, On Apr 27, 2006, at 3:37 AM, Wolfram Stebel wrote: Hi List, i have a WOApp running in 7 instances. Each night i scheduled one of them to restart at 3AM. When i come to the server in the morning, one instance (the scheduled one) shows "refuse new session=ON" but there is no n

Re: [NOOB-QUESTION] where should a jar file ?

2006-04-27 Thread Chuck Hill
Hi, On Apr 27, 2006, at 6:34 AM, Philippe Lafoucrière wrote: I can't find in the documentation (and google btw) how to solve this simple problem : I have to add an external library to my wo project, and I can't find in the doc where I should put the jar file. I was looking for a folder

Re: Interfaces and Java Client

2006-04-27 Thread Chuck Hill
On Apr 27, 2006, at 1:13 AM, Paul Lynch wrote: You may want to use entity inheritance to design your model; see http://developer.apple.com/documentation/WebObjects/UsingEOModeler/ 7ModelingInheritance/chapter_7_section_1.html The only thing I'll add is that, from experience, most of the tim

Re: reproduction of mailing list posts

2006-04-27 Thread Cliff Tuel
I'm not taking a stand on the legalities, but the cocoa-dev and xcode-users lists are archived on non-Apple sites. For example, . -- Cliff Tuel . http://apple.com/services/technicalsupport ___ Do not post admin requests

Re: Scheduled WOApps not scheduled

2006-04-27 Thread Chuck Hill
On Apr 27, 2006, at 12:37 AM, Wolfram Stebel wrote: Hi List, i have a WOApp running in 7 instances. Each night i scheduled one of them to restart at 3AM. When i come to the server in the morning, one instance (the scheduled one) shows "refuse new session=ON" but there is no new log for t

Re: [NOOB-QUESTION] where should a jar file ?

2006-04-27 Thread Mike Schrag
AppName.woa/Contents/Extensions Is there a difference between putting them here and having them in the classpath txt file? They would seem to be in the same classloader, so is it just a convenience that you don't have to declare them explicitly? ms

Re: [NOOB-QUESTION] where should a jar file ?

2006-04-27 Thread Chuck Hill
On Apr 27, 2006, at 10:07 AM, Mike Schrag wrote: AppName.woa/Contents/Extensions Is there a difference between putting them here and having them in the classpath txt file? They would seem to be in the same classloader, so is it just a convenience that you don't have to declare them expli

Re: Switch Component question...

2006-04-27 Thread Anjo Krank
Hi Jerry, Am 27.04.2006 um 16:13 schrieb Jerry W. Walker: This model work great when the wrapper is mostly static, or doesn't interact directly with the actual content shown. For these things, there is Wonder's ERXWOTemplate and ERXWOComponentContent. It kind of makes your head explode when

Re: Interfaces and Java Client

2006-04-27 Thread Ken Anderson
Inheritance can vastly improve the features of EOF if used properly. In general, I usually make all super-entities abstract, and have a different table for each leaf. However, if your data is all the same and you just need inheritance for different behavior in code, I typically use a sing

Re: Multi tables having a to-many relationship to the same table

2006-04-27 Thread Paul Lynch
On 27 Apr 2006, at 17:47, Chuck Hill wrote: That does not make any sense in OO or RDBMS terms. Your database will not allow you to have a FK to two different tables. In OO, you would not want a relationship to two different classes not in an inheritance hierarchy. At the very least your

Re: Switch Component question...

2006-04-27 Thread Mike Schrag
You should really take a look at the new Ajax stuff, it's pretty cool and offers a lot of possibilities. Oh, here's a cool Ajax- based app I've stumbled across: Sort of a wonder-dev topic, but judging by emails I've gotten, there's a fair amount of interest about Ajax in webobjects-dev too .

Re: Interfaces and Java Client

2006-04-27 Thread Chuck Hill
And just to prove that there is no one, right answer. :-) If I know that I will be fetching only on a single subclass then I will keep these in separate tables. If I will be fetching further up the inheritance hierarchy (i.e. fetches will return multiple subclasses), then I keep it all in

Re: Multi tables having a to-many relationship to the same table

2006-04-27 Thread Chuck Hill
On Apr 27, 2006, at 10:20 AM, Paul Lynch wrote: On 27 Apr 2006, at 17:47, Chuck Hill wrote: That does not make any sense in OO or RDBMS terms. Your database will not allow you to have a FK to two different tables. In OO, you would not want a relationship to two different classes not in

Re: Switch Component question...

2006-04-27 Thread Jerry W. Walker
Hi, Anjo & Mike, On Apr 27, 2006, at 1:10 PM, Anjo Krank wrote: Hi Jerry, Am 27.04.2006 um 16:13 schrieb Jerry W. Walker: This model work great when the wrapper is mostly static, or doesn't interact directly with the actual content shown. For these things, there is Wonder's ERXWOTemplate a

Re: Switch Component question...

2006-04-27 Thread Pierce T. Wetter III
On Apr 27, 2006, at 10:23 AM, Mike Schrag wrote: You should really take a look at the new Ajax stuff, it's pretty cool and offers a lot of possibilities. Oh, here's a cool Ajax- based app I've stumbled across: Sort of a wonder-dev topic, but judging by emails I've gotten, there's a fair amo

Re: Switch Component question...

2006-04-27 Thread Chuck Hill
On Apr 27, 2006, at 1:10 PM, Anjo Krank wrote: If you've run into a situation where WO didn't bring it for your UI and the current components don't provide support, drop me a line. I'd love to remove a Ruby checkmark in the WO-vs-Ruby comparison. Where is this comparison? Chuck -- Com

WO Ajax

2006-04-27 Thread Mike Schrag
(sorry about hijacking the previous thread) Make that "the ethereal WO-vs-Ruby comparison in the sky" ... On Apr 27, 2006, at 1:58 PM, Chuck Hill wrote: On Apr 27, 2006, at 1:10 PM, Anjo Krank wrote: If you've run into a situation where WO didn't bring it for your UI and the current compon

Re: Webservice Serializing/Deserializing WOStringKeyMap fails

2006-04-27 Thread Mike Schrag
WO definitely supports non-primitive types with Axis ... We have several custom object types that I register with: public static void registerType(Class _class, QName _qName) { WOWebServiceRegistrar.registerFactoriesForClassWithQName(new BeanSerializerFactory(_class, _qName), new BeanDe

Re: WO Ajax

2006-04-27 Thread Pierce T. Wetter III
On Apr 27, 2006, at 11:27 AM, Mike Schrag wrote: (sorry about hijacking the previous thread) Make that "the ethereal WO-vs-Ruby comparison in the sky" ... I posted one to the OTHER wo-dev list back a bit, let me dig it up... http://www.omnigroup.com/mailman/archive/webobjects-dev/2006-Apr

RE: Multi tables having a to-many relationship to the same table

2006-04-27 Thread Rohrbaugh, John H
All, Thanks for the 00 guidance. Your advice prompted me to read the Modeling Inheritance section of my 'EOF Developer's Guide' book for a refresher on OOing my RDB. I think I can take it from here. Thanks again. JohnR -Original Message- From: Chuck Hill [mailto:[EMAIL PROTECTED] Sent:

Re: Switch Component question...

2006-04-27 Thread apl
Hello James; I have to disagree with the comments made here about this being a bad idea -- mostly because I use this WOSwitchComponent technique you are imagining in all of my projects for a number of years now! It works fabulously for me and has allowed me to make some fabulous navigation

Re: Webservice Serializing/Deserializing WOStringKeyMap fails

2006-04-27 Thread Pierre Frisch
Mike, Are you working with 5.3.x or 5.2.x? Are you using D2WebServices? or do it custom? Does your wsdl generation work? Pierre On 27-Apr-06, at 11:45 AM, Mike Schrag wrote: WO definitely supports non-primitive types with Axis ... We have several custom object types that I register with:

Re: Webservice Serializing/Deserializing WOStringKeyMap fails

2006-04-27 Thread Mike Schrag
5.3.x and wsdl generation DOES work. This is actually one of the few things that IS on the wikibook :) http://en.wikibooks.org/wiki/Programming:WebObjects/Web_Services/ Web_Service_Provider Let me know if there is still something that isn't clear after this and I'll revise it. ms On Apr

Problem loading the D2W assistant

2006-04-27 Thread David Holt
Has anyone seen this error starting up the D2W assistant from a D2W app? This example is with the Wonder frameworks installed, but it is creating the same error with a fresh D2W application built and launched immediately. All other aspects of the D2W app (searching etc. work fine).XCode 2.2.1WebObj

Re: WOBuilder 5.3.1

2006-04-27 Thread Lachlan Deck
Hi there, On 15/04/2006, at 2:52 AM, Kieran Kelleher wrote: Is it just me or is the new WOBuilder 5.3.1 totally flaky when it comes to GUI behaviour and element selection? Have other noticed this? Before I do bug report, is there some fix like "defaults write com.apple blah, blah"

Re: Problem loading the D2W assistant

2006-04-27 Thread Chuck Hill
Is it there? It is for me: chuck$ ls /Library/WebServer/Documents/WebObjects/Java/com/apple/ client/directtoweb/AssistantPageApplet.class /Library/WebServer/Documents/WebObjects/Java/com/apple/client/ directtoweb/AssistantPageApplet.class What are the permissions on it? Chuck On Apr 27, 200

Re: Problem loading the D2W assistant

2006-04-27 Thread David Holt
-- It's like driving a car at night. You never see further than your headlights, but you can make the whole trip that way. E. L. Doctorowfrom Sunbeams: http://www.thesunmagazine.org  On 27 Apr 2006, at 6:51 PM, Chuck Hill wrote:Is it there?  It is for me:chuck$ ls /Library/WebServer/Documents/WebO

Re: Problem loading the D2W assistant

2006-04-27 Thread David Holt
No it's not there. I moved it when testing something else some months ago and then forgot to move it back. Thanks again for your help. David On 27 Apr 2006, at 6:51 PM, Chuck Hill wrote: Is it there? It is for me: chuck$ ls /Library/WebServer/Documents/WebObjects/Java/com/apple/ client/dir

Re: Switch Component question...

2006-04-27 Thread wojingo
Jean-François Veillette wrote: From what I see (and how I understand), this is not a vain intellectual exercise ... If you think of the content as a sub-view of it's parent wrapper : use woswitchcomponent. If you think of the wrapper as a decoration around the content : use wrapper tech

Re: Interfaces and Java Client

2006-04-27 Thread David Avendasora
I am using inheritance in the model as well as interfaces but the problem isn't the inheritance! I'm having a hard time explaining the structure of my application so I've done my first-ever UML Class Diagram to try to explain it better. I've attached it - hopefully it makes it. I don't th

Re: Problem loading the D2W assistant

2006-04-27 Thread Anjo Krank
Am 28.04.2006 um 03:19 schrieb David Holt: Has anyone seen this error starting up the D2W assistant from a D2W app? This example is with the Wonder frameworks installed, but it is creating the same error with a fresh D2W application built and launched immediately. All other aspects of the