Re: Advice please about WO

2011-06-14 Thread Pascal Robert
 ...
 A final question - if we want to list a job or project opening 
 is the correct procedure to have it moderated by the list moms 
 before posting to this list? If so how do I contact them?
 
 
 You will find that we are pretty tolerant of any posts that are not abusive 
 (of people, not the list).  We try to run a friendly community.  Many of us 
 know each other in real life.  So, please feel free to post any questions or 
 help wanted etc messages.  No one will yell.  Apple does host the list but 
 is tolerant of the help wanted kind of posts.  I will also suggest that you 
 also post them on the WO Community site for better visibility.

Posting a job offer in the WOCommunity group on LinkedIn is also a good idea.

 ___
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: AJAX Sample Applications - 2

2011-06-14 Thread Paul Dunkler
Hi Kalpana,

thanks for sharing this with us!
May these samples can be published at 
http://wiki.objectstyle.org/confluence/display/WONDER/Example+Applications ?


Am 14.06.2011 um 07:07 schrieb Kalpana Vaka:

 Hi Team,
  
 We have put together few example applications that illustrates the use of 
 different Project wonder ajax components/elements. I hope this helps starters.
  
 Thanks  Regards,
 Kalpana.
 AjaxExamples1.zip ___
 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/paul.dunkler%40xyrality.com
 
 This email sent to paul.dunk...@xyrality.com

--
Best Regards
Paul Dunkler

 ___
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


Add a WOComponent in AjaxGrid via a method

2011-06-14 Thread naneon . raymond
Hi All,


I would like to add a WOComponent to a ajaxGrid without necessarily going 
through a . plist file, but adds the component that goes well with the data it 
will reference via a method. The problem is that is WOComponent not show but 
instead it displays the class and subclass of the component. And when I put a 
reference component in my. plist file and the name of component will be given 
when adding to the data, WO gives me an exception because AjaxGrid does not 
find the component. In Indeed, this name does not match anything, I take it 
like a variable.


i.e :  in WOD 



addData : WOSubmitButton { 
 action = addDataToGrid; 
 value = Add; 
 updateContainerID = dataAjaxGridContainer; //Update the ajaxGrid 
}


in .plist file : 
..

{ 
  title = HETIC;   
  keyPath = col1; //Here is data   
 }, 
 { 
  title = % de financement; // Here is component referenced 
  keyPath = col2; //keyPath I choosed to add a component
  *component = variable // get an exception because the Grid want a component 
real name not an variable 
  }
..


in Java :


public WOActionResults addDataToGrid() {

AjaxGridPopFormInput formInput = new AjaxGridPopFormInput(ctxt);//a WOInput 
component

NSMutableArray dataDico = null;

...

posteDico0.takeValueForKey(data1, col1);
posteDico0.takeValueForKey(formInput, col2); //This is my component
posteDico = new NSMutableArray(posteDico0);
... 


Resulat : 


dataLabel  dataComponent


Hello  
projet.rec.utt.server.components.AjaxGridPopFormInput name: 
projet.rec.utt.server.components.AjaxGridPopFormInput subcomponents: null 




My Problem is How to display the component correctly?


Thanks for all











 ___
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: Advice please about WO

2011-06-14 Thread David Avendasora

On Jun 14, 2011, at 12:12 AM, P Teeson wrote:

 the list moms 

Is this Anjo's official title, or just an honorific?

Dave
 ___
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: Add a WOComponent in AjaxGrid via a method

2011-06-14 Thread Chuck Hill
Hi Raymond,

AjaxGrid does not support doing it like that.  You will need to make your own 
WOComponent to put in the cell.  There is no other option.  Inside that 
component, you can use a WOSwitchComponent and determine the actual component 
name at runtime based on the row.

WOSwitchComponent


Chuck


On Jun 14, 2011, at 5:43 AM, naneon.raym...@neuf.fr wrote:

 Hi All,
 
 I would like to add a WOComponent to a ajaxGrid without necessarily going 
 through a . plist file, but adds the component that goes well with the data 
 it 
 will reference via a method. The problem is that is WOComponent not show but 
 instead it displays the class and subclass of the component. And when I put a 
 reference component in my. plist file and the name of component will be 
 given when adding to the data, WO gives me an exception because AjaxGrid does 
 not find the component. In Indeed, this name does not match anything, I take 
 it like a variable.
 
 i.e :  in WOD 
 
 addData : WOSubmitButton {
action = addDataToGrid;
value = Add;
updateContainerID = dataAjaxGridContainer; //Update the ajaxGrid
 }
 
 in .plist file : 
 ..
 {
   title = HETIC;
   keyPath = col1;   //Here is data  
  },
  {
   title = % de financement; // Here is component referenced
   keyPath = col2; //keyPath I choosed to add a component
   *component = variable // get an exception because the Grid want a component 
 real name not an variable
   }
 ..
 
 in Java :
 public WOActionResults addDataToGrid() {
 AjaxGridPopFormInput formInput = new AjaxGridPopFormInput(ctxt);//a WOInput 
 component
 NSMutableArray dataDico = null;
 
 
 ...
 posteDico0.takeValueForKey(data1, col1);
 posteDico0.takeValueForKey(formInput, col2); //This is my component
 posteDico = new NSMutableArray(posteDico0);
 ...   
 
 Resulat : 
 
 dataLabel  dataComponent
 
 Hello  
 projet.rec.utt.server.components.AjaxGridPopFormInput name: 
 projet.rec.utt.server.components.AjaxGridPopFormInput subcomponents: null 
 
 
 My Problem is How to display the component correctly?
 
 Thanks for all
 
 
 
 
 
 
 ___
 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/chill%40global-village.net
 
 This email sent to ch...@global-village.net

-- 
Chuck Hill Senior Consultant / VP Development

Come to WOWODC this July for unparalleled WO learning opportunities and real 
peer to peer problem solving!  Network, socialize, and enjoy a great 
cosmopolitan city.  See you there!  http://www.wocommunity.org/wowodc11/



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: Re: Add a WOComponent in AjaxGrid via a method

2011-06-14 Thread naneon . raymond
Hi Chuck,


If I want to use WoSwitchComponent in my plist. I code it like that ?



in .plist file : 
..

{
  title = HETIC;  
  keyPath = col1; //Here is data  
 },
 {
  title = % de financement; // Here is component referenced
  component = WoSwitchComponentName

  }


In my java Method





public WOActionResults addDataToGrid() {
WoSwitchComponentName componentSw = new WoSwitchComponentName(ctxt);//






NSMutableArray dataDico = null;



   ...
   posteDico0.takeValueForKey(data1, col1);
   componentSw.WOComponentName = myOwnComponentName;



posteDico = new NSMutableArray(posteDico0);   ...


This code in my java addData method can work? 
Thanks



Message du : 14/06/2011
De : Chuck Hill  ch...@global-village.net
A : naneon.raym...@neuf.fr
Copie à : webobjects-dev@lists.apple.com
Sujet : Re: Add a WOComponent in AjaxGrid via a method


 Hi Raymond,


AjaxGrid does not support doing it like that.  You will need to make your own 
WOComponent to put in the cell.  There is no other option.  Inside that 
component, you can use a WOSwitchComponent and determine the actual component 
name at runtime based on the row.


WOSwitchComponent




Chuck





On Jun 14, 2011, at 5:43 AM, naneon.raym...@neuf.fr wrote:
Hi All,


I would like to add a WOComponent to a ajaxGrid without necessarily going 
through a . plist file, but adds the component that goes well with the data it 
will reference via a method. The problem is that is WOComponent not show but 
instead it displays the class and subclass of the component. And when I put a 
reference component in my. plist file and the name of component will be given 
when adding to the data, WO gives me an exception because AjaxGrid does not 
find the component. In Indeed, this name does not match anything, I take it 
like a variable.


i.e :  in WOD 



addData : WOSubmitButton {
 action = addDataToGrid;
 value = Add;
 updateContainerID = dataAjaxGridContainer; //Update the ajaxGrid
}


in .plist file : 
..

{
  title = HETIC;  
  keyPath = col1; //Here is data  
 },
 {
  title = % de financement; // Here is component referenced
  keyPath = col2; //keyPath I choosed to add a component
  *component = variable // get an exception because the Grid want a component 
real name not an variable
  }
..


in Java :


public WOActionResults addDataToGrid() {

AjaxGridPopFormInput formInput = new AjaxGridPopFormInput(ctxt);//a WOInput 
component

NSMutableArray dataDico = null;



...

posteDico0.takeValueForKey(data1, col1);
posteDico0.takeValueForKey(formInput, col2); //This is my component
posteDico = new NSMutableArray(posteDico0);
... 


Resulat : 


dataLabel  dataComponent


Hello  
projet.rec.utt.server.components.AjaxGridPopFormInput name: 
projet.rec.utt.server.components.AjaxGridPopFormInput subcomponents: null 




My Problem is How to display the component correctly?


Thanks for all











 ___
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/chill%40global-village.net

This email sent to ch...@global-village.net


 -- 
Chuck Hill Senior Consultant / VP Development

Come to WOWODC this July for unparalleled WO learning opportunities and real 
peer to peer problem solving!  Network, socialize, and enjoy a great 
cosmopolitan city.  See you there!  http://www.wocommunity.org/wowodc11/  

 ___
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: Add a WOComponent in AjaxGrid via a method

2011-06-14 Thread Chuck Hill
No, you can't use WOSwitchComponent directly in your plist.  You MUST create 
your own WOComponent and use it in the plist.  The WOSwitchComponent is then 
used your WOComponent that is in the plist.  The job of this component is to 
tell the WOSwitchComponent which component class name and bindings to use at 
runtime.

Chuck


On Jun 14, 2011, at 2:27 PM, naneon.raym...@neuf.fr wrote:

 Hi Chuck,
 
 If I want to use WoSwitchComponent in my plist. I code it like that ?
 
 in .plist file : 
 ..
 {
   title = HETIC;   
   keyPath = col1;  //Here is data  
  },
  {
   title = % de financement; // Here is component referenced
   component = WoSwitchComponentName
   }
 
 
 In my java Method
 
 public WOActionResults addDataToGrid() {
 WoSwitchComponentName componentSw = new WoSwitchComponentName(ctxt);//
 NSMutableArray dataDico = null;
 
...
posteDico0.takeValueForKey(data1, col1);
componentSw.WOComponentName = myOwnComponentName;
 posteDico = new NSMutableArray(posteDico0);
...
 
 This code in my java addData method can work? 
 Thanks
 
 
 
 Message du : 14/06/2011
 De : Chuck Hill  ch...@global-village.net
 A : naneon.raym...@neuf.fr
 Copie à : webobjects-dev@lists.apple.com
 Sujet : Re: Add a WOComponent in AjaxGrid via a method
 
 
 Hi Raymond,
 
 AjaxGrid does not support doing it like that.  You will need to make your own 
 WOComponent to put in the cell.  There is no other option.  Inside that 
 component, you can use a WOSwitchComponent and determine the actual component 
 name at runtime based on the row.
 
 WOSwitchComponent
 
 
 Chuck
 
 
 On Jun 14, 2011, at 5:43 AM, naneon.raym...@neuf.fr wrote:
 
 Hi All,
 
 I would like to add a WOComponent to a ajaxGrid without necessarily going 
 through a . plist file, but adds the component that goes well with the data 
 it 
 will reference via a method. The problem is that is WOComponent not show but 
 instead it displays the class and subclass of the component. And when I put 
 a reference component in my. plist file and the name of component will be 
 given when adding to the data, WO gives me an exception because AjaxGrid 
 does not find the component. In Indeed, this name does not match anything, I 
 take it like a variable.
 
 i.e :  in WOD 
 
 addData : WOSubmitButton {
   action = addDataToGrid;
   value = Add;
   updateContainerID = dataAjaxGridContainer; //Update the ajaxGrid
 }
 
 in .plist file : 
 ..
 {
   title = HETIC;   
   keyPath = col1;  //Here is data  
  },
  {
   title = % de financement; // Here is component referenced
   keyPath = col2; //keyPath I choosed to add a component
   *component = variable // get an exception because the Grid want a 
 component real name not an variable
   }
 ..
 
 in Java :
 public WOActionResults addDataToGrid() {
 AjaxGridPopFormInput formInput = new AjaxGridPopFormInput(ctxt);//a WOInput 
 component
 NSMutableArray dataDico = null;
 
 
 ...
 posteDico0.takeValueForKey(data1, col1);
 posteDico0.takeValueForKey(formInput, col2); //This is my component
 posteDico = new NSMutableArray(posteDico0);
 ...  
 
 Resulat : 
 
 dataLabel  dataComponent
 
 Hello  
 projet.rec.utt.server.components.AjaxGridPopFormInput name: 
 projet.rec.utt.server.components.AjaxGridPopFormInput subcomponents: null 
 
 
 My Problem is How to display the component correctly?
 
 Thanks for all
 
 
 
 
 
 
 ___
 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/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 
 -- 
 Chuck Hill Senior Consultant / VP Development
 
 Come to WOWODC this July for unparalleled WO learning opportunities and real 
 peer to peer problem solving!  Network, socialize, and enjoy a great 
 cosmopolitan city.  See you there!  http://www.wocommunity.org/wowodc11/
 
 

-- 
Chuck Hill Senior Consultant / VP Development

Come to WOWODC this July for unparalleled WO learning opportunities and real 
peer to peer problem solving!  Network, socialize, and enjoy a great 
cosmopolitan city.  See you there!  http://www.wocommunity.org/wowodc11/



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


WORepetition validation error

2011-06-14 Thread Neil MacLennan
All of a sudden all my projects in Eclipse have started displaying validation 
errors on WORepetitions. The error is 'Item' must be bound if 'list' is 
bound. Now these are projects that (a) I've been using for ages and (b) have 
both 'list' and 'item' bound.

I created a brand new [wonder] project and the error still shows. The error 
shows with both inline and WOD type binding styles.

I've not done anything with Eclipse. Not upgraded or updated recently.

I can't think what I've done obviously on a global Eclipse scale that might 
have precipitated this? Does anyone have any thoughts?

WebObjects: 5.4.3
Eclipse: 3.6.2
WOLips: 3.6.70242
Wonder: from a few months ago [is there a Wonder version number?]
JDK: 1.6

Thanks,

.neilmac
 ___
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


[ANN] WOUnit 1.1

2011-06-14 Thread Henrique Prange
The WOUnit team is pleased to announce the release of WOUnit 1.1. This release 
includes new features implemented to simplify the way we write tests.

The WOUnit framework contains a set of utilities for testing WebObjects 
applications using JUnit 4.7 or later capabilities. See the WOUnit website for 
more information:

http://hprange.github.com/wounit/

Maven users should specify the version in your project's configuration:

dependency
groupIdcom.wounit/groupId
artifactIdwounit/artifactId
version1.1/version
/dependency

Non Maven users have to download the wounit-1.1.jar:

http://github.com/downloads/hprange/wounit/wounit-1.1.jar

Release Notes - WOUnit - Version 1.1

** Features
   * @Dummy annotation to create saved objects
   * @UnderTest annotation to create the EO being tested
   
Enjoy,

Henrique ___
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: WORepetition validation error

2011-06-14 Thread Chuck Hill

On Jun 14, 2011, at 2:42 PM, Neil MacLennan wrote:

 All of a sudden all my projects in Eclipse have started displaying 
 validation errors on WORepetitions. The error is 'Item' must be bound if 
 'list' is bound. Now these are projects that (a) I've been using for ages 
 and (b) have both 'list' and 'item' bound.
 
 I created a brand new [wonder] project and the error still shows. The error 
 shows with both inline and WOD type binding styles.

You can delete these errors from the Problems view.  Try deleting then and 
restarting Eclipse.  Sometimes it just goes crazy.  :-)


 I've not done anything with Eclipse. Not upgraded or updated recently.
 
 I can't think what I've done obviously on a global Eclipse scale that might 
 have precipitated this? Does anyone have any thoughts?

I suppose it could also be something corrupted in your workspace.


 WebObjects: 5.4.3
 Eclipse: 3.6.2
 WOLips: 3.6.70242
 Wonder: from a few months ago [is there a Wonder version number?]

The only reliable thing was the svn revision number if you got the source.  I 
have not looked to see what git uses.  It gets less clear with git...


Chuck

-- 
Chuck Hill Senior Consultant / VP Development

Come to WOWODC this July for unparalleled WO learning opportunities and real 
peer to peer problem solving!  Network, socialize, and enjoy a great 
cosmopolitan city.  See you there!  http://www.wocommunity.org/wowodc11/



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: WORepetition validation error

2011-06-14 Thread Michael Sharp
WOLips binding validation seems to be a temperamental and mysterious beast.

Last week for me it was WOImage with validation telling me I must have a 
filename value when framework was also bound, which of course was already the 
case.  So that gave me errors in all my projects!

A combination of closing/opening projects, relaunching eclipse, refreshing, 
cleaning, standing on one leg and finally apathy eventually saw validation 
doing the right thing again.

It's frustrating but I'm learning to live with it.

Sharpy.

On 15/06/2011, at 7:42 AM, Neil MacLennan wrote:

 All of a sudden all my projects in Eclipse have started displaying 
 validation errors on WORepetitions. The error is 'Item' must be bound if 
 'list' is bound. Now these are projects that (a) I've been using for ages 
 and (b) have both 'list' and 'item' bound.
 
 I created a brand new [wonder] project and the error still shows. The error 
 shows with both inline and WOD type binding styles.
 
 I've not done anything with Eclipse. Not upgraded or updated recently.
 
 I can't think what I've done obviously on a global Eclipse scale that might 
 have precipitated this? Does anyone have any thoughts?
 
 WebObjects: 5.4.3
 Eclipse: 3.6.2
 WOLips: 3.6.70242
 Wonder: from a few months ago [is there a Wonder version number?]
 JDK: 1.6
 
 Thanks,
 
 .neilmac
 ___
 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/getsharp%40gmail.com
 
 This email sent to getsh...@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: WORepetition validation error

2011-06-14 Thread Neil MacLennan

On 14 Jun 2011, at 22:51, Chuck Hill wrote:

 On Jun 14, 2011, at 2:42 PM, Neil MacLennan wrote:
 
 All of a sudden all my projects in Eclipse have started displaying 
 validation errors on WORepetitions. The error is 'Item' must be bound if 
 'list' is bound. Now these are projects that (a) I've been using for ages 
 and (b) have both 'list' and 'item' bound.
 
 I created a brand new [wonder] project and the error still shows. The error 
 shows with both inline and WOD type binding styles.
 
 You can delete these errors from the Problems view.  Try deleting then and 
 restarting Eclipse.  Sometimes it just goes crazy.  :-)

Well, the restart and clean build fixed it. I guess it must have just gone 
'crazy'. Thanks for the input.

 
 I've not done anything with Eclipse. Not upgraded or updated recently.
 
 I can't think what I've done obviously on a global Eclipse scale that might 
 have precipitated this? Does anyone have any thoughts?
 
 I suppose it could also be something corrupted in your workspace.
 
 
 WebObjects: 5.4.3
 Eclipse: 3.6.2
 WOLips: 3.6.70242
 Wonder: from a few months ago [is there a Wonder version number?]
 
 The only reliable thing was the svn revision number if you got the source.  I 
 have not looked to see what git uses.  It gets less clear with git...
 
 Chuck

 ___
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