• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: D2W and Ajax oh my!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >D2W and Ajax oh my! (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: accentuated caracters in entity names: bad idea
  • Next by Date: Re: unable to increment snapshot count for object
  • Previous by thread: D2W and Ajax oh my!
  • Next by thread: Re: D2W and Ajax oh my!
  • Index(es):
    • Date
    • Thread