Okay, I¹ll post to Stackoverflow. Tim
On 4/20/10 3:35 PM, "Mike McNally" <emmecin...@gmail.com> wrote: > This isn't going to be a Stripes problem. I would encourage you to ask this > question on Stackoverflow, where you'll get a quick answer IF you post clear > relevant sections of the code in question. > > > On Tue, Apr 20, 2010 at 2:29 PM, Stone, Timothy <tst...@barclaycardus.com> > wrote: >> List, >> >> I am experiencing a problem where the JavaScript execution context in Firefox >> and Safari is lost after returning a Resolution from an error handler. >> >> Items like the ³console,² e.g., console.log(³someMessage²), fail with >> ³console is undefined². More importantly, my client form validation initially >> fails to execute until the form is submitted a second time with errors. >> >> Now, ³console² is a value defined globally in the JavaScript engine and >> automatically exposed in Safari and Firefox. If I reload the page, the >> context returns. >> >> Specifically, my initial page load is to a view (³Inbound.action²) with some >> blank fields. These fields are bound to and submit to an action >> (³DirectList.action²) which evaluates the form and returns on errors by >> using: >> >> res = getContext().getSourcePageResolution(); >> >> The old view is in the context of the DirectList.action. >> >> It appears that the browser will not execute the Javascript context until >> refresh. This might be a browser problem, however, it appears to be something >> about the Stripes resolution on the error round trip. >> >> Any thoughts? The scripts all work on the initial view, but fail on the next >> view, so I¹ve generally eliminated a problem with the script, and this >> console issue is *very suspect*. >> >> Much thanks, >> Tim >> >> >> >> >> _______________________________________________________ >> >> Barclays >> www.barclaycardus.com <http://www.barclaycardus.com> >> _______________________________________________________ >> >> This e-mail and any files transmitted with it may contain confidential and/or >> proprietary information. It is intended solely for the use of the individual >> or entity who is the intended recipient. Unauthorized use of this information >> is prohibited. If you have received this in error, please contact the sender >> by replying to this message and delete this material from any system it may >> be on. >> >> ----------------------------------------------------------------------------->> - >> >> _______________________________________________ >> Stripes-users mailing list >> Stripes-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/stripes-users >> > > -- Timothy Stone | Director, Application Developer Technical Lead Barclaycard | Business Technology Group, Solutions Delivery 125 S. West Street | Wilmington, DE | 19801 USA | www.barclaycardus.com +1 302 255 8044 direct | +1 410 441 9450 cell COMPANY CONFIDENTIAL P Before printing this e-mail, or any other document, ask yourself whether you need a hard copy Barclays www.barclaycardus.com This e-mail and any files transmitted with it may contain confidential and/or proprietary information. It is intended solely for the use of the individual or entity who is the intended recipient. Unauthorized use of this information is prohibited. If you have received this in error, please contact the sender by replying to this message and delete this material from any system it may be on.
------------------------------------------------------------------------------
_______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users