I guess you're aware of the few Dialgo gotchas at http://tapestry.apache.org/tapestry4.1/components/dojo/dialog.html
Anyway, I believe you have to specify isContainer="true" for the DojoWidget, see http://tacos.sourceforge.net/tacos4.1/tacos-core/tapdocs/net.sf.tacos.Dojo/Widget/index.html In the trunk version, tacos tries to guess the correct value if you've left that parameter unspecified by peeking at the dojoType (and seeing if it ends with Container) - but it'd still miss ContentPane :( Webmaster Bébé Nounou wrote: > Hi all, > > I played yesterday with the Tapestry Dialog component and Tacos Widget > component. And i get a bit puzzled ... > What i tried is to put a dojo ContentPane or LinkPane (as a Tacos > Widget) in a Dialog like that : > > <div jwcid="@Dialog" style="display:none;"> > <div jwcid="[EMAIL PROTECTED]:Widget" dojoType="ContentPane" > href="MyPage.html" refreshOnShow="true" label="Authentification"/> > </div> > > Everything is OK (the Dialog is shown and hidden correctly and its > content is OK) until i try to navigate from the content pane : > > 1. If i put a PageLink in my ContentPane like <a href="#" > jwcid="@PageLink" page="MyNewPage">Message</a>, the link generated by > tapestry is erronous : > http://www.mywebsite.com/MyPage.html/page.svc?page=MyNewPage instead > of http://www.mywebsite.com/page.svc?page=MyNewPage > > 2. If i put a Form in my ContentPane, the listener associated with > this form is called and its action done but the result is loaded in a > new page instead of in my ContentPane (as if my Form property 'async' > was set to false). > > Has anybody any explanation on this behavior ? > > Thanks in advance. > > Stephane > > P.S. My environment is Tap 4.1.3 and Tacos 4.1 > -- Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr Tapestry / Tacos developer Open Source / J2EE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
