Re: Form with a Zone -> ComponentEventException

2008-04-23 Thread Alex.Hon
Maybe because IE you need edit tapestry.js about linkZone:function... element.onsubmit = handler; replace to: Event.observe(element, 'submit', handler); and element.onclick = handler; replace to:Event.observe(element, 'click', handler); and need add line :Event.stop(event); after new Ajax.Request

Re: Form with a Zone -> ComponentEventException

2008-04-01 Thread Petros Petrou
Oh well, your reply gives me something to look into anyway. I'll try to solve the issue with the ModalBox guys and post the solution here. Thanks, Petros Howard Lewis Ship wrote: > > The question is: does this Modalbox send a request via XmlHttpRequest? > And does it use Tapestry's handling o

Re: Form with a Zone -> ComponentEventException

2008-03-31 Thread Howard Lewis Ship
The question is: does this Modalbox send a request via XmlHttpRequest? And does it use Tapestry's handling of the JSON response? The error you are getting appears to be because it's not recognized as an XHR request, i.e., not an Ajax request and is being treated as a traditional request, for whic

Re: Form with a Zone -> ComponentEventException

2008-03-29 Thread petros
I found what is causing the error. Is the way I am displaying the the UserPicker page. I am trying to display it by using the Modalbox (http://www.wildbit.com/labs/modalbox/) However, this works fine as an Ajax call by returning a Block when the UserPicker form is submitted Assign Supervisor

Re: Form with a Zone -> ComponentEventException

2008-03-28 Thread petros
Sorry about the second post but this problem is killing me :) I tried this example that works fine online and I am getting the same exception as my previous post http://lombok.demon.co.uk/tapestry5Demo/test/core/zonedemoone In the example a Block is returned from an onAction or onSuccess methods