Re: EOTemporaryGlobalID - Unique Bytes

2008-02-27 Thread Andrew Lindesay
Hello Pierre; I am using the bytes supplied by the TGID to make a globally unique code (hex string of the bytes), but have had a couple of cases where duplicates appear to have arisen downstream somehow -- I doubted this was possible after reading about how the bytes are assembled. I was

Re: EOTemporaryGlobalID - Unique Bytes

2008-02-27 Thread Mr. Pierre Frisch
Hi Andrew, Can you elaborate on the problem? I have relied on a very similar algorithm for years and I have never seen a problem. Pierre -- Pierre Frisch [EMAIL PROTECTED] On Feb 27, 2008, at 16:29, Peter Vandoros wrote: HI Andrew, Thanks for that. I had come across that class too. Than

[OT] "...creation and use of Objective-C objects in Java."

2008-02-27 Thread Owen McKerrow
Hi All, My father just sent me the following email which came across on the Quicktime for Java mailing list. I thought some of you may be interested. Owen McKerrow WebMaster, emlab Ph : +61 02 4221 5517 http://emlab.uow.edu.au - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: EOTemporaryGlobalID - Unique Bytes

2008-02-27 Thread Peter Vandoros
HI Andrew, Thanks for that. I had come across that class too. Thanks Peter Andrew Lindesay wrote: Hello Peter; Just anecdotal evidence -- no concrete logs etc... just wanted to see if anybody knew any issues there before I started a more involved investigation.  The new method I am tr

Re: EOTemporaryGlobalID - Unique Bytes

2008-02-27 Thread Andrew Lindesay
Hello Peter; Just anecdotal evidence -- no concrete logs etc... just wanted to see if anybody knew any issues there before I started a more involved investigation. The new method I am trying is; java.util.UUID.randomUUID().toString(); cheers. I've been using this and haven't had

Re: EOTemporaryGlobalID - Unique Bytes

2008-02-27 Thread Peter Vandoros
Hi Andrew, I've been using this and haven't had a problem. yet. Which cases have you found that it's not unique? If you find a different method, do you mind posting it here so we can look into it too? Thanks Peter Andrew Lindesay wrote: Hello; The method; EOTemporaryGlobalID.ass

Re: Best practice for dummy empty option in a WOPopupButton

2008-02-27 Thread Dawn Lockhart
My bad, it does work. I didn't have a selection set and was looking at the item instead. Thanks for the quick reply! Dawn On 2/27/08 6:24 PM, "John Larson" <[EMAIL PROTECTED]> wrote: > No, it should set the field as null with only one value in the list. > To be clear, there should be two select

Re: Best practice for dummy empty option in a WOPopupButton

2008-02-27 Thread John Larson
No, it should set the field as null with only one value in the list. To be clear, there should be two selections in the list; the item from the list array and ">select value<" or whatever you have as the noSelectionString. Of course nothing will happen if you don't have your submit button

Re: Best practice for dummy empty option in a WOPopupButton

2008-02-27 Thread Dawn Lockhart
Didn't know about the noSelectionString either. So I added it and it is not returning null for me, it is returning the first item in the WOPopupButton. Could this be because right now I only have one item and once I add more then it will return null? __

Re: Illegal State Exceptions when using MultiECLockManager

2008-02-27 Thread Chuck Hill
I think that might be one of the messages you get when you make relationships between objects in two different editing contexts. Chuck On Feb 27, 2008, at 1:56 PM, Owen McKerrow wrote: Hi All, Over the past couple of days I have received some emails from one of my apps which is using the

Illegal State Exceptions when using MultiECLockManager

2008-02-27 Thread Owen McKerrow
Hi All, Over the past couple of days I have received some emails from one of my apps which is using the MultiECLockManager() to manage its EditingContexts EXCEPTION: java.lang.IllegalStateException: prepareForSaveWithCoordinator: [EMAIL PROTECTED] is currently saving for [EMAIL PROT

Re: NullPointerException in ERXLogger.getERXLogger

2008-02-27 Thread Lachlan Deck
On 27/02/2008, at 11:35 PM, Daniele Corti wrote: 2008/2/27, Yung-Luen Lan <[EMAIL PROTECTED]>: Hi all, I'm a newbie of both WebObjects and server programming who is responsible to maintain a WO project left by other guy several years ago. I've added some features and tested in Eclipse. Ho

Stylesheets & Servlets

2008-02-27 Thread Oliver Scheel
I have two problems when deploying a Wonder app under Tomcat 5.5 (SSDD): I include stylesheets with ERXStyleSheet. When I first access the app no stylesheets are loaded, (perhaps) because of a "wr;jsessionid=.../wodata=..." in the url. The second request loads the stylesheets with the (for me) cor

EOTemporaryGlobalID - Unique Bytes

2008-02-27 Thread Andrew Lindesay
Hello; The method; EOTemporaryGlobalID.assignGloballyUniqueBytes(..) ...has javadoc that reads; Assigns to uniqueBytes an array of bytes that represent a byte string that's guaranteed to be unique network wide. In production I believe that I have seen some cases where it might not

Re: wolips blog

2008-02-27 Thread Mark Ritchie
On 27-Feb-08, at 2:51 PM, David den Boer wrote: you rock Seconded! M. ___ 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: http://

Re: wolips blog

2008-02-27 Thread David den Boer
Mike, Never publicly said this before, but it is long deserved : you rock On Feb 27, 2008, at 5:48 AM, Mike Schrag wrote: The wolips blog is up at http://wolips.blogspot.com . This makes more sense for announcement-y posts than the woproject-dev mailing list does, so woproject-dev can act

Re: [Wonder-disc] Wonder Ajax examples

2008-02-27 Thread David Holt
Thanks John, Nice to see some of this stuff in action! David On 27-Feb-08, at 7:31 AM, John Larson wrote: Here is a movie I put together to showcase some of the things that I have done with Wonder's Ajax framework. I have been very happy with the results, and the users love it. I can't expr

2008.2.27

2008-02-27 Thread Jeffrey W. Pearson
It is my wife's turn at this. She asked me to stay home to help with the kids while she goes through the worst of this today. I am available via email and cell phone. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mail

Re: Strange WO trouble

2008-02-27 Thread Alexander Spohr
is monitor running with the same user? all env-vars are equally set? Am 27.02.2008 um 19:40 schrieb Amedeo Mantica: The problem is 50% solved... :) now if I launch the application from terminal its loads correctly, but via JavaMonitor ( OSX Server Tiger ) won't start, application privileg

Re: Strange WO trouble

2008-02-27 Thread Amedeo Mantica
The problem is 50% solved... :) now if I launch the application from terminal its loads correctly, but via JavaMonitor ( OSX Server Tiger ) won't start, application privileges seems to be ok Regards Amedeo On 27/feb/08, at 13:52, Anjo Krank wrote: Classpath ordering. We fix this for norma

[OT] need a few testers

2008-02-27 Thread Josh Paul
I've just deployed a new site and am looking for some people to give it a run through. It's a WO app that allows people to create a 15s video commercial which is then digitally distributed. The site currently requires QuickTime and Flash (9+ if you're on Leopard). If you're willing to help

Re: Best practice for dummy empty option in a WOPopupButton

2008-02-27 Thread Susanne Schneider
Hi Archibald, don't you mean the "noSelectionString"? Just set this binding to a string like "- please select a value -" or anything similar. No further hassling necessary ;-) HTH Susanne -- Susanne Schneider Coordinator secuSuite Development iAS interActive Systems GmbH Dieffenbachstraße 33

Re: Best practice for dummy empty option in a WOPopupButton

2008-02-27 Thread Archibal Singleton
On 27 Feb 2008, at 12:01, Mike Schrag wrote: So I'm curious to know how you guys deal with this "problem"? Not sure if I'm reading this correctly, but you should be able to just set noSelectionString = "Select a Person" (or whatever) ... When noSelectionString is submitted, it binds back to

Re: Wonder Ajax examples

2008-02-27 Thread Mike Schrag
Mike (?) stmt.setParameter(1, "Anjo, Timo, Chuck, et al") 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: http://lists.ap

Wonder Ajax examples

2008-02-27 Thread John Larson
Here is a movie I put together to showcase some of the things that I have done with Wonder's Ajax framework. I have been very happy with the results, and the users love it. I can't express how great all the work that Mike (?) has put into the Ajax stuff is, and how I think it makes Wonder

Re: Best practice for dummy empty option in a WOPopupButton

2008-02-27 Thread George Domurot
Try binding the noSelectionString attribute to "> Select One <" and see what happens. -G On Feb 27, 2008, at 6:53 AM, Archibal Singleton wrote: Hi everybody, I was wondering what would be the best way to solve the following recurring problem: You want to present a user with a list of op

Re: Best practice for dummy empty option in a WOPopupButton

2008-02-27 Thread Mike Schrag
So I'm curious to know how you guys deal with this "problem"? Not sure if I'm reading this correctly, but you should be able to just set noSelectionString = "Select a Person" (or whatever) ... When noSelectionString is submitted, it binds back to you as a null value. ms

Re: Best practice for dummy empty option in a WOPopupButton

2008-02-27 Thread David LeBer
On 27-Feb-08, at 9:53 AM, Archibal Singleton wrote: Hi everybody, I was wondering what would be the best way to solve the following recurring problem: You want to present a user with a list of options, using a WOPopUpButton. Typically those options are some kind of EO. By default, the

Re: Best practice for dummy empty option in a WOPopupButton

2008-02-27 Thread Archibal Singleton
Here are two screenshots to illustrate what I mean... <> <> On 27 Feb 2008, at 11:53, Archibal Singleton wrote: Hi everybody, I was wondering what would be the best way to solve the following recurring problem: You want to present a user with a list of options, using a WOPopUpButt

Best practice for dummy empty option in a WOPopupButton

2008-02-27 Thread Archibal Singleton
Hi everybody, I was wondering what would be the best way to solve the following recurring problem: You want to present a user with a list of options, using a WOPopUpButton. Typically those options are some kind of EO. By default, the first time the list is presented, the selected (ideal

Re: NullPointerException in ERXLogger.getERXLogger

2008-02-27 Thread Daniele Corti
2008/2/27 Yung-Luen Lan <[EMAIL PROTECTED]>: > 2008/2/27 Daniele Corti <[EMAIL PROTECTED]>: > > > 2008/2/27, Yung-Luen Lan <[EMAIL PROTECTED] <[EMAIL PROTECTED]> > > > > > An extra question: when you add some features to your wo project, how > > > do you stop the current running wo server and star

Re: NullPointerException in ERXLogger.getERXLogger

2008-02-27 Thread Yung-Luen Lan
2008/2/27 Daniele Corti <[EMAIL PROTECTED]>: > 2008/2/27, Yung-Luen Lan <[EMAIL PROTECTED] <[EMAIL PROTECTED]> > > > An extra question: when you add some features to your wo project, how do > > you stop the current running wo server and start the new one? I don't know > > how to do this so I run m

Re: Strange WO trouble

2008-02-27 Thread Anjo Krank
Classpath ordering. We fix this for normal deployment but not servlet deployment (not sure we even can). Make sure your frameworks and app comes before ERX and everything else. Cheers, Anjo Am 27.02.2008 um 13:44 schrieb Amedeo Mantica: Hi, It works in default deployment mode Amedeo On 27

Re: NullPointerException in ERXLogger.getERXLogger

2008-02-27 Thread Anjo Krank
ERXLogger has long since been gone. The frameworks are by no means a drag and drop replace and I can't figure why you would even want to do it? You need to actually build and deploy a new version of your apps. Cheers, Anjo Am 27.02.2008 um 13:11 schrieb Yung-Luen Lan: Hi all, I'm a newbi

Re: Strange WO trouble

2008-02-27 Thread Amedeo Mantica
Hi, It works in default deployment mode Amedeo On 27/feb/08, at 12:47, Daniele Corti wrote: Hi, does it work in default deployment mode, or is only an error while deploying in servlet? 2008/2/27, Amedeo Mantica <[EMAIL PROTECTED]>: Helo all friends, I have this problem: I have a Wonder Ap

Re: NullPointerException in ERXLogger.getERXLogger

2008-02-27 Thread Daniele Corti
2008/2/27, Yung-Luen Lan <[EMAIL PROTECTED]>: > > Hi all, > > I'm a newbie of both WebObjects and server programming who is responsible > to maintain a WO project left by other guy several years ago. I've added > some features and tested in Eclipse. However, during these year, I always > encountere

NullPointerException in ERXLogger.getERXLogger

2008-02-27 Thread Yung-Luen Lan
Hi all, I'm a newbie of both WebObjects and server programming who is responsible to maintain a WO project left by other guy several years ago. I've added some features and tested in Eclipse. However, during these year, I always encountered a problem when I want to update the ERExtensions.framewor

Re: Strange WO trouble

2008-02-27 Thread Daniele Corti
Hi, does it work in default deployment mode, or is only an error while deploying in servlet? 2008/2/27, Amedeo Mantica <[EMAIL PROTECTED]>: > > Helo all friends, I have this problem: > > I have a Wonder Application > I made ANT build in servlet mode. > When I launch the app i got this: > > Applic

Strange WO trouble

2008-02-27 Thread Amedeo Mantica
Helo all friends, I have this problem: I have a Wonder Application I made ANT build in servlet mode. When I launch the app i got this: Application: renatozacchia Error: java.lang.IllegalArgumentException: Class 'Main' exists but is not a subclass of WOComponent. Reason: Class 'Main' e

Re: A little bit of Ajax in a 5.3 app?

2008-02-27 Thread Susanne Schneider
Hi Mike, that short video is really impressive! Makes me wish we would have the time to change all of our page refresh-actions to ajax. Alas there are so many other new features to implement, there is no time left. Regards, Susanne Message: 1 Date: Tue, 26 Feb 2008 15:32:51 -0500 From: Mik

wolips blog

2008-02-27 Thread Mike Schrag
The wolips blog is up at http://wolips.blogspot.com . This makes more sense for announcement-y posts than the woproject-dev mailing list does, so woproject-dev can actually really be a -dev list (for discussions on wolips development topics) and the wolips blog can be the place for end-use

Re: A little bit of Ajax in a 5.3 app?

2008-02-27 Thread Mike Schrag
OK Mike, I've now spent 1/2 hour looking for documentation on how you added the "key" to your .java file in your video from the wod editor. I'm a newbie to Eclipse and for the life of me I can't find a command or keyboard shortcut that does that. This question goes back to the thread about