problem with Ajaxlink under page loaded by Another Ajaxlink

I have created a photo album with yii framework.

Let me describe the problem

  1. myalbum.php

    this page display a ClistView of albums

    like…

    album1

    album2

    album3

    above albums are simply ajaxlinks to load the photos under those album, on cliking album a list

    of photo thumbnails is shown which is again generated with help of ClistView

    like…

    album1

    PHOTO1 PHOTO2 PHOTO3

    album2

    album3

    these photo thumbnailss are again ajaxlinks… but they wont work beacause id’s generated for

    ALBUM1 and PHOTO1 are same i.e. "yt0" and also no jquery code is injected for photos ajaxlink

    i wonder if yii doesnt allow such nested use of ajaxlink… :huh:

    Any help or workaround on problem is greatly appreciated…

    thanks in advance…

    BTW yii rocks!!! :)

May be I didnt describe the problem clearly, Shall I clear any point!?

You can find lots of related posts with this Google search:

site:yiiframework.com ajax unique id

/Tommy

thanks a lot I found the answer here:

http://www.yiiframework.com/forum/index.php?/topic/299-multiple-ajax-submits/

never thought of using "unique id" in my search…

thanks again…