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/context/WEB-INF/core/DialogExample.html?r=359
http://fisheye3.cenqua.com/browse/tacos/tacos-4.0/trunk/tacos-demo/src/context/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

Reply via email to