all groups > coldfusion flash integration > july 2005 >
You're in the

coldfusion flash integration

group:

PASSING VARIABLES WITH getURL



PASSING VARIABLES WITH getURL drforbin1970
7/27/2005 12:00:00 AM
coldfusion flash integration: Hopefully, this is a simple answers. Need to pass variables to a .cfm page in
another frame using getURL.

getURL("frame2.cfm","bottom","POST")

Fine, but how the hell do I pass variables? Sure, I can append them to the
URL, but isnt there another way???
How do you define the variables so getURL knows what to send?
Re: PASSING VARIABLES WITH getURL endymion96
8/5/2005 12:00:00 AM
I would try setting them in the "request" scope.

Re: PASSING VARIABLES WITH getURL walker25419
8/6/2005 8:38:36 PM
I hope this makes sense -

getUrl('target_page.cfm?variable=' +
name_of_currentobject.dataProvider[name_of_currentobject.selectedIndex]['variabl
e value column'],'target_frame' );"

I have a data grid called reglist, with a column called "cmemo" that holds tha
value of the variable that I want to pass to an i-frame called "history" and it
looks like this

getUrl('equip_registration.cfm?cmemo=' +
reglist.dataProvider[reglist.selectedIndex]['cmemo'],'history' );


Re: PASSING VARIABLES WITH getURL drforbin1970
8/6/2005 10:17:34 PM
Don't think you understand my question. I DON'T want to append the value to the
URL. Is there a way, with getURL to 'POST' the values instead of sending them
attached to the URL??

What is the 'POST' option on the getURL syntax used for then?
AddThis Social Bookmark Button