Re: GWT / was: [OT] New WO Years Resolutions.

2008-12-22 Thread Q


On 23/12/2008, at 7:59 AM, John Huss wrote:

Doesn't matter which project, because both leverage the EXT  
library.  LGPL means that you can't use it for commerical  
development, unless you want to give away your source code.  There  
has been a lot of arguing over the license, but the opinion of the  
EXT developers is that you need to pay them if you aren't writing an  
open source app.


Actually LGPL doesn't require you to release your source code, it  
requires you to release any changes you make to the underlying LGPL  
code, but not the rest of your application. It is intended for use  
with libraries and frameworks.   The GPL on the other hand requires  
that derived works also be GPL and therefore you make the source  
available. The legal sticking point with using GPL on libraries and  
frameworks is whether something is considered a derived work or not.


Ext-JS was originally licensed under the LGPL, it was later changed to  
GPL. This was cause for a lot of unrest in the Ext-JS community  
because it meant that the framework couldn't be used as before by  
commercial users without risk of violating the GPL.


Ext-GWT is native GWT rather than a wrapper around Ext-JS, and is  
released by the people that produce Ext-JS and is also released under  
the GPL.  The gwt-ext is a wrapper around the last version of Ext-JS  
that was released as LGPL, so it is unencumbered by the more liberal  
use of the GPL in the official EXT products.


The reason for the license changing from LGPL to GPL was apparently  
entirely driven by a business model decision. There was no compelling  
incentive for commercial users to license the product when it was LGPL.


--
Seeya...Q

Quinton Dolan - qdo...@gmail.com
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



 ___
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 arch...@mail-archive.com

Re: [OT] New WO Years Resolutions.

2008-12-22 Thread Johnny Miller
I don't know about Ostriches - but I concur about the goat.  My goat,  
Bouc-Bouc, is a pain in the butt!


Happy Holidays,

Jon

p.s. my WO Year Resolutions

1. Design by contract
2. Use WOUnit
3. Use native OS X apis for image processing.
4. Build an iPhone client.



On Dec 22, 2008, at 1:37 AM, webobjects-dev-requ...@lists.apple.com  
wrote:



Message: 1
Date: Sun, 21 Dec 2008 22:23:03 +0100
From: "M. Blanc" 
Subject: Re: [OT] New WO Years Resolutions.
To: Chuck Hill 
Cc: WebObjects-Dev Mailing List List 
Message-ID: <6123ceca-873a-41e8-af8c-6e7638ff8...@gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed


On 20 Dec 2008, at 22:19, Chuck Hill wrote:



On Dec 20, 2008, at 1:18 PM, James Cicenia wrote:


iPhone / Cocoa Development.
Wonder on any new project and one retrofit.


Buy initial flock of goats.


Leave raising ruminants to jsf people.  Ostriches are what you want.

Smiles,
--mbj


 ___
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 arch...@mail-archive.com

Re: GWT / was: [OT] New WO Years Resolutions.

2008-12-22 Thread John Huss
Doesn't matter which project, because both leverage the EXT library.  LGPL
means that you can't use it for commerical development, unless you want to
give away your source code.  There has been a lot of arguing over the
license, but the opinion of the EXT developers is that you need to pay them
if you aren't writing an open source app.

John

On Mon, Dec 22, 2008 at 2:20 PM, Oliver Scheel  wrote:

> I haven't used GWT-Ext myself.  It's not a native GWT library, meaning it's
>> not written in Java; it's just a thin Java wrapper around Javascript and
>> CSS, etc.  That makes it a little less attractive.  Plus the Ext license is
>> not free for commercal development I think.
>>
>
>
> There is an Ext-GWT and a gwt-ext (completely different projects). The
> first one requires a license and the second one is LPGL (+ modules with
> Apache and BSD license).
>
> Oliver
>
>
>  ___
> 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/johnthuss%40gmail.com
>
> This email sent to johnth...@gmail.com
>
 ___
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 arch...@mail-archive.com

Re: [OT] New WO Years Resolutions.

2008-12-22 Thread James Cicenia
If this keeps going this thread is going to end with that awful goatse  
pict.


- j-


On Dec 22, 2008, at 3:36 PM, Johnny Miller wrote:

I don't know about Ostriches - but I concur about the goat.  My  
goat, Bouc-Bouc, is a pain in the butt!


Happy Holidays,

Jon

p.s. my WO Year Resolutions

1. Design by contract
2. Use WOUnit
3. Use native OS X apis for image processing.
4. Build an iPhone client.



On Dec 22, 2008, at 1:37 AM, webobjects-dev-requ...@lists.apple.com  
wrote:



Message: 1
Date: Sun, 21 Dec 2008 22:23:03 +0100
From: "M. Blanc" 
Subject: Re: [OT] New WO Years Resolutions.
To: Chuck Hill 
Cc: WebObjects-Dev Mailing List List 
Message-ID: <6123ceca-873a-41e8-af8c-6e7638ff8...@gmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed


On 20 Dec 2008, at 22:19, Chuck Hill wrote:



On Dec 20, 2008, at 1:18 PM, James Cicenia wrote:


iPhone / Cocoa Development.
Wonder on any new project and one retrofit.


Buy initial flock of goats.


Leave raising ruminants to jsf people.  Ostriches are what you want.

Smiles,
--mbj


___
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/james%40jimijon.com

This email sent to ja...@jimijon.com


 ___
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 arch...@mail-archive.com

Re: Recording and looking up dates, when day-wide precision is required

2008-12-22 Thread David Avendasora
Here's something useful stuff from the archives when I brought up java  
dates almost a year ago:


http://lists.apple.com/archives/Webobjects-dev/2008/Jan//msg00030.html

And

http://lists.apple.com/archives/Webobjects-dev/2008/Jan/msg00054.html

Since then, I'm firmly with Chuck and the goats.

Dave


On Dec 22, 2008, at 3:07 PM, Chuck Hill wrote:



On Dec 22, 2008, at 11:32 AM, Florijan Stamenkovic wrote:


Hi all,


I am recording daily currency conversion rates.

The problem I have is that at the moment currency information can  
be input from wherever on the planet. Now, most users will deal  
with date info only, when it comes to currency info, leaving time  
and timezone issues in Java's hands. Java seems to automatically  
set a parsed date to the time of 00:00:00 in the current timezone.  
What I am thinking of is "normalizing" dates after input.  
Essentially extracting the date (textually) from the Date that Java  
parsed, and setting it to 12:00:00 GMT, in hope that will ease  
qualification / filtering later on.


So, does anyone do this? Does anyone have a better strategy? This  
is the first time I am doing stuff with dates requires tight  
control of what's happening...


I do this, but I usually only work over 2-3 timezones.  World wide,  
this might still have some issues.  I hate thinking about dates and  
times.  Bring on the goats!


Chuck


--
Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects






___
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/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com




___
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 arch...@mail-archive.com


Re: Recording and looking up dates, when day-wide precision is required

2008-12-22 Thread Pascal Robert


Le 08-12-22 à 15:07, Chuck Hill a écrit :



On Dec 22, 2008, at 11:32 AM, Florijan Stamenkovic wrote:


Hi all,


I am recording daily currency conversion rates.

The problem I have is that at the moment currency information can  
be input from wherever on the planet. Now, most users will deal  
with date info only, when it comes to currency info, leaving time  
and timezone issues in Java's hands. Java seems to automatically  
set a parsed date to the time of 00:00:00 in the current timezone.  
What I am thinking of is "normalizing" dates after input.  
Essentially extracting the date (textually) from the Date that Java  
parsed, and setting it to 12:00:00 GMT, in hope that will ease  
qualification / filtering later on.


So, does anyone do this? Does anyone have a better strategy? This  
is the first time I am doing stuff with dates requires tight  
control of what's happening...


I do this, but I usually only work over 2-3 timezones.  World wide,  
this might still have some issues.  I hate thinking about dates and  
times.  Bring on the goats!


http://www.macti.ca/ChuckAndDates.mov 
___
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 arch...@mail-archive.com


Re: Why is this happening?

2008-12-22 Thread Lachlan Deck

On 23/12/2008, at 7:03 AM, Mersida Kurti wrote:

So we have this java code, which we extend from the CGProCLI.  The  
code was written in Java 1.4.2 and lately we switched it to Java 1.5  
and the new webobjects.  The code works fine in 1.4.2.  It builds  
and runs fine until a certain point with Java 1.5 and new  
webobjects, and I cannot figure out why it is giving me a null  
pointer exception.  Here's what I'm looking at:


<...>
public class OISCLI extends CGProCLI {

<...>
public OISCLI() throws CGProException {
super("host.domain.com",
,
"postmas...@domain.com",
"password");

port = Constants.port_mail_server;
adminUserid = Constants.USER_POSTMASTER + domain();
password = (String)Application.password();
serverAddress = Constants.SERVER_MAIL;

.cont
}

Here's the error message stack:
I don't get it why it is nulling it out when I'm specifically  
telling it what the password is...Any chance that this CGProCLI does  
not work with the new webobjects...Anyone seen this before?


Thank you in advance!
Mersida

2008-12-22 14:57:10 EST]  Waiting for requests...
[2008-12-22 14:57:33 EST]   
java.lang.NullPointerException

at com.stalker.CGPro.CGProCLI.connect(CGProCLI.java:161)
at com.stalker.CGPro.CGProCLI.(CGProCLI.java:65)
at blah.blah.common.OISCLI.(OISCLI.java:20)


The question is what is CGProCLI.java:161 doing?
If it's calling some method called password() which you've not set yet  
then that'll be your problem.


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 arch...@mail-archive.com


Re: Recording and looking up dates, when day-wide precision is required

2008-12-22 Thread Lachlan Deck

On 23/12/2008, at 6:32 AM, Florijan Stamenkovic wrote:


I am recording daily currency conversion rates.

The problem I have is that at the moment currency information can be  
input from wherever on the planet. Now, most users will deal with  
date info only, when it comes to currency info, leaving time and  
timezone issues in Java's hands.


Right so a user puts in a date like '23 Dec 2008'

Java seems to automatically set a parsed date to the time of  
00:00:00 in the current timezone.

What I am thinking of is "normalizing" dates after input.


It'll parse the time into whatever timezone you set to the formatter.  
If you're using SimpleDateFormat, for example, set the timezone to be  
parsed (if other than the default). You could set it to GMT for  
example .. or allow the user to select it.


Essentially extracting the date (textually) from the Date that Java  
parsed, and setting it to 12:00:00 GMT, in hope that will ease  
qualification / filtering later on.


Shouldn't need to worry about that if you get the input right. Just  
ensure you keep your Java/WO timezone info up to date.

http://support.apple.com/kb/TA24629?viewlocale=en_US
http://java.sun.com/javase/timezones/

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 arch...@mail-archive.com


Re: GWT / was: [OT] New WO Years Resolutions.

2008-12-22 Thread Oliver Scheel
I haven't used GWT-Ext myself.  It's not a native GWT library,  
meaning it's not written in Java; it's just a thin Java wrapper  
around Javascript and CSS, etc.  That makes it a little less  
attractive.  Plus the Ext license is not free for commercal  
development I think.



There is an Ext-GWT and a gwt-ext (completely different projects). The  
first one requires a license and the second one is LPGL (+ modules  
with Apache and BSD license).


Oliver



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 arch...@mail-archive.com

Re: Why is this happening?

2008-12-22 Thread Pascal Robert
I don't think that the problem is with WO, but maybe with Java 1.5.  
But I don't remember having problems with CGP's Java API and Java  
1.5.  Maybe CGP logs have a better error message. You may need to put  
the log level (in CGP) of the PWD service to "All Info". And try to  
upgrade to the latest CGProCLI.jar (http://www.communigate.com/CGJava/).


So we have this java code, which we extend from the CGProCLI.  The  
code was written in Java 1.4.2 and lately we switched it to Java 1.5  
and the new webobjects.  The code works fine in 1.4.2.  It builds  
and runs fine until a certain point with Java 1.5 and new  
webobjects, and I cannot figure out why it is giving me a null  
pointer exception.  Here's what I'm looking at:



import com.stalker.CGPro.CGProCLI;
import com.stalker.CGPro.CGProException;

import blah.blah.application.Application;
import blah.blah.common.Constants;

public class OISCLI extends CGProCLI {

private int port;
private String adminUserid;
private String password;
private String serverAddress;

public OISCLI() throws CGProException {
super("host.domain.com",
,
"postmas...@domain.com",
"password");

port = Constants.port_mail_server;
adminUserid = Constants.USER_POSTMASTER + domain();
password = (String)Application.password();
serverAddress = Constants.SERVER_MAIL;

.cont
}

Here's the error message stack:
I don't get it why it is nulling it out when I'm specifically  
telling it what the password is...Any chance that this CGProCLI does  
not work with the new webobjects...Anyone seen this before?


Thank you in advance!
Mersida

2008-12-22 14:57:10 EST]  Waiting for requests...
[2008-12-22 14:57:33 EST]   
java.lang.NullPointerException

at com.stalker.CGPro.CGProCLI.connect(CGProCLI.java:161)
at com.stalker.CGPro.CGProCLI.(CGProCLI.java:65)
at blah.blah.common.OISCLI.(OISCLI.java:20)
at blah.blah.database.MailGroup.startCLI(MailGroup.java:299)
at blah.blah.database.MailGroup.create(MailGroup.java:57)
at  
blah.blah.create.CreateGroupPage.createTheGroup(CreateGroupPage.java: 
49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at  
sun 
.reflect 
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at  
sun 
.reflect 
.DelegatingMethodAccessorImpl 
.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at com.webobjects.foundation.NSKeyValueCoding$ValueAccessor 
$1.methodValue(NSKeyValueCoding.java:636)
at com.webobjects.foundation.NSKeyValueCoding 
$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
at com.webobjects.foundation.NSKeyValueCoding 
$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324)
at  
com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java: 
1736)
at com.webobjects.foundation.NSKeyValueCoding 
$Utility.valueForKey(NSKeyValueCoding.java:447)
at com.webobjects.foundation.NSKeyValueCodingAdditions 
$ 
DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java: 
212)
at  
com 
.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java: 
1804)
at  
com 
.webobjects 
.appserver 
._private 
.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50)
at  
com 
.webobjects 
.appserver._private.WOSubmitButton.invokeAction(WOSubmitButton.java: 
70)
at  
com 
.webobjects 
.appserver 
._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at  
com 
.webobjects 
.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java: 
115)
at  
com.webobjects.appserver._private.WOForm.invokeAction(WOForm.java:141)
at  
com 
.webobjects 
.appserver 
._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at  
com 
.webobjects 
.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java: 
115)
at  
com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java: 
1079)
at  
com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1357)
at  
com 
.webobjects.appserver.WOApplication.invokeAction(WOApplication.java: 
1745)
at  
com 
.webobjects 
.appserver 
._private 
.WOComponentRequestHandler 
._dispatchWithPreparedPage(WOComponentRequestHandler.java:206)
at  
com 
.webobjects 
.appserver 
._private 
.WOComponentRequestHandler 
._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
at  
com 
.webobjects 
.appserver 
._private 
.WOComponentRequestHandler 
._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
at  
com 
.webobjects 
.appserver 
._private 
.WOComponentRequestHandler 
._handleRequest(WOComponentRequestHandler.java:369)
at  
com 
.webobjects 
.appserver 
._private 
.WOComponentRequestHandler 
.handleRequest(WOComponentRequestHandler.java:442)
at  
com 
.webobjects 
.appserver.WOApplication.dispatchRequest(WOApplication.java:

Re: Recording and looking up dates, when day-wide precision is required

2008-12-22 Thread Chuck Hill


On Dec 22, 2008, at 11:32 AM, Florijan Stamenkovic wrote:


Hi all,


I am recording daily currency conversion rates.

The problem I have is that at the moment currency information can be  
input from wherever on the planet. Now, most users will deal with  
date info only, when it comes to currency info, leaving time and  
timezone issues in Java's hands. Java seems to automatically set a  
parsed date to the time of 00:00:00 in the current timezone. What I  
am thinking of is "normalizing" dates after input. Essentially  
extracting the date (textually) from the Date that Java parsed, and  
setting it to 12:00:00 GMT, in hope that will ease qualification /  
filtering later on.


So, does anyone do this? Does anyone have a better strategy? This is  
the first time I am doing stuff with dates requires tight control of  
what's happening...


I do this, but I usually only work over 2-3 timezones.  World wide,  
this might still have some issues.  I hate thinking about dates and  
times.  Bring on the goats!


Chuck


--
Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects






___
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 arch...@mail-archive.com


Why is this happening?

2008-12-22 Thread Mersida Kurti
So we have this java code, which we extend from the CGProCLI.  The code was 
written in Java 1.4.2 and lately we switched it to Java 1.5 and the new 
webobjects.  The code works fine in 1.4.2.  It builds and runs fine until a 
certain point with Java 1.5 and new webobjects, and I cannot figure out why it 
is giving me a null pointer exception.  Here's what I'm looking at:


import com.stalker.CGPro.CGProCLI;
import com.stalker.CGPro.CGProException;

import blah.blah.application.Application;
import blah.blah.common.Constants;

public class OISCLI extends CGProCLI {

    private int port;
    private String adminUserid;
    private String password;
    private String serverAddress;

    public OISCLI() throws CGProException {
        super("host.domain.com",
                ,
                "postmas...@domain.com", 
                "password");
                
        port = Constants.port_mail_server;
        adminUserid = Constants.USER_POSTMASTER + domain();
        password = (String)Application.password();
        serverAddress = Constants.SERVER_MAIL;

.cont
    }

Here's the error message stack:
I don't get it why it is nulling it out when I'm specifically telling it what 
the password is...Any chance that this CGProCLI does not work with the new 
webobjects...Anyone seen this before?  

Thank you in advance!
Mersida

2008-12-22 14:57:10 EST]  Waiting for requests...
[2008-12-22 14:57:33 EST]  java.lang.NullPointerException
    at com.stalker.CGPro.CGProCLI.connect(CGProCLI.java:161)
    at com.stalker.CGPro.CGProCLI.(CGProCLI.java:65)
    at blah.blah.common.OISCLI.(OISCLI.java:20)
    at blah.blah.database.MailGroup.startCLI(MailGroup.java:299)
    at blah.blah.database.MailGroup.create(MailGroup.java:57)
    at blah.blah.create.CreateGroupPage.createTheGroup(CreateGroupPage.java:49)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at 
com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValue(NSKeyValueCoding.java:636)
    at 
com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134)
    at 
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324)
    at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736)
    at 
com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447)
    at 
com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
    at 
com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804)
    at 
com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50)
    at 
com.webobjects.appserver._private.WOSubmitButton.invokeAction(WOSubmitButton.java:70)
    at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
    at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
    at com.webobjects.appserver._private.WOForm.invokeAction(WOForm.java:141)
    at 
com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
    at 
com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
    at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079)
    at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1357)
    at 
com.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:1745)
    at 
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandler.java:206)
    at 
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
    at 
com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
    at 
com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:369)
    at 
com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:442)
    at 
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
    at 
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
    at 
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
    at java.lang.Thread.run(Thread.java:613)




   ___
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/webobj

Recording and looking up dates, when day-wide precision is required

2008-12-22 Thread Florijan Stamenkovic

Hi all,


I am recording daily currency conversion rates.

The problem I have is that at the moment currency information can be  
input from wherever on the planet. Now, most users will deal with  
date info only, when it comes to currency info, leaving time and  
timezone issues in Java's hands. Java seems to automatically set a  
parsed date to the time of 00:00:00 in the current timezone. What I  
am thinking of is "normalizing" dates after input. Essentially  
extracting the date (textually) from the Date that Java parsed, and  
setting it to 12:00:00 GMT, in hope that will ease qualification /  
filtering later on.


So, does anyone do this? Does anyone have a better strategy? This is  
the first time I am doing stuff with dates requires tight control of  
what's happening...


F
___
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 arch...@mail-archive.com


Re: SSDD build problem after upgrade

2008-12-22 Thread David Avendasora
Right-click on your project, select "Properties", Select "WOLips  
Deployment"


If you select "Servlet Deployment" it enables/disables the Embed  
Frameworks checkboxes at the bottom (at least in my version of WOLips).


I believe that if you have selected Servlet Deployment, then it should  
_automatically_ embed everything - the UI doesn't reflect everything  
being embedded when Servlet Deployment is selected though, the  
checkboxes just become disabled.


Dave

Poking around a bit in the new build.xml, I added these properties  
to my build.properties and now everything works just fine:

embed.External=true
embed.Local=true
embed.User=true
embed.System=true

I believe this causes the external frameworks of the various types  
to be bundled in with my application.  The email you reference  
contains a line "Edit the WOLips Deployment Project Preferences in  
Eclipse and set your embedding preferences" but I do not see either  
an embed or deployment preference under wolips.  Is it hiding?


On Dec 22, 2008, at 2:14 AM, David Avendasora wrote:

Yes, that location for frameworks was eliminated in the newest  
version of WOLips. All frameworks should now be located in APPNAME/ 
WEB-INF/AppName.woa/Contents/Frameworks.


This eliminates duplication of the frameworks.

In order to upgrade to the latest release of WOLips, you need to  
migrate your projects to the new build process. Here's an email  
from Mike Schrag about it:


http://lists.apple.com/archives/Webobjects-dev/2008/Dec/msg00359.html

Dave

On Dec 21, 2008, at 12:53 PM, Randy Wigginton wrote:

I suspect there is a new flag for build.properties.  After  
upgrading to all the latest Wonder & Eclipse, a build-install does  
not create the Library path (APPNAME/WEB-INF/Library)


For completeness sake, my build.properties file has these  
important settings:

customInfoPListContent=
webXML=true
webXML_CustomContent=
servletDeployment=true
jvmOptions=-Djava.awt.headless=true -Xmx800M
jvm = java

___
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/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com






 ___
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 arch...@mail-archive.com

Re: GWT / was: [OT] New WO Years Resolutions.

2008-12-22 Thread John Huss
I haven't used GWT-Ext myself.  It's not a native GWT library, meaning it's
not written in Java; it's just a thin Java wrapper around Javascript and
CSS, etc.  That makes it a little less attractive.  Plus the Ext license is
not free for commercal development I think.  You should check out
SmartGWTas
well.

John

On Mon, Dec 22, 2008 at 2:11 AM, Oliver Scheel  wrote:

> There are lots of great conference videos about GWT.  There are links to
>> them on the wogwt page.  Highly recommended.
>>
>
> ok, I will have a look into it. I was not shure if this is worth the time
> ;-)
>
> btw: Is it painless to use GWT extensions like gwt-ext.com?
>
> Oliver
>
>
>  ___
> 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/johnthuss%40gmail.com
>
> This email sent to johnth...@gmail.com
>
 ___
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 arch...@mail-archive.com

Re: SSDD build problem after upgrade

2008-12-22 Thread Randy Wigginton
Poking around a bit in the new build.xml, I added these properties to  
my build.properties and now everything works just fine:

embed.External=true
embed.Local=true
embed.User=true
embed.System=true

I believe this causes the external frameworks of the various types to  
be bundled in with my application.  The email you reference contains a  
line "Edit the WOLips Deployment Project Preferences in Eclipse and  
set your embedding preferences" but I do not see either an embed or  
deployment preference under wolips.  Is it hiding?


On Dec 22, 2008, at 2:14 AM, David Avendasora wrote:

Yes, that location for frameworks was eliminated in the newest  
version of WOLips. All frameworks should now be located in APPNAME/ 
WEB-INF/AppName.woa/Contents/Frameworks.


This eliminates duplication of the frameworks.

In order to upgrade to the latest release of WOLips, you need to  
migrate your projects to the new build process. Here's an email from  
Mike Schrag about it:


http://lists.apple.com/archives/Webobjects-dev/2008/Dec/msg00359.html

Dave

On Dec 21, 2008, at 12:53 PM, Randy Wigginton wrote:

I suspect there is a new flag for build.properties.  After  
upgrading to all the latest Wonder & Eclipse, a build-install does  
not create the Library path (APPNAME/WEB-INF/Library)


For completeness sake, my build.properties file has these important  
settings:

customInfoPListContent=
webXML=true
webXML_CustomContent=
servletDeployment=true
jvmOptions=-Djava.awt.headless=true -Xmx800M
jvm = java

___
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/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com




 ___
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 arch...@mail-archive.com

Re: SSDD build problem after upgrade

2008-12-22 Thread Mike Schrag
Yes, that location for frameworks was eliminated in the newest  
version of WOLips. All frameworks should now be located in APPNAME/ 
WEB-INF/AppName.woa/Contents/Frameworks.
Q pointed out that it is actually supposed to be Contents/Library/ 
Frameworks and you get a little bit for free, so this MIGHT be going  
back at some point ... But for now, it's OK.


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 arch...@mail-archive.com


Re: Anyone running Direct To WebServices on WOLIps and 5.4.3?

2008-12-22 Thread David Avendasora

Johan,

It looks like it's trying to read the user.d2wmodel file and can't for  
some reason. Are permissions correct? Does the file exist?


Dave

On Dec 22, 2008, at 6:57 AM, Johan Henselmans wrote:

I am trying to test some WebServices stuff. I thought of starting  
out with a simple implementation with DirectToWebServices, but I can  
not seem to get these things running in 10.5 with 5.4.3 installed,  
nor with 5.3.3 installed.


I try the route via New->Other-DirectToWebService Application, then  
add a Business Logic Framework, then fire up the application.


The message I am getting is:

http://193.78.79.69/cgi-bin/WebObjects/D2WServiceApp.woa/-50135
The URL for direct connect is:
http://193.78.79.69:50135/cgi-bin/WebObjects/D2WServiceApp.woa
[2008-12-22 12:56:17 CET]  null
[2008-12-22 12:56:17 CET]  DirectToWeb WebAssistant launch  
line: appletviewer http://localhost:50135/cgi-bin/WebObjects/D2WServiceApp.woa/wa/D2WActions/openWebAssistant

[2008-12-22 12:56:17 CET]  Waiting for requests...
* PLEASE NOTE: The assistant will be available to configure the  
application.  To disable the assistant use a -WSAssistantEnabled NO  
flag when you start the application.
[2008-12-22 12:56:19 CET]   
: Exception  
in performActionNamed() on the action "loadD2WModel" with the  
message: java.lang.IllegalStateException: Can't obtain rules because  
of protected access!
[2008-12-22 12:56:19 CET]   
:  
Exception while handling action named "loadD2WModel" on action class  
"com 
.webobjects 
.webservices 
.generation 
._WSDirectAction" :java.lang.reflect.InvocationTargetException
[2008-12-22 12:56:19 CET]   
: Exception  
in performActionNamed() on the action "loadD2WModel" with the  
message: java.lang.IllegalStateException: Can't obtain rules because  
of protected access!
[2008-12-22 12:56:19 CET]   
:  
Exception while handling action named "loadD2WModel" on action class  
"com 
.webobjects 
.webservices 
.generation 
._WSDirectAction" :java.lang.reflect.InvocationTargetException
[2008-12-22 12:56:19 CET]   
: Exception  
in performActionNamed() on the action "loadD2WModel" with the  
message: java.lang.IllegalStateException: Can't obtain rules because  
of protected access!
[2008-12-22 12:56:19 CET]   
:  
Exception while handling action named "loadD2WModel" on action class  
"com 
.webobjects 
.webservices 
.generation 
._WSDirectAction" :java.lang.reflect.InvocationTargetException



Regards,

Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6279159



___
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/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com




___
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 arch...@mail-archive.com


Anyone running Direct To WebServices on WOLIps and 5.4.3?

2008-12-22 Thread Johan Henselmans
I am trying to test some WebServices stuff. I thought of starting out  
with a simple implementation with DirectToWebServices, but I can not  
seem to get these things running in 10.5 with 5.4.3 installed, nor  
with 5.3.3 installed.


I try the route via New->Other-DirectToWebService Application, then  
add a Business Logic Framework, then fire up the application.


The message I am getting is:

http://193.78.79.69/cgi-bin/WebObjects/D2WServiceApp.woa/-50135
The URL for direct connect is:
http://193.78.79.69:50135/cgi-bin/WebObjects/D2WServiceApp.woa
[2008-12-22 12:56:17 CET]  null
[2008-12-22 12:56:17 CET]  DirectToWeb WebAssistant launch line:  
appletviewer http://localhost:50135/cgi-bin/WebObjects/D2WServiceApp.woa/wa/D2WActions/openWebAssistant

[2008-12-22 12:56:17 CET]  Waiting for requests...
* PLEASE NOTE: The assistant will be available to configure the  
application.  To disable the assistant use a -WSAssistantEnabled NO  
flag when you start the application.
[2008-12-22 12:56:19 CET]   
: Exception in  
performActionNamed() on the action "loadD2WModel" with the message:  
java.lang.IllegalStateException: Can't obtain rules because of  
protected access!
[2008-12-22 12:56:19 CET]   
:  
Exception while handling action named "loadD2WModel" on action class  
"com 
.webobjects 
.webservices 
.generation 
._WSDirectAction" :java.lang.reflect.InvocationTargetException
[2008-12-22 12:56:19 CET]   
: Exception in  
performActionNamed() on the action "loadD2WModel" with the message:  
java.lang.IllegalStateException: Can't obtain rules because of  
protected access!
[2008-12-22 12:56:19 CET]   
:  
Exception while handling action named "loadD2WModel" on action class  
"com 
.webobjects 
.webservices 
.generation 
._WSDirectAction" :java.lang.reflect.InvocationTargetException
[2008-12-22 12:56:19 CET]   
: Exception in  
performActionNamed() on the action "loadD2WModel" with the message:  
java.lang.IllegalStateException: Can't obtain rules because of  
protected access!
[2008-12-22 12:56:19 CET]   
:  
Exception while handling action named "loadD2WModel" on action class  
"com 
.webobjects 
.webservices 
.generation 
._WSDirectAction" :java.lang.reflect.InvocationTargetException



Regards,

Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6279159



___
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 arch...@mail-archive.com


Re: Adding a xml config file to the classpath

2008-12-22 Thread Henrique Gomes


On Dec 22, 2008, at 12:03 AM, Chuck Hill wrote:
What does the classes clause of your woapplication task look like?   
This?


   
   
   
   

   
   


Chuck



Well the  and  are not enclosed on a  
 :


	customInfoPListContent="${customInfoPListContent}" principalClass="$ 
{principalClass}" webXML="${webXML}" webXML_CustomContent="$ 
{webXML_CustomContent}"  
servletAdaptor="er.extensions.jspservlet.ERXServletAdaptor">
















			eclipse="true" />
			eclipse="true" />
















Changing build.xml to have the  tag didn't make a  
diference tough. And the wsresources also doesn't have a
but  on that place,  *is* working and not adding a file  
that I want excluded


My classes.include.patternset:

**/*.class
*.properties
**/*.xml

And the config.xml is on the Sources folder. A test xpto.properties  
also didn't get packaged.

Any ideas??


I'm thinking of storing this library files some where else, and seing  
if there's a way to add that place on build.xml so that the app  will  
have that dir on it's classpath. Might make it simpler to have  
different configs for development and deployment.



Thanks for all your help.

Henrique Gomes




On Dec 21, 2008, at 3:45 PM, Henrique Gomes wrote:



That doesn't seem to make any difference... the xml file is not  
included in APP.woa/Contents/Resources/Java or the APP.jar on the  
same dir.
Also, the default patternset includes **/*.properties and I've  
tried  placing a xpto.properties in Sources, but that also doesn't  
get packaged.


Placing the xml file on 'Sources' works for runs in Eclipse, it's  
copied to "build" and that's part of the classpath. But I can't get  
ant builds to include the file on a place that will be in the  
classpath of the running app.


I'm on eclipse 3.4.1, wolips nightly from yesterday, doing split  
installs.


Regards,

Henrique Gomes

On Dec 21, 2008, at 7:01 PM, Mike Schrag wrote:

 


or in your case, **/*.xml

ms

On Dec 21, 2008, at 1:33 PM, Henrique Gomes wrote:



Hello,

I am using a library that loads it's config file from the  
classpath.
I have manually placed the .xml config file on APP.woa/Contents/ 
Resources/Java and got it working.


How do I have it placed there in every build? Or have it in the  
classpath other way?
Adding **/*.xml to woproject/classes.include.patternset didn't  
help.


Regards,

Henrique Gomes


 ___
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 arch...@mail-archive.com

Re: SSDD build problem after upgrade

2008-12-22 Thread David Avendasora
Yes, that location for frameworks was eliminated in the newest version  
of WOLips. All frameworks should now be located in APPNAME/WEB-INF/ 
AppName.woa/Contents/Frameworks.


This eliminates duplication of the frameworks.

In order to upgrade to the latest release of WOLips, you need to  
migrate your projects to the new build process. Here's an email from  
Mike Schrag about it:


http://lists.apple.com/archives/Webobjects-dev/2008/Dec/msg00359.html

Dave

On Dec 21, 2008, at 12:53 PM, Randy Wigginton wrote:

I suspect there is a new flag for build.properties.  After upgrading  
to all the latest Wonder & Eclipse, a build-install does not create  
the Library path (APPNAME/WEB-INF/Library)


For completeness sake, my build.properties file has these important  
settings:

customInfoPListContent=
webXML=true
webXML_CustomContent=
servletDeployment=true
jvmOptions=-Djava.awt.headless=true -Xmx800M
jvm = java

___
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/webobjects%40avendasora.com

This email sent to webobje...@avendasora.com


 ___
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 arch...@mail-archive.com

Re: [OT] New WO Years Resolutions.

2008-12-22 Thread M. Blanc

On 21 Dec 2008, at 22:42, Miguel Arroz wrote:



On 2008/12/21, at 21:23, M. Blanc wrote:

On 20 Dec 2008, at 22:19, Chuck Hill wrote:

On Dec 20, 2008, at 1:18 PM, James Cicenia wrote:


iPhone / Cocoa Development.
Wonder on any new project and one retrofit.


Buy initial flock of goats.


Leave raising ruminants to jsf people.  Ostriches are what you want.






 May I ask why? Is the food/work ratio better?


Exactly: less feed, less land, less mathane... plus steaks

Smiles,
--mbj
___
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 arch...@mail-archive.com


Re: GWT / was: [OT] New WO Years Resolutions.

2008-12-22 Thread Oliver Scheel
There are lots of great conference videos about GWT.  There are  
links to them on the wogwt page.  Highly recommended.


ok, I will have a look into it. I was not shure if this is worth the  
time ;-)


btw: Is it painless to use GWT extensions like gwt-ext.com?

Oliver



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 arch...@mail-archive.com