RE: url variables not picked up in url with # anchor

2007-11-15 Thread Bobby Hartsfield
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

Re: url variables not picked up in url with # anchor

2007-11-15 Thread Ben Doom
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

RE: url variables not picked up in url with # anchor

2007-11-15 Thread Will Swain
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 ~

RE: url variables not picked up in url with # anchor

2007-11-15 Thread Andy Matthews
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

Re: url variables not picked up in url with # anchor

2007-11-15 Thread Dominic Watson
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

Re: url variables

2006-11-02 Thread Richard White
>#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

Re: url variables

2006-11-02 Thread Charlie Hanlon
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

Re: url variables

2006-11-02 Thread Charlie Griefer
#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#" >

Re: url variables

2006-11-02 Thread Richard White
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

Re: url variables

2006-11-02 Thread Richard White
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

Re: url variables

2006-11-02 Thread Rob Wilkerson
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 +

Re: url variables

2006-11-02 Thread Teddy Payne
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

Re: url variables

2006-11-02 Thread Charlie Griefer
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

Re: url variables

2006-11-02 Thread Charlie Hanlon
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=

RE: url variables

2006-11-02 Thread Peterson, Chris
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

RE: URL Variables

2005-10-18 Thread B G
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

RE: URL Variables

2005-10-18 Thread Bobby Hartsfield
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:/

Re: URL Variables

2005-10-18 Thread Jerry Johnson
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,

Re: URL Variables

2005-10-18 Thread Charlie Griefer
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

Re: URL Variables

2005-10-18 Thread Michel Deloux
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

Re: URL Variables in the form of index.cfm?DJIE332

2002-06-20 Thread Donnie Bachan
#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

RE: URL Variables in CFMX read-only?

2002-06-04 Thread Raymond Camden
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 [

RE: URL Variables

2001-08-21 Thread JSchlosser
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

RE: URL Variables

2001-08-21 Thread Carlisle, Eric
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.

RE: url variables

2000-10-16 Thread Steve Martin
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. >

RE: url variables

2000-10-16 Thread Dennis Grady
- 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

never mind...got a solution Re: url variables

2000-10-16 Thread Jon Hall
#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

Re: url variables

2000-10-16 Thread Jon Hall
- 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

RE: url variables

2000-10-16 Thread Steve Martin
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/