I also just tried downloading the latest version of the tacos demo .war from
sourceforge and the September 20th nightly build (4.0.1). Both of these demos
contained this problem. To reproduce, just type in any name other than admin,
hit save, and after the validation errors are displayed, hit save again.
There will be a full page refresh. However, this is not occurring on the live
demo version so either the fixes haven't been made available or the problem
lies with tomcat.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hunter,
Andrew E
Sent: Friday, October 27, 2006 2:14 PM
To: Tacos Developers
Subject: Re: [Tacos-devel] Question about Dialogs

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




-------------------------------------------------------------------------
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

Reply via email to