Re: Practical Webobject example's

2015-04-23 Thread Dev WO
http://www.apress.com/downloadable/download/sample/sample_id/1020/ 
http://www.apress.com/downloadable/download/sample/sample_id/1020/

Xavier

 On 23 avr. 2015, at 18:00, HOUNKPONOU Ronald ronald.hounkpo...@gmail.com 
 wrote:
 
 Hi everyone.
 I bought the practical webobject on amazon but i not able to find the 
 examples they talk about inside the book.
 Can someone help please?
 
 Ronald
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com
 
 This email sent to webobje...@anazys.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Practical Webobject example's

2015-04-23 Thread HOUNKPONOU Ronald
Thanks Xavier.

2015-04-23 17:02 GMT+01:00 Dev WO webobje...@anazys.com:

 http://www.apress.com/downloadable/download/sample/sample_id/1020/

 Xavier

 On 23 avr. 2015, at 18:00, HOUNKPONOU Ronald ronald.hounkpo...@gmail.com
 wrote:

 Hi everyone.
 I bought the practical webobject on amazon but i not able to find the
 examples they talk about inside the book.
 Can someone help please?

 Ronald
 ___
 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:

 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com

 This email sent to webobje...@anazys.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

ERXExistsQualifier

2015-04-23 Thread Thomas LATTER
Hi,

The ERXExistsQualifier currently doesn't seem to work when multiple tables
are referenced in the 'exists' condition. I think a few people are already
aware of this but could anyone tell be if they know a way to work around
this ? Because the only alternatives I see are either redesigning tables in
my database or trying to correct the ERXExistsQualifier.class myself.
Thanks in advance for any advice!


Here's the SQL output of two examples explaining why one works and not the
other:
1) Example 1 - where the exists condition only refers to one table
(works because OBS table is correctly aliased exists0)
 SELECT t0.*
FROM PTF t0
WHERE ( EXISTS ( SELECT exists0.ID
 FROM OBS exists0
 WHERE exists0.OBS_DATE BETWEEN date1 AND date2
 AND exists0.PTF_ID = t0.ID
 )
)
2) Example 2 - where the exists condition refers to multiple tables
(doesn't work because OBS table is aliased t0 instead of exists0, ...and
the PTF_LOC table shouldn't be aliased T1 either)
SELECT t0.*
FROM PTF t0
WHERE ( EXISTS ( SELECT exists0.ID
 FROM OBS t0, PTF_LOC T1
 WHERE T1.LAT BETWEEN -40 AND 91
 AND exists0.PTF_LOC_ID = T1.ID
 AND exists0.PTF_ID = t0.ID
 )
)
Next exception:SQL State:42000 -- error code: 904 -- msg: ORA-00904:
EXISTS0.PTF_ID : identificateur non valide


...And here's the 2 equivalent queries but with the IN qualifier(same
problem):
1bis) SELECT t0.*
FROM PTF t0, PROGRAM T1, MASTER_PROG T2, PTF_STATUS T3
WHERE (t0.ID IN ( SELECT exists0.PTF_ID
  FROM OBS exists0
  WHERE exists0.OBS_DATE BETWEEN ? AND ? )
 )

2bis) SELECT t0.*
FROM PTF t0
WHERE (t0.ID IN ( SELECT exists0.PTF_ID
  FROM OBS t0, PTF_LOC T1
  WHERE T1.LAT BETWEEN ? AND ?
  AND exists0.PTF_LOC_ID = T1.ID
)
)
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

WO Components

2015-04-23 Thread HOUNKPONOU Ronald
Hi,

I have an issue with wocomponents.
How can i call from my app a WOComponent that is located in a framework?
I try by adding the framework as a dependencie and call the concerned
WOComponent but i got a blank page instead of the components.

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

This email sent to arch...@mail-archive.com

Re: Practical Webobject example's

2015-04-23 Thread Chuck Hill
What are the errors on the PracticalUtilities framework project?



On 2015-04-23, 10:21 AM, HOUNKPONOU Ronald wrote:

I have done it but without success.

The problem seems to be relative to missing JARs dependencies.
But those JARs have too be build from the sources !!!

2015-04-23 18:07 GMT+01:00 Chuck Hill 
ch...@gevityinc.commailto:ch...@gevityinc.com:
It looks like Eclipse is confused on state.  Restart Eclipse, refresh all 
projects, clean all projects, build all projects.

On 2015-04-23, 9:56 AM, HOUNKPONOU Ronald wrote:

I've imported the example with errors except 2 of them.
I attached here an image that show up errors.
How can i solve that issue?

Thanks.

2015-04-23 17:19 GMT+01:00 HOUNKPONOU Ronald 
ronald.hounkpo...@gmail.commailto:ronald.hounkpo...@gmail.com:
Thanks Xavier.

2015-04-23 17:02 GMT+01:00 Dev WO 
webobje...@anazys.commailto:webobje...@anazys.com:
http://www.apress.com/downloadable/download/sample/sample_id/1020/

Xavier

On 23 avr. 2015, at 18:00, HOUNKPONOU Ronald 
ronald.hounkpo...@gmail.commailto:ronald.hounkpo...@gmail.com wrote:

Hi everyone.
I bought the practical webobject on amazon but i not able to find the examples 
they talk about inside the book.
Can someone help please?

Ronald
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com

This email sent to webobje...@anazys.commailto:webobje...@anazys.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Practical Webobject example's

2015-04-23 Thread HOUNKPONOU Ronald
theses are screenshoots of missing dependencies.

2015-04-23 18:37 GMT+01:00 Chuck Hill ch...@gevityinc.com:

  What are the errors on the PracticalUtilities framework project?



   On 2015-04-23, 10:21 AM, HOUNKPONOU Ronald wrote:

I have done it but without success.

  The problem seems to be relative to missing JARs dependencies.
 But those JARs have too be build from the sources !!!

 2015-04-23 18:07 GMT+01:00 Chuck Hill ch...@gevityinc.com:

  It looks like Eclipse is confused on state.  Restart Eclipse, refresh
 all projects, clean all projects, build all projects.

   On 2015-04-23, 9:56 AM, HOUNKPONOU Ronald wrote:

   I've imported the example with errors except 2 of them.
 I attached here an image that show up errors.
 How can i solve that issue?

  Thanks.

 2015-04-23 17:19 GMT+01:00 HOUNKPONOU Ronald ronald.hounkpo...@gmail.com
 :

 Thanks Xavier.

 2015-04-23 17:02 GMT+01:00 Dev WO webobje...@anazys.com:

 http://www.apress.com/downloadable/download/sample/sample_id/1020/

  Xavier

   On 23 avr. 2015, at 18:00, HOUNKPONOU Ronald 
 ronald.hounkpo...@gmail.com wrote:

Hi everyone.
 I bought the practical webobject on amazon but i not able to find the
 examples they talk about inside the book.
 Can someone help please?

  Ronald
   ___
 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:

 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com

 This email sent to webobje...@anazys.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Practical Webobject example's

2015-04-23 Thread HOUNKPONOU Ronald
Hi everyone.
I bought the practical webobject on amazon but i not able to find the
examples they talk about inside the book.
Can someone help please?

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

This email sent to arch...@mail-archive.com

Re: Practical Webobject example's

2015-04-23 Thread Chuck Hill
It looks like Eclipse is confused on state.  Restart Eclipse, refresh all 
projects, clean all projects, build all projects.

On 2015-04-23, 9:56 AM, HOUNKPONOU Ronald wrote:

I've imported the example with errors except 2 of them.
I attached here an image that show up errors.
How can i solve that issue?

Thanks.

2015-04-23 17:19 GMT+01:00 HOUNKPONOU Ronald 
ronald.hounkpo...@gmail.commailto:ronald.hounkpo...@gmail.com:
Thanks Xavier.

2015-04-23 17:02 GMT+01:00 Dev WO 
webobje...@anazys.commailto:webobje...@anazys.com:
http://www.apress.com/downloadable/download/sample/sample_id/1020/

Xavier

On 23 avr. 2015, at 18:00, HOUNKPONOU Ronald 
ronald.hounkpo...@gmail.commailto:ronald.hounkpo...@gmail.com wrote:

Hi everyone.
I bought the practical webobject on amazon but i not able to find the examples 
they talk about inside the book.
Can someone help please?

Ronald
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com

This email sent to webobje...@anazys.commailto:webobje...@anazys.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Practical Webobject example's

2015-04-23 Thread HOUNKPONOU Ronald
I have done it but without success.

The problem seems to be relative to missing JARs dependencies.
But those JARs have too be build from the sources !!!

2015-04-23 18:07 GMT+01:00 Chuck Hill ch...@gevityinc.com:

  It looks like Eclipse is confused on state.  Restart Eclipse, refresh
 all projects, clean all projects, build all projects.

   On 2015-04-23, 9:56 AM, HOUNKPONOU Ronald wrote:

   I've imported the example with errors except 2 of them.
 I attached here an image that show up errors.
 How can i solve that issue?

  Thanks.

 2015-04-23 17:19 GMT+01:00 HOUNKPONOU Ronald ronald.hounkpo...@gmail.com
 :

 Thanks Xavier.

 2015-04-23 17:02 GMT+01:00 Dev WO webobje...@anazys.com:

 http://www.apress.com/downloadable/download/sample/sample_id/1020/

  Xavier

   On 23 avr. 2015, at 18:00, HOUNKPONOU Ronald 
 ronald.hounkpo...@gmail.com wrote:

Hi everyone.
 I bought the practical webobject on amazon but i not able to find the
 examples they talk about inside the book.
 Can someone help please?

  Ronald
   ___
 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:

 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com

 This email sent to webobje...@anazys.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WO Components

2015-04-23 Thread David Holt
Looks like you are doing it right. What WOComponent are you trying to use?

Sent from my iPad

 On Apr 23, 2015, at 11:44 AM, HOUNKPONOU Ronald ronald.hounkpo...@gmail.com 
 wrote:
 
 Hi,
 
 I have an issue with wocomponents.
 How can i call from my app a WOComponent that is located in a framework?
 I try by adding the framework as a dependencie and call the concerned 
 WOComponent but i got a blank page instead of the components.
 
 Thanks
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
 
 This email sent to programming...@mac.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WO Components

2015-04-23 Thread HOUNKPONOU Ronald
It is a custom Page that extends WOComponent class.

in my app WOO :
webobject name = AdresseAjouter Adresse/webobject

in my app WOD:
Adresse : WOHyperlink {
pageName=AdresseWO;
}

AdresseWO is the name of my page that is located in my framework.

2015-04-23 19:49 GMT+01:00 Chuck Hill ch...@gevityinc.com:

  How are you calling the WOComponent?  You want to use the full package
 name otherwise you can get the wrong class.

  Chuck

   On 2015-04-23, 11:44 AM, HOUNKPONOU Ronald wrote:

   Hi,

 I have an issue with wocomponents.
 How can i call from my app a WOComponent that is located in a framework?
  I try by adding the framework as a dependencie and call the concerned
 WOComponent but i got a blank page instead of the components.

  Thanks


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

This email sent to arch...@mail-archive.com

Re: WO on a Windows machine

2015-04-23 Thread Markus Ruggiero
I currently teach programming subjects by using Wonder. Of 20 students 5 or 6 
use Macs (as I do), 2 installed on Linux, the rest uses assorted versions of 
Windows (7 and 8). Works like a champ. We use Eclipse 4.4 with the WOLips 
plugin from http://buero-sde.de/downloads/wolips4_4_0/ 
http://buero-sde.de/downloads/wolips4_4_0/ (use this for your install site)

You can download detailed instructions for installation on Mac and Windows from 
http://learningthewonders.com (that's the first 3 chapters of my book)

Have fun
---markus---


 On 22.04.2015, at 17:51, Lize Anthonin (@JCOMMOPS) al...@jcommops.org wrote:
 
 You're welcome.
 
 I occasionally use Windows 7 (dual boot) and Ubuntu 14.10, I'll try Ubuntu 
 15.04 in a fews days (it will be released tomorrow).
 For Eclipse, I use Luna (version 4.4.1) with WOLips 4.4.0 (I built it myself, 
 following this https://github.com/wocommunity/wolips). 
 https://github.com/wocommunity/wolips).
 
 Actually I have followed several install instructions, don't remember all of 
 them.
 But WOCommunity was a big part of it 
 (https://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation+on+Windows).
  
 https://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation+on+Windows).
  Do not hesitate to use the search function (some contents are difficult to 
 find without it, just by clicking).
 Also I remember using the install instruction inside WOnder sources.
 I do not have so much time right now to detail it, I will write another email 
 in a few hours if you want further details.
 
 On Wed, 2015-04-22 at 11:27 -0400, Calven Eggert wrote:
 
 Good to know thanks!  
 
 What operating system on Windows/Linux are you using and which version of 
 Eclipse did you install?
 
 Also, which install instructions did you follow? 
 
 I found this one: (Preparation for building WOLips on Windows operating 
 systems (NT 5.0 and higher))
 https://wiki.wocommunity.org/display/WOL/Building+WOLips 
 https://wiki.wocommunity.org/display/WOL/Building+WOLips
 
 
 
  On Apr 22, 2015, at 11:17 AM, Lize Anthonin (@JCOMMOPS) 
  al...@jcommops.org mailto:al...@jcommops.org wrote:
  
  +1 for spaces !
  
  I've been using it on Windows for a few weeks, it worked quite well. 
  I have switched to linux because,well, I prefer =D... But one of my 
  colleagues still works on Windows with it, it works well.
  
  
  On Wed, 2015-04-22 at 13:43 +, Chuck Hill wrote:
  Avoid spaces in the path to the project or workspace.  :-)
  Not sure other than that.
  
  
  
  
  
  
  On 2015-04-22, 6:41 AM, Calven Eggert wrote:
  
  
  Hi, All
  
  
  A new guy has come on the team here at work and will be helping on our WO 
  projects. woohoo!  How are things these days on a Windows machine with 
  WOLips and Project Wonder?  Does he have to get a Mac or does everything 
  run just as smooth?  
  
  
  Calven
  
  
  
  
  
  
  
  
  
  Cliquez ici si ce message est indésirable (pourriel).
  
  -- 
  Anthonin LIZÉ
  I.T. Engineer
  
  JCOMMOPS (IOC-UNESCO / WMO)
  office: 209.S1.24a / Blaise Pascal hall
  e-mail: al...@jcommops.org mailto:al...@jcommops.org
  tel.: +33 (0)2.29.00.85.89
  web: www.jcommops.org http://www.jcommops.org/
  jcommops-sm.png
 
 
 Calven
 
 
 
 
 
Cliquez sur l'url suivante 
 https://www.mailcontrol.com/sr/KdkOn0A7p!XGX2PQPOmvUs3i7gRn49Hgd19Lqri3Fd14NtB26CjwS+lonLeAq9lKySPl1rib61bLq66BGWNXYg==
  
 https://www.mailcontrol.com/sr/KdkOn0A7p!XGX2PQPOmvUs3i7gRn49Hgd19Lqri3Fd14NtB26CjwS+lonLeAq9lKySPl1rib61bLq66BGWNXYg==
   
 si ce message est indésirable (pourriel).
 
 -- 
 Anthonin LIZÉ
 I.T. Engineer
 
 JCOMMOPS (IOC-UNESCO / WMO)
 office: 209.S1.24a / Blaise Pascal hall
 e-mail: al...@jcommops.org mailto:al...@jcommops.org
 tel.: +33 (0)2.29.00.85.89
 web: www.jcommops.org http://www.jcommops.org/
 jcommops-sm.png
 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/mailinglists%40kataputt.com
 
 This email sent to mailingli...@kataputt.com



Markus Ruggiero
mailingli...@kataputt.com
Check out the new book about Project Wonder and WebObjects on 
http://learningthewonders.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WO Components

2015-04-23 Thread Chuck Hill
How are you calling the WOComponent?  You want to use the full package name 
otherwise you can get the wrong class.

Chuck

On 2015-04-23, 11:44 AM, HOUNKPONOU Ronald wrote:

Hi,

I have an issue with wocomponents.
How can i call from my app a WOComponent that is located in a framework?
I try by adding the framework as a dependencie and call the concerned 
WOComponent but i got a blank page instead of the components.

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

This email sent to arch...@mail-archive.com

Re: ERXExistsQualifier

2015-04-23 Thread Fabian Peters
Hi Thomas,

AFAIK, it should work for multiple tables, except if any of them use compound 
primary keys. You may want to try the ExistsInRelationshipQualifier from the 
Houdah frameworks, which does handle flattened many-to-many relations. 
https://code.google.com/p/houdah-webobjects-frameworks/ To use the qualifier, 
you'll need to include HoudahEOControl and HoudahEOAccess. I have disabled the 
custom Houdah DatabaseDelegate in com.houdah.eoaccess.PrincipalClass, as it 
caused strange behaviour during PK generation.

Fabian

 Am 23.04.2015 um 17:26 schrieb Thomas LATTER latter...@gmail.com:
 
 Hi,
 
 The ERXExistsQualifier currently doesn't seem to work when multiple tables 
 are referenced in the 'exists' condition. I think a few people are already 
 aware of this but could anyone tell be if they know a way to work around this 
 ? Because the only alternatives I see are either redesigning tables in my 
 database or trying to correct the ERXExistsQualifier.class myself. Thanks in 
 advance for any advice!
 
 
 Here's the SQL output of two examples explaining why one works and not the 
 other:
   
 1)Example 1 - where the exists condition only refers to one table
   (works because OBS table is correctly aliased exists0)
   
   SELECT t0.*
   FROM PTF t0
   WHERE ( EXISTS ( SELECT exists0.ID 
FROM OBS exists0 
WHERE exists0.OBS_DATE BETWEEN date1 
 AND date2
AND exists0.PTF_ID = t0.ID 
)  
   ) 
   
 2)Example 2 - where the exists condition refers to multiple tables
   (doesn't work because OBS table is aliased t0 instead of exists0, 
 ...and the PTF_LOC table shouldn't be aliased T1 either)
   SELECT t0.* 
   FROM PTF t0
   WHERE ( EXISTS ( SELECT exists0.ID 
FROM OBS t0, PTF_LOC T1 
WHERE T1.LAT BETWEEN -40 AND 91 
AND exists0.PTF_LOC_ID = T1.ID 
AND exists0.PTF_ID = t0.ID 
) 
   ) 
 Next exception:SQL State:42000 -- error code: 904 -- msg: ORA-00904: 
 EXISTS0.PTF_ID : identificateur non valide
   
 
 
   
 ...And here's the 2 equivalent queries but with the IN qualifier(same 
 problem):
   
 1bis) SELECT t0.*
   FROM PTF t0, PROGRAM T1, MASTER_PROG T2, PTF_STATUS T3 
   WHERE (t0.ID IN ( SELECT exists0.PTF_ID 
 FROM OBS exists0 
 WHERE exists0.OBS_DATE 
 BETWEEN ? AND ? )  
) 

 2bis) SELECT t0.*
   FROM PTF t0
   WHERE (t0.ID IN ( SELECT exists0.PTF_ID 
 FROM OBS t0, PTF_LOC T1 
 WHERE T1.LAT BETWEEN ? AND ? 
 AND exists0.PTF_LOC_ID = 
 T1.ID 
   )  
   ) 

 ___
 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:
 https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
 
 This email sent to lists.fab...@e-lumo.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WO Components

2015-04-23 Thread Chuck Hill
That should be OK, it is unlikely that something else will be named AdresseWO.  
Did you add the .wo folder under the Components folder in the framework?  Is 
the framework project getting built?

Chuck


On 2015-04-23, 11:58 AM, HOUNKPONOU Ronald wrote:

It is a custom Page that extends WOComponent class.

in my app WOO :
webobject name = AdresseAjouter Adresse/webobject

in my app WOD:
Adresse : WOHyperlink {
pageName=AdresseWO;
}

AdresseWO is the name of my page that is located in my framework.

2015-04-23 19:49 GMT+01:00 Chuck Hill 
ch...@gevityinc.commailto:ch...@gevityinc.com:
How are you calling the WOComponent?  You want to use the full package name 
otherwise you can get the wrong class.

Chuck

On 2015-04-23, 11:44 AM, HOUNKPONOU Ronald wrote:

Hi,

I have an issue with wocomponents.
How can i call from my app a WOComponent that is located in a framework?
I try by adding the framework as a dependencie and call the concerned 
WOComponent but i got a blank page instead of the components.

Thanks

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

This email sent to arch...@mail-archive.com

Abwesenheitsnachricht / out of office notice

2015-04-23 Thread Susanne.schneider
Vielen Dank für Ihre Nachricht. / Thank you for your e-mail. 
Ich bin wieder im Büro am: / I'll be back in the office at:
28.4.2015 
In dringenden Fällen wenden Sie sich bitte an: / In urgent cases please 
contact: 
service.secutr...@interactive-systems.de

Freundliche Grüße / Best regards
Susanne Schneider

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

This email sent to arch...@mail-archive.com

Re: question on ERMailDeliveryHTML

2015-04-23 Thread Timothy Worman
Hi Chuck!

The component that is being emailed isn’t being sent as the result of a user 
action. It is being sent as part of a quartz job. For a bunch of fetched EO’s, 
their global ID’s are passed to a method that uses ERMailUtils.instantiatePage 
to create an instance of the component for each EO. This all happens outside of 
userland.

One thing I did was add Session.terminate in the finally block after

try {_mailDelivery.sendEmail()}

 is called. Not sure if that is necessary.

Tim Worman
UCLA GSEIS


 On Apr 23, 2015, at 3:07 PM, Chuck Hill ch...@gevityinc.com wrote:
 
 Hi Tim,
 
 It is probably because your email is using component actions instead of 
 direct actions.  Component actions require a session and are definitely not 
 what you want in an email.  For WOHyperlink, as an example, you need to bind 
 directActionName instead of action.
 
 Chuck
 
 
 On 2015-04-23, 12:25 PM, Timothy Worman wrote:
 
 In my app I am tracking session creation - as a way to sniff out some issues 
 I’ve had with some going stray. Anyhow, I am sending NSArrayEOGlobalID to a 
 background task that sends emails using ERMailDeliveryHTML. These are 
 component based emails.
 
 Low and behold, each and every one creates a new session. Certainly I 
 understand why this could/would happen depending on the contents of the 
 component/page.
 
 I am most curiouser about what approaches decent WO folk might use to avoid 
 this. This is how I’m abusing things:
 
  for(Object aPersonGlobalIdObject : approverIds.toArray()) {
   EOGlobalID aGlobalID = (EOGlobalID)aPersonGlobalIdObject;
   MyComponent _component = (MyComponent) 
 ERMailUtils.instantiatePage(MyComponent, null);
   _component.setGlobalId(aGlobalID);
   try {
 _component.sendThisComponentToPerson();
   }
 other stuff….
 }
 
 I had thought ERMailUtils.instantiatePage was made for doing this without 
 creating a session? But I must have fooled myself.
 
 Tim Worman
 UCLA GSEIS
 
 
 


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

This email sent to arch...@mail-archive.com

Re: Practical Webobject example's

2015-04-23 Thread Chuck Hill
Hi Ronald,

Please make sure that you are following the directions in the Appendix Setting 
Up The Code.  For the  missing jars, you need to follow the instructions on 
downloading them in the Chapter 11 section of that Appendix:
[cid:342B2139-203F-4269-BCB9-32F25F2AA220]


The other problem appears to be that log4j is not installed in 
NEXTLOCALROOT/Library/WebObjects/Extensions, or the version there does not 
match the one in the Eclipse project.  That book was published a few years ago 
and Eclipse, WOLips, and other software has changed.  You will need to make 
some adjustments because of this.


[cid:88319B32-0D1C-4995-ADF6-B815A766D695]



Chuck


On 2015-04-23, 10:49 AM, HOUNKPONOU Ronald wrote:

theses are screenshoots of missing dependencies.

2015-04-23 18:37 GMT+01:00 Chuck Hill 
ch...@gevityinc.commailto:ch...@gevityinc.com:
What are the errors on the PracticalUtilities framework project?



On 2015-04-23, 10:21 AM, HOUNKPONOU Ronald wrote:

I have done it but without success.

The problem seems to be relative to missing JARs dependencies.
But those JARs have too be build from the sources !!!

2015-04-23 18:07 GMT+01:00 Chuck Hill 
ch...@gevityinc.commailto:ch...@gevityinc.com:
It looks like Eclipse is confused on state.  Restart Eclipse, refresh all 
projects, clean all projects, build all projects.

On 2015-04-23, 9:56 AM, HOUNKPONOU Ronald wrote:

I've imported the example with errors except 2 of them.
I attached here an image that show up errors.
How can i solve that issue?

Thanks.

2015-04-23 17:19 GMT+01:00 HOUNKPONOU Ronald 
ronald.hounkpo...@gmail.commailto:ronald.hounkpo...@gmail.com:
Thanks Xavier.

2015-04-23 17:02 GMT+01:00 Dev WO 
webobje...@anazys.commailto:webobje...@anazys.com:
http://www.apress.com/downloadable/download/sample/sample_id/1020/

Xavier

On 23 avr. 2015, at 18:00, HOUNKPONOU Ronald 
ronald.hounkpo...@gmail.commailto:ronald.hounkpo...@gmail.com wrote:

Hi everyone.
I bought the practical webobject on amazon but i not able to find the examples 
they talk about inside the book.
Can someone help please?

Ronald
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  
(Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com

This email sent to webobje...@anazys.commailto:webobje...@anazys.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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: question on ERMailDeliveryHTML

2015-04-23 Thread Chuck Hill
Hi Tim,

It is probably because your email is using component actions instead of direct 
actions.  Component actions require a session and are definitely not what you 
want in an email.  For WOHyperlink, as an example, you need to bind 
directActionName instead of action.

Chuck


On 2015-04-23, 12:25 PM, Timothy Worman wrote:

In my app I am tracking session creation - as a way to sniff out some issues 
I've had with some going stray. Anyhow, I am sending NSArrayEOGlobalID to a 
background task that sends emails using ERMailDeliveryHTML. These are component 
based emails.

Low and behold, each and every one creates a new session. Certainly I 
understand why this could/would happen depending on the contents of the 
component/page.

I am most curiouser about what approaches decent WO folk might use to avoid 
this. This is how I'm abusing things:

 for(Object aPersonGlobalIdObject : approverIds.toArray()) {
  EOGlobalID aGlobalID = (EOGlobalID)aPersonGlobalIdObject;
  MyComponent _component = (MyComponent) 
ERMailUtils.instantiatePage(MyComponent, null);
  _component.setGlobalId(aGlobalID);
  try {
_component.sendThisComponentToPerson();
  }
other stuff
}

I had thought ERMailUtils.instantiatePage was made for doing this without 
creating a session? But I must have fooled myself.

Tim Worman
UCLA GSEIS



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

This email sent to arch...@mail-archive.com

Re: question on ERMailDeliveryHTML

2015-04-23 Thread Chuck Hill
I think you are missing my point.  It is not ERMailUtils.instantiatePage that 
is creating a session, it is the content of your component.  The component you 
are e-mailing is using component actions, or referencing session.something, 
that is why it is creating a session (I think, this is what the cause usually 
is).  You can log out a stack trace (new RuntimeException(Session Created 
HERE).printStackTrace() ) in the session constructor to see why and where they 
are being created.  If you examine the component you should be able to see what 
needs to be changed.  If you are mailing out component actions, the recipients 
are not going to be able to use them.

Chuck


On 2015-04-23, 3:47 PM, Timothy Worman wrote:

Hi Chuck!

The component that is being emailed isn't being sent as the result of a user 
action. It is being sent as part of a quartz job. For a bunch of fetched EO's, 
their global ID's are passed to a method that uses ERMailUtils.instantiatePage 
to create an instance of the component for each EO. This all happens outside of 
userland.

One thing I did was add Session.terminate in the finally block after

try {_mailDelivery.sendEmail()}

is called. Not sure if that is necessary.

Tim Worman
UCLA GSEIS


On Apr 23, 2015, at 3:07 PM, Chuck Hill 
ch...@gevityinc.commailto:ch...@gevityinc.com wrote:
Hi Tim,
It is probably because your email is using component actions instead of direct 
actions.  Component actions require a session and are definitely not what you 
want in an email.  For WOHyperlink, as an example, you need to bind 
directActionName instead of action.
Chuck
On 2015-04-23, 12:25 PM, Timothy Worman wrote:
In my app I am tracking session creation - as a way to sniff out some issues 
I've had with some going stray. Anyhow, I am sending NSArrayEOGlobalID to a 
background task that sends emails using ERMailDeliveryHTML. These are component 
based emails.
Low and behold, each and every one creates a new session. Certainly I 
understand why this could/would happen depending on the contents of the 
component/page.
I am most curiouser about what approaches decent WO folk might use to avoid 
this. This is how I'm abusing things:
  for(Object aPersonGlobalIdObject : approverIds.toArray()) {
   EOGlobalID aGlobalID = (EOGlobalID)aPersonGlobalIdObject;
   MyComponent _component = (MyComponent) 
ERMailUtils.instantiatePage(MyComponent, null);
   _component.setGlobalId(aGlobalID);
   try {
 _component.sendThisComponentToPerson();
   }
other stuff
}
I had thought ERMailUtils.instantiatePage was made for doing this without 
creating a session? But I must have fooled myself.
Tim Worman
UCLA GSEIS


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

This email sent to arch...@mail-archive.com

Re: ERXExistsQualifier

2015-04-23 Thread Paul Hoadley
I haven't got anything significant to say about Thomas's original post, but 
just to add a couple of data points:

On 24 Apr 2015, at 5:36 am, Fabian Peters lists.fab...@e-lumo.com wrote:

 AFAIK, it should work for multiple tables, except if any of them use compound 
 primary keys.

This seems to be the received wisdom, but it's just not true in the general 
case.  I have used ERXExistsQualifier on an entity with a compound PK just 
fine.  What you _can't_ do (for obvious reasons) is force it to generate SQL 
with an IN clause.  Whether there are edge cases where you can't combine 
ERXExistsQualifier, compound PKs, and SQL with an EXISTS clause, I don't know.

 You may want to try the ExistsInRelationshipQualifier from the Houdah 
 frameworks, which does handle flattened many-to-many relations.

I certainly can confirm that flattened relationships break ERXExistsQualifier 
every time.


-- 
Paul Hoadley
http://logicsquad.net/


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

This email sent to arch...@mail-archive.com

Re: WO Components

2015-04-23 Thread Paul Hoadley
On 24 Apr 2015, at 4:19 am, Chuck Hill ch...@gevityinc.com wrote:

 How are you calling the WOComponent?  You want to use the full package name 
 otherwise you can get the wrong class.

I never knew you could do that.  I had always assumed that the (at times quite 
awkward) ERXFOO-pseudonamespacing was precisely because you _couldn't_ do that. 
 This factoid may have revolutionised my life... or at least my component 
naming.


-- 
Paul Hoadley
http://logicsquad.net/


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

This email sent to arch...@mail-archive.com

Re: Expired GPG-Key for Debian or Ubuntu deployment installation

2015-04-23 Thread Dennis Bliefernicht
Hi everyone,

 On 13 Feb 2015, at 17:27, CHRISTOPH WICK | i4innovation GmbH, Bonn 
 c...@i4innovation.de wrote:
 
 there is this wonderful description on Installing a deployment environment 
 on Debian or Ubuntu on 
 https://wiki.wocommunity.org/display/documentation/Installing+a+deployment+environment+on+Debian+or+Ubuntu
 
 First, it tells you to import the GPG-Key with
 
 $ wget -qO- http://packages.wocommunity.org/ubuntu/signature.gpg | sudo 
 apt-key add -
 
 Unfortunately the key you get has expired on January, 13. 2015.
 
 Can someone with appropriate access rights (Bastian?) create a new GPG key?


Pinging this one once more, looks like the key is still expired. Of course one 
can work around that issue but it tends to resort to unclean solutions, 
especially when managing packets automatically; would be great if someone were 
in the capacity to refresh this.

Thanks in advance  Greetings
Dennis

--
XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg
Dennis Bliefernicht • Backend Development
Mail: dennis.blieferni...@xyrality.com mailto:dennis.blieferni...@xyrality.com
Tel: +49 (0) 40 35 73 001 - 62
Fax: +49 (0) 40 35 73 001 - 99
Web: http://www.xyrality.com/ http://www.xyrality.com/
Registergericht: Hamburg HRB 115332
Geschäftsführer: Sven Ossenbrüggen


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

This email sent to arch...@mail-archive.com

Re: WO Components

2015-04-23 Thread Chuck Hill
That name spacing is likely a hold-over from Objective-C days.  In Java, if you 
don't specify the package, it just guesses.  Most of the time that is OK, but 
there can be clashes.

Chuck


On 2015-04-23, 4:54 PM, Paul Hoadley wrote:

On 24 Apr 2015, at 4:19 am, Chuck Hill 
ch...@gevityinc.commailto:ch...@gevityinc.com wrote:

How are you calling the WOComponent?  You want to use the full package name 
otherwise you can get the wrong class.

I never knew you could do that.  I had always assumed that the (at times quite 
awkward) ERXFOO-pseudonamespacing was precisely because you _couldn't_ do that. 
 This factoid may have revolutionised my life... or at least my component 
naming.


--
Paul Hoadley
http://logicsquad.net/


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

This email sent to arch...@mail-archive.com