On 5/23/07, Andreas Andreou <[EMAIL PROTECTED]> wrote:

I just added a utility in AjaxUtils,
boolean isAjaxComponent(IRequestCycle cycle, String compId)

If you do boolean ajax = AjaxUtils.isAjaxComponent(cycle, thisId)
instead of
boolean ajax = AjaxUtils.isAjaxCycle(cycle)
it should do the trick. BTW, I'm not committing this small change
'cause i'm too lazy right now to setup a test page for it :)




Ok, i'm not too lazy :-) I've managed to finalize the changes, it seems to
be working. However, there is one bug left behind, related to AjaxForm
rendering, which i cant fully understand.
If you try to test the issue at the bugs/BugRecursiveId.html page, the first
block works, but the second doesn't exhibits a strange behaviour, somehow
parts of the ajax response is rendered twice.
If you press the second 'Inner' button, the response contains " inner
called: inner called: Blabla 2" instead of " inner called: Blabla 2". Any
idea what happened?

BR,
Zsombor
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tacos-devel mailing list
Tacos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to