F5 is another request, it just mirrors the last request, so it passes any
form variables along as it should.

There isn't a script or anything causing it to reload the page or send it to
the new URL, without accounting for the form variables is there?

Ok using FB I assume that the variables your talking about start off life as
form variables right?  See if form.varName comes back undefined.  I am
betting that for whatever reason rather than doing like a refresh and
passing the form variables along with the request, it's just sending the
browser to that page.  Now since your using FB, and I assume your using a
script or something to send the user to the url of the action page you can
pass those variables appended on the url and they will still be available in
the attributes scope.

That make any sense?

Timothy Heald
Information Systems Specialist
Overseas Security Advisory Council
U.S. Department of State
571.345.2235


-----Original Message-----
From: Tyagi, Badal [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2003 9:12 AM
To: CF-Talk
Subject: RE: Browser resize looses attributes scope


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

Get the mailserver that powers this list at 
http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to