Re: [Tacos-devel] tacos:Id element doesn't renders in an AjaxResponse.

2007-05-28 Thread Miguel Angel Hernández
Zsombor & Andreas, I ran the test and I'm trying to figure out whats happening to, but I guess I need to know more about the internals of Tacos to do that ;). I posted some of my doubts in other thread. BTW, I found something wierd by inspecting the DOM after rendering the response from the four

Re: [Tacos-devel] tacos:Id element doesn't renders in an AjaxResponse.

2007-05-24 Thread Zsombor
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

Re: [Tacos-devel] tacos:Id element doesn't renders in an AjaxResponse.

2007-05-23 Thread Andreas Andreou
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 to

Re: [Tacos-devel] tacos:Id element doesn't renders in an AjaxResponse.

2007-05-23 Thread Zsombor
On 5/23/07, Miguel Angel Hernández <[EMAIL PROTECTED]> wrote: I solved this by implementing an extension of the tacos IdBean class and reimplementing the render component method like this: protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle) { String element = getEl

Re: [Tacos-devel] tacos:Id element doesn't renders in an AjaxResponse.

2007-05-23 Thread Miguel Angel Hernández
I solved this by implementing an extension of the tacos IdBean class and reimplementing the render component method like this: protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle) { String element = getElement(); if (element == null) throw new Applic

[Tacos-devel] tacos:Id element doesn't renders in an AjaxResponse.

2007-05-22 Thread Miguel Angel Hernández
Hello everybody, I have the following problem while I'm trying to implement my own Dialog: I have a tacos:Id div inside a component: This is a custom dialog. Actual: