Actually Dialog extends from AbstractWidget It's my understanding that abstractWidgets are NOT containers of other components, though i don't know why they shouldn't be :)
Anyway, this led my to http://tacos.svn.sourceforge.net/viewvc/tacos/tacos-4.1/trunk/tacos-core/src/java/net/sf/tacos/components/dojo/GenericWidget.java?view=markup which has an isContainer property that allow component users to specify this... Perhaps we can combine the two and allow such behavior. On 3/6/07, Renat Zubairov <[EMAIL PROTECTED]> wrote:
Upate of the components inside the Dialog is not working indeeed, I've tried to debug it once, and it seems that dialog do not scan the internal components when it searches for the updated client IDs. On 06/03/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > Damnit...I don't know how I let something that obvious slip through. > I'll test this out tomorrow either way. > > On 3/6/07, Leffel, Daniel <[EMAIL PROTECTED]> wrote: > > So simply updating the entire dialog worked perfectly. This suits my needs because the response is small, so I haven't debugged more. I'll check it out tomorrow and see if I can find out what's going on when trying to update components within the dialog. > > > > Thanks, > > > > Danny > > > > > > -----Original Message----- > > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] > > Sent: Mon 3/5/2007 9:05 PM > > To: Tapestry users > > Subject: Re: Tapestry 4.1.2 DirectLink updateComponents within a Dialog > > > > That's odd. I have some pretty complicated components being updated > > inside of a dialog, though admittedly I normally just specify the > > dialog as being the thing to update. > > > > I can take a look tomorrow to see if there's anything obvious I've > > missed...Did you have something more specific as an example? (assuming > > that it isn't obviously broken when I try it ) > > > > There are some more debugging options available now as well, esp with > > intercepting the interactions between DojoAjaxResponseBuilder and > > client, maybe seeing what the server is doing will help you: > > > > http://tapestry.apache.org/tapestry4.1/ajax/debugging.html > > > > On 3/5/07, Leffel, Daniel <[EMAIL PROTECTED]> wrote: > > > Am I doing something wrong? I can't get any components nested within a dialog to update using DirectLink. If I move the very same components outside of the dialog, everything updates correctly using async or json. It doesn't matter whether the dialog is hidden or not. Inside the dialog, nothing updates - there is nothing in the AJAX response. Is there a trick to making this work? > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Jesse Kuhnert > > Tapestry/Dojo team member/developer > > > > Open source based consulting work centered around > > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -- > Jesse Kuhnert > Tapestry/Dojo team member/developer > > Open source based consulting work centered around > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Best regards, Renat Zubairov --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting