Re: Using AjaxInPlaceEditor in WORepetition
Re: Using AjaxInPlaceEditor in WORepetition
- Subject: Re: Using AjaxInPlaceEditor in WORepetition
- From: Theodore Petrosky <email@hidden>
- Date: Sat, 30 Jul 2011 10:58:22 -0700 (PDT)
It sounds like it is giving you exactly what you are asking for. a WORepetition with the same piece of data on every line.
I have a table with a repetition and the editor is bound the the item.variable of the line with no problem.
<wo:loop list = "$theGridListDG.displayedObjects" item = "$theGridItem">
<tr>
<td>a string</td>
<td> <webobject name ="ImageEditInPlace"/></td>
</tr>
</wo:loop>
ImageEditInPlace : AjaxInPlaceEditor {
value = theGridItem.image;
submitOnBlur = true;
okButton = false;
cancelLink = false;
action = saveAfterLeavingInPlaceEditor;
size = "15";
clickToEditText ="HeadLine";
editClass="editInPlaceClass";
}
Ted
> ------------------------------
>
> Message: 8
> Date: Sat, 30 Jul 2011 18:58:20 +0200 (CEST)
> From: email@hidden
> Subject: Using AjaxInPlaceEditor in WORepetition
> To: WebObjects webobjects-dev <email@hidden>
> Message-ID:
> <18747875.180751312045100987.JavaMail.www@wsfrf1217>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
>
> I have a little problem with AjaxInPlaceEditor in a
> WORepetition. The Problem is the variable I declared for
> AjaxInPlaceEditor.
> In the WORepetition I have the same variable in each line
> of the repetition and when I choose in example line 2 and
> edit it and put an information,
> the same information is repeat on all other line.
>
>
> So How can I fix it? How can I use an AjaxInPlaceEditor in
> a WORepetition with one variable and isolate it when I edit
> a line in the repetition and put an information?
>
>
> Thanks for your help.
_______________________________________________
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