Re: Re: Dynamic table with editable content

2011-07-12 Thread naneon . raymond
Hi Ted,


Thanks for your help




Message du : 12/07/2011
De : "Theodore Petrosky " 
A : webobjects-dev@lists.apple.com
Copie à : naneon.raym...@neuf.fr
Sujet : Re: Dynamic table with editable content


 

> I have created tables with an AjaxInPlaceEditor in a few of
> the columns. Warning, they are expensive so you will have to
> batch your table.


> ===> Do you have a link of your example?













WOD

theInPlaceEditor : AjaxInPlaceEditor {
value = theItem.itemName;
submitOnBlur = true;
okButton = false;
cancelLink = false;
action = saveStatusChange;
size = "15";
clickToEditText ="Status";
editClass="editInPlaceClass";
}

the action is an method that saves the editing context when you deselect the 
editor.

You really need to look over the AjaxExamples

Ted



> 
> Ted
> 
> > Date: Tue, 12 Jul 2011 15:47:58 +0200 (CEST)
> > From: naneon.raym...@neuf.fr
> > Subject: Re: Re: Dynamic table with editable content
> > To: WebObjects webobjects-dev 
> 
> > WOForm wrapping ERXTable with cells containing form
> > fields.
> > 
> > ==>Cells containing form fields : it means I can
> use
> > textFields in each cells of ERXTable? Do you have an
> example
> > please?
> > The ERXTable columns are sortable too?
> > 
> > On Jul 12, 2011, at 9:21 AM, naneon.raym...@neuf.fr
> > wrote:
> > 
> > > Hi,
> > > 
> > > It's possible in WO to have an ERXTable or over table



a headlineStatuscolumn 1 ___
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: Dynamic table with editable content

2011-07-12 Thread Theodore Petrosky

> I have created tables with an AjaxInPlaceEditor in a few of
> the columns. Warning, they are expensive so you will have to
> batch your table.


> ===> Do you have a link of your example?




a headlineStatus



column 1




WOD

theInPlaceEditor : AjaxInPlaceEditor {
value = theItem.itemName;
submitOnBlur = true;
okButton = false;
cancelLink = false;
action = saveStatusChange;
size = "15";
clickToEditText ="Status";
editClass="editInPlaceClass";
}

the action is an method that saves the editing context when you deselect the 
editor.

You really need to look over the AjaxExamples

Ted



> 
> Ted
> 
> > Date: Tue, 12 Jul 2011 15:47:58 +0200 (CEST)
> > From: naneon.raym...@neuf.fr
> > Subject: Re: Re: Dynamic table with editable content
> > To: WebObjects webobjects-dev 
> 
> > WOForm wrapping ERXTable with cells containing form
> > fields.
> > 
> > ==>Cells containing form fields : it means I can
> use
> > textFields in each cells of ERXTable? Do you have an
> example
> > please?
> > The ERXTable columns are sortable too?
> > 
> > On Jul 12, 2011, at 9:21 AM, naneon.raym...@neuf.fr
> > wrote:
> > 
> > > Hi,
> > > 
> > > It's possible in WO to have an ERXTable or over table

 ___
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: Dynamic table with editable content

2011-07-12 Thread Ramsey Gurley
If you are using D2W, I believe you can use an EditList* page configuration to 
do that. I've never actually used it though.

Ramsey

On Jul 12, 2011, at 6:21 AM, naneon.raym...@neuf.fr wrote:

> Hi,
> 
> It's possible in WO to have an ERXTable or over table component with editable 
> content?
> What are the list of component we need to do that?
> 
> Thanks
> 
> Ray
> 
> ___
> 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/rgurley%40smarthealth.com
> 
> This email sent to rgur...@smarthealth.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: Re: Dynamic table with editable content

2011-07-12 Thread naneon . raymond
Thanks a lot.


I go to try it and add some stuffs.


Ray




Message du : 12/07/2011
De : "Kieran Kelleher " 
A : naneon.raym...@neuf.fr
Copie à : webobjects-dev@lists.apple.com
Sujet : Re: Dynamic table with editable content


 
Rough example copied/contrived from an old component:


  
  





RegionTable: WOTable {
item = regionDictItem;
list = regionDictArray;
maxColumns = fieldsPerRow;
cellspacing = 0;
cellpadding = 0;
}

RegionName: WOTextField {
value = regionDictItem.regionName;
maxlength = 5;
size = 7;
}







On Jul 12, 2011, at 10:12 AM,   wrote:

> 
> Message du : 12/07/2011
> De : "Kieran Kelleher " 
> A : naneon.raym...@neuf.fr
> Copie à : webobjects-dev@lists.apple.com
> Sujet : Re: Dynamic table with editable content
> 
> 
> 
> Ray,
> 
> At the end of the day, WOComponent response simply generates HTML. And when 
> you submit a WOComponent generated form, the browser just sends a list of 
> form fields and values back to the server. Tables and cells are just response 
> presentation layout and are not relevant to form fields.
> 
> I don't have an example for you at hand, but why don't you just try it and 
> figure it out. Just look at the HTML source that is generated to get your 
> head around concepts. Even better, open FireBug in FIreFox and look at the 
> request when you submit a form. Getting HTML fundamentals clear in the brain 
> is critical to understanding WOComponents and taking away some of the unknown 
> mysteries.
> >I just want to know how it's look like. How ERXTable use WOFORM fields 
> like rows and columns.
> example : 
> 
> in html : 
>   
>    ===> How to set columns with header and rows with 
> components WOString and WOTextFields?
>   
>  
> 
> Regards, Kieran
> 
> PS. 
> Keep discussion on the list . there are much smarter guys on there, such 
> as Chuck and his Canadian army  I am omitting David Avendasora from the 
> 'smarter guys' qualifier of course.
> 
> 
> 
> ;-)
> 
> 
> 
> On Jul 12, 2011, at 9:47 AM, wrote:
> 
> > WOForm wrapping ERXTable with cells containing form fields.
> > ==>Cells containing form fields : it means I can use textFields in each 
> > cells of ERXTable? Do you have an example please?
> > The ERXTable columns are sortable too?
> > 
> > On Jul 12, 2011, at 9:21 AM, naneon.raym...@neuf.fr wrote:
> > 
> > > Hi,
> > > 
> > > It's possible in WO to have an ERXTable or over table component with 
> > > editable content?
> > > What are the list of component we need to do that?
> > > 
> > > Thanks
> > > 
> > > Ray
> > > 
> > > ___
> > > 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/kelleherk%40gmail.com
> > > 
> > > This email sent to kelleh...@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: Dynamic table with editable content

2011-07-12 Thread Kieran Kelleher
Rough example copied/contrived from an old component:


  
  





RegionTable: WOTable {
item = regionDictItem;
list = regionDictArray;
maxColumns = fieldsPerRow;
cellspacing = 0;
cellpadding = 0;
}

RegionName: WOTextField {
value = regionDictItem.regionName;
maxlength = 5;
size = 7;
}







On Jul 12, 2011, at 10:12 AM,   
wrote:

> 
> Message du : 12/07/2011
> De : "Kieran Kelleher " 
> A : naneon.raym...@neuf.fr
> Copie à : webobjects-dev@lists.apple.com
> Sujet : Re: Dynamic table with editable content
> 
> 
> 
> Ray,
> 
> At the end of the day, WOComponent response simply generates HTML. And when 
> you submit a WOComponent generated form, the browser just sends a list of 
> form fields and values back to the server. Tables and cells are just response 
> presentation layout and are not relevant to form fields.
> 
> I don't have an example for you at hand, but why don't you just try it and 
> figure it out. Just look at the HTML source that is generated to get your 
> head around concepts. Even better, open FireBug in FIreFox and look at the 
> request when you submit a form. Getting HTML fundamentals clear in the brain 
> is critical to understanding WOComponents and taking away some of the unknown 
> mysteries.
> >I just want to know how it's look like. How ERXTable use WOFORM fields 
> like rows and columns.
> example : 
> 
> in html : 
>   
>    ===> How to set columns with header and rows with 
> components WOString and WOTextFields?
>   
>  
> 
> Regards, Kieran
> 
> PS. 
> Keep discussion on the list . there are much smarter guys on there, such 
> as Chuck and his Canadian army  I am omitting David Avendasora from the 
> 'smarter guys' qualifier of course.
> 
> 
> 
> ;-)
> 
> 
> 
> On Jul 12, 2011, at 9:47 AM, wrote:
> 
> > WOForm wrapping ERXTable with cells containing form fields.
> > ==>Cells containing form fields : it means I can use textFields in each 
> > cells of ERXTable? Do you have an example please?
> > The ERXTable columns are sortable too?
> > 
> > On Jul 12, 2011, at 9:21 AM, naneon.raym...@neuf.fr wrote:
> > 
> > > Hi,
> > > 
> > > It's possible in WO to have an ERXTable or over table component with 
> > > editable content?
> > > What are the list of component we need to do that?
> > > 
> > > Thanks
> > > 
> > > Ray
> > > 
> > > ___
> > > 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/kelleherk%40gmail.com
> > > 
> > > This email sent to kelleh...@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: Re: Dynamic table with editable content

2011-07-12 Thread naneon . raymond

Message du : 12/07/2011
De : "Kieran Kelleher " 
A : naneon.raym...@neuf.fr
Copie à : webobjects-dev@lists.apple.com
Sujet : Re: Dynamic table with editable content


 
Ray,

At the end of the day, WOComponent response simply generates HTML. And when you 
submit a WOComponent generated form, the browser just sends a list of form 
fields and values back to the server. Tables and cells are just response 
presentation layout and are not relevant to form fields.

I don't have an example for you at hand, but why don't you just try it and 
figure it out. Just look at the HTML source that is generated to get your head 
around concepts. Even better, open FireBug in FIreFox and look at the request 
when you submit a form. Getting HTML fundamentals clear in the brain is 
critical to understanding WOComponents and taking away some of the unknown 
mysteries.
>I just want to know how it's look like. How ERXTable use WOFORM fields 
like rows and columns.
example : 


in html : 

 ===> How to set columns with header and rows with 
components WOString and WOTextFields?

 

Regards, Kieran

PS. 
Keep discussion on the list . there are much smarter guys on there, such as 
Chuck and his Canadian army  I am omitting David Avendasora from the 
'smarter guys' qualifier of course.



;-)



On Jul 12, 2011, at 9:47 AM,  wrote:

> WOForm wrapping ERXTable with cells containing form fields.
> ==>Cells containing form fields : it means I can use textFields in each cells 
> of ERXTable? Do you have an example please?
> The ERXTable columns are sortable too?
> 
> On Jul 12, 2011, at 9:21 AM, naneon.raym...@neuf.fr wrote:
> 
> > Hi,
> > 
> > It's possible in WO to have an ERXTable or over table component with 
> > editable content?
> > What are the list of component we need to do that?
> > 
> > Thanks
> > 
> > Ray
> > 
> > ___
> > 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/kelleherk%40gmail.com
> > 
> > This email sent to kelleh...@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: Dynamic table with editable content

2011-07-12 Thread Kieran Kelleher
Ray,

At the end of the day, WOComponent response simply generates HTML. And when you 
submit a WOComponent generated form, the browser just sends a list of form 
fields and values back to the server. Tables and cells are just response 
presentation layout and are not relevant to form fields.

I don't have an example for you at hand, but why don't you just try it and 
figure it out. Just look at the HTML source that is generated to get your head 
around concepts. Even better, open FireBug in FIreFox and look at the request 
when you submit a form. Getting HTML fundamentals clear in the brain is 
critical to understanding WOComponents and taking away some of the unknown 
mysteries.

Regards, Kieran

PS. 
Keep discussion on the list . there are much smarter guys on there, such as 
Chuck and his Canadian army  I am omitting David Avendasora from the 
'smarter guys' qualifier of course.



;-)



On Jul 12, 2011, at 9:47 AM,  wrote:

> WOForm wrapping ERXTable with cells containing form fields.
> ==>Cells containing form fields : it means I can use textFields in each cells 
> of ERXTable? Do you have an example please?
> The ERXTable columns are sortable too?
> 
> On Jul 12, 2011, at 9:21 AM, naneon.raym...@neuf.fr wrote:
> 
> > Hi,
> > 
> > It's possible in WO to have an ERXTable or over table component with 
> > editable content?
> > What are the list of component we need to do that?
> > 
> > Thanks
> > 
> > Ray
> > 
> > ___
> > 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/kelleherk%40gmail.com
> > 
> > This email sent to kelleh...@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: Re: Dynamic table with editable content

2011-07-12 Thread naneon . raymond
WOForm wrapping ERXTable with cells containing form fields.

==>Cells containing form fields : it means I can use textFields in each cells 
of ERXTable? Do you have an example please?
The ERXTable columns are sortable too?

On Jul 12, 2011, at 9:21 AM, naneon.raym...@neuf.fr wrote:

> Hi,
> 
> It's possible in WO to have an ERXTable or over table component with editable 
> content?
> What are the list of component we need to do that?
> 
> Thanks
> 
> Ray
> 
> ___
> 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/kelleherk%40gmail.com
> 
> This email sent to kelleh...@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: Dynamic table with editable content

2011-07-12 Thread Kieran Kelleher
WOForm wrapping ERXTable with cells containing form fields.

On Jul 12, 2011, at 9:21 AM, naneon.raym...@neuf.fr wrote:

> Hi,
> 
> It's possible in WO to have an ERXTable or over table component with editable 
> content?
> What are the list of component we need to do that?
> 
> Thanks
> 
> Ray
> 
> ___
> 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/kelleherk%40gmail.com
> 
> This email sent to kelleh...@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


Dynamic table with editable content

2011-07-12 Thread naneon . raymond
Hi,


It's possible in WO to have an ERXTable or over table component with editable 
content?
What are the list of component we need to do that?


Thanks


Ray

 ___
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