Re: Recommendations for Ajax ID's

From: Mike Schrag (mschra..dimension.com)
Date: Thu Apr 23 2009 - 14:35:29 EDT

  • Next message: Ricardo J. Parada: "Re: Recommendations for Ajax ID's"

    >>>> 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 ;)

    ms



    This archive was generated by hypermail 2.0.0 : Thu Apr 23 2009 - 14:36:35 EDT