That is also my main worry that why the page refreshes on browser resize and rather it does not behave like normal refresh(F5) but loads like new request altogether and looses attributes value too, bcoz normal F5 is working fine. This testing team is really eating my time and brain?????
regards badal -----Original Message----- From: Nagy, Daniel J [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 6:32 PM To: CF-Talk Subject: RE: Browser resize looses attributes scope <cfparam name="attributes.foo" default=""> <cfif Len(attributes.foo) GT 1> do something here. </cfif> it's a coding style rather than an axiom, but it works for me. i know this isn't the panacea he's looking for, but it -will- stop the error. :P i'm really more curious as to why the page refreshes on browser resize. --d. -----Original Message----- From: GL [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 9:00 AM To: CF-Talk Subject: RE: Browser resize looses attributes scope But that would render the page useless, if you discount the reason that these variables don't exist. Just faking a value for them isn't going to accomplish anything. -----Original Message----- From: Nagy, Daniel J [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 7:48 AM To: CF-Talk Subject: RE: Browser resize looses attributes scope if the variables have no value on initial load of that page, use a cfparam tag to ensure that they exist on pageload. -----Original Message----- From: Tyagi, Badal [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 8:44 AM To: CF-Talk Subject: RE: Browser resize looses attributes scope Thanks Daniel, but there is no need to resize the window it was just caught during testing when one of the testers did this. And I did not get your second point regarding <cfparam>. regards badal Tyagi -----Original Message----- From: Nagy, Daniel J [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 5:05 PM To: CF-Talk Subject: RE: Browser resize looses attributes scope no offense, but wouldn't it have been easier to make all the tables/etc percentages so you wouldn't ever -need- to refresh on resize? i don't think i've seen this kind of hack since netscape 3. either that, or CFPARAM out all your junk if it's null on that page. --d. -----Original Message----- From: Tyagi, Badal [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 5:26 AM To: CF-Talk Subject: Browser resize looses attributes scope We have one application running on fusebox1.0 on CFMX and we are using <CF_FORMURL2ATTRIBUTES> to convert all form and URL variables to attributes. Now when one page is called with few attributes type variables, the page gets loaded but the problem occures when we resize the browser window, because the page refreshes automatically and page looses its attributes values and CF throws ERROR saying "Element QUOT_SUB_QUOTE is undefined in ATTRIBUTES" This happens anywhere in the application where attributes.varname is called and they are now "Undefined" as error says. Any help on this issue? regards, badal Tyagi, HCL Perot Systems, Noida, India ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4