The anchor goes at the very end of the url (after any query string)
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Will Swain [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 15, 2007 8:49 AM
To: CF-Talk
Subject: url variables n
Off the top of my head, I think the #anchor has to come last.
Everything after the pound sign is read as part of the anchor directive.
So, page.cfm?foo=1#test should work. Not tested, YMMV.
--Ben Doom
Will Swain wrote:
> Can anyone help with this. This may be common knowledge but I've never
Problem is, the url variable is appended programatically to the link, which
is added by the user. Guess I'll need some code to look for the existence of
a pound sign, and if it finds one to split the string, insert the url
variable and put it back together again.
Cheers
Will
~
Try putting the anchor at the end, after the URL vars?
-Original Message-
From: Will Swain [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 15, 2007 7:49 AM
To: CF-Talk
Subject: url variables not picked up in url with # anchor
Can anyone help with this. This may be common knowledge bu
Anything after the # will be treated as the id of the anchor. So, in order
for that url to work as you want you will need:
http://www.site.com/page.cfm?foo=1#test
Regards,
Dominic
On 15/11/2007, Will Swain <[EMAIL PROTECTED]> wrote:
>
> Can anyone help with this. This may be common knowledge bu
>#URL["Milestone" & i]#
perfect thanks charlie
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www
try this.
#url["Milestone" & i]#
hth
charlie
- Original Message -
From: "Richard White" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Thursday, November 02, 2006 4:01 PM
Subject: Re: url variables
> forgive me for my ignorance but i have
#URL["Milestone" & i]#
On 11/2/06, Richard White <[EMAIL PROTECTED]> wrote:
> forgive me for my ignorance but i have managed to get it working and going
> into the loop with but now when i want
> to get the value for it i am also getting errors
>
> for example i am trying url.Milestone&"#i#"
>
forgive me for my ignorance but i have managed to get it working and going into
the loop with but now when i want to get
the value for it i am also getting errors
for example i am trying url.Milestone&"#i#"
although no error are occuring it is not outputting the value, of course it
wont as th
thanks for your replies, thats brilliant i especially like the cfloop through
the structure thanks teddy
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your pe
This should do it:
isDefined ( 'URL["task" & 1]' )
On 11/2/06, Richard White <[EMAIL PROTECTED]> wrote:
> hi, i have a page that submits values to a form as follows:
>
> var sendString = "rowNum=" + taskGrid.getRowsNum();
> for (i=1;i<=taskGrid.getRowsNum();i++)
> {
> sendString = sendString +
The URL scope is stored as a structure. You can use cfloop to loop over a
collection of the variables. For example:
#key# : #url[key]#
This code will only output any URL variable that has the word task in it no
matter how many their are.
Makes sense?
Teddy
On 11/2/06, Richard W
or
On 11/2/06, Richard White <[EMAIL PROTECTED]> wrote:
> hi, i have a page that submits values to a form as follows:
>
> var sendString = "rowNum=" + taskGrid.getRowsNum();
> for (i=1;i<=taskGrid.getRowsNum();i++)
> {
> sendString = sendString + "&Task" + a +"=" + taskGrid.cells(i,
> 1).getV
try
isdefined("url.Task#i#")
hth
Charlie Hanlon
- Original Message -
From: "Richard White" <[EMAIL PROTECTED]>
To: "CF-Talk"
Sent: Thursday, November 02, 2006 12:57 PM
Subject: url variables
> hi, i have a page that submits values to a form as follows:
>
> var sendString = "rowNum=
Some people will no doubt show you a better way, but the quick a dirty
way is to do this: isDefined(evaluate(url.Task#i#))
Chris
-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 02, 2006 12:57 PM
To: CF-Talk
Subject: url variables
hi, i have a
Thanks!
>From: "Bobby Hartsfield" <[EMAIL PROTECTED]>
>Reply-To: cf-talk@houseoffusion.com
>To: CF-Talk
>Subject: RE: URL Variables
>Date: Tue, 18 Oct 2005 18:26:29 -0400
>
>Urlencodedformat() everything after '?newURL='
>
>And then ur
Urlencodedformat() everything after '?newURL='
And then urlDecode(url.newurl) when you need to pull it back out
www.domain.com/page.cfm?newURL=#urlencodedformat(www.domain.com/page2.cfm?va
r1=a&var2=b)#
and...
#urldecode(url.newURL)#
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http:/
URLEncodedFormat will change all the special characters in the newURL
var into url-safe form (% values) instead of the = ? &, so the newURL
var will have all the content you want.
The only other way I can suggest is parsing the cgi.query_string and
splitting the tokens yourself.
()
On 10/18/05,
perhaps...if you wrap it in a URLEncodedFormat().
otherwise, if the ? after 'page2.cfm' doesn't "break" it, the & after
var1=a certainly will (well, not break it...but it won't work like
you're expecting) :)
On 10/18/05, B G <[EMAIL PROTECTED]> wrote:
> Is this possible?
>
> I want to pass a stri
You can encrypt newurl value and decrypt it in your action page.
Simple and cool. Or use session vars to store that url vars.
Cheers.
MD
2005/10/18, B G <[EMAIL PROTECTED]>:
> Is this possible?
>
> I want to pass a string containing URL variables through a URL. For
> example:
>
> www.domain.com
#CGI.QUERYSTRING# returns everything after the ? in the URL, if you have a
list of values of the fomat http://www.mysite.com?DE1122&HF3433&HG3454,
CGI.QUERYSTRING would return DE1122&HF3433&HG3454, you can then break it up
as a list delimited by '&'.
HTH
Donnie Bachan
Phone: (718) 217-2883
IC
Not true.
===
Raymond Camden, ColdFusion Jedi Master for Macromedia
Email: [EMAIL PROTECTED]
Yahoo IM : morpheus
"My ally is the Force, and a powerful ally it is." - Yoda
> -Original Message-
> From: Reilly, Jim [
You can set them up as variables or send them in a form.
JoAnn A. Schlosser
Senior Consultant
Association Management Software
Grant Thornton LLP
Washington, D. C.
703.837.4428
-Original Message-
From: Bonzi Bohill [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 9:14 AM
To: CF
Check out the encrypt() function.
EC
-Original Message-
From: Bonzi Bohill [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 9:14 AM
To: CF-Talk
Subject: URL Variables
We have an application where we have to pass specific information across
pages using url variables.
Message-
> From: Dennis Grady [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 16, 2000 12:38
> To: CF-Talk
> Subject: RE: url variables
>
>
> If I'm not mistaken there is no url structure in 4.0. URL
> variables weren't
> dropped into a structure until 4.5.
>
-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 7:28 AM
To: CF-Talk
Subject: Re: url variables
Thanks Steve. The only problem is that this only seems to work on 4.5
servers. On my 4.0 server I get an Error resolving parameter URL, error.
Seems to me th
#u#
jon
- Original Message -
From: "Steve Martin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, October 16, 2000 5:36 AM
Subject: RE: url variables
> StructKeyList(URL)
>
> Steve
>
> > -Original Messag
-
From: "Steve Martin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, October 16, 2000 5:36 AM
Subject: RE: url variables
> StructKeyList(URL)
>
> Steve
>
> > -Original Message-
> > From: Jon Hall [mailto:[EM
StructKeyList(URL)
Steve
> -Original Message-
> From: Jon Hall [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 16, 2000 10:26
> To: CF-Talk
> Subject: url variables
>
>
> This is a multi-part message in MIME format.
>
> --=_NextPart_000_0011_01C03731.8F6351F0
> Content-Type: text/
29 matches
Mail list logo