Re: Recommendations for Ajax ID's

From: Ricardo J. Parada (rparad..ac.com)
Date: Thu Apr 23 2009 - 14:48:34 EDT

  • Next message: Mike Schrag: "Re: Recommendations for Ajax ID's"

    On Apr 23, 2009, at 2:35 PM, Mike Schrag wrote:

    >>>>> The 3 pop-ups I tied together with Ajax are in a single
    >>>>> component that can be on a page multiple times, so I need to
    >>>>> come up with unique ID's for the pop-ups and update containers.
    >>>>> What do people use? I was thinking about using the element ID,
    >>>>> but can't seem to find out how to get it...
    >>>>>
    >>>>> Thanks,
    >>>>> Ken
    >>>> For the pop-ups I wrap them in AjaxObserveField. No need to give
    >>>> your pop-ups unique IDs. But you'll need unique IDs for the
    >>>> update containers. :-)
    >>> In many cases you don't anymore -- if you're updating the
    >>> container above you you can just use updateContainerID= "_parent"
    >>> on the links ...
    >>
    >> Cool, thanks... I did not know that.
    > if i had it to do over again, i would have made this the default,
    > but alas ..i can't. i wasn't as clever back in those days ;)

    By the way, the ERXGenericRecordHelper you mentioned in your
    presentation, that is not in Wonder is it? That's just something you
    did for your stuff?



    This archive was generated by hypermail 2.0.0 : Thu Apr 23 2009 - 14:49:39 EDT