RE: Is there an anchor in a URL String - SOLVED

2010-09-02 Thread Robert Harrison

>  This code:
>  
>  
>  

Thanks Andy Matthews

This was the key and I got it working. Was were using a jQuery
expand/collapse function on a page that displayed FAQs. Initially it showed
only the questions and expanded out the answer on click. Wanted to be able
to create links that anchored to a specific question but it's kind of
useless when the answer doesn't show. 

Got the function below out of it. Now, if an anchor exists it opens expanded
and positions to the anchor. If no anchor, it shows the unopened question
list.


  function anchorSet() {
if(location.hash !='') {
 $j('div.answer').css('display', 'block');
}
  }


Appreciate the help. Just what I needed.


Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged

 

__ Information from ESET Smart Security, version of virus signature
database 5419 (20100902) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336797
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Is there an anchor in a URL String

2010-09-02 Thread Robert Harrison

Thanks. Yes. Resending that was an accident. 

Bottom line is since I can't tell if there is an anchor I have to rethink
what I wanted to do.


Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged



-Original Message-
From: Andy Matthews [mailto:li...@commadelimited.com] 
Sent: Thursday, September 02, 2010 3:17 PM
To: cf-talk
Subject: RE: Is there an anchor in a URL String


Robert...

Did you get my previous email about doing it with JavaScript?



andy 

-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com] 
Sent: Thursday, September 02, 2010 1:50 PM
To: cf-talk
Subject: Is there an anchor in a URL String


I need to know if there is an anchor in a URL string (e.g.,
http://mylink.cfm#thisanchor).

Doing a CF dump and listing of every cgi var I know of does not give me that
information. 

Is there any way I can tell if a URL contains an anchor?

Thanks

Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100
Hauppauge NY 11788
P : 631.231.6600 Ext. 119
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged
 
 

__ Information from ESET Smart Security, version of virus signature
database 5419 (20100902) __

The message was checked by ESET Smart Security.

http://www.eset.com
 





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336793
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Is there an anchor in a URL String

2010-09-02 Thread Andy Matthews

Robert...

Did you get my previous email about doing it with JavaScript?



andy 

-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com] 
Sent: Thursday, September 02, 2010 1:50 PM
To: cf-talk
Subject: Is there an anchor in a URL String


I need to know if there is an anchor in a URL string (e.g.,
http://mylink.cfm#thisanchor).

Doing a CF dump and listing of every cgi var I know of does not give me that
information. 

Is there any way I can tell if a URL contains an anchor?

Thanks

Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100
Hauppauge NY 11788
P : 631.231.6600 Ext. 119
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged
 
 

__ Information from ESET Smart Security, version of virus signature
database 5419 (20100902) __

The message was checked by ESET Smart Security.

http://www.eset.com
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336792
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Is there an anchor in a URL String

2010-09-02 Thread Raymond Camden

Ugh sorry - for some reason GMail put this msg above the earlier thread.


On Thu, Sep 2, 2010 at 2:03 PM, Raymond Camden  wrote:
> As far as I know, no. You would need to do it client side.
>
> On Thu, Sep 2, 2010 at 1:50 PM, Robert Harrison
>  wrote:
>>
>> I need to know if there is an anchor in a URL string (e.g.,
>> http://mylink.cfm#thisanchor).
>>
>> Doing a CF dump and listing of every cgi var I know of does not give me that
>> information.
>>
>> Is there any way I can tell if a URL contains an anchor?
>>
>> Thanks
>>
>> Robert B. Harrison
>> Director of Interactive Services
>> Austin & Williams
>> 125 Kennedy Drive, Suite 100
>> Hauppauge NY 11788
>> P : 631.231.6600 Ext. 119
>> F : 631.434.7022
>> http://www.austin-williams.com
>>
>> Great advertising can't be either/or.  It must be &.
>>
>> Plug in to our blog: A&W Unplugged
>> http://www.austin-williams.com/unplugged
>>
>>
>>
>> __ Information from ESET Smart Security, version of virus signature
>> database 5419 (20100902) __
>>
>> The message was checked by ESET Smart Security.
>>
>> http://www.eset.com
>>
>>
>> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336790
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Is there an anchor in a URL String

2010-09-02 Thread Raymond Camden

As far as I know, no. You would need to do it client side.

On Thu, Sep 2, 2010 at 1:50 PM, Robert Harrison
 wrote:
>
> I need to know if there is an anchor in a URL string (e.g.,
> http://mylink.cfm#thisanchor).
>
> Doing a CF dump and listing of every cgi var I know of does not give me that
> information.
>
> Is there any way I can tell if a URL contains an anchor?
>
> Thanks
>
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy Drive, Suite 100
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119
> F : 631.434.7022
> http://www.austin-williams.com
>
> Great advertising can't be either/or.  It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>
>
> __ Information from ESET Smart Security, version of virus signature
> database 5419 (20100902) __
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336789
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Is there an anchor in a URL String

2010-09-02 Thread Robert Harrison

I need to know if there is an anchor in a URL string (e.g.,
http://mylink.cfm#thisanchor).

Doing a CF dump and listing of every cgi var I know of does not give me that
information. 

Is there any way I can tell if a URL contains an anchor?

Thanks

Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged
 
 

__ Information from ESET Smart Security, version of virus signature
database 5419 (20100902) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336788
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Is there an anchor in a URL String

2010-09-02 Thread Andy Matthews

I think it's because the # doesn't do anything server side.

You can definitely get it with Javascript. It works like so:

Assuming this link:
/test.cfm#anchor

This code:

<!--
alert(location.hash);
//-->


Outputs this:
#anchor

You could then pass that off to CF via AJAX if you needed to.



andy 

-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com] 
Sent: Thursday, September 02, 2010 11:55 AM
To: cf-talk
Subject: Is there an anchor in a URL String


I need to know if there is an anchor in a URL string (e.g.,
http://mylink.cfm#thisanchor).

Doing a CF dump and listing of every cgi var I know of does not give me that
information. 

Is there any way I can tell if a URL contains an anchor?

Thanks

Robert B. Harrison



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336774
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Is there an anchor in a URL String

2010-09-02 Thread Dave Watts

> I need to know if there is an anchor in a URL string (e.g.,
> http://mylink.cfm#thisanchor).
>
> Doing a CF dump and listing of every cgi var I know of does not give me that
> information.
>
> Is there any way I can tell if a URL contains an anchor?

This information is not sent to the server. It's used to allow the
browser to navigate within a page, but doesn't require that the
browser request the page from the server.

So, you can't tell this from CF. You could do it from JavaScript, then
send that information to the server.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336773
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Is there an anchor in a URL String

2010-09-02 Thread Robert Harrison

I need to know if there is an anchor in a URL string (e.g.,
http://mylink.cfm#thisanchor).

Doing a CF dump and listing of every cgi var I know of does not give me that
information. 

Is there any way I can tell if a URL contains an anchor?

Thanks

Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged
 

__ Information from ESET Smart Security, version of virus signature
database 5419 (20100902) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336771
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: sending entire Form back on a url string

2008-03-27 Thread Bobby Hartsfield
?x=x&#i#=#form[i]#

-Original Message-
From: Matt Blatchley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2008 11:52 AM
To: CF-Talk
Subject: Re: sending entire Form back on a url string

I actually wrote that incorrectly...  StructKeyArray(form) will return an 
array of the Keys in the Struct, not convert it, then you'd use 
form[arrayName[i]] to access the value of the referenced Key

>I would convert the Struct into an Array using StructKeyArray(form).  Then
> loop through the array and build the URL string appending the & in-between
> each value.  Then you can then attach it to the URL.  But URL strings in
> some browsers have a character limit, so as long as that's not an issue,
> then it should work.  The other thing is that your form value pairs would
> need to be "simple values" and not arrays, otherwise you'd have to do some
> more work when you build the URL string inside the loop.
>
> Matt
>






~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302190
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: sending entire Form back on a url string

2008-03-27 Thread Matt Blatchley
I actually wrote that incorrectly...  StructKeyArray(form) will return an 
array of the Keys in the Struct, not convert it, then you'd use 
form[arrayName[i]] to access the value of the referenced Key

>I would convert the Struct into an Array using StructKeyArray(form).  Then
> loop through the array and build the URL string appending the & in-between
> each value.  Then you can then attach it to the URL.  But URL strings in
> some browsers have a character limit, so as long as that's not an issue,
> then it should work.  The other thing is that your form value pairs would
> need to be "simple values" and not arrays, otherwise you'd have to do some
> more work when you build the URL string inside the loop.
>
> Matt
>




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302178
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: sending entire Form back on a url string

2008-03-27 Thread Matt Blatchley
I would convert the Struct into an Array using StructKeyArray(form).  Then 
loop through the array and build the URL string appending the & in-between 
each value.  Then you can then attach it to the URL.  But URL strings in 
some browsers have a character limit, so as long as that's not an issue, 
then it should work.  The other thing is that your form value pairs would 
need to be "simple values" and not arrays, otherwise you'd have to do some 
more work when you build the URL string inside the loop.

Matt

- Original Message - 
From: "Don L" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, March 27, 2008 9:32 AM
Subject: Re: sending entire Form back on a url string


> >Morning,
>>
>>Having a brain freeze.
>>
>>I want to send an entire set of form variables back to the previous page 
>>on
>>the url string.
>>
>>Obviously
>>
>>previous_page.cfm?formStructure=#Form#
>>
>>doesn't work. I can't for the life of me remember how to do this.
>>
>>Cheers
>>
>>Will
>
> Will, the following technique would work, however, as mentioned, passing 
> data via URL has its limit.
>
>  action="passFormViaURL.cfm?name=document.getElementId('yourName').innerHTML&email=document.getElementId('email').innerHTML"
>  
> method="get">
> Name: 
> Email: 
> 
> 
>
> Personally I'd prefer a more elegant approach of using ajax...
>
> Don
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302177
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: sending entire Form back on a url string

2008-03-27 Thread Christopher Vigliotti
Sorry if I missed part of this conversation, but do you have to use a url
string?  Throwing the form scope into a persistent scope would be a lot
easier.

- Chris

On Thu, Mar 27, 2008 at 10:32 AM, Don L <[EMAIL PROTECTED]> wrote:

> >Morning,
> >
> >Having a brain freeze.
> >
> >I want to send an entire set of form variables back to the previous page
> on
> >the url string.
> >
> >Obviously
> >
> >previous_page.cfm?formStructure=#Form#
> >
> >doesn't work. I can't for the life of me remember how to do this.
> >
> >Cheers
> >
> >Will
>
> Will, the following technique would work, however, as mentioned, passing
> data via URL has its limit.
>
>  method="get">
> Name: 
> Email: 
> 
> 
>
> Personally I'd prefer a more elegant approach of using ajax...
>
> Don
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302174
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: sending entire Form back on a url string

2008-03-27 Thread Don L
>Morning,
> 
>Having a brain freeze.
> 
>I want to send an entire set of form variables back to the previous page on
>the url string.
> 
>Obviously 
> 
>previous_page.cfm?formStructure=#Form# 
> 
>doesn't work. I can't for the life of me remember how to do this.
> 
>Cheers
> 
>Will

Will, the following technique would work, however, as mentioned, passing data 
via URL has its limit.


Name: 
Email: 



Personally I'd prefer a more elegant approach of using ajax...

Don 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302161
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: sending entire Form back on a url string

2008-02-11 Thread Claude Schneegans
 >>but the object will remain in the heap because it has another reference.

Ah ok, I see.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298751
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: sending entire Form back on a url string

2008-02-11 Thread Dave Watts
> Ok, I see what you mean, but if you do it this way, won't the 
> session.form structure disappear in the same time the form 
> structure will?

No, both Form and Session.form will be references to the same object, which
actually contains the form data. The Form reference will go out of scope,
but the object will remain in the heap because it has another reference.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298729
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: sending entire Form back on a url string

2008-02-11 Thread Claude Schneegans
 >>You should only have
to copy structures by value (using either StructCopy or Duplicate) if you
want to maintain two separate structures, so that changes to one don't
affect the other. That is not the case here.

Ok, I see what you mean, but if you do it this way, won't the 
session.form structure disappear
in the same time the form structure will?

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298728
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: sending entire Form back on a url string

2008-02-11 Thread Dave Watts
> I think I tried first with structCopy ans encountered some 
> problem, I don't remember which one, so I changed for 
> StructDuplicate. This was years ago.
> 
> Anyway, since the form scope is not supposed to contain 
> structures, the two functions are equivalent.

You shouldn't have to copy the Form scope using either function. Just assign
Form to Session.form (or whatever you want to call it). You should only have
to copy structures by value (using either StructCopy or Duplicate) if you
want to maintain two separate structures, so that changes to one don't
affect the other. That is not the case here. Unnecessarily copying by value
is expensive.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298724
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: sending entire Form back on a url string

2008-02-11 Thread Claude Schneegans
 >>You shouldn't have to duplicate the form. Just copy it into the Session
scope.

I think I tried first with structCopy ans encountered some problem, I 
don't remember
which one, so I changed for StructDuplicate. This was years ago.

Anyway, since the form scope is not supposed to contain structures, the 
two functions are equivalent.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298722
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: sending entire Form back on a url string

2008-02-11 Thread Dave Watts
> To save the form:
> 

You shouldn't have to duplicate the form. Just copy it into the Session
scope. The original form will go out of scope after the page has completed,
so you don't have to worry about accidentally changing one variable by
referencing the other.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298707
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: sending entire Form back on a url string

2008-02-11 Thread Greg Luce
I always thought WDDX was  anice way to package up the form for re-use.

Greg
On Feb 11, 2008 6:18 AM, Will Swain <[EMAIL PROTECTED]> wrote:

> Thanks guys.
>
> Bearing in mind that limit, is there a better way? Stick the form in the
> session scope maybe?
>
> Cheers
>
> Will
>
> -Original Message-
> From: Dave Watts [mailto:[EMAIL PROTECTED]
> Sent: 08 February 2008 19:23
> To: CF-Talk
> Subject: RE: sending entire Form back on a url string
>
> > But isn't there a finite limit on how many characters you can put in a
> > URL string?
>
> Yes, and my understanding is that the limit is browser-specific. For IE 7,
> it's 2048 characters for a GET request:
> http://support.microsoft.com/kb/208427
>
> This link goes into more detail on the topic, and covers other browsers:
> http://www.boutell.com/newfaq/misc/urllength.html
>
> Tom Boutell has an article about almost everything!
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
> http://training.figleaf.com/
>
> WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
> http://www.webmaniacsconference.com/
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298706
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: sending entire Form back on a url string

2008-02-11 Thread Claude Schneegans
 >>Stick the form in the session scope maybe?

Definitely:
To save the form:


Then in the form action template:






   



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298701
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: sending entire Form back on a url string

2008-02-11 Thread Will Swain
Thanks guys.

Bearing in mind that limit, is there a better way? Stick the form in the
session scope maybe?

Cheers

Will

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: 08 February 2008 19:23
To: CF-Talk
Subject: RE: sending entire Form back on a url string

> But isn't there a finite limit on how many characters you can put in a 
> URL string?

Yes, and my understanding is that the limit is browser-specific. For IE 7,
it's 2048 characters for a GET request:
http://support.microsoft.com/kb/208427

This link goes into more detail on the topic, and covers other browsers:
http://www.boutell.com/newfaq/misc/urllength.html

Tom Boutell has an article about almost everything!

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298698
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: sending entire Form back on a url string

2008-02-08 Thread Dave Watts
> But isn't there a finite limit on how many characters you can 
> put in a URL string?

Yes, and my understanding is that the limit is browser-specific. For IE 7,
it's 2048 characters for a GET request:
http://support.microsoft.com/kb/208427

This link goes into more detail on the topic, and covers other browsers:
http://www.boutell.com/newfaq/misc/urllength.html

Tom Boutell has an article about almost everything!

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298561
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: sending entire Form back on a url string

2008-02-08 Thread Brian Swartzfager
But isn't there a finite limit on how many characters you can put in a URL 
string? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298560
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: sending entire Form back on a url string

2008-02-08 Thread Dave Watts
> I want to send an entire set of form variables back to the 
> previous page on the url string.
>  
> Obviously 
>  
> previous_page.cfm?formStructure=#Form# 
>  
> doesn't work. I can't for the life of me remember how to do this.

Loop through the FORM scope and build the appropriate string:







I'm sure there are other ways. I'm not sure if this is the best way. But, it
should work.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298539
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: sending entire Form back on a url string

2008-02-08 Thread Tom Chiverton
On Friday 08 Feb 2008, Will Swain wrote:
> doesn't work. I can't for the life of me remember how to do this.

Loop over structKeylist(form) ?

-- 
Tom Chiverton
Helping to authoritatively enable principle-centered deliverables
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298536
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


sending entire Form back on a url string

2008-02-08 Thread Will Swain
Morning,
 
Having a brain freeze.
 
I want to send an entire set of form variables back to the previous page on
the url string.
 
Obviously 
 
previous_page.cfm?formStructure=#Form# 
 
doesn't work. I can't for the life of me remember how to do this.
 
Cheers
 
Will 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298526
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: URL string not working... HELP!

2005-08-24 Thread Claude Schneegans
 >>ERROR:

 >>There is a problem with the page you are trying to reach and it cannot be
 >>displayed.

Ah ah! Now this is an information.
The error is in the url not passed correctly, noting to do with the query.
Use URLEncodedFormat() to pass the parameter to the URL.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216166
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-24 Thread Claude Schneegans
 >>I ytird yjr following but it still fails

Could it be that you've got the Y at the wrong place on your keyboard?

(Sorry, I couldn't resist ;-)

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216165
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-24 Thread Claude Schneegans
When you say "It's not working", try to be more specific:
- any error message?
- is it that the query does not return records?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216164
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-24 Thread Ken Ferguson
Why are you doing this query of queries??? What is it that you are 
trying to accomplish which you don't think can be done in the one single 
query, "getCatalog"? Are you really running that whole getCatalog query 
when you don't need all of the items?

--Ferg

Sharon Creese wrote:

>
>SELECT
>  PC.CategoryID, C.CategoryName, PC.SubCatID, PC.ProductID, SC.SubCatName,
>P.ProductName,
>  P.ShortDescription, P.LongDescription, P.Price,P.SmallImage,
>P.LargeImage,P.Status,P.Company,p.proddoc
>FROM ProductsCategories PC,Categories C,SubCategories SC,Products P
>WHERE  C.CategoryID = PC.CategoryID
>AND SC.SubCatID = PC.SubCatID
>AND  P.ProductID = PC.ProductID
>AND P.Status = 'Yes'
>ORDER BY P.ProductName
>
>
>
>SELECT ProductID, ProductName, Price, LongDescription, LargeImage,Company
>FROM getCatalog
>WHERE ProductID = value="#URL.thisProduct#">
>
>
>ERROR:
>
>There is a problem with the page you are trying to reach and it cannot be
>displayed.
>
>HTTP 500 - Internal server error
>Internet Explorer
>
>- Original Message - 
>From: "Russ" <[EMAIL PROTECTED]>
>To: "CF-Talk" 
>Sent: Tuesday, August 23, 2005 11:01 PM
>Subject: RE: URL string not working... HELP!
>
>
>  
>
>>Can you post the new code you're using?  Also what error are you getting?
>>
>>
>
>
>

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216163
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-24 Thread Sharon Creese
  Error Executing Database Query.

  Query Of Queries runtime error.
  Unsupported type comparison.

  The error occurred in
C:\CFusionMX\wwwroot\oec\securecart\Queries\qry_getProductDetail.cfm: line 8
  Called from C:\CFusionMX\wwwroot\oec\securecart\index.cfm: line 72
  Called from
C:\CFusionMX\wwwroot\oec\securecart\Queries\qry_getProductDetail.cfm: line 8
  Called from C:\CFusionMX\wwwroot\oec\securecart\index.cfm: line 72

6 : SELECT ProductID, ProductName, Price, LongDescription,
LargeImage,Company
7 : FROM getCatalog
8 : WHERE ProductID = 
9 : 
10 :


- Original Message - 
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Wednesday, August 24, 2005 7:19 AM
Subject: RE: URL string not working... HELP!


> > ERROR:
> >
> > There is a problem with the page you are trying to reach and
> > it cannot be displayed.
> >
> > HTTP 500 - Internal server error
> > Internet Explorer
>
> That's not very useful. To display more detail about an error, enable
> "Robust Exception Information" within the CF Administrator, and disable
> "Friendly HTTP Error Messages" within Internet Explorer.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216162
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: URL string not working... HELP!

2005-08-24 Thread Dave Watts
> ERROR:
> 
> There is a problem with the page you are trying to reach and 
> it cannot be displayed.
> 
> HTTP 500 - Internal server error
> Internet Explorer

That's not very useful. To display more detail about an error, enable
"Robust Exception Information" within the CF Administrator, and disable
"Friendly HTTP Error Messages" within Internet Explorer.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216161
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-24 Thread Sharon Creese

SELECT
  PC.CategoryID, C.CategoryName, PC.SubCatID, PC.ProductID, SC.SubCatName,
P.ProductName,
  P.ShortDescription, P.LongDescription, P.Price,P.SmallImage,
P.LargeImage,P.Status,P.Company,p.proddoc
FROM ProductsCategories PC,Categories C,SubCategories SC,Products P
WHERE  C.CategoryID = PC.CategoryID
AND SC.SubCatID = PC.SubCatID
AND  P.ProductID = PC.ProductID
AND P.Status = 'Yes'
ORDER BY P.ProductName



SELECT ProductID, ProductName, Price, LongDescription, LargeImage,Company
FROM getCatalog
WHERE ProductID = 


ERROR:

There is a problem with the page you are trying to reach and it cannot be
displayed.

HTTP 500 - Internal server error
Internet Explorer

- Original Message - 
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 11:01 PM
Subject: RE: URL string not working... HELP!


> Can you post the new code you're using?  Also what error are you getting?


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216160
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: URL string not working... HELP!

2005-08-23 Thread Russ
Can you post the new code you're using?  Also what error are you getting?

-Original Message-
From: Sharon Creese [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 23, 2005 11:42 PM
To: CF-Talk
Subject: Re: URL string not working... HELP!

trying that now, still not working for 11-123-123
- Original Message - 
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 10:45 PM
Subject: RE: URL string not working... HELP!


> Have you tried cfqueryparam?
>
> -Original Message-
> From: Sharon Creese [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 23, 2005 11:37 PM
> To: CF-Talk
> Subject: Re: URL string not working... HELP!
>
> that is a valid assement, now what so I do about it?
> - Original Message - 
> From: "Eddie Awad" <[EMAIL PROTECTED]>
> To: "CF-Talk" 
> Sent: Tuesday, August 23, 2005 10:37 PM
> Subject: Re: URL string not working... HELP!
>
>
> > On 8/23/05, Sharon Creese <[EMAIL PROTECTED]> wrote:
> > > it will work for product ids of :
> > >
> > > ABCD1
> > > 12-1234
> > > AB-123
> > > 123-A23-123
> > >
> > > But not for
> > > 12-34-17
> >
> > I'm guessing here, but I'm noticing a pattern. maybe the string is
> > being mistakenly treated as a date:
> >
> > mm-dd-yy
> > 1-1-12
> > 12-34-17 (but 34 is not a valid day??)
> >
> > All the strings that work for you do not fall into this format. Again,
> > it's just an observation.
> > -- 
> > Eddie Awad.
> > http://awads.net/
> >
> >
>
>
>
> 



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216148
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-23 Thread Sharon Creese
trying that now, still not working for 11-123-123
- Original Message - 
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 10:45 PM
Subject: RE: URL string not working... HELP!


> Have you tried cfqueryparam?
>
> -Original Message-
> From: Sharon Creese [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 23, 2005 11:37 PM
> To: CF-Talk
> Subject: Re: URL string not working... HELP!
>
> that is a valid assement, now what so I do about it?
> - Original Message - 
> From: "Eddie Awad" <[EMAIL PROTECTED]>
> To: "CF-Talk" 
> Sent: Tuesday, August 23, 2005 10:37 PM
> Subject: Re: URL string not working... HELP!
>
>
> > On 8/23/05, Sharon Creese <[EMAIL PROTECTED]> wrote:
> > > it will work for product ids of :
> > >
> > > ABCD1
> > > 12-1234
> > > AB-123
> > > 123-A23-123
> > >
> > > But not for
> > > 12-34-17
> >
> > I'm guessing here, but I'm noticing a pattern. maybe the string is
> > being mistakenly treated as a date:
> >
> > mm-dd-yy
> > 1-1-12
> > 12-34-17 (but 34 is not a valid day??)
> >
> > All the strings that work for you do not fall into this format. Again,
> > it's just an observation.
> > -- 
> > Eddie Awad.
> > http://awads.net/
> >
> >
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216147
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: URL string not working... HELP!

2005-08-23 Thread Russ
Have you tried cfqueryparam?

-Original Message-
From: Sharon Creese [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 23, 2005 11:37 PM
To: CF-Talk
Subject: Re: URL string not working... HELP!

that is a valid assement, now what so I do about it?
- Original Message - 
From: "Eddie Awad" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 10:37 PM
Subject: Re: URL string not working... HELP!


> On 8/23/05, Sharon Creese <[EMAIL PROTECTED]> wrote:
> > it will work for product ids of :
> >
> > ABCD1
> > 12-1234
> > AB-123
> > 123-A23-123
> >
> > But not for
> > 12-34-17
>
> I'm guessing here, but I'm noticing a pattern. maybe the string is
> being mistakenly treated as a date:
>
> mm-dd-yy
> 1-1-12
> 12-34-17 (but 34 is not a valid day??)
>
> All the strings that work for you do not fall into this format. Again,
> it's just an observation.
> -- 
> Eddie Awad.
> http://awads.net/
>
> 



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216146
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-23 Thread Sharon Creese
that is a valid assement, now what so I do about it?
- Original Message - 
From: "Eddie Awad" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 10:37 PM
Subject: Re: URL string not working... HELP!


> On 8/23/05, Sharon Creese <[EMAIL PROTECTED]> wrote:
> > it will work for product ids of :
> >
> > ABCD1
> > 12-1234
> > AB-123
> > 123-A23-123
> >
> > But not for
> > 12-34-17
>
> I'm guessing here, but I'm noticing a pattern. maybe the string is
> being mistakenly treated as a date:
>
> mm-dd-yy
> 1-1-12
> 12-34-17 (but 34 is not a valid day??)
>
> All the strings that work for you do not fall into this format. Again,
> it's just an observation.
> -- 
> Eddie Awad.
> http://awads.net/
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216145
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-23 Thread Eddie Awad
On 8/23/05, Sharon Creese <[EMAIL PROTECTED]> wrote:
> it will work for product ids of :
> 
> ABCD1
> 12-1234
> AB-123
> 123-A23-123
> 
> But not for
> 12-34-17

I'm guessing here, but I'm noticing a pattern. maybe the string is
being mistakenly treated as a date:

mm-dd-yy
1-1-12
12-34-17 (but 34 is not a valid day??)

All the strings that work for you do not fall into this format. Again,
it's just an observation.
-- 
Eddie Awad.
http://awads.net/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216144
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-23 Thread Sharon Creese
I am trying the 

- Original Message - 
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 10:31 PM
Subject: RE: URL string not working... HELP!


> Well it would help if you did it from coldfusion using the db as the
source
> for the cfquery.  In any case, try the fixes that I've described below.
>


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216143
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: URL string not working... HELP!

2005-08-23 Thread Russ
Well it would help if you did it from coldfusion using the db as the source
for the cfquery.  In any case, try the fixes that I've described below.  

-Original Message-
From: Sharon Creese [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 23, 2005 11:20 PM
To: CF-Talk
Subject: Re: URL string not working... HELP!

works from query analyzer
- Original Message - 
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 10:22 PM
Subject: RE: URL string not working... HELP!


> The other question was have you tried doing the same query straight from
the
> database, not query of queries... if it works from the database, then it's
a
> QoQ problem.  There might be some hotfixes available that fix this, for
> example, are you running updater 1?
>
> Here is a list of macromedia hotfixes:
>
> http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17883
>
> And there might be workarounds for the issue as well... have you tried
using
> cfqueryparam like somebody suggested?
>
> Russ
>
> -Original Message-
> From: Sharon Creese [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 23, 2005 11:11 PM
> To: CF-Talk
> Subject: Re: URL string not working... HELP!
>
>Server Product
>ColdFusion MX
>
> Version
>6,1,0,63958
>
>
>
> what is the other question
>
> - Original Message - 
> From: "Russ" <[EMAIL PROTECTED]>
> To: "CF-Talk" 
> Sent: Tuesday, August 23, 2005 10:12 PM
> Subject: RE: URL string not working... HELP!
>
>
> > You still havent' answered either of my questions...
> >
> > -Original Message-
> > From: Sharon Creese [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, August 23, 2005 11:04 PM
> > To: CF-Talk
> > Subject: Re: URL string not working... HELP!
> >
> > it will work for product ids of :
> >
> > ABCD1
> > 12-1234
> > AB-123
> > 123-A23-123
> >
> > But not for
> > 12-34-17
> >
> > - Original Message - 
> > From: "Russ" <[EMAIL PROTECTED]>
> > To: "CF-Talk" 
> > Sent: Tuesday, August 23, 2005 10:04 PM
> > Subject: RE: URL string not working... HELP!
> >
> >
> > > Hmm... you're doing a query of queries... this might be a bug with
> that...
> > > have you tried doing the same thing on the db?  What version of CF are
> you
> > > using and have you tried all the latest hotfixes?
> > >
> > > -Original Message-
> > > From: Sharon Creese [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, August 23, 2005 10:49 PM
> > > To: CF-Talk
> > > Subject: Re: URL string not working... HELP!
> > >
> > > sorry about that. Here is what I have now but it fails for everything.
> > >
> > >
> > > 
> > > 
> > >
> > > 
> > >
> > > 
> > > SELECT ProductID, ProductName, Price, LongDescription,
> LargeImage,Company
> > > FROM getCatalog
> > > WHERE ProductID = '#tempVar#'
> > > 
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
> 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216142
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-23 Thread Sharon Creese
works from query analyzer
- Original Message - 
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 10:22 PM
Subject: RE: URL string not working... HELP!


> The other question was have you tried doing the same query straight from
the
> database, not query of queries... if it works from the database, then it's
a
> QoQ problem.  There might be some hotfixes available that fix this, for
> example, are you running updater 1?
>
> Here is a list of macromedia hotfixes:
>
> http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17883
>
> And there might be workarounds for the issue as well... have you tried
using
> cfqueryparam like somebody suggested?
>
> Russ
>
> -Original Message-
> From: Sharon Creese [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 23, 2005 11:11 PM
> To: CF-Talk
> Subject: Re: URL string not working... HELP!
>
>Server Product
>ColdFusion MX
>
> Version
>6,1,0,63958
>
>
>
> what is the other question
>
> - Original Message ----- 
> From: "Russ" <[EMAIL PROTECTED]>
> To: "CF-Talk" 
> Sent: Tuesday, August 23, 2005 10:12 PM
> Subject: RE: URL string not working... HELP!
>
>
> > You still havent' answered either of my questions...
> >
> > -Original Message-
> > From: Sharon Creese [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, August 23, 2005 11:04 PM
> > To: CF-Talk
> > Subject: Re: URL string not working... HELP!
> >
> > it will work for product ids of :
> >
> > ABCD1
> > 12-1234
> > AB-123
> > 123-A23-123
> >
> > But not for
> > 12-34-17
> >
> > - Original Message - 
> > From: "Russ" <[EMAIL PROTECTED]>
> > To: "CF-Talk" 
> > Sent: Tuesday, August 23, 2005 10:04 PM
> > Subject: RE: URL string not working... HELP!
> >
> >
> > > Hmm... you're doing a query of queries... this might be a bug with
> that...
> > > have you tried doing the same thing on the db?  What version of CF are
> you
> > > using and have you tried all the latest hotfixes?
> > >
> > > -Original Message-
> > > From: Sharon Creese [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, August 23, 2005 10:49 PM
> > > To: CF-Talk
> > > Subject: Re: URL string not working... HELP!
> > >
> > > sorry about that. Here is what I have now but it fails for everything.
> > >
> > >
> > > 
> > > 
> > >
> > > 
> > >
> > > 
> > > SELECT ProductID, ProductName, Price, LongDescription,
> LargeImage,Company
> > > FROM getCatalog
> > > WHERE ProductID = '#tempVar#'
> > > 
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216141
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: URL string not working... HELP!

2005-08-23 Thread Russ
The other question was have you tried doing the same query straight from the
database, not query of queries... if it works from the database, then it's a
QoQ problem.  There might be some hotfixes available that fix this, for
example, are you running updater 1?  

Here is a list of macromedia hotfixes:  

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17883

And there might be workarounds for the issue as well... have you tried using
cfqueryparam like somebody suggested?

Russ

-Original Message-
From: Sharon Creese [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 23, 2005 11:11 PM
To: CF-Talk
Subject: Re: URL string not working... HELP!

   Server Product
   ColdFusion MX

Version
   6,1,0,63958



what is the other question

- Original Message - 
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 10:12 PM
Subject: RE: URL string not working... HELP!


> You still havent' answered either of my questions...
>
> -Original Message-
> From: Sharon Creese [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 23, 2005 11:04 PM
> To: CF-Talk
> Subject: Re: URL string not working... HELP!
>
> it will work for product ids of :
>
> ABCD1
> 12-1234
> AB-123
> 123-A23-123
>
> But not for
> 12-34-17
>
> - Original Message - 
> From: "Russ" <[EMAIL PROTECTED]>
> To: "CF-Talk" 
> Sent: Tuesday, August 23, 2005 10:04 PM
> Subject: RE: URL string not working... HELP!
>
>
> > Hmm... you're doing a query of queries... this might be a bug with
that...
> > have you tried doing the same thing on the db?  What version of CF are
you
> > using and have you tried all the latest hotfixes?
> >
> > -Original Message-
> > From: Sharon Creese [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, August 23, 2005 10:49 PM
> > To: CF-Talk
> > Subject: Re: URL string not working... HELP!
> >
> > sorry about that. Here is what I have now but it fails for everything.
> >
> >
> > 
> > 
> >
> > 
> >
> > 
> > SELECT ProductID, ProductName, Price, LongDescription,
LargeImage,Company
> > FROM getCatalog
> > WHERE ProductID = '#tempVar#'
> > 
> >
> >
> >
> >
> >
>
>
>
> 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216140
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-23 Thread Sharon Creese
   Server Product
   ColdFusion MX

Version
   6,1,0,63958



what is the other question

- Original Message - 
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 10:12 PM
Subject: RE: URL string not working... HELP!


> You still havent' answered either of my questions...
>
> -Original Message-
> From: Sharon Creese [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 23, 2005 11:04 PM
> To: CF-Talk
> Subject: Re: URL string not working... HELP!
>
> it will work for product ids of :
>
> ABCD1
> 12-1234
> AB-123
> 123-A23-123
>
> But not for
> 12-34-17
>
> - Original Message - 
> From: "Russ" <[EMAIL PROTECTED]>
> To: "CF-Talk" 
> Sent: Tuesday, August 23, 2005 10:04 PM
> Subject: RE: URL string not working... HELP!
>
>
> > Hmm... you're doing a query of queries... this might be a bug with
that...
> > have you tried doing the same thing on the db?  What version of CF are
you
> > using and have you tried all the latest hotfixes?
> >
> > -Original Message-
> > From: Sharon Creese [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, August 23, 2005 10:49 PM
> > To: CF-Talk
> > Subject: Re: URL string not working... HELP!
> >
> > sorry about that. Here is what I have now but it fails for everything.
> >
> >
> > 
> > 
> >
> > 
> >
> > 
> > SELECT ProductID, ProductName, Price, LongDescription,
LargeImage,Company
> > FROM getCatalog
> > WHERE ProductID = '#tempVar#'
> > 
> >
> >
> >
> >
> >
>
>
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216139
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: URL string not working... HELP!

2005-08-23 Thread Russ
You still havent' answered either of my questions... 

-Original Message-
From: Sharon Creese [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 23, 2005 11:04 PM
To: CF-Talk
Subject: Re: URL string not working... HELP!

it will work for product ids of :

ABCD1
12-1234
AB-123
123-A23-123

But not for
12-34-17

- Original Message - 
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 10:04 PM
Subject: RE: URL string not working... HELP!


> Hmm... you're doing a query of queries... this might be a bug with that...
> have you tried doing the same thing on the db?  What version of CF are you
> using and have you tried all the latest hotfixes?
>
> -Original Message-
> From: Sharon Creese [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 23, 2005 10:49 PM
> To: CF-Talk
> Subject: Re: URL string not working... HELP!
>
> sorry about that. Here is what I have now but it fails for everything.
>
>
> 
> 
>
> 
>
> 
> SELECT ProductID, ProductName, Price, LongDescription, LargeImage,Company
> FROM getCatalog
> WHERE ProductID = '#tempVar#'
> 
>
>
>
>
> 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216138
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-23 Thread Sharon Creese
it will work for product ids of :

ABCD1
12-1234
AB-123
123-A23-123

But not for
12-34-17

- Original Message - 
From: "Russ" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 10:04 PM
Subject: RE: URL string not working... HELP!


> Hmm... you're doing a query of queries... this might be a bug with that...
> have you tried doing the same thing on the db?  What version of CF are you
> using and have you tried all the latest hotfixes?
>
> -Original Message-
> From: Sharon Creese [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 23, 2005 10:49 PM
> To: CF-Talk
> Subject: Re: URL string not working... HELP!
>
> sorry about that. Here is what I have now but it fails for everything.
>
>
> 
> 
>
> 
>
> 
> SELECT ProductID, ProductName, Price, LongDescription, LargeImage,Company
> FROM getCatalog
> WHERE ProductID = '#tempVar#'
> 
>
>
>
>
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216137
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: URL string not working... HELP!

2005-08-23 Thread Russ
Hmm... you're doing a query of queries... this might be a bug with that...
have you tried doing the same thing on the db?  What version of CF are you
using and have you tried all the latest hotfixes?

-Original Message-
From: Sharon Creese [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 23, 2005 10:49 PM
To: CF-Talk
Subject: Re: URL string not working... HELP!

sorry about that. Here is what I have now but it fails for everything.





 


SELECT ProductID, ProductName, Price, LongDescription, LargeImage,Company
FROM getCatalog
WHERE ProductID = '#tempVar#' 





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216136
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-23 Thread Sharon Creese
sorry about that. Here is what I have now but it fails for everything.





 


SELECT ProductID, ProductName, Price, LongDescription, LargeImage,Company
FROM getCatalog
WHERE ProductID = '#tempVar#' 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216135
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-23 Thread Sharon Creese
I ytird yjr following but it still fails





#tempvar#


SELECT ProductID, ProductName, Price, LongDescription, LargeImage,Company
FROM getCatalog
WHERE ProductID = '#URL.thisProduct#'

- Original Message - 
From: "Charlie Griefer" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, August 23, 2005 8:37 PM
Subject: Re: URL string not working... HELP!


> a  (with the appropriate cfsqltype) around the
> URL.thisProduct should fix things up.
>
> and/or you could wrap the var in a toString() ?
>
>
> On 8/23/05, Sharon Creese <[EMAIL PROTECTED]> wrote:
> > I just tried that and it did not work. I think what is happenning is
that
> > when the value is passed to the query it does not like the the - when
the
> > other parts of the string are numbers so it tries to do math though it
is a
> > string.
> >
> > I am doing a query and then running another query against the first's
> > results
> > 
> >
> > SELECT
> >   PC.CategoryID,
> >   C.CategoryName,
> >   PC.SubCatID,
> >   PC.ProductID,
> >   SC.SubCatName,
> >   P.ProductName,
> >   P.ShortDescription,
> >   P.LongDescription,
> >   P.Price,
> >   P.SmallImage,
> >   P.LargeImage,
> >   P.Status,
> >   P.Company,
> > p.proddoc
> > FROM ProductsCategories PC,Categories C,SubCategories SC,Products P
> > WHERE  C.CategoryID = PC.CategoryID
> > AND SC.SubCatID = PC.SubCatID
> > AND  P.ProductID = PC.ProductID
> > AND P.Status = 'Yes'
> > ORDER BY P.ProductName;
> > 
> >
> > 
> > SELECT ProductID, ProductName, Price, LongDescription,
LargeImage,Company
> > FROM getCatalog
> > WHERE ProductID = '#URL.thisProduct#'
> > 
> >
> > This works with all product codes I pass exept ones previously described
> > such as 123-567-78
> >
> >
> >
>
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216133
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-23 Thread Charlie Griefer
a  (with the appropriate cfsqltype) around the
URL.thisProduct should fix things up.

and/or you could wrap the var in a toString() ?


On 8/23/05, Sharon Creese <[EMAIL PROTECTED]> wrote:
> I just tried that and it did not work. I think what is happenning is that
> when the value is passed to the query it does not like the the - when the
> other parts of the string are numbers so it tries to do math though it is a
> string.
> 
> I am doing a query and then running another query against the first's
> results
> 
> 
> SELECT
>   PC.CategoryID,
>   C.CategoryName,
>   PC.SubCatID,
>   PC.ProductID,
>   SC.SubCatName,
>   P.ProductName,
>   P.ShortDescription,
>   P.LongDescription,
>   P.Price,
>   P.SmallImage,
>   P.LargeImage,
>   P.Status,
>   P.Company,
> p.proddoc
> FROM ProductsCategories PC,Categories C,SubCategories SC,Products P
> WHERE  C.CategoryID = PC.CategoryID
> AND SC.SubCatID = PC.SubCatID
> AND  P.ProductID = PC.ProductID
> AND P.Status = 'Yes'
> ORDER BY P.ProductName;
> 
> 
> 
> SELECT ProductID, ProductName, Price, LongDescription, LargeImage,Company
> FROM getCatalog
> WHERE ProductID = '#URL.thisProduct#'
> 
> 
> This works with all product codes I pass exept ones previously described
> such as 123-567-78
> 
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216131
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-23 Thread Sharon Creese
I just tried that and it did not work. I think what is happenning is that
when the value is passed to the query it does not like the the - when the
other parts of the string are numbers so it tries to do math though it is a
string.

I am doing a query and then running another query against the first's
results


SELECT
  PC.CategoryID,
  C.CategoryName,
  PC.SubCatID,
  PC.ProductID,
  SC.SubCatName,
  P.ProductName,
  P.ShortDescription,
  P.LongDescription,
  P.Price,
  P.SmallImage,
  P.LargeImage,
  P.Status,
  P.Company,
p.proddoc
FROM ProductsCategories PC,Categories C,SubCategories SC,Products P
WHERE  C.CategoryID = PC.CategoryID
AND SC.SubCatID = PC.SubCatID
AND  P.ProductID = PC.ProductID
AND P.Status = 'Yes'
ORDER BY P.ProductName;



SELECT ProductID, ProductName, Price, LongDescription, LargeImage,Company
FROM getCatalog
WHERE ProductID = '#URL.thisProduct#'


This works with all product codes I pass exept ones previously described
such as 123-567-78


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216126
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL string not working... HELP!

2005-08-23 Thread Charlie Griefer
have you tried URLEncodedFormat()?

and can you define "pukes"?

On 8/23/05, Sharon Creese <[EMAIL PROTECTED]> wrote:
> I am passing information via a URL string to a detail page as the following
> 
> htpp://.../index.cfm?action=Shop&thisPage=Detail&thisProduct=1-1-12
> 
> but it pukes on the Product variable. The product id is a text value in the 
> database. If I pass 1-TAD-12 it works fine. I am not sure what the problem is 
> other than numbers with - is not working.
> 
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216119
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


URL string not working... HELP!

2005-08-23 Thread Sharon Creese
I am passing information via a URL string to a detail page as the following

htpp://.../index.cfm?action=Shop&thisPage=Detail&thisProduct=1-1-12

but it pukes on the Product variable. The product id is a text value in the 
database. If I pass 1-TAD-12 it works fine. I am not sure what the problem is 
other than numbers with - is not working.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216113
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: URL String and cfsavecontent

2005-07-08 Thread Mark A Kruger
Try it directly (make sure it exists).

-mk


 var myvar = _root.lid;
 var myClickHandler = function (evt)
 {
 if (evt.detail == mx.controls.Alert.YES)
 {

 getUrl('Detail.cfm?task=1&LID=' + _root.lid, GET);
 }
 }
 //create the alert
 var myAlert = mx.controls.Alert.show("Are you sure you want to
approve this request", "Warning",
 mx.controls.Alert.YES | mx.controls.Alert.CANCEL, this,
myClickHandler);
 

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 07, 2005 8:18 PM
To: CF-Talk
Subject: Re: URL String and cfsavecontent


A ha!  That's a COMPLETELY different question, and I have no idea how
to solve, since I don't use CF7 for anything.  Any set of flash docs
should give you the anwser though.  You're form is just a movie, so it
has the same access to the page it's embedded in's URL scope as a
normal Flash IDE-created movie.

cheers,
barneyb

On 7/7/05, Michael Hohnecker <[EMAIL PROTECTED]> wrote:
> Here is a better example of what i'm doing.  I have an alert box in flash
forms.  I would like the getURL to run with the current URL string which
looks like http://www.test.com?lid=4.
>
> Is this the proper way to bring in a URL string variable:  var myvar =
_root.lid;
>
> 
> var myvar = _root.lid;
> var myClickHandler = function (evt)
> {
> if (evt.detail == mx.controls.Alert.YES)
> {
>
> getUrl('Detail.cfm?task=1&LID=' +myvar);
> }
> }
> //create the alert
> var myAlert = mx.controls.Alert.show("Are you sure you want to
approve this request", "Warning",
> mx.controls.Alert.YES | mx.controls.Alert.CANCEL, this,
myClickHandler);
> 
>
>
>
> 
> 
> 
> 
> 
> 
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211420
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL String and cfsavecontent

2005-07-07 Thread Barney Boisvert
A ha!  That's a COMPLETELY different question, and I have no idea how
to solve, since I don't use CF7 for anything.  Any set of flash docs
should give you the anwser though.  You're form is just a movie, so it
has the same access to the page it's embedded in's URL scope as a
normal Flash IDE-created movie.

cheers,
barneyb

On 7/7/05, Michael Hohnecker <[EMAIL PROTECTED]> wrote:
> Here is a better example of what i'm doing.  I have an alert box in flash 
> forms.  I would like the getURL to run with the current URL string which 
> looks like http://www.test.com?lid=4.
> 
> Is this the proper way to bring in a URL string variable:  var myvar = 
> _root.lid;
> 
> 
> var myvar = _root.lid;
> var myClickHandler = function (evt)
> {
> if (evt.detail == mx.controls.Alert.YES)
> {
> 
> getUrl('Detail.cfm?task=1&LID=' +myvar);
> }
> }
> //create the alert
> var myAlert = mx.controls.Alert.show("Are you sure you want to 
> approve this request", "Warning",
> mx.controls.Alert.YES | mx.controls.Alert.CANCEL, this, 
> myClickHandler);
> 
> 
> 
> 
>  name="Approve" width="400" height="200" >
> 
>  value="Approve Request"  onClick="#ShowApprovalAlert#"  >
>  value="Decline Request"  >
> 
> 
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211401
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL String and cfsavecontent

2005-07-07 Thread Michael Hohnecker
Here is a better example of what i'm doing.  I have an alert box in flash 
forms.  I would like the getURL to run with the current URL string which looks 
like http://www.test.com?lid=4.

Is this the proper way to bring in a URL string variable:  var myvar = 
_root.lid; 


var myvar = _root.lid;
var myClickHandler = function (evt)
{
if (evt.detail == mx.controls.Alert.YES)
{
   
getUrl('Detail.cfm?task=1&LID=' +myvar);
}
}
//create the alert
var myAlert = mx.controls.Alert.show("Are you sure you want to approve 
this request", "Warning", 
mx.controls.Alert.YES | mx.controls.Alert.CANCEL, this, myClickHandler);











~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211400
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL String and cfsavecontent

2005-07-07 Thread Jared Rypka-Hauer - CMG, LLC
Hold the phone... bah.


#url.myUrlVariable#


Much better... it will only save the text stored in the output buffer once 
the savecontent tag is done executing. So if you haven't output anything, 
you won't have anything inside the variable.

Sorry for the confusion...

J

On 7/7/05, Jared Rypka-Hauer - CMG, LLC <[EMAIL PROTECTED]> wrote:
> 
> Michael...
> 
> To be honest, your code makes no sense at all... try this:
> 
> http://www.test.com?myurlvar=testing
> 
> 
> 
> 
> 
> #testing#
> 
> First off, you only have a string inside the savecontent... which means 
> that you're not going to execute the code. CFSAVECONTENT actually executes 
> the code inside it and puts the output buffer into the variable named in the 
> variable attribute. Also, I've got no idea where _root. comes from, but you 
> have no connection to the URL scope in the code example.
> 
> You can only use the var keyword inside a CFFUNCTION tag, and if that's 
> the case you should be passing the URL scope (or any struct for that matter) 
> into the function instead of accessing it directly. If you want your code to 
> work as written, you'll have to wrap your set operation in a CFSCRIPT tag.
> 
> Hope that helps,
> J
> 
> On 7/7/05, Michael Hohnecker <[EMAIL PROTECTED]> wrote:
> > 
> > How can i pull a url string into a cfsavecontent. below is an example:
> > 
> > Sample URL String:
> > http://www.test.com?myurlvar=testing
> > 
> > Sample CFML Code:
> >  
> > var myvar = _root.MyUrlVar;
> > 
> > 
> > I receive no errors when testing. MyVar comes back to me as undefined.
> > 
> > The code is simplified to match my real problem.
> > 
> > Thanks, mike
> > 
> > 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211399
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL String and cfsavecontent

2005-07-07 Thread Barney Boisvert


perhaps?  I'm not really sure what you're asking.  Maybe this:



Your code will put the string "var myvar = _root.myurlvar;" into the
variable "testing", along with some leading and trailing whitespace. 
No other variables will be set or accessed (including your URL
variable; it's totally unused).

cheers,
barneyb

On 7/7/05, Michael Hohnecker <[EMAIL PROTECTED]> wrote:
> How can i pull a url string into a cfsavecontent.  below is an example:
> 
> Sample URL String:
> http://www.test.com?myurlvar=testing
> 
> Sample CFML Code:
> 
> var myvar = _root.MyUrlVar;
> 
> 
> I receive no errors when testing.  MyVar comes back to me as undefined.
> 
> The code is simplified to match my real problem.
> 
> Thanks, mike
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211398
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URL String and cfsavecontent

2005-07-07 Thread Jared Rypka-Hauer - CMG, LLC
Michael...

To be honest, your code makes no sense at all... try this:

http://www.test.com?myurlvar=testing





#testing#

First off, you only have a string inside the savecontent... which means that 
you're not going to execute the code. CFSAVECONTENT actually executes the 
code inside it and puts the output buffer into the variable named in the 
variable attribute. Also, I've got no idea where _root. comes from, but you 
have no connection to the URL scope in the code example.

You can only use the var keyword inside a CFFUNCTION tag, and if that's the 
case you should be passing the URL scope (or any struct for that matter) 
into the function instead of accessing it directly. If you want your code to 
work as written, you'll have to wrap your set operation in a CFSCRIPT tag.

Hope that helps,
J

On 7/7/05, Michael Hohnecker <[EMAIL PROTECTED]> wrote:
> 
> How can i pull a url string into a cfsavecontent. below is an example:
> 
> Sample URL String:
> http://www.test.com?myurlvar=testing
> 
> Sample CFML Code:
> 
> var myvar = _root.MyUrlVar;
> 
> 
> I receive no errors when testing. MyVar comes back to me as undefined.
> 
> The code is simplified to match my real problem.
> 
> Thanks, mike
> 
> 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211397
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


URL String and cfsavecontent

2005-07-07 Thread Michael Hohnecker
How can i pull a url string into a cfsavecontent.  below is an example:

Sample URL String:
http://www.test.com?myurlvar=testing

Sample CFML Code:

var myvar = _root.MyUrlVar;


I receive no errors when testing.  MyVar comes back to me as undefined.

The code is simplified to match my real problem.

Thanks, mike

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211396
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: url string parameter question.

2004-06-05 Thread Tony Weeg


that checks to see if there is 1 parameter, and if there is, check to
make sure its numeric only, and if so, ROCK ON :)

it works.

Ill try that other one Sunday.

thanks dave.

im off to my surprise 31st birthday something, my wife has a weekend
planned, and I have no idea what is going on  later, maybe ? :)

tony

Tony Weeg
sr. web applications architect
navtrak, inc.
[EMAIL PROTECTED]
410.548.2337
www.navtrak.net 

Visit http://www.antiwrap.com the next time you want to send a link to a
friend.

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 05, 2004 10:57 AM
To: CF-Talk
Subject: RE: url string parameter question.

> in a url string...
> 
> http://www.antiwrap.com/?a=1
> 
> I can get to a, because its url.a, and I know it equals 1
> 
> however, how do I get to this?
> 
> http://www.somedomain.com/?
> 
>  = nothing.
> 
> I guess it's a struct, called url, and it has a thing called
> , but I guess, how do I get to the freakin thing, so I 
> can use the name of the thing?

I don't think the URL scope will be especially useful for this. Just
examine CGI.QUERY_STRING directly.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: url string parameter question.

2004-06-05 Thread Dave Watts
> in a url string...
> 
> http://www.antiwrap.com/?a=1
> 
> I can get to a, because its url.a, and I know it equals 1
> 
> however, how do I get to this?
> 
> http://www.somedomain.com/?
> 
>  = nothing.
> 
> I guess it's a struct, called url, and it has a thing called 
> , but I guess, how do I get to the freakin thing, so I 
> can use the name of the thing?

I don't think the URL scope will be especially useful for this. Just examine
CGI.QUERY_STRING directly.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: url string parameter question.

2004-06-04 Thread Tony Weeg
so, I can look for this...



	Has a url like this
	http://www.somedomain.com/?



	Has a url like this
	http://www.somedomain.com/?a=&tony=1



so, then I can use

structKeyList(url), which gives me the name of the url parameter, but
really it's the number I want :)

tony

Tony Weeg
sr. web applications architect
navtrak, inc.
[EMAIL PROTECTED]
410.548.2337
www.navtrak.net 

Visit http://www.antiwrap.com the next time you want to send a link to a
friend.

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 04, 2004 9:50 PM
To: CF-Talk
Subject: url string parameter question.

in a url string...

http://www.antiwrap.com/?a=1

I can get to a, because its url.a, and I know it equals 1

however, how do I get to this?

http://www.somedomain.com/?

 = nothing.

I guess it's a struct, called url, and it has a thing called , 
but I guess, how do I get to the freakin thing, so I can use the name of
the thing?

thanks!

tony

r e v o l u t i o n w e b d e s i g n 
[EMAIL PROTECTED]
www.revolutionwebdesign.com

Visit http://www.antiwrap.com the next time you want to send a link to a
friend.

its only looks good to those who can see bad as well
-anonymous
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




url string parameter question.

2004-06-04 Thread Tony Weeg
in a url string...

http://www.antiwrap.com/?a=1

I can get to a, because its url.a, and I know it equals 1

however, how do I get to this?

http://www.somedomain.com/?

 = nothing.

I guess it's a struct, called url, and it has a thing called , 
but I guess, how do I get to the freakin thing, so I can use the name of
the thing?

thanks!

tony

r e v o l u t i o n w e b d e s i g n 
[EMAIL PROTECTED]
www.revolutionwebdesign.com

Visit http://www.antiwrap.com the next time you want to send a link to a
friend.

its only looks good to those who can see bad as well
-anonymous
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: URL string format

2003-08-27 Thread Mosh Teitelbaum
Robert:

Look into the HTMLEditFormat() function.  The specific problem here is
likely the double-quotes in your string.  The browser sees the quotes and
assumes that the value of the HTML attribute ends with that double-quote.
The HTMLEditFormat() function escapes the quotes for just such a reason.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -Original Message-
> From: Robert Orlini [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 27, 2003 2:30 PM
> To: CF-Talk
> Subject: URL string format
>
>
> I have a string in a field in an SQL table such as:  face="Arial" size="2">American
> Book of Days, 4th Ed..
> I pass this and other fields in this record to an update form so
> I can edit the record. The fields display in input text boxes.
>
> The problem I have is this particular text displays partly inside
> the box and partly outside. It seems to have a problem
> interpreting the string.
>
> What CF command can I add to  #getbookid.url# to make the URL
> string display in the text box? Is there some string format command?
>
> 
>
> Thanks.
>
> Robert O.
> HWW
> 
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

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


URL string format

2003-08-27 Thread Robert Orlini
I have a string in a field in an SQL table such as: American Book of Days, 4th Ed..
I pass this and other fields in this record to an update form so I can edit the 
record. The fields display in input text boxes.

The problem I have is this particular text displays partly inside the box and partly 
outside. It seems to have a problem interpreting the string.

What CF command can I add to  #getbookid.url# to make the URL string display in the 
text box? Is there some string format command?



Thanks.

Robert O.
HWW
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

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


URL string problem

2001-08-16 Thread Peter Fralin

I have a few dynamically generated hyperlinks in my site that generate links
that look like this;

http://www.theiia.org/iia/conferencedetails.cfm?conID=66&conarea=conlist&cat
ID=2

and for 99% of my users the link works without any problems.

But there is a small percentage of my clients who although the hyperlink in
the source code of the generated cfm page is as shown above the url request
that the server receives from these users looks like this;

http://www.theiia.org/iia/conferencedetails.cfm?conID=3D66&conarea=3Dconlist
&catID=3D2

Has any one else ever had this sort of problem?

Does anyone know what would cause this to happen?

This problem has been going on for some time and I have not been able to
find any reference to it in the Allaire Forums so I am trying this list.

The server is an Windows NT 4 with sp 6, running IIS 4 and CF Server 4.5.2

- Peter Fralin


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



url string problems

2001-05-23 Thread Brook Davies

Does any one have any idea why one of these links works and the other give 
me a "page can not be displayed error" The big number in the middle is a 
UUID. The crazy thing is if you change the last digit of the UUID in this 
string, volia, it works!

http://www.mysite.com/unsubscribe.cfm?formtype=unsubscribe&xl=Email_Address&; 
EID=BC981CD304ED9011D508F43000347633EC2&[EMAIL PROTECTED]
http://www.mysite.com/unsubscribe.cfm?formtype=unsubscribe&xl=Email_Address&; 
EID=DF4F93C804714011D50852F0050DAB681A3&[EMAIL PROTECTED]

This makes absolutely no sense to me. One works, the other doesn't. Mot 
only does it not work, but it can't even find the page?! My head hurts

Brook Davies
Maracasmedia inc











  MARACASMEDIA INC.

  Brook Davies
  President


 

Address Info
 

421 - 425 Carrall Street
Vancouver, BC
V6B 6E3 CA 








~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: url string

2001-01-08 Thread Albert K Arhin

try the CGI variables

-Original Message-
From: Jay Brushett [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 10:16 AM
To: CF-Talk
Subject: url string



Hi,

Just wondering if there was a way to reference the entire url string
instead of just a certain named variable.

TIA,

Jay
< > < > < > < > < Strategy ~ Creativity ~ Technology > < > < > < > < > < >

Jay Brushett
[EMAIL PROTECTED]

Developer

< ZeddComm Inc. >
2nd Floor, The Tower | 100 Signal Hill Road
St. John's, Newfoundland | Canada A1A 1B3
Main: 709.570.5669 | Fax: 709.739.9003
Web: www.zeddcomm.com
< > < > < > < St. John's ~ New York ~ Newport Beach ~ Ottawa > < > < > < >
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: url string

2001-01-08 Thread Jay Brushett

Thanks Ben.
I discovered it shortly after posting the message, I didn't even bother to 
think about server variables! Doh!

Thanks again,

Jay

At 08:42 AM 1/8/2001 -0500, you wrote:
>#CGI.QUERY_STRING#
>
>--- Ben
>
>
>
>-Original Message-
>From: Jay Brushett [mailto:[EMAIL PROTECTED]]
>Sent: Monday, January 08, 2001 5:16 AM
>To: CF-Talk
>Subject: url string
>
>
>
>Hi,
>
>Just wondering if there was a way to reference the entire url string
>instead of just a certain named variable.
>
>TIA,
>
>Jay
>< > < > < > < > < Strategy ~ Creativity ~ Technology > < > < > < > < > < >
>
>Jay Brushett
>[EMAIL PROTECTED]
>
>Developer
>
>< ZeddComm Inc. >
>2nd Floor, The Tower | 100 Signal Hill Road
>St. John's, Newfoundland | Canada A1A 1B3
>Main: 709.570.5669 | Fax: 709.739.9003
>Web: www.zeddcomm.com
>< > < > < > < St. John's ~ New York ~ Newport Beach ~ Ottawa > < > < > < >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: url string

2001-01-08 Thread Ben Forta

#CGI.QUERY_STRING#

--- Ben



-Original Message-
From: Jay Brushett [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 08, 2001 5:16 AM
To: CF-Talk
Subject: url string



Hi,

Just wondering if there was a way to reference the entire url string
instead of just a certain named variable.

TIA,

Jay
< > < > < > < > < Strategy ~ Creativity ~ Technology > < > < > < > < > < >

Jay Brushett
[EMAIL PROTECTED]

Developer

< ZeddComm Inc. >
2nd Floor, The Tower | 100 Signal Hill Road
St. John's, Newfoundland | Canada A1A 1B3
Main: 709.570.5669 | Fax: 709.739.9003
Web: www.zeddcomm.com
< > < > < > < St. John's ~ New York ~ Newport Beach ~ Ottawa > < > < > < >
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



url string

2001-01-08 Thread Jay Brushett


Hi,

Just wondering if there was a way to reference the entire url string 
instead of just a certain named variable.

TIA,

Jay
< > < > < > < > < Strategy ~ Creativity ~ Technology > < > < > < > < > < >

Jay Brushett
[EMAIL PROTECTED]

Developer

< ZeddComm Inc. >
2nd Floor, The Tower | 100 Signal Hill Road
St. John's, Newfoundland | Canada A1A 1B3
Main: 709.570.5669 | Fax: 709.739.9003
Web: www.zeddcomm.com
< > < > < > < St. John's ~ New York ~ Newport Beach ~ Ottawa > < > < > < >



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Passing Url String In Form Button

2000-08-10 Thread Philip Arnold - ASP

> Can anyone show me the proper format so I can pass this string
> "action.cfm?area=#urlencodedformat(url.area)#&city=#urlencodedform
> at(url.cit
> y)#&zip=#urlencodedformat(url.zip)#&name=#urlencodedformat(url.nam
> e)#&agency
> =#urlencodedformat(url.agency)#&pageno=1&contact_id=#contact_id#&a
> ction=yes"
> by using a form button.

Just realised what you wanted to do - thought you wanted to go to that url
not pass it

Put the whole thing into one Hidden field in the form;


And a normal submit button

Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Passing Url String In Form Button

2000-08-10 Thread Philip Arnold - ASP

> Can anyone show me the proper format so I can pass this string
> "action.cfm?area=#urlencodedformat(url.area)#&city=#urlencodedform
> at(url.cit
> y)#&zip=#urlencodedformat(url.zip)#&name=#urlencodedformat(url.nam
> e)#&agency
> =#urlencodedformat(url.agency)#&pageno=1&contact_id=#contact_id#&a
> ction=yes"
> by using a form button.

The easiest way is to not put it as the action




etc. etc.



Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify 
the system manager.
**


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Passing Url String In Form Button

2000-08-10 Thread Dana Larose

The simplest thing to do is just make your string the action of the form



OTOH, if you want the to be passed like form elements, just turn them into
hidden fields:


...

Dana Larose
ColdFusion Monkey
Canadian Web Design & Consulting Inc.
E: [EMAIL PROTECTED]
W: http://www.cdnwebdesign.com

> -Original Message-
> From: Double Down, Inc. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 10, 2000 9:48 AM
> To: House Of Fusion
> Subject: Passing Url String In Form Button
>
>
> Can anyone show me the proper format so I can pass this string
> "action.cfm?area=#urlencodedformat(url.area)#&city=#urlencodedform
> at(url.cit
> y)#&zip=#urlencodedformat(url.zip)#&name=#urlencodedformat(url.nam
> e)#&agency
> =#urlencodedformat(url.agency)#&pageno=1&contact_id=#contact_id#&a
> ction=yes"
> by using a form button.
>
> TIA
> DDINC
>
> --
> 
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Passing Url String In Form Button

2000-08-10 Thread Ed Toon



--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Passing Url String In Form Button

2000-08-10 Thread Richard Wrightsman

Here you go:



Then put your button in:


Then close the form:


-Original Message-
From: Double Down, Inc. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 10, 2000 7:48 AM
To: House Of Fusion
Subject: Passing Url String In Form Button


Can anyone show me the proper format so I can pass this string
"action.cfm?area=#urlencodedformat(url.area)#&city=#urlencodedformat(url.cit
y)#&zip=#urlencodedformat(url.zip)#&name=#urlencodedformat(url.name)#&agency
=#urlencodedformat(url.agency)#&pageno=1&contact_id=#contact_id#&action=yes"
by using a form button.

TIA
DDINC


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Passing Url String In Form Button

2000-08-10 Thread Double Down, Inc.

Can anyone show me the proper format so I can pass this string
"action.cfm?area=#urlencodedformat(url.area)#&city=#urlencodedformat(url.cit
y)#&zip=#urlencodedformat(url.zip)#&name=#urlencodedformat(url.name)#&agency
=#urlencodedformat(url.agency)#&pageno=1&contact_id=#contact_id#&action=yes"
by using a form button.

TIA
DDINC

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Passing URL String In From Button

2000-08-09 Thread Double Down, Inc.

Can anyone show me the proper format so I can pass this string
"action.cfm?area=#urlencodedformat(url.area)#&city=#urlencodedformat(url.cit
y)#&zip=#urlencodedformat(url.zip)#&name=#urlencodedformat(url.name)#&agency
=#urlencodedformat(url.agency)#&pageno=1&contact_id=#contact_id#&action=yes"
by using a form button.

TIA
DDINC

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.