Re: Getting a wrong stored time

2008-10-11 Thread Andrew Lindesay

Hello Gus;

I use...

NSTimeZone.setDefault(java.util.TimeZone.getTimeZone("GMT+"));
TimeZone.setDefault(java.util.TimeZone.getTimeZone("GMT+"));

To force the application server JVM into GMT.  Most database systems  
will not interfere with the timezone of time information, but if they  
do then you will also need to address that.  I leave the EO modeller  
timezone alone as I have never used that.


Maybe download the following PDF;


http://homepage.mac.com/andrewlindesay/le/manuals/lewostuff/LEWOStuffOverview.pdf

...and read subsection 6.22 "Timezone, Date and Time Handling in a  
WebOb jects Application" as this may give you some ideas.


cheers.

Hello, I dunno what im doing wrong.. but even if I change in the  
server timezone popup menu in EOModeler to GTM or whatever other  
timezone... it still keep saying etc/GMT at the end of the line. is  
it there where I should change it to be relative to GMT?..


___
Andrew Lindesay
www.lindesay.co.nz

___
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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Added JavaDoc to eclipse

2008-10-11 Thread Phillip Hutchings


On 12/10/2008, at 05:33, JR Ruggentaler wrote:

This works fine without WOLips so I suspect this is a Eclipse plugin  
or WOLips feature/bug. I use the WO jars for a command line tool and  
I am able to configure the javadoc in Eclipse without the WOLips  
plugin. I also have some WO web app projects in a separate workspace  
with a separate copy of eclipse with the WOLips plugin and I am  
unable to configure the javadoc there.


Yes, I've resorted to disabling the import in the library and adding  
the jar manually. This works for development, but I bet it'll cause  
deployment issues...


--
Phillip Hutchings
[EMAIL PROTECTED]



___
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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


WonderEntity / _WonderEntity

2008-10-11 Thread Ricardo J. Parada


Hi,

I created a .eogen file for my eomodel.  Under the Templates section I  
left blank the Templates Folder text field.  Then for the Template and  
Subclass Template text fields I specified _WonderEntity.java and  
WonderEntity.java.  However, my _Foo.java has stuff like this in it:


...

public static final String LAST_NAME_KEY = "lastName";
	public static final ERXKey<$attribute.javaClassName> LAST_NAME = new  
ERXKey<$attribute.javaClassName>(LAST_NAME_KEY);



Any guess what I'm doing wrong?

Thanks,
Ricardo Parada

 ___
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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: [OT] Thanks for the memories …

2008-10-11 Thread Miguel Arroz

Hi Art!

  Sweden, he? I wish I could say that we had just beaten your asses  
on the football game that ended just now, but unfortunately it ended  
up in a tie. :)


  Anyway, good luck, and have the best of times!

  Yours

Miguel Arroz

On 2008/10/11, at 20:42, Art Isbell wrote:

	It is with some excitement, both of the positive and negative  
sorts, that I am ending my 18-year career as a software developer.   
I attended NeXT Developer Camp in May, 1990.  However, I was unable  
to find work using this incredible technology until late 1991 when I  
quit my Unix programming job to take a 6-week contract programming  
job with NeXT working at Informix to port WINGZ to NeXTSTEP 2.0 (or  
was that NeXTstep 2.0? :-).  From there, I spent 5 or so years  
developing and maintaining a large NeXTSTEP/OPENSTEP desktop  
application that, in its inception, used beta versions of DBKit,  
then moved on to ever-increasing versions of EOF.  With NeXT  
apparently heading toward oblivion, I decided that I had better move  
to their only technology that might have a future, WebObjects, if I  
wanted software development to remain fun.


	Fortunately, NeXT saved Apple (or was it the other way around? :-)   
As a result, WebObjects has had more lives than a cat.  I have stuck  
with it through thick and thin, eventually crossing over to the  
mother ship in 2001 where I continued with WebObjects development  
internally while providing WebObjects support for organizations  
under contract.


	I have been extremely fortunate to have been able to develop  
applications using NeXT's and now Apple's technologies.  I have not  
had to deal with the drudgery that most developers face using other  
technologies.  I'm sure that most of you understand.


	But the time has now come to move on to the next phase of my life:  
retirement!  I have been living in Honolulu since 1997, finally  
being able to return after 2 wonderful years in the early 1970's.   
But life in Honolulu and the U.S. in general has deteriorated  
considerably during my lifetime (and especially during the past few  
weeks :-( so I have decided to give Sweden a try.  My Swedish-born  
wife and I moved to Uppsala on 22 September and are starting our  
lives anew.  But this time without WebObjects … and without software  
development of any kind.  Time to learn Svenska.


	So I am signing off webobjects-dev and webobjects-deploy.  It has  
been a genuine pleasure to associate virtually with so many truly  
talented and generous people.  Few outside this community can really  
appreciate the experience.


Lycka till!

Aloha and hej då,
Art Isbell

___
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.apple.com/mailman/options/webobjects-dev/arroz%40guiamac.com

This email sent to [EMAIL PROTECTED]




smime.p7s
Description: S/MIME cryptographic signature
 ___
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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

[OT] Thanks for the memories …

2008-10-11 Thread Art Isbell
	It is with some excitement, both of the positive and negative sorts,  
that I am ending my 18-year career as a software developer.  I  
attended NeXT Developer Camp in May, 1990.  However, I was unable to  
find work using this incredible technology until late 1991 when I quit  
my Unix programming job to take a 6-week contract programming job with  
NeXT working at Informix to port WINGZ to NeXTSTEP 2.0 (or was that  
NeXTstep 2.0? :-).  From there, I spent 5 or so years developing and  
maintaining a large NeXTSTEP/OPENSTEP desktop application that, in its  
inception, used beta versions of DBKit, then moved on to ever- 
increasing versions of EOF.  With NeXT apparently heading toward  
oblivion, I decided that I had better move to their only technology  
that might have a future, WebObjects, if I wanted software development  
to remain fun.


	Fortunately, NeXT saved Apple (or was it the other way around? :-)   
As a result, WebObjects has had more lives than a cat.  I have stuck  
with it through thick and thin, eventually crossing over to the mother  
ship in 2001 where I continued with WebObjects development internally  
while providing WebObjects support for organizations under contract.


	I have been extremely fortunate to have been able to develop  
applications using NeXT's and now Apple's technologies.  I have not  
had to deal with the drudgery that most developers face using other  
technologies.  I'm sure that most of you understand.


	But the time has now come to move on to the next phase of my life:  
retirement!  I have been living in Honolulu since 1997, finally being  
able to return after 2 wonderful years in the early 1970's.  But life  
in Honolulu and the U.S. in general has deteriorated considerably  
during my lifetime (and especially during the past few weeks :-( so I  
have decided to give Sweden a try.  My Swedish-born wife and I moved  
to Uppsala on 22 September and are starting our lives anew.  But this  
time without WebObjects … and without software development of any  
kind.  Time to learn Svenska.


	So I am signing off webobjects-dev and webobjects-deploy.  It has  
been a genuine pleasure to associate virtually with so many truly  
talented and generous people.  Few outside this community can really  
appreciate the experience.


Lycka till!

Aloha and hej då,
Art Isbell



smime.p7s
Description: S/MIME cryptographic signature
 ___
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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Added JavaDoc to eclipse

2008-10-11 Thread JR Ruggentaler
This works fine without WOLips so I suspect this is a Eclipse plugin  
or WOLips feature/bug. I use the WO jars for a command line tool and I  
am able to configure the javadoc in Eclipse without the WOLips plugin.  
I also have some WO web app projects in a separate workspace with a  
separate copy of eclipse with the WOLips plugin and I am unable to  
configure the javadoc there.


JR

On Oct 10, 2008, at 11:01 PM, Phillip Hutchings wrote:

I'm very new to WO, just used to make some tools for work. This is  
more of an Eclipse question, but maybe someone here can help me.


I'm wondering how I get JavaDoc integrated into eclipse. Normally  
when I add an external JAR I can select a JavaDoc location for the  
tooltips and javadoc window, I find this quite handy, but with the  
WOLips WebObjects library these settings aren't modifiable. Is there  
somewhere to set this? I should be on the latest WOLips plugins, I  
generally update using the Eclipse built-in updater once a week.


I'm normally a C++ and Objective C programmer, so I'm not very  
familiar with the Java tools.


--
Phillip Hutchings
[EMAIL PROTECTED]



___
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.apple.com/mailman/options/webobjects-dev/jr%40mpv.com

This email sent to [EMAIL PROTECTED]


JR Ruggentaler
Senior Software Developer
Medical Present Value, Inc
[EMAIL PROTECTED]
Office   512.439.0206
Mobile  512.431.6849

 ___
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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Added JavaDoc to eclipse

2008-10-11 Thread Ramsey Gurley


On Oct 11, 2008, at 12:01 AM, Phillip Hutchings wrote:

I'm wondering how I get JavaDoc integrated into eclipse. Normally  
when I add an external JAR I can select a JavaDoc location for the  
tooltips and javadoc window, I find this quite handy, but with the  
WOLips WebObjects library these settings aren't modifiable. Is there  
somewhere to set this?


Second that question :)

Ramsey



smime.p7s
Description: S/MIME cryptographic signature
 ___
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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: ERPrototypes

2008-10-11 Thread Florijan Stamenkovic

yes.

On Oct 11, 2008, at 08:55, Ricardo J. Parada wrote:


Hi,

I'm looking into ERPrototypes.  What prototype do people use for  
foreign keys and primary keys based on a number?  Is it "id"?


Thanks,
Ricardo Parada

___
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.apple.com/mailman/options/webobjects-dev/flor385% 
40mac.com


This email sent to [EMAIL PROTECTED]


___
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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


ERPrototypes

2008-10-11 Thread Ricardo J. Parada

Hi,

I'm looking into ERPrototypes.  What prototype do people use for  
foreign keys and primary keys based on a number?  Is it "id"?


Thanks,
Ricardo Parada

___
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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: Can't get automatic inverse relationships to work

2008-10-11 Thread Mike Schrag
That's good to know. I can only assume that the old code was  
attempting to avoid an infinite loop.
I SEEM to recall that the original code won't infinite loop, but it  
just wasn't optimal (you ended up doing it twice), so the conditional  
is just to choose a more optimal path.  I think it already deals with  
the infinite loop inside of itself (since takeStoredValue is called by  
addObjToBothSides already).  But it's been a while :)


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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Fwd: upload via drag and drop

2008-10-11 Thread Stephane Guyot


I forward my response again :-)

Why some messages doesn't appears on the list ?

Flex ? AIR ? Prohibited words ?

Drag & Drop from filesystem to application ,  with AIR you can :  
http://www.adobe.com/devnet/air/



Stephane

Début du message réexpédié :


De : Stephane Guyot <[EMAIL PROTECTED]>
Date : 8 octobre 2008 21:52:27 HAEC
À : webobjects Development 
Cc : Gino Pacitti <[EMAIL PROTECTED]>
Objet : Rép : upload via drag and drop


Gino,

I don't know if you can do that with Swing or JavaFX ..., but with  
AIR you can : http://www.adobe.com/devnet/air/


Stephane

Le 8 oct. 08 à 21:22, Gino Pacitti a écrit :



Hi All

I have a client request for a drag and drop style upload of QT  
Movies via desktop to Browser window as part of a web page


Can this be done without any sort of Swing etc..

Any thoughts, links appreciated

Gino
___
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.apple.com/mailman/options/webobjects-dev/ 
stephane.guyot11%40wanadoo.fr


This email sent to [EMAIL PROTECTED]





 ___
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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Getting a wrong stored time

2008-10-11 Thread Lachlan Deck

On 11/10/2008, at 8:57 AM, WebObjects wrote:

Hello, I dunno what im doing wrong.. but even if I change in the  
server timezone popup menu in EOModeler to GTM or whatever other  
timezone... it still keep saying etc/GMT at the end of the line.


You need to understand this: NSTimestamp is Etc/GMT (or UTC) only. It  
has, therefore, an absolute value - which is the Etc/GMT value. What  
you've set in the modeler is documented in EOAttribute's docs as  
follows:


"The handling of dates assumes by default that both the database  
server and the client application are running in the local time zone.  
You can alter the time zone that is assumed for the database server  
with the setServerTimeZone method. If you alter the server time zone,  
the adaptor automatically converts dates as they pass into and out of  
the server."



is it there where I should change it to be relative to GMT?..


As mentioned, you ought to use a formatter for display and input.

Here's a doc that might be useful:
http://developer.apple.com/documentation/LegacyTechnologies/WebObjects/WebObjects_5/Topics/ProgrammingTopics.2.html#pgfId 
=606100



On Oct 10, 2008, at 4:21 PM, Andrew Lindesay wrote:


Hello Gus;

Is your application server running in GMT.  It is best to store  
your date/time data relative to GMT and then to convert it to a  
user's timezone using formatters in your user interface.


cheers.

Hello I have an attribute in a table called Start_Date_Time.   
which is a timestamp in the db schema.
in the EOModel I used a dateTime prototype and external type  
timestamp and data type Timestamp- NSTimestamp T

I have the following data in that attribute

-1-12-30 09:00:00 -0500
-1-12-30 12:00:00 -0500
-1-12-30 15:00:00 -0500
-1-12-30 18:00:00 -0500

After I fetch all those, and print them Im getting the following
1-01-01 14:00:00 Etc/GMT
1-01-01 17:00:00 Etc/GMT
1-01-01 20:00:00 Etc/GMT
1-01-01 23:00:00 Etc/GMT

As you can see the 3 hours diference between times still remains  
even in the weird output.


___
Andrew Lindesay
www.lindesay.co.nz



___
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.apple.com/mailman/options/webobjects-dev/lachlan.deck%40gmail.com

This email sent to [EMAIL PROTECTED]


with regards,
--

Lachlan Deck



___
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.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]