Re: [5.1] recordError for Forms in Blocks

2011-02-28 Thread Rich M
On 02/25/2011 06:17 PM, Josh Canfield wrote: I grabbed your code and ran it. I'm not 100% sure what's supposed to happen if you perform an ajax post but don't return anything, but have errors. Me neither, I suppose I expected that simply using the recordError would have my page functioning the s

Re: [5.1] recordError for Forms in Blocks

2011-02-25 Thread Josh Canfield
I grabbed your code and ran it. I'm not 100% sure what's supposed to happen if you perform an ajax post but don't return anything, but have errors. I added a handler for failure and returned the same block back and it seems to do the right thing. Is the form supposed to just send back the errors if

Re: [5.1] recordError for Forms in Blocks

2011-02-25 Thread Rich M
Hmm, no luck. I checked the error console and nothing came up. Looked at the Request and Response sent in Firebug console, the Response is 200 OK and the response body is {}. Threw in a handful of breakpoints in Tapestry.js in places that seemed relevant to the Validation Bubbles but never saw

Re: [5.1] recordError for Forms in Blocks

2011-02-25 Thread Howard Lewis Ship
User Firefox or Chrome and monitor your JavaScript console; most likely there's a JavaScript error somewhere on the page that's preventing normal initialization logic for occurring. On Fri, Feb 25, 2011 at 11:08 AM, Rich M wrote: > Does anyone have insight into what I might be missing here? As I

Re: [5.1] recordError for Forms in Blocks

2011-02-25 Thread Rich M
Does anyone have insight into what I might be missing here? As I mentioned clicking the form submit will not render the validation bubbles, but if I click the form submit and then reload the URL in the browser the page re-renders and the validation bubbles show up. Does something about the for