Re: Dynamic table with editable content
Re: Dynamic table with editable content
- Subject: Re: Dynamic table with editable content
- From: Theodore Petrosky <email@hidden>
- Date: Tue, 12 Jul 2011 10:35:17 -0700 (PDT)
> 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?
<table >
<tr>
<th>a headline</th><th>Status</th>
</tr>
<wo:loop list="$thelist" item="$theItem"
<tr>
<td>column 1</td><td><weboboject name="theInPlaceEditor"/></td>
</tr>
</wo:loop>
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: email@hidden
> > 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, email@hidden
> > 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden