Rough example copied/contrived from an old component:
<wo:form>
<webobject name = "RegionTable"><webobject name = "RegionName"
/></webobject>
<wo:submit action = "$submitRegions"></wo:submit>
</wo:form>
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, <[email protected]> <[email protected]>
wrote:
>
> Message du : 12/07/2011
> De : "Kieran Kelleher " <[email protected]>
> A : [email protected]
> Copie à : [email protected]
> 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 : <wo name="ERXTableWrap">
> <wo:form>
> .... ===> How to set columns with header and rows with
> components WOString and WOTextFields?
> </wo>
> </wo>
>
> 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, [email protected] 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 ([email protected])
> > > Help/Unsubscribe/Update your Subscription:
> > > http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
> > >
> > > This email sent to [email protected]
> >
> >
> >
>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]