Hey Andy, Is it possible that this is something that was recently fixed in the Tacos demo. I remember I had tried the demo before and after closing the dialog and clicking on the AjaxDirectLink to reshow it again, saving it would cause a normal submit to occur. The reason I bring this up is that I just tried copying and pasting the source code from the links you sent me and when I click save on the dialog it pops up, the same thing occurs. Do I need to get a new version of tacos or a particular file that was updated. Andrew
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of andyhot Sent: Friday, October 27, 2006 1:07 PM To: Tacos Developers Subject: Re: [Tacos-devel] Question about Dialogs Hunter, Andrew E wrote: > Hey all, > I was wondering, do AjaxForms which are encapsulated in a Dialog always end > up submitting the page normally, i.e. causing a page refresh? The demo for Dialog doesn't do a page refresh... Take a look at its source http://fisheye3.cenqua.com/browse/tacos/tacos-4.0/trunk/tacos-demo/src/contex t/WEB-INF/core/DialogExample.html?r=359 http://fisheye3.cenqua.com/browse/tacos/tacos-4.0/trunk/tacos-demo/src/contex t/WEB-INF/core/DialogExample.page?r=359 Perhaps there's a problem in the ajax response...is it valid xml? > I've got this > piece of code which shows a dialog when a button is clicked. Inside the > dialog, I create a form (simplified here to just include a save button). When > I click save though, it looks like the form is submitting normal and the > entire page refreshes. Here is the code fragment for the dialog: > <div jwcid="[EMAIL PROTECTED]:Dialog" hidden="ognl:dialogHidden"> > <form jwcid="[EMAIL PROTECTED]:AjaxForm" delegate="ognl:beans.delegate"> > <input jwcid="@tacos:AjaxSubmit" > updateComponents="ognl:{'referenceItemTableTool'}" > action="listener:onSave" value="Save"/> > </form> > </div> > > Any ideas how I can refresh only part of the page. Thanks, > Andrew > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Tacos-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Tacos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tacos-devel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Tacos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tacos-devel
