Re: cfhttp showing default info, not my site

2004-08-26 Thread Paul Giesenhagen
It worked fine for me .. it pulled up the web hosting site ...

Dunno what to tell ya .. sorry!

Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com

  - Original Message - 
  From: joe velez 
  To: CF-Talk 
  Sent: Friday, August 27, 2004 1:14 AM
  Subject: Re: cfhttp showing default info, not my site

  ya i saw the value of pageid, but that would at least provide an error, and save the error. im not getting htat, im getting the default page .. but i tried a couple other sites running on a different IP and it works fine for them, so it must jsut be my site for some reason. gotta figure out why. 

  btw, i fixed it to be #thispage# ... but cfhttp to my site on the server itself is not working, but works for other sites.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfhttp showing default info, not my site

2004-08-26 Thread joe velez
ya i saw the value of pageid, but that would at least provide an error, and save the error. im not getting htat, im getting the default page .. but i tried a couple other sites running on a different IP and it works fine for them, so it must jsut be my site for some reason. gotta figure out why. 

btw, i fixed it to be #thispage# ... but cfhttp to my site on the server itself is not working, but works for other sites.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfhttp showing default info, not my site

2004-08-26 Thread Paul Giesenhagen
Joe,

It IS going to your site, but it doesn't like the value of 'thispage' it gives off an error.  

Place characters around yoru #cfhttp.filecontent# and you will see it in the result .. which is telling me that the code is not producing the error, but the page it is calling.  If you change the NAME of your cfhttpparam from pageid to something like X, your site loads up fine ...  you will need to check the code on yoru index.cfm file that you are POSTING too.

Hope this helps

Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com

  - Original Message - 
  From: joe velez 
  To: CF-Talk 
  Sent: Friday, August 27, 2004 12:59 AM
  Subject: Re: cfhttp showing default info, not my site

  
  
  
  
  #cfhttp.filecontent#

  I tried both 
  
  and
  
  (see how set the webpath with a trailing slash)

  i think its because the site is behind a firewall, and the box cant see itself. but then... how does CFSchedule work every day??? :)

  and then i try to hard code a different site on the same server, works ok, then i try the same function in their site, and i get the same error. 

  im confused!

  -joe

  > Send your code .. I will test it from here.
  > 
  > Paul Giesenhagen
  > QuillDesign
  > 417-885-1375
  > http://www.quilldesign.com
  > 
  > 
    
  > - Original Message - 
    
  > From: joe velez 
    
  > To: CF-Talk 
    
  > Sent: Friday, August 27, 2004 12:45 AM
    
  > Subject: cfhttp showing default info, not my site
  > 
  > 
    
  > when i CFHTTP to my own site instead of seeing my site, i get a THIS 
  > IS THE DEFAULT PLESK PAGE .. i can CFHTTP to other sites no problem.
  > 
    
  > any suggestions for a fix?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfhttp showing default info, not my site

2004-08-26 Thread joe velez




#cfhttp.filecontent#

I tried both 

and

(see how set the webpath with a trailing slash)

i think its because the site is behind a firewall, and the box cant see itself. but then... how does CFSchedule work every day??? :)

and then i try to hard code a different site on the same server, works ok, then i try the same function in their site, and i get the same error. 

im confused!

-joe

> Send your code .. I will test it from here.
> 
> Paul Giesenhagen
> QuillDesign
> 417-885-1375
> http://www.quilldesign.com
> 
> 
  
> - Original Message - 
  
> From: joe velez 
  
> To: CF-Talk 
  
> Sent: Friday, August 27, 2004 12:45 AM
  
> Subject: cfhttp showing default info, not my site
> 
> 
  
> when i CFHTTP to my own site instead of seeing my site, i get a THIS 
> IS THE DEFAULT PLESK PAGE .. i can CFHTTP to other sites no problem.
> 
  
> any suggestions for a fix?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfhttp showing default info, not my site

2004-08-26 Thread Paul Giesenhagen
Send your code .. I will test it from here.

Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com

  - Original Message - 
  From: joe velez 
  To: CF-Talk 
  Sent: Friday, August 27, 2004 12:45 AM
  Subject: cfhttp showing default info, not my site

  when i CFHTTP to my own site instead of seeing my site, i get a THIS IS THE DEFAULT PLESK PAGE .. i can CFHTTP to other sites no problem.

  any suggestions for a fix?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




cfhttp showing default info, not my site

2004-08-26 Thread joe velez
when i CFHTTP to my own site instead of seeing my site, i get a THIS IS THE DEFAULT PLESK PAGE .. i can CFHTTP to other sites no problem.

any suggestions for a fix?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Both Plain Text and HTML in cfmail

2004-08-26 Thread simmyana a
I am using Cold Fusion v. MX 6.0 which does not support  tag

>Any reaason you're not using the built-in cfmailpart tags?
> 
>
>
>
>
>
>
>
>
>
>-Original Message-
>From: simmyana a [mailto:[EMAIL PROTECTED] 
>Sent: 26 August 2004 11:51
>To: CF-Talk
>Subject: Re: Both Plain Text and HTML in cfmail
>
>
>yeah that link is working but i am also facing the same problem 
>and i am using 
>Windows 2000 Server 
>Cold Fusion v. MX 6.0
>
>any help??
>
>>http://tinyurl.com/625zp  ... does that work?
>> 
>>-- 
>>dc 
>  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




query caching and cfcs

2004-08-26 Thread Douglas Knudsen
Ok, I got a cfc named goo.  Inside goo I perform a query.  Now this cfc goo
has an instance stored in the application scope.  I want to employ query
caching on that query via the cfquery tags cachedwithin attribute.
Something tells me this no so good for thread safteyness, eh?  Thoughts?
Yes, I var scoped the query name.  Is it the fact that CF uses the name,
sql, and dsn to ID the query in memory make my question moot?

 
Doug
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: CF and JS question

2004-08-26 Thread Douglas Knudsen
beautiful use of JSStringFormat() Isaac!  You know I fought with errant '
and " in my JS for like a year and a half before discovering this function.
Now, doesn't the below creae an array of 3d arrays?  A true 3D array is nto
available like CF, IIRC.  Anyhoo, I've used the below approach also 

 
var sys = new Array;
  
   sys['#JSStringFormat(rates.billsystem)#'] = new Array;
   

 
sys['#JSStringFormat(rates.billsystem)#']['#JSStringFormat(rates.rateplan)#'
] = new Array 
    

 
sys['#JSStringFormat(rates.billsystem)#']['#JSStringFormat(rates.rateplan)#'
]['#JSStringFormat(rates.descr)#'] = '#JSStringFormat(rates.url)#';
    
   
  

 
Doug

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 4:05 PM
To: CF-Talk
Subject: Re: CF and JS question

_javascript_ arrays are declared a bit differently than CF arrays.

try this:

var taskArray = new Array();

  to="#alltasks.recordcount#">
  taskArray[#x-1#] = new Array(
'#jsstringformat(alltasks.task)#',
'#jsstringformat(alltasks.c_taskid)#',
'#jsstringformat(alltasks.c_activityid)#');


s. isaac dealey   954.927.5117

new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Photo Album Modification

2004-08-26 Thread Mark Henderson
After a slight change in approach I've managed to simplify my code (to a degree). 

qry_photos.cfm
--





  action="">
  directory="#serverdir#"
  filter="*.jpg" >

act_photos.cfm 
-




  

  
 

dsp_photos.cfm
-

 
Photo Gallery
This is a collection of sample gallery photos from the Hokonui Fashion Awards



  
    
    &##171; Previous
  
  
    
    Next &##187;
  
  
  There are no images at this time.




    
  
    




 

and dsp_photosFull.cfm
--


Back to Gallery


This does the following. I'm still using cfdirectory to query all the images. On the main display page I set to show 6 thumbs at a time (displaying next and previous where appropriate). When a thumbnail is clicked on it opens dsp_photosFull.cfm and the corresponding full sized image (with the same name). When on this page a 'back to gallery' link is provided which will return the user to the correct part of the thumbnail gallery (ie the page they just came from, whether it be the 2nd or 3rd or 4th ). 

This is pretty simple and works well. However, I'm pretty sure by simplifying things to this degree I wont be able to accomplish my next goal without some difficulty. And that would be the following - once a user clicks on a thumb and is taken to the page displaying the full size image, I would also like to provide a next and previous button here (one which would display the next or previous full size image in the query on this page WITHOUT having to return to the gallery thumbs). Since this has been done using block ranges I'm not sure how to achieve this. 

Ideas? 

TIA
Mark H
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF Regex to JS Regex

2004-08-26 Thread Claude Schneegans
>>I supposed it cannot be multi-browser compatible?

I supposed it could, if Mozilla could only produce some decent documentation about their product.
They only list what is w3C standard which is not enough.
No example, no sample code, their doc is a joke.
In order to make a user interface like in the REwizard, you need all the power and features you can get.
IE may be not always strictly complying to the "standard", but at least what IE does is documented.
Although I have been a faithful Netscape supporter since version 1.0
now it takes too long to guess and try what,s feasible or not with Mozilla. Sorry, I gave up.

>>I'll use IE if I'm forced.

This is what I said about 3 years ago ;-)
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Download file

2004-08-26 Thread Andy Ousterhout
Actually, you are right on that this is probably so easy that you don't
understand why I am asking.  I just don't know how to put the direct link in.

  -Original Message-
  From: Chris Johnston [mailto:[EMAIL PROTECTED]

   I am still a little unclear as to what exactly you are trying to
  accomplish here. You create a csv file on the server that you would
  like your users to be able to download. So why not just put a direct
  link to the file in a webpage. The user then has the ability to do
  whatever they like with the file.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Download file

2004-08-26 Thread Chris Johnston
On Thu, 26 Aug 2004 20:19:20 -0500, Andy Ousterhout
<[EMAIL PROTECTED]> wrote:
> 
> I enable users to create a csv file from a database on  the web for them to
> pull into Excel to play with as they would wish.  All users DSL or faster.
> 

I am still a little unclear as to what exactly you are trying to
accomplish here. You create a csv file on the server that you would
like your users to be able to download. So why not just put a direct
link to the file in a webpage. The user then has the ability to do
whatever they like with the file.

However, I think what you would really like is for the user to click
on the link and to have the file open in Excel? If this is the case,
then try using CFMX to serve up the file using a mime type of
something like excel/ms-excel. This would have to be placed in the
header of the document being served.

If I am off here, please clarify exactly what it is you are trying to do.

-- 
chris johnston

www.fuzzylizard.com

"For millions of years, mankind lived just like the animals and
something happened which unleashed the power of our imagination, we
learned to talk."
Pink Floyd
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: structure output

2004-08-26 Thread Joe Rinehart
Hi Tim,

This kind of data could be split into multiple structures, each stored
as an element in an array.  It's a bit more elegant than a struct of
lists.  Quick example:





























  
  
  
    #aIssues[i][j]#
  
  



Have a good one,

Joe
    

- Original Message -
From: Tim Laureska <[EMAIL PROTECTED]>
Date: Thu, 26 Aug 2004 21:45:54 -0400
Subject: RE: structure output
To: CF-Talk <[EMAIL PROTECTED]>

Nope, it helped and I learned a lot from this exercise... thanks again
 to all who responded

-Original Message-
 From: Ewok [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 26, 2004 9:31 PM
 To: CF-Talk
 Subject: Re: structure output

 well it does just what it says : )

 Just break one of the listgetat() functions down.

 ListGetAt(item1, 1)

 is the same as 

 ListGetAt("cass1,cass2,cass3", 1)

 the list "cass1,cass2,cass3" has three items in it

 cass1
 cass2
 cass3

 each item's position in a list is represented by a number form left to
 right starting with 1 in this specific case... 

 case1 would be at position 1, 
 case2 would be at position 2
 case3 would be at position 3

 so with the above functions...

 ListGetAt(item1, 1)
 and 
 ListGetAt("cass1,cass2,cass3", 1)

 both of these would return case1 since it is at position 1 of thie list

 I hope that doesnt confuse you even more
   - Original Message - 
   From: Tim Laureska 
   To: CF-Talk 
   Sent: Thursday, August 26, 2004 9:13 PM
   Subject: RE: structure output

 
   Now we're talking... thanks Ewok... I want to understand this
 though...

 
   I understand the cfsets are setting up lists, but get slightly
 confused
   on the rest... if I can, I'd like to take that one step at a time:

 
   I know this is setting up a loop that loops as many times as there's
   elements in "item1"
   

 
   But this I don't understand:
   #ListGetAt(item1, i)#&

 
   Listgetat by defintion returns a specific element in a list at a
   specified position but can you clarify what that piece of code
 does

 
   -Original Message-
   From: Ewok [mailto:[EMAIL PROTECTED] 
   Sent: Thursday, August 26, 2004 8:54 PM
   To: CF-Talk
   Subject: Re: structure output

 
   so you're just having problems with formatting the output?

 
   
   
   

 
   
   
 
  
   #ListGetAt(item1, i)#  
   #ListGetAt(item2, i)#  
   #ListGetAt(item3, i)#
  
 
   
   

 
 - Original Message - 
 From: Tim Laureska 
 To: CF-Talk 
 Sent: Thursday, August 26, 2004 8:51 PM
 Subject: RE: structure output

 
 Thanks Erick... I got that to work and looked up and understand the
 replace function now but I guess my follow-on questions are these:

 
 My 3 key stucture basic output is this:

 
 cass1,cass2,cass3
 6/9/04,8/9/04,7/9/04
 issue1,issue2,issue3

 
 which is based on the following processing template receiving input
   from
 a form:

 
  
 
 
 

 
 
 
 #me.mytitle#
 #me.mydate1#
 #me.myissue#
 
 

 
 I still don't understand how to manipulate these comma delimited
   strings
 or space delimited strings into a viewer friendly format?

 
 And I hate to sound like an idiot, but what does replacing the
 commas
 with spaces do for outputting the data anyway ... I'm missing
   something
 here

 
 -Original Message-
 From: Calder, Erick [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 26, 2004 8:36 PM
 To: CF-Talk
 Subject: RE: structure output

 
 yournewlist = replace(yourlist, ",", "   ", "all")

 **
 E-mail sent through the Internet is not secure. Western Asset
   therefore
 recommends that you do not send any confidential or sensitive
 information to us via electronic mail, including social security
 numbers, account numbers, or personal identification numbers.
   Delivery,
 and or timely delivery of Internet mail is not guaranteed. Western
   Asset
 therefore recommends that you do not send time sensitive or
 action-oriented messages to us via electronic mail. 

**
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: MX components accessing callerspace?

2004-08-26 Thread Joe Rinehart
Hi Erick,

Components really shouldn't be modifying variables on the calling page
- they should be blind of the environment in which they're run.  What
if you wanted to use your component inside another component, instead
of a page?

Instead, you may want to have your page ask your component for new
values through a method made just for it, like getFirstName() for a
"person" component.

Cheers,

Joe



- Original Message -
From: erick calder <[EMAIL PROTECTED]>
Date: Thu, 26 Aug 2004 18:29:50 -0400
Subject: MX components accessing callerspace?
To: CF-Talk <[EMAIL PROTECTED]>

MX components don't have access to the caller space so typically one
has to do something like:

 x = CreateObject("component", "x");
 x.caller = caller;

 so that the component can set variables in the caller space like this:

 this.caller["whatever"] = true;

 This all works fine from a cutom tag, however 

 x = CreateObject("component", "x");
 x.caller = variables;

 placed in the main page causes a stack overflow in MX.  The reason is that 
 however, the problem with this approach is that /variables/ contains
/x/ so the assignment /x.caller = variables/ creates a circular
reference.

 is there a better way to handle this?  I need to be able to modify
variables on the main page from a component.

 - e
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: structure output

2004-08-26 Thread Tim Laureska
Nope, it helped and I learned a lot from this exercise... thanks again
to all who responded

-Original Message-
From: Ewok [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 9:31 PM
To: CF-Talk
Subject: Re: structure output

well it does just what it says : )

Just break one of the listgetat() functions down.

ListGetAt(item1, 1)

is the same as 

ListGetAt("cass1,cass2,cass3", 1)

the list "cass1,cass2,cass3" has three items in it

cass1
cass2
cass3

each item's position in a list is represented by a number form left to
right starting with 1 in this specific case... 

case1 would be at position 1, 
case2 would be at position 2
case3 would be at position 3

so with the above functions...

ListGetAt(item1, 1)
and 
ListGetAt("cass1,cass2,cass3", 1)

both of these would return case1 since it is at position 1 of thie list

I hope that doesnt confuse you even more
  - Original Message - 
  From: Tim Laureska 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 9:13 PM
  Subject: RE: structure output

  Now we're talking... thanks Ewok... I want to understand this
though...

  I understand the cfsets are setting up lists, but get slightly
confused
  on the rest... if I can, I'd like to take that one step at a time:

  I know this is setting up a loop that loops as many times as there's
  elements in "item1"
  

  But this I don't understand:
  #ListGetAt(item1, i)#&

  Listgetat by defintion returns a specific element in a list at a
  specified position but can you clarify what that piece of code
does

  -Original Message-
  From: Ewok [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, August 26, 2004 8:54 PM
  To: CF-Talk
  Subject: Re: structure output

  so you're just having problems with formatting the output?

  
  
  

  
  
    
 
  #ListGetAt(item1, i)#  
  #ListGetAt(item2, i)#  
  #ListGetAt(item3, i)#
 
    
  
  

    - Original Message - 
    From: Tim Laureska 
    To: CF-Talk 
    Sent: Thursday, August 26, 2004 8:51 PM
    Subject: RE: structure output

    Thanks Erick... I got that to work and looked up and understand the
    replace function now but I guess my follow-on questions are these:

    My 3 key stucture basic output is this:

    cass1,cass2,cass3
    6/9/04,8/9/04,7/9/04
    issue1,issue2,issue3

    which is based on the following processing template receiving input
  from
    a form:

     
    
    
    

    
    
    #me.mytitle#
    #me.mydate1#
    #me.myissue#
    
    

    I still don't understand how to manipulate these comma delimited
  strings
    or space delimited strings into a viewer friendly format?

    And I hate to sound like an idiot, but what does replacing the
commas
    with spaces do for outputting the data anyway ... I'm missing
  something
    here

    -Original Message-
    From: Calder, Erick [mailto:[EMAIL PROTECTED] 
    Sent: Thursday, August 26, 2004 8:36 PM
    To: CF-Talk
    Subject: RE: structure output

    yournewlist = replace(yourlist, ",", "   ", "all")

**
    E-mail sent through the Internet is not secure. Western Asset
  therefore
    recommends that you do not send any confidential or sensitive
    information to us via electronic mail, including social security
    numbers, account numbers, or personal identification numbers.
  Delivery,
    and or timely delivery of Internet mail is not guaranteed. Western
  Asset
    therefore recommends that you do not send time sensitive or
    action-oriented messages to us via electronic mail. 

 
**
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: structure output

2004-08-26 Thread Ewok
>Your message is a reply to anothers post and is more than 100 lines of text. Unless you are 
>a major writer, your probably adding a lot of the previous replies. Please trim your 
>posts when replying. Thank you.

says it didnt come through so here it is again

well it does just what it says : )

Just break one of the listgetat() functions down.

ListGetAt(item1, 1)

is the same as 

ListGetAt("cass1,cass2,cass3", 1)

the list "cass1,cass2,cass3" has three items in it

cass1
cass2
cass3

each item's position in a list is represented by a number form left to right starting with 1 in this specific case... 

case1 would be at position 1, 
case2 would be at position 2
case3 would be at position 3

so with the above functions...

ListGetAt(item1, 1)
and 
ListGetAt("cass1,cass2,cass3", 1)

both of these would return case1 since it is at position 1 of thie list

I hope that doesnt confuse you even more
  - Original Message - 
  From: Tim Laureska 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 9:13 PM
  Subject: RE: structure output

  Now we're talking... thanks Ewok... I want to understand this though...

  I understand the cfsets are setting up lists, but get slightly confused
  on the rest... if I can, I'd like to take that one step at a time:

  I know this is setting up a loop that loops as many times as there's
  elements in "item1"
  

  But this I don't understand:
  #ListGetAt(item1, i)#&

  Listgetat by defintion returns a specific element in a list at a
  specified position but can you clarify what that piece of code does
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Download file

2004-08-26 Thread Andy Ousterhout
Sorry Chris.

I enable users to create a csv file from a database on  the web for them to
pull into Excel to play with as they would wish.  All users DSL or faster.

Andy
  -Original Message-
  From: Chris Johnston [mailto:[EMAIL PROTECTED]
  Sent: Thursday, August 26, 2004 7:39 PM
  To: CF-Talk
  Subject: Re: Download file

  On Thu, 26 Aug 2004 15:39:57 -0500, Andy Ousterhout
  <[EMAIL PROTECTED]> wrote:
  > What command do I use to download a file I've already created?
  >

  From where, using what kind of technology over what kind of
  connection? More details will solicit a better answer.

  --
  chris johnston

  www.fuzzylizard.com

  "For millions of years, mankind lived just like the animals and
  something happened which unleashed the power of our imagination, we
  learned to talk."
  Pink Floyd
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: structure output

2004-08-26 Thread Ewok
well it does just what it says : )

Just break one of the listgetat() functions down.

ListGetAt(item1, 1)

is the same as 

ListGetAt("cass1,cass2,cass3", 1)

the list "cass1,cass2,cass3" has three items in it

cass1
cass2
cass3

each item's position in a list is represented by a number form left to right starting with 1 in this specific case... 

case1 would be at position 1, 
case2 would be at position 2
case3 would be at position 3

so with the above functions...

ListGetAt(item1, 1)
and 
ListGetAt("cass1,cass2,cass3", 1)

both of these would return case1 since it is at position 1 of thie list

I hope that doesnt confuse you even more
  - Original Message - 
  From: Tim Laureska 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 9:13 PM
  Subject: RE: structure output

  Now we're talking... thanks Ewok... I want to understand this though...

  I understand the cfsets are setting up lists, but get slightly confused
  on the rest... if I can, I'd like to take that one step at a time:

  I know this is setting up a loop that loops as many times as there's
  elements in "item1"
  

  But this I don't understand:
  #ListGetAt(item1, i)#&

  Listgetat by defintion returns a specific element in a list at a
  specified position but can you clarify what that piece of code does

  -Original Message-
  From: Ewok [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, August 26, 2004 8:54 PM
  To: CF-Talk
  Subject: Re: structure output

  so you're just having problems with formatting the output?

  
  
  

  
  
    
 
  #ListGetAt(item1, i)#  
  #ListGetAt(item2, i)#  
  #ListGetAt(item3, i)#
 
    
  
  

    - Original Message - 
    From: Tim Laureska 
    To: CF-Talk 
    Sent: Thursday, August 26, 2004 8:51 PM
    Subject: RE: structure output

    Thanks Erick... I got that to work and looked up and understand the
    replace function now but I guess my follow-on questions are these:

    My 3 key stucture basic output is this:

    cass1,cass2,cass3
    6/9/04,8/9/04,7/9/04
    issue1,issue2,issue3

    which is based on the following processing template receiving input
  from
    a form:

     
    
    
    

    
    
    #me.mytitle#
    #me.mydate1#
    #me.myissue#
    
    

    I still don't understand how to manipulate these comma delimited
  strings
    or space delimited strings into a viewer friendly format?

    And I hate to sound like an idiot, but what does replacing the commas
    with spaces do for outputting the data anyway ... I'm missing
  something
    here

    -Original Message-
    From: Calder, Erick [mailto:[EMAIL PROTECTED] 
    Sent: Thursday, August 26, 2004 8:36 PM
    To: CF-Talk
    Subject: RE: structure output

    yournewlist = replace(yourlist, ",", "   ", "all")

    **
    E-mail sent through the Internet is not secure. Western Asset
  therefore
    recommends that you do not send any confidential or sensitive
    information to us via electronic mail, including social security
    numbers, account numbers, or personal identification numbers.
  Delivery,
    and or timely delivery of Internet mail is not guaranteed. Western
  Asset
    therefore recommends that you do not send time sensitive or
    action-oriented messages to us via electronic mail. 
    **
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: structure output

2004-08-26 Thread Tim Laureska
Whoa... I appreciate that Erick, but want to understand what I'm coding
and that's way over my head

I didn't create an array anywhere (not intentionally anyway)

-Original Message-
From: Calder, Erick [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 8:56 PM
To: CF-Talk
Subject: RE: structure output

> cass1,cass2,cass3
> 6/9/04,8/9/04,7/9/04
> issue1,issue2,issue3

so what you have is an array of structures and you want to display
them... you could do something like (warning: untested code):


writeoutput("");
for (i = 1; i LE ArrayLen(yourarray); i = i + 1) {
	writeoutput("");
	k = StructKeyArray(yourarray[i]);
	for (j = 1; j LE ArrayLen(k); j = j + 1)
		writeoutput("" & yourarray[i][j]);
	writeoutput("");
	}
writeoutput("");


-Original Message-
From: Tim Laureska [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 5:51 PM
To: CF-Talk
Subject: RE: structure output

Thanks Erick... I got that to work and looked up and understand the
replace function now but I guess my follow-on questions are these:

My 3 key stucture basic output is this:

cass1,cass2,cass3
6/9/04,8/9/04,7/9/04
issue1,issue2,issue3

which is based on the following processing template receiving input from
a form:

 






	#me.mytitle#
	#me.mydate1#
		#me.myissue#



I still don't understand how to manipulate these comma delimited strings
or space delimited strings into a viewer friendly format?

And I hate to sound like an idiot, but what does replacing the commas
with spaces do for outputting the data anyway ... I'm missing something
here

-Original Message-
From: Calder, Erick [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 8:36 PM
To: CF-Talk
Subject: RE: structure output

yournewlist = replace(yourlist, ",", "   ", "all")

**
E-mail sent through the Internet is not secure. Western Asset therefore
recommends that you do not send any confidential or sensitive
information to us via electronic mail, including social security
numbers, account numbers, or personal identification numbers. Delivery,
and or timely delivery of Internet mail is not guaranteed. Western Asset
therefore recommends that you do not send time sensitive or
action-oriented messages to us via electronic mail. 
**
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMX 6.1 Updater Now Available

2004-08-26 Thread Ewok
just for your reading pleasure...

I installed it on my dev box, it was also installed on our demo box and everything seems to be perfect. It will most likley hit the production server tommorrow.

(all have been running an external web server all along)
  - Original Message - 
  From: [EMAIL PROTECTED] [EMAIL PROTECTED] 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 5:56 PM
  Subject: Re: CFMX 6.1 Updater Now Available

  Seems like it's worthwhile to post the Release Notes link as well:

  http://www.macromedia.com/support/documentation/en/coldfusion/mx61updater/releasenotes_cfmx61_updater.html

  Regarding the report below (from the Release Notes):

  "If you have two instances of the CFIDE directory, one in the web server's web root, and the other in the cf_root directory, the Administrator might generate cfimport errors. If you have such a configuration, rename the CFIDE directory that is located in the cf_root directory, or ensure that both CFIDE directories contain the same files by copying the files from web server's CFIDE directory to the cf_root/CFIDE directory after you complete the update. 

  Users who initially installed ColdFusionMX 6.1 using the ColdFusion internal web server and started using an external web server at a later time are most likely to encounter this issue. "

  Regards, 

  Damon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: structure output

2004-08-26 Thread Tim Laureska
Now we're talking... thanks Ewok... I want to understand this though...

I understand the cfsets are setting up lists, but get slightly confused
on the rest... if I can, I'd like to take that one step at a time:

I know this is setting up a loop that loops as many times as there's
elements in "item1"


But this I don't understand:
#ListGetAt(item1, i)#&

Listgetat by defintion returns a specific element in a list at a
specified position but can you clarify what that piece of code does

-Original Message-
From: Ewok [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 8:54 PM
To: CF-Talk
Subject: Re: structure output

so you're just having problems with formatting the output?






 
  
   
    #ListGetAt(item1, i)#  
    #ListGetAt(item2, i)#  
    #ListGetAt(item3, i)#
   
  
 


  - Original Message - 
  From: Tim Laureska 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 8:51 PM
  Subject: RE: structure output

  Thanks Erick... I got that to work and looked up and understand the
  replace function now but I guess my follow-on questions are these:

  My 3 key stucture basic output is this:

  cass1,cass2,cass3
  6/9/04,8/9/04,7/9/04
  issue1,issue2,issue3

  which is based on the following processing template receiving input
from
  a form:

   
  
  
  

  
  
  #me.mytitle#
  #me.mydate1#
  #me.myissue#
  
  

  I still don't understand how to manipulate these comma delimited
strings
  or space delimited strings into a viewer friendly format?

  And I hate to sound like an idiot, but what does replacing the commas
  with spaces do for outputting the data anyway ... I'm missing
something
  here

  -Original Message-
  From: Calder, Erick [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, August 26, 2004 8:36 PM
  To: CF-Talk
  Subject: RE: structure output

  yournewlist = replace(yourlist, ",", "   ", "all")

  **
  E-mail sent through the Internet is not secure. Western Asset
therefore
  recommends that you do not send any confidential or sensitive
  information to us via electronic mail, including social security
  numbers, account numbers, or personal identification numbers.
Delivery,
  and or timely delivery of Internet mail is not guaranteed. Western
Asset
  therefore recommends that you do not send time sensitive or
  action-oriented messages to us via electronic mail. 
  **
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: New CF compiler

2004-08-26 Thread Dave Watts
> altho...was cleaning out the office a few weeks back...found 
> 3 3.5" floppy disks. Installs for CF 1.5.  and it -was- 
> spelled Cold Fusion (with space).  just sayin' :)

Yes, it was "Cold Fusion" until version 4, if I recall correctly.

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]
 [Donations and Support]




Re: structure output

2004-08-26 Thread Ewok
better yeti guess i could have used your vars

 
  
   
    #ListGetAt(me.mytitle, i)#  
    #ListGetAt(me.mydate1, i)#  
    #ListGetAt(me.myissue, i)#
   
  
 



  - Original Message - 
  From: Tim Laureska 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 8:51 PM
  Subject: RE: structure output

  Thanks Erick... I got that to work and looked up and understand the
  replace function now but I guess my follow-on questions are these:

  My 3 key stucture basic output is this:

  cass1,cass2,cass3
  6/9/04,8/9/04,7/9/04
  issue1,issue2,issue3

  which is based on the following processing template receiving input from
  a form:

   
  
  
  

  
  
  #me.mytitle#
  #me.mydate1#
  #me.myissue#
  
  

  I still don't understand how to manipulate these comma delimited strings
  or space delimited strings into a viewer friendly format?

  And I hate to sound like an idiot, but what does replacing the commas
  with spaces do for outputting the data anyway ... I'm missing something
  here

  -Original Message-
  From: Calder, Erick [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, August 26, 2004 8:36 PM
  To: CF-Talk
  Subject: RE: structure output

  yournewlist = replace(yourlist, ",", "   ", "all")

  **
  E-mail sent through the Internet is not secure. Western Asset therefore
  recommends that you do not send any confidential or sensitive
  information to us via electronic mail, including social security
  numbers, account numbers, or personal identification numbers. Delivery,
  and or timely delivery of Internet mail is not guaranteed. Western Asset
  therefore recommends that you do not send time sensitive or
  action-oriented messages to us via electronic mail. 
  **
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: structure output

2004-08-26 Thread Tim Laureska
I tried that and it doesn't output the way I need , not that I'm sure
exactly what I'm doing yet

I tried the code below but all that does is create this output, which
just appears to contain comma delimited lists of key values:

Date 			issue 
MYDATE1 		6/9/04,8/9/04,7/9/04 
MYISSUE 		issue1,issue2,issue3 
MYTITLE 		cass1,cass2,cass3



  
    Date
    issue
  
  
  
    
  #cassettes#
  #me[cassettes]#
    
  



-Original Message-
From: Nando [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 8:42 PM
To: CF-Talk
Subject: Re: structure output

Tim, are you saying you have this data stored in a structure? Are the
values in the lists you show in separate keys? If so, a collection
loop looks like it would do the trick.

On Thu, 26 Aug 2004 17:56:52 -0400, Tim Laureska <[EMAIL PROTECTED]>
wrote:
> How do you "separate out" the values of the comma delimited output of
a
> structure ... right now it looks like this:
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: structure output

2004-08-26 Thread Ewok
so you're just having problems with formatting the output?






 
  
   
    #ListGetAt(item1, i)#  
    #ListGetAt(item2, i)#  
    #ListGetAt(item3, i)#
   
  
 


  - Original Message - 
  From: Tim Laureska 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 8:51 PM
  Subject: RE: structure output

  Thanks Erick... I got that to work and looked up and understand the
  replace function now but I guess my follow-on questions are these:

  My 3 key stucture basic output is this:

  cass1,cass2,cass3
  6/9/04,8/9/04,7/9/04
  issue1,issue2,issue3

  which is based on the following processing template receiving input from
  a form:

   
  
  
  

  
  
  #me.mytitle#
  #me.mydate1#
  #me.myissue#
  
  

  I still don't understand how to manipulate these comma delimited strings
  or space delimited strings into a viewer friendly format?

  And I hate to sound like an idiot, but what does replacing the commas
  with spaces do for outputting the data anyway ... I'm missing something
  here

  -Original Message-
  From: Calder, Erick [mailto:[EMAIL PROTECTED] 
  Sent: Thursday, August 26, 2004 8:36 PM
  To: CF-Talk
  Subject: RE: structure output

  yournewlist = replace(yourlist, ",", "   ", "all")

  **
  E-mail sent through the Internet is not secure. Western Asset therefore
  recommends that you do not send any confidential or sensitive
  information to us via electronic mail, including social security
  numbers, account numbers, or personal identification numbers. Delivery,
  and or timely delivery of Internet mail is not guaranteed. Western Asset
  therefore recommends that you do not send time sensitive or
  action-oriented messages to us via electronic mail. 
  **
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: structure output

2004-08-26 Thread Calder, Erick
> cass1,cass2,cass3
> 6/9/04,8/9/04,7/9/04
> issue1,issue2,issue3

so what you have is an array of structures and you want to display
them... you could do something like (warning: untested code):


writeoutput("");
for (i = 1; i LE ArrayLen(yourarray); i = i + 1) {
	writeoutput("");
	k = StructKeyArray(yourarray[i]);
	for (j = 1; j LE ArrayLen(k); j = j + 1)
		writeoutput("" & yourarray[i][j]);
	writeoutput("");
	}
writeoutput("");


-Original Message-
From: Tim Laureska [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 5:51 PM
To: CF-Talk
Subject: RE: structure output

Thanks Erick... I got that to work and looked up and understand the
replace function now but I guess my follow-on questions are these:

My 3 key stucture basic output is this:

cass1,cass2,cass3
6/9/04,8/9/04,7/9/04
issue1,issue2,issue3

which is based on the following processing template receiving input from
a form:

 






	#me.mytitle#
	#me.mydate1#
		#me.myissue#



I still don't understand how to manipulate these comma delimited strings
or space delimited strings into a viewer friendly format?

And I hate to sound like an idiot, but what does replacing the commas
with spaces do for outputting the data anyway ... I'm missing something
here

-Original Message-
From: Calder, Erick [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 8:36 PM
To: CF-Talk
Subject: RE: structure output

yournewlist = replace(yourlist, ",", "   ", "all")

**
E-mail sent through the Internet is not secure. Western Asset therefore
recommends that you do not send any confidential or sensitive
information to us via electronic mail, including social security
numbers, account numbers, or personal identification numbers. Delivery,
and or timely delivery of Internet mail is not guaranteed. Western Asset
therefore recommends that you do not send time sensitive or
action-oriented messages to us via electronic mail. 
**
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: structure output

2004-08-26 Thread Tim Laureska
Thanks Erick... I got that to work and looked up and understand the
replace function now but I guess my follow-on questions are these:

My 3 key stucture basic output is this:

cass1,cass2,cass3
6/9/04,8/9/04,7/9/04
issue1,issue2,issue3

which is based on the following processing template receiving input from
a form:

 






	#me.mytitle#
	#me.mydate1#
		#me.myissue#



I still don't understand how to manipulate these comma delimited strings
or space delimited strings into a viewer friendly format?

And I hate to sound like an idiot, but what does replacing the commas
with spaces do for outputting the data anyway ... I'm missing something
here

-Original Message-
From: Calder, Erick [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 8:36 PM
To: CF-Talk
Subject: RE: structure output

yournewlist = replace(yourlist, ",", "   ", "all")

**
E-mail sent through the Internet is not secure. Western Asset therefore
recommends that you do not send any confidential or sensitive
information to us via electronic mail, including social security
numbers, account numbers, or personal identification numbers. Delivery,
and or timely delivery of Internet mail is not guaranteed. Western Asset
therefore recommends that you do not send time sensitive or
action-oriented messages to us via electronic mail. 
**
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: structure output

2004-08-26 Thread Nando
Tim, are you saying you have this data stored in a structure? Are the
values in the lists you show in separate keys? If so, a collection
loop looks like it would do the trick.

On Thu, 26 Aug 2004 17:56:52 -0400, Tim Laureska <[EMAIL PROTECTED]> wrote:
> How do you "separate out" the values of the comma delimited output of a
> structure ... right now it looks like this:
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Download file

2004-08-26 Thread Chris Johnston
On Thu, 26 Aug 2004 15:39:57 -0500, Andy Ousterhout
<[EMAIL PROTECTED]> wrote:
> What command do I use to download a file I've already created?
> 

>From where, using what kind of technology over what kind of
connection? More details will solicit a better answer.

-- 
chris johnston

www.fuzzylizard.com

"For millions of years, mankind lived just like the animals and
something happened which unleashed the power of our imagination, we
learned to talk."
Pink Floyd
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: structure output

2004-08-26 Thread Calder, Erick
yournewlist = replace(yourlist, ",", "   ", "all")

**
E-mail sent through the Internet is not secure. Western Asset therefore recommends that you do not send any confidential or sensitive information to us via electronic mail, including social security numbers, account numbers, or personal identification numbers. Delivery, and or timely delivery of Internet mail is not guaranteed. Western Asset therefore recommends that you do not send time sensitive or action-oriented messages to us via electronic mail. 
**
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: structure output

2004-08-26 Thread Tim Laureska
Sorry Erick but that doesn't help me much since I wouldn't know how to
do that either... this is certainly frustrating

-Original Message-
From: Calder, Erick [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 8:31 PM
To: CF-Talk
Subject: RE: structure output

you could just replace the commas with spaces.  lists are just strings.

**
E-mail sent through the Internet is not secure. Western Asset therefore
recommends that you do not send any confidential or sensitive
information to us via electronic mail, including social security
numbers, account numbers, or personal identification numbers. Delivery,
and or timely delivery of Internet mail is not guaranteed. Western Asset
therefore recommends that you do not send time sensitive or
action-oriented messages to us via electronic mail. 
**
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: structure output

2004-08-26 Thread Calder, Erick
you could just replace the commas with spaces.  lists are just strings.

**
E-mail sent through the Internet is not secure. Western Asset therefore recommends that you do not send any confidential or sensitive information to us via electronic mail, including social security numbers, account numbers, or personal identification numbers. Delivery, and or timely delivery of Internet mail is not guaranteed. Western Asset therefore recommends that you do not send time sensitive or action-oriented messages to us via electronic mail. 
**
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: structure output

2004-08-26 Thread Tim Laureska
Been sitting here for two hours now trying to figure how to create a
list out of structure data as suggested below, but no luck... any
hints/pointers out there to get this structure output formatted would be
greatly appreciated

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 5:59 PM
To: CF-Talk
Subject: RE: structure output

Make it a list and use Listgetat()
  -Original Message-
  From: Tim Laureska [mailto:[EMAIL PROTECTED]
  Sent: Thursday, August 26, 2004 2:57 PM
  To: CF-Talk
  Subject: structure output

  How do you "separate out" the values of the comma delimited output of
a
  structure ... right now it looks like this:

  cass1,cass2,cass3
  6/9/04,8/9/04,7/9/04
  issue1,issue2,issue3

  and I want it to look like this:

  cass1   issue 1  6/9/04
  cass2   issue2   8/9/04
  cass3   issue3   7/9/04

  Tim Laureska
  1st-String Technologies
  410-829-1510
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF Regex to JS Regex

2004-08-26 Thread Peter Farrell
Claude,

Too bad your REWizard only works with IE...what a shame to us FireFox/NS community.  I supposed it cannot be multi-browser compatible?  I mean - I'll use IE if I'm forced...

.pjf
maepub
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Looking for Live Chat Application

2004-08-26 Thread Nathan Strutz
Ali Awan wrote:

> An HTML based app in CF, would have to do meta-refreshes for the chat 
> screens to be up-to-date and live.
> A Flash-based or Java based app, I believe, would not have to do 
> meta-refereshes, those applications would be using some other method to 
> make the chat up-to-date.  In addition, those apps could probably use 
> xml files rather than connect to a database.

A few points to make here:

1) HTML/CF based app needn't rely on meta-refreshes exactly, but could 
rely on _javascript_ (like rob's app). They will still be based on the 
HTTP request-response model.

2) you can have CF keep chat data, messages, who's online, etc., in 
memory (application variables), in XML files, or whatever storage 
mechanism you desire. Databases aren't required for CF to function.

3) Flash and Java based chat apps are better than CF, ASP, PHP, etc. 
apps because Flash and Java can make socket connections to a back-end 
server. Instead of constant check-ins, they can stay connected while 
receiving and sending events from the server asynchronously.

4) You need a socket server, as well as a client. For a flash front-end, 
the easiest way is with Flash Communication Server. If you want to be 
cheap, I'd recommend Java or a .NET server, but maybe you can find some 
other implementation.

4) Blackstone (the next version of CF) may be able to act as a socket 
server through a java listener. I greatly look forward to playing with this.

> 
> If you know of any apps like that, please let me know.

socket servers for flash:
http://www.moock.org/unity/
http://projects.cyberlot.net/cyberss/trac.cgi
http://swocket.sourceforge.net/

flash chat app that relies on fcs:
http://www.userplane.com/

and there's literally hundreds of java chat apps. google it!

-nathan strutz
http://www.dopefly.com/techblog/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Looking for Live Chat Application

2004-08-26 Thread Rob
On Thu, 26 Aug 2004 19:23:44 -0400, Ali Awan <[EMAIL PROTECTED]> wrote:
> > What do you mean by "use a database and constantly refresh" - where
> > are the conversations to be stored and how is the data going to get
> > from one application to another? I suppose I can see the no database,
> > but some app somewhere is going to have to either broadcast new
> > messages or refresh to get new messages - I think.
> 
> An HTML based app in CF, would have to do meta-refreshes for the chat screens to be up-to-date and live.
> A Flash-based or Java based app, I believe, would not have to do meta-refereshes, those applications would be using some other method to make the chat up-to-date.  In addition, those apps could probably use xml files rather than connect to a database.

Ah, well then you'll like my app its _javascript_ and it doesnt do any
meta refreshes. It uses a webservice to talk to a database, but you
could use a file if you wanted to. So if you have any kind of
webservice accessing APIs (which microsoft is big on), you could at
least use it as a template

If you find it useful you can get the sources and api here: 

http://www.rohanclan.com/products/neuromancer/index.cfm

Cheers

-- 
~The cfml plug-in for eclipse~
http://cfeclipse.tigris.org 
~open source xslt IDE~
http://treebeard.sourceforge.net
~open source XML database~
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Looking for Live Chat Application

2004-08-26 Thread Ali Awan
Thanks Rob,

I'll check out your app.

> I don't know about win sockets, but I've done a chat app with cfc's,
> _javascript_ and web services on the HTML side, and then connected to
> the web services using a standalone java application - meaning you
> could chat on line or with the standalone app.

> What do you mean by "use a database and constantly refresh" - where
> are the conversations to be stored and how is the data going to get
> from one application to another? I suppose I can see the no database,
> but some app somewhere is going to have to either broadcast new
> messages or refresh to get new messages - I think.

An HTML based app in CF, would have to do meta-refreshes for the chat screens to be up-to-date and live.
A Flash-based or Java based app, I believe, would not have to do meta-refereshes, those applications would be using some other method to make the chat up-to-date.  In addition, those apps could probably use xml files rather than connect to a database.

If you know of any apps like that, please let me know.
> 
> btw here is the online one that uses web services:
> 
> http://www.rohanclan.com/products/neuromancer/chatdemo2.cfm
> 
> -- 
> ~The cfml plug-in for eclipse~
> http://cfeclipse.tigris.org 
> ~open source xslt IDE~
> http://treebeard.sourceforge.net
> ~open source XML database~
> http://ashpool.sourceforge.
net

Thanks,
Ali
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Simple Date Function Question...at least I think it is.

2004-08-26 Thread Ewok

  WEEK IS EVEN

  WEEK IS ODD

  - Original Message - 
  From: Matthew Fusfield 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 4:54 PM
  Subject: Re: Simple Date Function Question...at least I think it is.

  Not a big deal, but that should actually be:
  
    WEEK IS ODD
  
    WEEK IS EVEN
  

  (if the remainder is 0, it is an even number. If it has a remainder,
  than it is odd)

  Matt

  On Thu, 26 Aug 2004 16:52:55 -0400, Matthew Fusfield <[EMAIL PROTECTED]> wrote:
  > Try something like this:
  > 
  > 
  >    WEEK IS EVEN
  > 
  >    WEEK IS ODD
  > 
  > 
  > Matt
  > 
  > 
  > 
  > 
  > On Thu, 26 Aug 2004 16:48:44 -0400, Che Vilnonis <[EMAIL PROTECTED]> wrote:
  > > What would be the easiest way to write code to determine whether the current
  > > week of the year is even or odd?
  > > I am looking to display two different groups of images, each group being
  > > displayed every other week.
  > >
  > > Thanks, Che
  > >
  > >
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Looking for Live Chat Application

2004-08-26 Thread Ali Awan
Thanks Rob,

I'll check out your app.

> I don't know about win sockets, but I've done a chat app with cfc's,
> _javascript_ and web services on the HTML side, and then connected to
> the web services using a standalone java application - meaning you
> could chat on line or with the standalone app.

> What do you mean by "use a database and constantly refresh" - where
> are the conversations to be stored and how is the data going to get
> from one application to another? I suppose I can see the no database,
> but some app somewhere is going to have to either broadcast new
> messages or refresh to get new messages - I think.

An HTML based app in CF, would have to do meta-refreshes for the chat screens to be up-to-date and live.
A Flash-based or Java based app, I believe, would not have to do meta-refereshes, those applications would be using some other method to make the chat up-to-date.  In addition, those apps could probably use xml files rather than connect to a database.

If you know of any apps like that, please let me know.
> 
> btw here is the online one that uses web services:
> 
> http://www.rohanclan.com/products/neuromancer/chatdemo2.cfm
> 
> -- 
> ~The cfml plug-in for eclipse~
> http://cfeclipse.tigris.org 
> ~open source xslt IDE~
> http://treebeard.sourceforge.net
> ~open source XML database~
> http://ashpool.sourceforge.
net

Thanks,
Ali
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Excel Output File

2004-08-26 Thread Barney Boisvert
Yeah, you quote any field that has either quotes or commas in it.  If
quotes are contained in a field, you need to escape them.  Real CSV
uses a backslash, Excel CSV uses another quote (like CF).  I'm not
100% sure about newlines inside fields, but I think you can leave them
there without issue.

cheers,
barneyb

On Thu, 26 Aug 2004 16:55:58 -0400, CF Coder2
<[EMAIL PROTECTED]> wrote:
> > CSV will work, and HTML table should too, though I've not checked on
> > '97.
> >
> 
> I should have stated that I have Excel 2000, not 1997.
> 
> How do you deal with column values that have commas in the data?
> Do you quote each list item or ?
> 
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Excel Output File

2004-08-26 Thread Ewok
Well i havent tried it in 97 and don know if any of the clients are using 97... but i always let them choose between a tab delimited text file that they can import to other apps, or an excel doc its the same exact file either way... i just change the extension xls for excel and txt for text.
  - Original Message - 
  From: CF Coder2 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 4:04 PM
  Subject: Excel Output File

  I'm needing to generate a file in CF that can be directly read in to Excel spreadsheet.  I thought a tab-delimited file would do it but Excel '97 won't read it.  Complains about it not being a valid SYLK file format.

  I'm sure others have been able to create excel compatible files, what's the trick?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFFILE Question????

2004-08-26 Thread Ewok
Localy, I dont see whay not. (locally meaning the server itsself)

just make all of your cffile destinations point to the A: drive

to a clients A: drive... nope
  - Original Message - 
  From: Ciliotta, Mario 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 3:42 PM
  Subject: CFFILE Question

  Hi,

  Is there anyway to create a file and automatically have the file download to a
  floppy in the A: drive.  

  Basically I am running a CFQUERY, create the required '|' delimited fields
  thru Oracle and I want to some how loop of the output, create a file but save
  it directly to the A: drive.  I do not want the file to be created on the
  server first and then downloaded to the A: drive.

  Can this be done?

  Thanks
  Mario
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: MX components accessing callerspace?

2004-08-26 Thread Calder, Erick
> request.x = CreateObject("component", "x");
> request.x.caller = variables;

hmm... that's clever but I think Barney has a good point.  I'm actually
re-engineering it so I don't need the caller scope.

**
E-mail sent through the Internet is not secure. Western Asset therefore recommends that you do not send any confidential or sensitive information to us via electronic mail, including social security numbers, account numbers, or personal identification numbers. Delivery, and or timely delivery of Internet mail is not guaranteed. Western Asset therefore recommends that you do not send time sensitive or action-oriented messages to us via electronic mail. 
**
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Looking for Live Chat Application

2004-08-26 Thread Rob
On Thu, 26 Aug 2004 18:03:22 -0400, Ali Awan <[EMAIL PROTECTED]> wrote:
> I was wondering if anyone had any experience with integrating Cold Fusion with a 
> Java Chat Application using win sockets. 

I don't know about win sockets, but I've done a chat app with cfc's,
_javascript_ and web services on the HTML side, and then connected to
the web services using a standalone java application - meaning you
could chat on line or with the standalone app.

> There are several out there that use a database and constantly refresh.  I'm not interested > in those.  I'm looking for ones that do not require constant refreshing nor hitting the 
> database.

What do you mean by "use a database and constantly refresh" - where
are the conversations to be stored and how is the data going to get
from one application to another? I suppose I can see the no database,
but some app somewhere is going to have to either broadcast new
messages or refresh to get new messages - I think.

btw here is the online one that uses web services:

http://www.rohanclan.com/products/neuromancer/chatdemo2.cfm

-- 
~The cfml plug-in for eclipse~
http://cfeclipse.tigris.org 
~open source xslt IDE~
http://treebeard.sourceforge.net
~open source XML database~
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: MX components accessing callerspace?

2004-08-26 Thread Bert Dawson
what about:
request.x = CreateObject("component", "x");
request.x.caller = variables;

that might work, but looks a bit, er, like you shouldn't do it.

Bert

- Original Message -
From: erick calder <[EMAIL PROTECTED]>
Date: Thu, 26 Aug 2004 18:29:50 -0400
Subject: MX components accessing callerspace?
To: CF-Talk <[EMAIL PROTECTED]>

MX components don't have access to the caller space so typically one
has to do something like:

x = CreateObject("component", "x");
x.caller = caller;

so that the component can set variables in the caller space like this:

this.caller["whatever"] = true;

This all works fine from a cutom tag, however 

x = CreateObject("component", "x");
x.caller = variables;

placed in the main page causes a stack overflow in MX.  The reason is that 
however, the problem with this approach is that /variables/ contains
/x/ so the assignment /x.caller = variables/ creates a circular
reference.

is there a better way to handle this?  I need to be able to modify
variables on the main page from a component.

- e
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: MX components accessing callerspace?

2004-08-26 Thread Barney Boisvert
A much better way to handle it is to not use CFCs like that.  In
general, CFCs should be independant of their environment, meaning they
don't use a caller scope (or any external scopes) at all.  With custom
tags you can accept data with attributes, but the only way to "return"
data is to set a variable in the caller scope.  With CFCs, on the
other hand, you can accept data (arguments) and return it (method
return value), so you shouldn't need the caller scope for anything.

It's definitely worth mentioning that CFCs don't make custom tags
obsolete.  Far from it.  Each fulfulls it's own purpose, and while
they are similar, they are complimentary not conflicting.

cheers,
barneyb

On Thu, 26 Aug 2004 18:29:50 -0400, erick calder
<[EMAIL PROTECTED]> wrote:
> MX components don't have access to the caller space so typically one has to do something like:
> 
>x = CreateObject("component", "x");
>x.caller = caller;
> 
> so that the component can set variables in the caller space like this:
> 
>this.caller["whatever"] = true;
> 
> This all works fine from a cutom tag, however
> 
>x = CreateObject("component", "x");
>x.caller = variables;
> 
> placed in the main page causes a stack overflow in MX.  The reason is that
> however, the problem with this approach is that /variables/ contains /x/ so the assignment /x.caller = variables/ creates a circular reference.
> 
> is there a better way to handle this?  I need to be able to modify variables on the main page from a component.
> 
> - e
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




MX components accessing callerspace?

2004-08-26 Thread erick calder
MX components don't have access to the caller space so typically one has to do something like:

	x = CreateObject("component", "x");
	x.caller = caller;

so that the component can set variables in the caller space like this:

	this.caller["whatever"] = true;

This all works fine from a cutom tag, however 

	x = CreateObject("component", "x");
	x.caller = variables;

placed in the main page causes a stack overflow in MX.  The reason is that 
however, the problem with this approach is that /variables/ contains /x/ so the assignment /x.caller = variables/ creates a circular reference.

is there a better way to handle this?  I need to be able to modify variables on the main page from a component.

- e
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: rereplace ?

2004-08-26 Thread Ben Doom
>>I'm confused on a number of issues.
> sorry ben but i dont know why u live in kentucky either HAHA jk ;)
My family lives here.  Trust me, that's the *only* reason.  Rural KY is 
not that fun a place.

>>First, I don't know what characters you're referring to.
> http://www.asciitable.com./
> i think im just getting mixed up on what value to use
> for example for "em" do i use (in the chr()) "em" or 25 or 19 or 031?
> (in the chart on above link)

I see now.  I wasn't sure what you were referring to by 'em' at first. 
In this case, you'd use 25.  Use the decimal ascii value.

--Ben
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: SQL questions

2004-08-26 Thread Adam Haskell
Do it right the first time it will be faster

PEOPLE {
person_id,fname,lname,type,title,person_phone(maybe)
}
Departments{
dept_id,dept_title,dept_phone(maybe)
}
Peoples_Departments{
person_id,dept_id,phone(maybe)}

I put phone maybe in all since I am not sure where the phone number is
attached I assume each person has 1 phone number so it would
presumably go in the People Table but if a person has a different
phone number for each dept they work in it would go in the
relationship table (Peoples_Departments). Doing it this way is much
much faster since you will not have to constantly type out weird dept
names over and over again. To answer possible future questions
assuming a table design like above you would get the person and his
departments like this:

Select peep .*,Dept.*
>From People peep INNER JOIN Peoples_Departments PD ON peep.person_id =
PD.person_id
INNER JOIN department dept ON pd.dept_id = dept.dept_id
Where dept_title = 
value="#variable.deptname#">

:)

Adam H 

On Thu, 26 Aug 2004 16:29:06 -0400, daniel kessler <[EMAIL PROTECTED]> wrote:
> >2. Redo your database with a proper many to many join. Otherwise, you're in
> >for a world of hurt.
> 
> I agree that it should be relational bringing together several tables, which I discussed/learned here about a month ago.  But I was given no time to implement that so I'm trying to implement this temporary kludge with the hopes of doing that when I implement the USERS table for the site.
> 
> Am I getting what you're sayin?
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMX 6.1 Updater Now Available

2004-08-26 Thread dcooper
(one final post attempt!) 

Seems like it's worthwhile to post the Release Notes link as well:

http://www.macromedia.com/support/documentation/en/coldfusion/mx61updater/releasenotes_cfmx61_updater.html

Regarding the report below (from the Release Notes):

"If you have two instances of the CFIDE directory, one in the web server's web root, and the other in the cf_root directory, the Administrator might generate cfimport errors. If you have such a configuration, rename the CFIDE directory that is located in the cf_root directory, or ensure that both CFIDE directories contain the same files by copying the files from web server's CFIDE directory to the cf_root/CFIDE directory after you complete the update. 

Users who initially installed ColdFusionMX 6.1 using the ColdFusion internal web server and started using an external web server at a later time are most likely to encounter this issue. "

Regards, 

Damon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Looking for Live Chat Application

2004-08-26 Thread Ali Awan
I was wondering if anyone had any experience with integrating Cold Fusion with a Java Chat Application using win sockets.  There are several out there that use a database and constantly refresh.  I'm not interested in those.  I'm looking for ones that do not require constant refreshing nor hitting the database.

Thanks,
Ali
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMX 6.1 Updater Now Available

2004-08-26 Thread dcooper
(reposting due to some formatting wierdness!)

Seems like it's worthwhile to post the Release Notes link as well:

http://www.macromedia.com/support/documentation/en/coldfusion/mx61updater/releasenotes_cfmx61_updater.html

Regarding the report below (from the Release Notes):

"If you have two instances of the CFIDE directory, one in the web server's web root, and the other in the cf_root directory, the Administrator might generate cfimport errors. If you have such a configuration, rename the CFIDE directory that is located in the cf_root directory, or ensure that both CFIDE directories contain the same files by copying the files from web server's CFIDE directory to the cf_root/CFIDE directory after you complete the update. 

Users who initially installed ColdFusionMX 6.1 using the ColdFusion internal web server and started using an external web server at a later time are most likely to encounter this issue. "

Regards, 

Damon

> http://www.macromedia.
> com/support/coldfusion/ts/documents/cfmx61_updater.htm
> 
> Think of this as ColdFusion MX 6.1+.  It's a recommended update.  We 
> just wrapped up the Beta program, it's good solid stuff, and basically 
> a single-click install.
> 
> New for this Updater, if you're running in a deployed-on-JRun 
> configuration, we automatically update you in a single click with this 
> one.
> 
> Regards, 
> 
Damon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: structure output

2004-08-26 Thread Daman
Make it a list and use Listgetat()
  -Original Message-
  From: Tim Laureska [mailto:[EMAIL PROTECTED]
  Sent: Thursday, August 26, 2004 2:57 PM
  To: CF-Talk
  Subject: structure output

  How do you "separate out" the values of the comma delimited output of a
  structure ... right now it looks like this:

  cass1,cass2,cass3
  6/9/04,8/9/04,7/9/04
  issue1,issue2,issue3

  and I want it to look like this:

  cass1   issue 1  6/9/04
  cass2   issue2   8/9/04
  cass3   issue3   7/9/04

  Tim Laureska
  1st-String Technologies
  410-829-1510
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMX 6.1 Updater Now Available

2004-08-26 Thread dcooper
Seems like it's worthwhile to post the Release Notes link as well:

http://www.macromedia.com/support/documentation/en/coldfusion/mx61updater/releasenotes_cfmx61_updater.html

Regarding the report below (from the Release Notes):

"If you have two instances of the CFIDE directory, one in the web server's web root, and the other in the cf_root directory, the Administrator might generate cfimport errors. If you have such a configuration, rename the CFIDE directory that is located in the cf_root directory, or ensure that both CFIDE directories contain the same files by copying the files from web server's CFIDE directory to the cf_root/CFIDE directory after you complete the update. 

Users who initially installed ColdFusionMX 6.1 using the ColdFusion internal web server and started using an external web server at a later time are most likely to encounter this issue. "

Regards, 

Damon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




structure output

2004-08-26 Thread Tim Laureska
How do you "separate out" the values of the comma delimited output of a
structure ... right now it looks like this:

cass1,cass2,cass3 
6/9/04,8/9/04,7/9/04 
issue1,issue2,issue3

and I want it to look like this:

cass1   issue 1  6/9/04
cass2   issue2   8/9/04
cass3   issue3   7/9/04  

Tim Laureska
1st-String Technologies
410-829-1510
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: FindNoCase in CFScript

2004-08-26 Thread daniel kessler
doh.  thanks.  It works fine now.

>You're searching for a literal "the_val" in the string, not the passed
>value of the the_val variable.  Remove those quotes and you should be
>good to go.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: rereplace ?

2004-08-26 Thread Bryan Stevenson
25

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

  - Original Message - 
  From: dave 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 1:45 PM
  Subject: Re: rereplace ?

  >I'm confused on a number of issues.
  sorry ben but i dont know why u live in kentucky either HAHA jk ;)

  >First, I don't know what characters you're referring to.
  http://www.asciitable.com./

  i think im just getting mixed up on what value to use
  for example for "em" do i use (in the chr()) "em" or 25 or 19 or 031?
  (in the chart on above link)

  dave
  ~not sweatin my arse off in the ky heat anymore :)~

  -- Original Message --
  From: Ben Doom <[EMAIL PROTECTED]>
  Reply-To: [EMAIL PROTECTED]
  Date:  Thu, 26 Aug 2004 16:33:15 -0400

  >I'm confused on a number of issues.
  >
  >First, I don't know what characters you're referring to.  But that's 
  >tangental, anyway.
  >
  >Second, I don't know why you need a regular _expression_.  You could just 
  >use a regular replace for each one:
  > string = replace(string, chr(123), chr(456), 'all')
  >where 123 and 456 represent the ascii values of the characters you have 
  >and you want, respectively.
  >
  >--Ben
  >
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: rereplace ?

2004-08-26 Thread dave
>I'm confused on a number of issues.
sorry ben but i dont know why u live in kentucky either HAHA jk ;)

>First, I don't know what characters you're referring to.
http://www.asciitable.com./

i think im just getting mixed up on what value to use
for example for "em" do i use (in the chr()) "em" or 25 or 19 or 031?
(in the chart on above link)

dave
~not sweatin my arse off in the ky heat anymore :)~

-- Original Message --
From: Ben Doom <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Thu, 26 Aug 2004 16:33:15 -0400

>I'm confused on a number of issues.
>
>First, I don't know what characters you're referring to.  But that's 
>tangental, anyway.
>
>Second, I don't know why you need a regular _expression_.  You could just 
>use a regular replace for each one:
>	string = replace(string, chr(123), chr(456), 'all')
>where 123 and 456 represent the ascii values of the characters you have 
>and you want, respectively.
>
>--Ben
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: New CF compiler

2004-08-26 Thread Howie Hamlin
Plus they SPAM which puts them lower on my list...
  - Original Message - 
  From: Bryan Stevenson 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 4:57 PM
  Subject: Re: New CF compiler

  Ya...it's from Germany or Holland...thus the lingo issues ;-)

  Bryan Stevenson B.Comm.
  VP & Director of E-Commerce Development
  Electric Edge Systems Group Inc.
  phone: 250.480.0642
  fax: 250.480.1264
  cell: 250.920.8830
  e-mail: [EMAIL PROTECTED]
  web: www.electricedgesystems.com

    - Original Message - 
    From: C. Hatton Humphrey 
    To: CF-Talk 
    Sent: Thursday, August 26, 2004 1:34 PM
    Subject: Re: New CF compiler

    > > http://www.railo.ch/en/about/index.cfm
    >
    > The concept seems strangely familiar.translate a cfm page into a java
    > classh.where have I seen that before.. :)

    Well they need to proofread their site:

    "It is a budged-priced alternative"

    "You can compare Railo at best with JSP. JSP uses an other syntax but
    the main functionality is almost the same. Because Railo obeys most of
    the JSP interfaces, it is highly compatible to JSP."

    Hatton
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: New CF compiler

2004-08-26 Thread Marco Antonio C. Santos
heh... ;-

On Thu, 26 Aug 2004 17:08:10 -0400, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> Ahh... my bad. :) My international knowledge is all kinds of rusty. :)
> 
> > No... Swiss railo.ch(Swiss)
> 
> > On Thu, 26 Aug 2004 13:57:36 -0700, Bryan Stevenson
> > <[EMAIL PROTECTED]> wrote:
> >> Ya...it's from Germany or Holland...thus the lingo issues
> >> ;-)
> >>
> >> Bryan Stevenson B.Comm.
> >> VP & Director of E-Commerce Development
> >> Electric Edge Systems Group Inc.
> >> phone: 250.480.0642
> >> fax: 250.480.1264
> >> cell: 250.920.8830
> >> e-mail: [EMAIL PROTECTED]
> >> web: www.electricedgesystems.com
> >>
> >>  - Original Message -
> >>  From: C. Hatton Humphrey
> >>  To: CF-Talk
> >>  Sent: Thursday, August 26, 2004 1:34 PM
> >>  Subject: Re: New CF compiler
> >>
> >>  > > http://www.railo.ch/en/about/index.cfm
> >>  >
> >>  > The concept seems strangely familiar.translate a
> >>  > cfm page into a java
> >>  > classh.where have I seen that before.. :)
> >>
> >>  Well they need to proofread their site:
> >>
> >>  "It is a budged-priced alternative"
> >>
> >>  "You can compare Railo at best with JSP. JSP uses an
> >>  other syntax but
> >>  the main functionality is almost the same. Because Railo
> >>  obeys most of
> >>  the JSP interfaces, it is highly compatible to JSP."
> >>
> >>  Hatton
> >>
> >>
> 
> >
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: SOT: Dreamweaver Search and Replace

2004-08-26 Thread Venable, John
I had tried that, I finally figured out you have to use control-return to have it see that you want a hard return.
Thanks Ben

 
John

-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:16 PM
To: CF-Talk
Subject: Re: SOT: Dreamweaver Search and Replace

Why not just put a hard return in the "seach for" box?

--Ben

Venable, John wrote:

> I'm simply trying to replace all instances on xxyyzz with a hard return. I have tried the search and replace with \n and \r but it just puts in those characters explicitly, this is Whether i have on 'Use Regular _expression_' or not. Can anyone tell me what I'm doing wrong?
>  
> Thanks
>  
> john venable

This e-mail, including attachments, is intended for the exclusive use of the person or entity to which it is addressed and may contain confidential or privileged information.  If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited.  If you think that you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.

Thank you.  Epilepsy Foundation
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: New CF compiler

2004-08-26 Thread S . Isaac Dealey
Ahh... my bad. :) My international knowledge is all kinds of rusty. :)

> No... Swiss railo.ch(Swiss)

> On Thu, 26 Aug 2004 13:57:36 -0700, Bryan Stevenson
> <[EMAIL PROTECTED]> wrote:
>> Ya...it's from Germany or Holland...thus the lingo issues
>> ;-)
>>
>> Bryan Stevenson B.Comm.
>> VP & Director of E-Commerce Development
>> Electric Edge Systems Group Inc.
>> phone: 250.480.0642
>> fax: 250.480.1264
>> cell: 250.920.8830
>> e-mail: [EMAIL PROTECTED]
>> web: www.electricedgesystems.com
>>
>>  - Original Message -
>>  From: C. Hatton Humphrey
>>  To: CF-Talk
>>  Sent: Thursday, August 26, 2004 1:34 PM
>>  Subject: Re: New CF compiler
>>
>>  > > http://www.railo.ch/en/about/index.cfm
>>  >
>>  > The concept seems strangely familiar.translate a
>>  > cfm page into a java
>>  > classh.where have I seen that before.. :)
>>
>>  Well they need to proofread their site:
>>
>>  "It is a budged-priced alternative"
>>
>>  "You can compare Railo at best with JSP. JSP uses an
>>  other syntax but
>>  the main functionality is almost the same. Because Railo
>>  obeys most of
>>  the JSP interfaces, it is highly compatible to JSP."
>>
>>  Hatton
>>
>>

>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: New CF compiler

2004-08-26 Thread S . Isaac Dealey
> biggest problem i had with them wasn't the small
> typos...it was
> spelling ColdFusion as Cold Fusion (with space).  that's
> one of my big
> pet peeves :)

> you should know how to spell the name of the technology
> you're using.

> altho...was cleaning out the office a few weeks
> back...found 3 3.5"
> floppy disks.  Installs for CF 1.5.  and it -was- spelled
> Cold Fusion
> (with space).  just sayin' :)

Yea, iirc the change was made around the time of CF 2...

You still have to use both when you do searches for jobs on the
various job-boards because recruiters spell it either way -- which I
think has more to do with "word of mouth" than it does with them
knowing or not knowing that it's marketed as a single word.

s. isaac dealey   954.927.5117

new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: OT- What makes a blog a blog?

2004-08-26 Thread mayo
That's my thinking exactly. Any mechanism by which text is conveniently
displayed on a web site (usually in a reverse chronological order) without
the user needing to know HTML or anything else is a blog.

Everything else, calendar, comments etc..., are features by which you entice
users to use your product.

-- glm

  -Original Message-
  From: Rob [mailto:[EMAIL PROTECTED]
  Sent: Thursday, August 26, 2004 2:53 PM
  To: CF-Talk
  Subject: Re: OT- What makes a blog a blog?

  I'd say a blog is where you just type something into something like this

  http://www.rohanclan.com/products/OpenHTMLEditor/OpenHTMLEditor.html

  click save, and then displayed with output something like this

  http://www.robrohan.com/index.cfm?p=101

  The calendar is just a navigation mechanism. The main distinction - in
  my mind - between a blog and, say, frontpage / dreamweaver is that you
  just need a browser to blog - there is no intermediate software.

  my ¥0.02

  On Thu, 26 Aug 2004 14:25:12 -0400, mayo <[EMAIL PROTECTED]> wrote:
  > I know what a blog is used for, why it's being used, etc...
  >
  > I was just wondering what makes a blog a blog? What features make it a
blog?
  >
  > Is it simply a CMS or are there other features that make it a blog?
  >
  > Does it need the ability to comment?
  > Does it need a cute little calendar?
  >
  > The reason I guess I started wondering is that my blog is a CMS I built
for
  > myself and friends and co-workers were saying "that's not a blog"
  >
  > Hence the post to the group.
  >
  > -- gil
  >
  >
  >   -Original Message-
  >   From: Nathan Strutz [mailto:[EMAIL PROTECTED]
  >   Sent: Thursday, August 26, 2004 1:12 PM
  >   To: CF-Talk
  >   Subject: Re: OT- What makes a blog a blog?
  >
  >   google - define:blog
  >   http://www.google.com/search?q=define%3Ablog
  >
  > "A blog is basically a journal that is available on the web. The
  >   activity of updating a blog is "blogging" and someone who keeps a blog
  >   is a "blogger." Blogs are typically updated daily using software that
  >   allows people with little or no technical background to update and
  >   maintain the blog. Postings on a blog are almost always arranged in
  >   cronological order with the most recent additions featured most
  >   prominantly."
  >
  >   If you want to get technical with this definition, a CMS is required
  >   (offline or online ones count), comments are not required.
  >
  >   Though another further down the search probably defines it better:
  >
  > "A web log: an on-line diary or frequently updated personal web
page."
  >
  >   -nathan strutz
  >   http://www.dopefly.com/techblog/  <-- mine
  >
  >   mayo wrote:
  >
  >   > Is a fully hardcode page with blog entries written in the text
editor a
  >   > blog?
  >   > Is a CMS which allows users to create and edit files but doesn't
allow
  >   > comments a blog?
  >   >
  >   >  >From a developer's perspective: what makes a blog a blog?
  >   >
  >   > -- just curious
  >   >
  >
  >
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMX 6.1 Updater Now Available

2004-08-26 Thread Bert Dawson
I deleted the files that the installer added to the default directory
(D:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\CFIDE\administrator\)
and cfadmin now works fine where i installed and updated it
(D:\www\CFIDE\administrator\).

Thanks Collin

Bert

- Original Message -
From: Collin Tobin <[EMAIL PROTECTED]>
Date: Thu, 26 Aug 2004 16:29:39 -0400
Subject: RE: CFMX 6.1 Updater Now Available
To: CF-Talk <[EMAIL PROTECTED]>

For some reason you have a CFIDE dir in your cf_root and in your webroot.
Make sure the two have the same files, or rename the CFIDE dir in your
cf_root.

Collin
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: New CF compiler

2004-08-26 Thread Marco Antonio C. Santos
No... Swiss railo.ch(Swiss)

On Thu, 26 Aug 2004 13:57:36 -0700, Bryan Stevenson
<[EMAIL PROTECTED]> wrote:
> Ya...it's from Germany or Holland...thus the lingo issues ;-)
> 
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com
> 
>  - Original Message -
>  From: C. Hatton Humphrey
>  To: CF-Talk
>  Sent: Thursday, August 26, 2004 1:34 PM
>  Subject: Re: New CF compiler
> 
>  > > http://www.railo.ch/en/about/index.cfm
>  >
>  > The concept seems strangely familiar.translate a cfm page into a java
>  > classh.where have I seen that before.. :)
> 
>  Well they need to proofread their site:
> 
>  "It is a budged-priced alternative"
> 
>  "You can compare Railo at best with JSP. JSP uses an other syntax but
>  the main functionality is almost the same. Because Railo obeys most of
>  the JSP interfaces, it is highly compatible to JSP."
> 
>  Hatton
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Simple Date Function Question...at least I think it is.

2004-08-26 Thread Greg Luce


	#week(now())# - Odd

	#week(now())# - Even

 

-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 26, 2004 4:49 PM
To: CF-Talk
Subject: Simple Date Function Question...at least I think it is.

What would be the easiest way to write code to determine whether the current
week of the year is even or odd?
I am looking to display two different groups of images, each group being
displayed every other week.

Thanks, Che
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: New CF compiler

2004-08-26 Thread Charlie Griefer
biggest problem i had with them wasn't the small typos...it was
spelling ColdFusion as Cold Fusion (with space).  that's one of my big
pet peeves :)

you should know how to spell the name of the technology you're using.

altho...was cleaning out the office a few weeks back...found 3 3.5"
floppy disks.  Installs for CF 1.5.  and it -was- spelled Cold Fusion
(with space).  just sayin' :)

On Thu, 26 Aug 2004 16:52:46 -0400, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> >> > http://www.railo.ch/en/about/index.cfm
> >>
> >> The concept seems strangely familiar.translate a cfm
> >> page into a java
> >> classh.where have I seen that before.. :)
> 
> > Well they need to proofread their site:
> 
> > "It is a budged-priced alternative"
> 
> > "You can compare Railo at best with JSP. JSP uses an other
> > syntax but
> > the main functionality is almost the same. Because Railo
> > obeys most of
> > the JSP interfaces, it is highly compatible to JSP."

-- 
Charlie Griefer


Marta was watching the football game with me when she said, 
"You know, most of these sports are based on the idea of one group 
protecting its territory from invasion by another group." 
"Yeah," I said, trying not to laugh. Girls are funny.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMX 6.1 Updater Now Available

2004-08-26 Thread Micha Schopman
These are the paths entered during the updater setup.

Please select the directory that contains your ColdFsion 6.1 WEB-INF directory:
I used -> C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war

Please
Default I had (= restore default folder button) -> C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\CFIDE

but the setup showed me the error that this directory was not a valid CFMX 6.1 directory, so I changed this to c:\inetpub\wwwroot\cfide\ which allowed me to proceed the setup. Is this were it went wrong? 

For some reason the C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\CFIDE directory is now allowed when I execute the setup screen again. Can I proceed by rerunning the setup procedure with this directory?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Simple Date Function Question...at least I think it is.

2004-08-26 Thread Che Vilnonis
interesting...if i had only remebered that there was a Week() function. i
knew there had to be a simple answer.
thanks Matt.

-Original Message-
From: Matthew Fusfield [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:53 PM
To: CF-Talk
Subject: Re: Simple Date Function Question...at least I think it is.

Try something like this:


   WEEK IS EVEN

   WEEK IS ODD


Matt

On Thu, 26 Aug 2004 16:48:44 -0400, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> What would be the easiest way to write code to determine whether the
current
> week of the year is even or odd?
> I am looking to display two different groups of images, each group being
> displayed every other week.
>
> Thanks, Che
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: New CF compiler

2004-08-26 Thread Bryan Stevenson
Ya...it's from Germany or Holland...thus the lingo issues ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

  - Original Message - 
  From: C. Hatton Humphrey 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 1:34 PM
  Subject: Re: New CF compiler

  > > http://www.railo.ch/en/about/index.cfm
  >
  > The concept seems strangely familiar.translate a cfm page into a java
  > classh.where have I seen that before.. :)

  Well they need to proofread their site:

  "It is a budged-priced alternative"

  "You can compare Railo at best with JSP. JSP uses an other syntax but
  the main functionality is almost the same. Because Railo obeys most of
  the JSP interfaces, it is highly compatible to JSP."

  Hatton
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Simple Date Function Question...at least I think it is.

2004-08-26 Thread Matthew Fusfield
Not a big deal, but that should actually be:

  WEEK IS ODD

  WEEK IS EVEN


(if the remainder is 0, it is an even number. If it has a remainder,
than it is odd)

Matt

On Thu, 26 Aug 2004 16:52:55 -0400, Matthew Fusfield <[EMAIL PROTECTED]> wrote:
> Try something like this:
> 
> 
>    WEEK IS EVEN
> 
>    WEEK IS ODD
> 
> 
> Matt
> 
> 
> 
> 
> On Thu, 26 Aug 2004 16:48:44 -0400, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> > What would be the easiest way to write code to determine whether the current
> > week of the year is even or odd?
> > I am looking to display two different groups of images, each group being
> > displayed every other week.
> >
> > Thanks, Che
> >
> >
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Excel Output File

2004-08-26 Thread CF Coder2
> CSV will work, and HTML table should too, though I've not checked on 
> '97.
> 

I should have stated that I have Excel 2000, not 1997.

How do you deal with column values that have commas in the data?
Do you quote each list item or ?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Simple Date Function Question...at least I think it is.

2004-08-26 Thread Matthew Fusfield
Try something like this:


   WEEK IS EVEN

   WEEK IS ODD


Matt

On Thu, 26 Aug 2004 16:48:44 -0400, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> What would be the easiest way to write code to determine whether the current
> week of the year is even or odd?
> I am looking to display two different groups of images, each group being
> displayed every other week.
> 
> Thanks, Che
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: New CF compiler

2004-08-26 Thread S . Isaac Dealey
>> > http://www.railo.ch/en/about/index.cfm
>>
>> The concept seems strangely familiar.translate a cfm
>> page into a java
>> classh.where have I seen that before.. :)

> Well they need to proofread their site:

> "It is a budged-priced alternative"

> "You can compare Railo at best with JSP. JSP uses an other
> syntax but
> the main functionality is almost the same. Because Railo
> obeys most of
> the JSP interfaces, it is highly compatible to JSP."

> Hatton

IIRC that's a poor translation of information originally written in
Spanish. Although with most native english-speaking developers I
suspect it leaves some doubts about the quality of the software.
Whether those doubts are well founded is a whole other matter. Though
Railo and one other asside from BlueDragon iirc have been around for a
little while now with little fanfare. New Atlanta seems to be the only
company that's been able to make a dent in the marketing area with a
CF Server clone.

s. isaac dealey   954.927.5117

new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Simple Date Function Question...at least I think it is.

2004-08-26 Thread Che Vilnonis
What would be the easiest way to write code to determine whether the current
week of the year is even or odd?
I am looking to display two different groups of images, each group being
displayed every other week.

Thanks, Che
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: CFMX 6.1 Updater Now Available

2004-08-26 Thread Collin Tobin
For some reason you have a CFIDE dir in your cf_root and in your webroot.
Make sure the two have the same files, or rename the CFIDE dir in your
cf_root.

 
Collin

-Original Message-
From: Micha Schopman [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:22 PM
To: CF-Talk
Subject: Re: CFMX 6.1 Updater Now Available

The ColdFusion Administrator is broken after applying the patch. The
navigation menu on the left side shows the following error message:

The tag you are trying to use cannot be found within any tag libraries you
have imported. 

Unknown tag: admin:l10n.  
ColdFusion cannot determine how to process the tag admin:l10n because the
tag is unknown and not in any imported tag libraries. The tag name might be
misspelled. 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMX 6.1 Updater Now Available

2004-08-26 Thread Bert Dawson
I'm getting the same thing. I installed cfadmin to d:\www when i first
installed Jrun/CFMX, and did the same when i ran the updater. Judging
by the date stamps it looks likethe updater has added/ammended 5 .cfm
files, both in the D:\www\CFIDE\administrator\ location, and the
default D:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\CFIDE\administrator\
I don't have access to any other servers right now so i can't see what
ight have changed till tomorrow.

Bert

- Original Message -
From: Barney Boisvert <[EMAIL PROTECTED]>
Date: Thu, 26 Aug 2004 13:33:07 -0700
Subject: Re: CFMX 6.1 Updater Now Available
To: CF-Talk <[EMAIL PROTECTED]>

Check the install instructions.  You probably copied the CFADMIN to a
different location.  Replace it with the newly updated on at
%cfmxroot%/wwwroot/CFIDE/administrator and you should be good to go,
as per the instructions.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFHeader in a custom tag

2004-08-26 Thread Neculai Macarie
> Hi all,
>  
> I have another strange one for you.  I'm writing a custom tag and I want it
> to do a cfheader.  I can do this no problem, but what I'm looking to do is
> have it so if I call the tag more than once in a page, the cfheader is only
> done on the first call.  
>  
> Any ideas how I might get it to do this?

Inside the custom tag:


   
   


-- 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFHeader in a custom tag

2004-08-26 Thread Howie Hamlin

   


code here
add header here

Something like that...

HTH,

-- 
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion applications
>>> Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm

  - Original Message - 
  From: DURETTE, STEVEN J (AIT) 
  To: CF-Talk 
  Sent: Thursday, August 26, 2004 4:36 PM
  Subject: CFHeader in a custom tag

  Hi all,

  I have another strange one for you.  I'm writing a custom tag and I want it
  to do a cfheader.  I can do this no problem, but what I'm looking to do is
  have it so if I call the tag more than once in a page, the cfheader is only
  done on the first call.  

  Any ideas how I might get it to do this?

  Thanks,
  Steve
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Download file

2004-08-26 Thread Andy Ousterhout
What command do I use to download a file I've already created?

Andy
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




CFHeader in a custom tag

2004-08-26 Thread DURETTE, STEVEN J (AIT)
Hi all,

 
I have another strange one for you.  I'm writing a custom tag and I want it
to do a cfheader.  I can do this no problem, but what I'm looking to do is
have it so if I call the tag more than once in a page, the cfheader is only
done on the first call.  

 
Any ideas how I might get it to do this?

 
Thanks,
Steve
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: New CF compiler

2004-08-26 Thread C. Hatton Humphrey
> > http://www.railo.ch/en/about/index.cfm
>
> The concept seems strangely familiar.translate a cfm page into a java
> classh.where have I seen that before.. :)

Well they need to proofread their site:

"It is a budged-priced alternative"

"You can compare Railo at best with JSP. JSP uses an other syntax but
the main functionality is almost the same. Because Railo obeys most of
the JSP interfaces, it is highly compatible to JSP."

Hatton
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: rereplace ?

2004-08-26 Thread Ben Doom
I'm confused on a number of issues.

First, I don't know what characters you're referring to.  But that's 
tangental, anyway.

Second, I don't know why you need a regular _expression_.  You could just 
use a regular replace for each one:
	string = replace(string, chr(123), chr(456), 'all')
where 123 and 456 represent the ascii values of the characters you have 
and you want, respectively.

--Ben

dave wrote:

> i have 3 damn chr's that r giving me fits trying to remove from an output string.
> they are getting there from copy & paste from a mac 
> 
> the 3 chr's are
> em ~ needs to be a '
> fs ~ needs to be "
> gs ~ ""
> 
> can i do it all in 1 calling or do i need 3?
> i been trying both but not working
> 
> tia
> 
> dave 
> 
>  
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMX 6.1 Updater Now Available

2004-08-26 Thread Barney Boisvert
Check the install instructions.  You probably copied the CFADMIN to a
different location.  Replace it with the newly updated on at
%cfmxroot%/wwwroot/CFIDE/administrator and you should be good to go,
as per the instructions.

Better bet for next time, use a Alias/VirtualDirectory to add the
admin to your web root, rather than copying the files, that way you
dont' have to deal with this kinda thing.

cheers,
barneyb

On Thu, 26 Aug 2004 16:22:15 -0400, Micha Schopman
<[EMAIL PROTECTED]> wrote:
> The ColdFusion Administrator is broken after applying the patch. The navigation menu on the left side shows the following error message:
> 
> The tag you are trying to use cannot be found within any tag libraries you have imported.
> 
> Unknown tag: admin:l10n.
> ColdFusion cannot determine how to process the tag admin:l10n because the tag is unknown and not in any imported tag libraries. The tag name might be misspelled.
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMX 6.1 Updater Now Available

2004-08-26 Thread Sean Corfield
Hmm, you're the second person to report this same error (see Paul at
TayFusion's comment on my blog). The only references to this I can
find before were from Harald Brauer who had this same problem with the
CFMX 6.0 Updater 3 installation and no one seemed to post a solution
to his problem.

On Thu, 26 Aug 2004 16:22:15 -0400, Micha Schopman
<[EMAIL PROTECTED]> wrote:
> The ColdFusion Administrator is broken after applying the patch. The navigation menu on the left side shows the following error message:
> 
> The tag you are trying to use cannot be found within any tag libraries you have imported.
> 
> Unknown tag: admin:l10n.
> ColdFusion cannot determine how to process the tag admin:l10n because the tag is unknown and not in any imported tag libraries. The tag name might be misspelled.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: SQL questions

2004-08-26 Thread daniel kessler
>2. Redo your database with a proper many to many join. Otherwise, you're in
>for a world of hurt.

I agree that it should be relational bringing together several tables, which I discussed/learned here about a month ago.  But I was given no time to implement that so I'm trying to implement this temporary kludge with the hopes of doing that when I implement the USERS table for the site.

Am I getting what you're sayin?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: New CF compiler

2004-08-26 Thread Marlon Moyer
The concept seems strangely familiar.translate a cfm page into a java
classh.where have I seen that before.. :)

Marlon

> -Original Message-
> From: Marco Antonio C. Santos [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 26, 2004 3:08 PM
> To: CF-Talk
> Subject: New CF compiler
> 
> Look this site:
> 
> 
> http://www.railo.ch/en/about/index.cfm
> 
> 
> Railo is an CF compiler with several options. My firt impression looks
> nice... and stable too
> 
> 
> cheers
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFMX 6.1 Updater Now Available

2004-08-26 Thread Micha Schopman
The ColdFusion Administrator is broken after applying the patch. The navigation menu on the left side shows the following error message:

The tag you are trying to use cannot be found within any tag libraries you have imported. 

Unknown tag: admin:l10n.  
ColdFusion cannot determine how to process the tag admin:l10n because the tag is unknown and not in any imported tag libraries. The tag name might be misspelled.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




rereplace ?

2004-08-26 Thread dave
i have 3 damn chr's that r giving me fits trying to remove from an output string.
they are getting there from copy & paste from a mac 

the 3 chr's are
em ~ needs to be a '
fs ~ needs to be "
gs ~ ""

can i do it all in 1 calling or do i need 3?
i been trying both but not working

tia

dave
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: OT- What makes a blog a blog?

2004-08-26 Thread Rob
I'd say a blog is where you just type something into something like this

http://www.rohanclan.com/products/OpenHTMLEditor/OpenHTMLEditor.html

click save, and then displayed with output something like this

http://www.robrohan.com/index.cfm?p=101

The calendar is just a navigation mechanism. The main distinction - in
my mind - between a blog and, say, frontpage / dreamweaver is that you
just need a browser to blog - there is no intermediate software.

my ¥0.02

On Thu, 26 Aug 2004 14:25:12 -0400, mayo <[EMAIL PROTECTED]> wrote:
> I know what a blog is used for, why it's being used, etc...
> 
> I was just wondering what makes a blog a blog? What features make it a blog?
> 
> Is it simply a CMS or are there other features that make it a blog?
> 
> Does it need the ability to comment?
> Does it need a cute little calendar?
> 
> The reason I guess I started wondering is that my blog is a CMS I built for
> myself and friends and co-workers were saying "that's not a blog"
> 
> Hence the post to the group.
> 
> -- gil
> 
> 
>   -Original Message-
>   From: Nathan Strutz [mailto:[EMAIL PROTECTED]
>   Sent: Thursday, August 26, 2004 1:12 PM
>   To: CF-Talk
>   Subject: Re: OT- What makes a blog a blog?
> 
>   google - define:blog
>   http://www.google.com/search?q=define%3Ablog
> 
> "A blog is basically a journal that is available on the web. The
>   activity of updating a blog is "blogging" and someone who keeps a blog
>   is a "blogger." Blogs are typically updated daily using software that
>   allows people with little or no technical background to update and
>   maintain the blog. Postings on a blog are almost always arranged in
>   cronological order with the most recent additions featured most
>   prominantly."
> 
>   If you want to get technical with this definition, a CMS is required
>   (offline or online ones count), comments are not required.
> 
>   Though another further down the search probably defines it better:
> 
> "A web log: an on-line diary or frequently updated personal web page."
> 
>   -nathan strutz
>   http://www.dopefly.com/techblog/  <-- mine
> 
>   mayo wrote:
> 
>   > Is a fully hardcode page with blog entries written in the text editor a
>   > blog?
>   > Is a CMS which allows users to create and edit files but doesn't allow
>   > comments a blog?
>   >
>   >  >From a developer's perspective: what makes a blog a blog?
>   >
>   > -- just curious
>   >
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: SOT: Dreamweaver Search and Replace

2004-08-26 Thread Ben Doom
Why not just put a hard return in the "seach for" box?

--Ben

Venable, John wrote:

> I'm simply trying to replace all instances on xxyyzz with a hard return. I have tried the search and replace with \n and \r but it just puts in those characters explicitly, this is Whether i have on 'Use Regular _expression_' or not. Can anyone tell me what I'm doing wrong?
>  
> Thanks
>  
> john venable
> 
> This e-mail, including attachments, is intended for the exclusive use of the person or entity to which it is addressed and may contain confidential or privileged information.  If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited.  If you think that you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.
> 
> Thank you.  Epilepsy Foundation
> 
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: OT- What makes a blog a blog?

2004-08-26 Thread Rob
On Thu, 26 Aug 2004 15:25:39 -0400, mayo <[EMAIL PROTECTED]> wrote:

> If a simple CMS which uses form text fields and cffile to write and edit is
> not a blog. What is?

I don't see why thats not a blog - at least by my made up definition -
it may be a lame blog but thats another question I think.

> Where and how it's stored and delivered? (XML/db/file)

I don't think it matters. There are a couple free blogs out there some
run on dbs some on xml (which is a file so...)

>  What makes blogfusion a blog if a simple CMS is not?

Maybe it has better tools - why is Notepad not a cold fusion IDE? It
has the ability to create valid cf code. I think your trying to ask
what is the minimum usability people want in a blog, and that's
something you'll have to ask the people who are going to use whatever
it is you are making.

Text area => file => web browser 
I think is the minimum system requirements for a blog.

-- 
~The cfml plug-in for eclipse~
http://cfeclipse.tigris.org 
~open source xslt IDE~
http://treebeard.sourceforge.net
~open source XML database~
http://ashpool.sourceforge.net
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: FindNoCase in CFScript

2004-08-26 Thread Barney Boisvert
You're searching for a literal "the_val" in the string, not the passed
value of the the_val variable.  Remove those quotes and you should be
good to go.

cheers,
barneyb

On Thu, 26 Aug 2004 16:10:28 -0400, Daniel Kessler <[EMAIL PROTECTED]> wrote:
> I wanted to use a function to determine the checked state of a
> checkbox, so I made a function within a CFScript area.  But if I use
> FindNoCase in it, it no longer works.  If I change out the FindNoCase
> with the number 1 it works fine.  Is it that this is a cf function
> that's not allowed in cfscript and if so, what now?
> 
> 
> 
>   function setChecked(the_val,whole_string) {
> var isChecked = "";
> if (FindNoCase("the_val",whole_string)){
> isChecked = "checked";
> }
> return isChecked;
> }
> 
> 
> 
> thanks for all the answers to the questions that I asked today.
> 
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




FindNoCase in CFScript

2004-08-26 Thread Daniel Kessler
I wanted to use a function to determine the checked state of a 
checkbox, so I made a function within a CFScript area.  But if I use 
FindNoCase in it, it no longer works.  If I change out the FindNoCase 
with the number 1 it works fine.  Is it that this is a cf function 
that's not allowed in cfscript and if so, what now?



   function setChecked(the_val,whole_string) {
 var isChecked = "";
 if (FindNoCase("the_val",whole_string)){
 isChecked = "checked";
 }
 return isChecked;
 }



thanks for all the answers to the questions that I asked today.

-- 
Daniel Kessler

Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
301-405-2545 Phone
www.phi.umd.edu
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF Regex to JS Regex

2004-08-26 Thread S . Isaac Dealey
> Has anyone converted this to work with _javascript_?

> This is the Regex from the isURL() UDF from cflib. I use
> the isURL on
> the server side and wanted to add something similar on the
> slient side
> but keep fialing to convert it correctly.

> ^(((https?:|ftp:|gopher:)\/\/))[-[:alnum:]\?%,\.\/&##!@:=\
> +~_]+[A-Za-z0-
> 9\/]$

> Thanks!

Odd that is uses alnum in one place and A-Za-z0-9 in another...
offhand I don't see why this wouldn't work if you use a RegExp object
and maybe replace the [:alnum:] class with \w ...

var rex = new RegExp("^(((https?:|ftp:|gopher:)\/\/))[-\w\?%,\.\/&#!@:
=\+~_]+[A-Za-z0-9\/]$");

s. isaac dealey   954.927.5117

new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF Regex to JS Regex

2004-08-26 Thread Claude Schneegans
Try the REWizard here:
http://www.contentbox.com/claude/REwizard/index.cfm?p=hf

You can enter an _expression_ in CF mode, then translate it in _javascript_ mode.
Anyway, all expressions are tested in _javascript_.

The REWizard translated your _expression_ into:
^(((https?:|ftp:|gopher:)\/\/))[-A-Za-z0-9\?%,\.\/&##!@:=\+~_]+[A-Za-z0-9\/]$

The only difference seems to be [:alnum:] translated into A-Za-z0-9

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Excel Output File

2004-08-26 Thread Ray Champagne
I haven't tried it, but would changing from a tab delimited to comma 
delimited work?

Ray

At 04:04 PM 8/26/2004, you wrote:
>I'm needing to generate a file in CF that can be directly read in to Excel 
>spreadsheet.  I thought a tab-delimited file would do it but Excel '97 
>won't read it.  Complains about it not being a valid SYLK file format.
>
>I'm sure others have been able to create excel compatible files, what's 
>the trick?
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




New CF compiler

2004-08-26 Thread Marco Antonio C. Santos
Look this site:

http://www.railo.ch/en/about/index.cfm

Railo is an CF compiler with several options. My firt impression looks
nice... and stable too

cheers
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




  1   2   3   >