Re: D2W and Ajax oh my!
Re: D2W and Ajax oh my!
- Subject: Re: D2W and Ajax oh my!
- From: David LeBer <email@hidden>
- Date: Tue, 11 Feb 2014 19:32:05 -0500
Theodore,
updateContainerID = d2wContext.idForRepetitionContainer
Should work.
Or more generically:
updateConatinerID = “_parent”; // update whatever UpdateContainer is directly above this element
D
On Feb 11, 2014, at 2:48 PM, Theodore Petrosky <email@hidden> wrote:
> I am trying to add a custom component to a ListPage. I am showing a normal list (ERMODListPage) and I want the user to be able to edit an attribute by clicking on the cell and use an AjaxInPlace to edit the text.
>
> I have everything working except the refresh when the user clicks the 'save' button. I am hoping the answer is simple. If I were not using D2W, I would wrap the table in an AjaxUpdateContainer and just fire that update after I did a saveChanges().
>
> Before I start subclassing ERMODListPage to add an UpdateContainer, is there a rule or two that will do this. Or am I working too hard.
>
> I would love to find something like:
>
> updateContainerID = d2wContext.idForParentMainContainer;
>
> Ted
>
>
>
> _______________________________________________
> 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
_______________________________________________
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