RE: multiuser CF blog app?

2006-06-09 Thread Mark A Kruger
Ray's blog is good and used by most of us cf coder types... But blogfusion
is also an excellent product.

http://www.blogfusion.com/index.cfm


It inlcudes lots of extras including a photo blog component.

-mark
 

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 08, 2006 9:58 PM
To: CF-Talk
Subject: Re: multiuser CF blog app?

http://ray.camdenfamily.com/projects/blogcfc/

On 6/9/06, Matt Robertson [EMAIL PROTECTED] wrote:
 I have a client who has a need for a single application to provide a
multiuser-enabled blog app.  Anyone know of one in the CF universe?


--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/



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


Re: User Friendly URLs for dynamic content

2006-06-09 Thread James Holmes
Everyone always forgets Spike's solution:

http://cfopen.org/projects/fuservlet

http://www.spike.org.uk/projects/fuservlet/

On 6/9/06, Matt Robertson [EMAIL PROTECTED] wrote:
 I use the 404 method mentioned earlier and it works like a charm.  I set IE 
 to not check to see if a page exists, then I set up a 404 handler for CF.  
 Believe it or not I use CFHTTP to pull the dynamic page, and it has proven to 
 be an unnoticeable load on a busy server.  There was a thread a few months 
 back where I laid it all out and asked if there was a better way.  The cfhttp 
 thing seemed loony but it turned out to be the best, most flexible solution.

 [EMAIL PROTECTED]
 Janitor, MSB Web Systems
 http://mysecretbase.com

 

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


Re: Speaking of cfeclipse/eclipse issues...

2006-06-09 Thread Denny Valliant
You may have missed it earlier...

I'll try putting it in terms someone besides myself will understand.

Eclipse has a FTP Team plugin (that means it will keep files in sync,
allow you to do DIFFs on modified resources, show what's been
changed, etc pretty much the same as CVS or SVN).

http://www.jcraft.com/jsch/ has a SFTP plugin that adds support
for webdav, ssh, ftp, etc.., all Team enabled.  Works with SVN managed
resources as well, so it's swell if you're repo'ed but other's ain't, so to
speak.

It doesn't do multiple targets, I don't think, but ANT's better for that.
;-)
:denny

On 6/8/06, Eric Roberts [EMAIL PROTECTED] wrote:


 Mark...or anyone else more adept at eclipse than I (pretty much everyone
 hehehe)...

 Am I missing something or is the only option for ftp is to transfer a
 folder?  I only need to transfer a file ;-)  I have been using cfeclipse
 for
 the past few days on a project, and that is a major PIA when I have to use
 a
 separate ftp program to upload files to the dev server (it's remote...so I
 don't have network access and they don't have RDS access set up).  The
 only
 way I can see to do it is to right click on the file, click export and
 then
 select ftp.  Am I doing something wrong or not going about it the right
 way?

 As far as the tabbing issue...at least now I know it was a bad flashback
 when that happened heheheh...it's not a show stopper, but it does become a
 PIA at times

 Eric


 

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


Re: RFC on my tentative database schema for a restaurant menu database

2006-06-09 Thread |Rens| 0
Pete Ruckelshaus wrote:

snap /

Looks pretty good to me. Haven't had time enough to look close enough, 
and I don't know what your requirements are, so don't take my words for 
granted ;)

A few questions/comments though:

1. I (personally) would choose non-plural names only for tables and 
columns. It keeps you from wondering if you should type 'categories' or 
'category' when composing queries.

2. Not sure where you're from. I guess the US? Not to sure if there is a 
cultural menu difference ;) Here in Europe, it's not uncommon to have a 
sort of 'radio-button-per-category-menu' as well. Let me explain:

  Menu For Big Apetite

  --- Apetizers ---

   [ ] Snails
   [ ] Cesar Salad
   [x] Undefined green stuff

  --- Main Course ---

   [ ] Beef
   [ ] Cow
   [x] Crocodile
   [ ] Yet More Beef

  --- Desert ---

   [ ] Ice
   [x] Coffee with booze

And all that for a fixed price - $18

Eventhough, you would like to define an item like Yet More Beef only 
once, for say $10,- you would also like to be able to include the same 
item in a 'radio-button-per-category-menu' like this, that has a summed, 
fixed price of $18,-.

Well, that's what I thought of when I had a few minutes. Back to work now ;)

Rens

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


Empty String? Works in two environments but not in the third?

2006-06-09 Thread Michael Traher
I have a wierd error currently that has me a bit foxed.

Something that works on my local development workstation and works in
production, but currently does not work in the staging/test environment.

I know this is a tough one to debug remotely and you're thinking 'well the
environments must be different in some way...', but let me just tell you
where the error is in case there is some gotcha that someone else has
experienced.

This is a FB4.1 (no flamewars required please :-) and the here is the
statement that fails

cfset structobject =
application.reportsentry.updateReport(argumentcollection=FORM)
/

The error is

[missing string]
java.lang.ClassCastException at coldfusion.runtime.ArgumentCollection
..init(ArgumentCollection.java:88) at ..

I can dump the form scope and it has stuff in there.

The method in updateReport method does not specifically enumerate the
arguments that it goes on to use i.e. the elements of the the form passed in
(which I personnally don't like) but as I said this same code works in two
other enviroments.

Any ideas?



-- 
Mike T
Blog http://www.socialpoints.com/
This e-mail may contain privileged and confidential information and/or
copyright material and is intended for the use of the addressee only. If you
receive this e-mail by mistake please advise the sender immediately by using
the reply facility in your e-mail software and delete this e-mail from your
computer system. You may not deliver, copy or disclose its contents to
anyone else. Any unauthorised use may be unlawful. Any views expressed in
this e-mail are those of the individual sender and may not necessarily
reflect the views of The Collinson Group Ltd and/or its subsidiaries.


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


Re: User Friendly URLs for dynamic content

2006-06-09 Thread Jack Dalaa
For any kind of high volume, you will definitely want to do this on the Web 
server level, on IIS with ISAPI Rewrite (http://www.isapirewrite.com) or 
similar, or on Apache mod_rewrite. Both fairly easy to setup and configure, and 
can do what you're asking, with zero change to your CF app. Much more flexible, 
much more scalable.

My 2 cents.

What are some ways to make URLs more friendly for our product pages?
My marketing guy wants to put these types of URLs in his ads:
mydomain.com/ProductA
mydomain.com/ProductB
mydomain.com/ProductC

I know I can do a subdirectory named ProductA and use cflocation to do a
redirect, but is their an easier way when I have 50 or more possiblities?
I'd rather not have to create a directory and a default.cfm per product.

One thought I had was to change the slash to a question mark. But I'm not
sure if the marketing dude will go for it.

Thanks.

-- 
Matt Williams
It's the question that drive us, Neo.

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


Re: Empty String? Works in two environments but not in the third?

2006-06-09 Thread Auke van Leeuwen
The error is

[missing string]
java.lang.ClassCastException at coldfusion.runtime.ArgumentCollection
.init(ArgumentCollection.java:88) at ..


This seems to be an error introduced by a ColdFusion hotfix. 

http://groups.google.com/group/macromedia.coldfusion.cfml_general_discussion/browse_thread/thread/f969266b1a717134/86a35d9a1385f9bd?lnk=stq=java.lang.ClassCastException+at+coldfusion.runtime.ArgumentCollectionrnum=1hl=en#86a35d9a1385f9bd

Haven't read all of it, but it seems to have been fixed by another hotfix.

 This seems to be fixed in hotfix 2 woohoo!

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


Re: cfopen?

2006-06-09 Thread Tom Chiverton
On Thursday 08 June 2006 19:22, Rick Root wrote:
 I think a lot of other open source people in the CF community out
 there would just as happily upload a zip file to their own web site...

Indeed.
It's only if your building something as huge as Reactor or ColdSpring that you 
can't just do what Ray does and upload a .zip to your blog, and take bug 
reports over email.

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards


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


Re: RFC on my tentative database schema for a restaurant menu database

2006-06-09 Thread Wayne Putterill
Allowing for menu items to be marked as Vegetarian, Gluten Free, Low Fat
etc. could be very useful

On 6/9/06, Pete Ruckelshaus [EMAIL PROTECTED] wrote:

 Hi All,

 Somewhat OT but there are a bunch of very intelligent people here whose
 opinions I value.  The database will initially be MS SQL Server but I also
 plan to eventually support MS Access and MySQL.  The front end WILL be in
 CF
 :)

 I need to add an online menu to a web site that I'm building for a
 restaurant.  Having more experience in content management and CRM style
 apps, I want to make sure that I don't miss anything obvious.  I'm also
 not
 a DBA -- I have a good mind for organization, but I have little formal
 training in database design.  So far, here's what I've got:

 *tblMenu* -- Names the menus and determines whether they are actively
 displayed or not
 id (int,PK)
 menuName (varchar,100, not null)
 menuDescription (varchar,2000)
 content (text) -- in case there is a need to provide a simpler,
 content-management based menu
 active (bit)

 *tblMenuCategories* -- Categories for menu, i.e. Appetizers, Main Courses,
 Brunch, etc.
 id (int,PK)
 parentCategoryID (int)
 categoryName (varchar,100, not null)
 categoryDescription (varchar,2000)
 displayorder (int)

 *tblMenuItems*
 id (int,PK)
 itemName (varchar,100, not null)
 itemDescription (varchar,4000)
 itemNote (varchar,1000) -- visible only to administrators
 updated (smalldatetime, getdate())
 price (smallmoney)
 unit (varchar, 100) -- i.e. dozen, small, half-cup, I could have another
 table for this but think that is probably overkill
 active (bit)

 *tblMenuItemCategories* -- i.e. chef's special, heart-healthy, etc.
 id (int, PK)
 categoryName (varchar,100, not null)

 *tblMenuItemCategoryLookup*-- allows a single itemt o have multiple
 categories (i.e. something can be the special of the day AND
 heart-healthy)
 menuItemID (int, FK tblMenuItems.ID)
 menuItemCategoryID (int, FK tblMenuItemCategories.ID)

 *tblMenuLookup* -- This is what actually builds the menu
 menuID (int, FK tblMenu.ID)
 menuCategoryID (int, FK tblMenuCategories.ID)
 menuItemID (int, FK tblMenuItems.ID) displayOrder (int) -- this orders the
 specific menu item
 active (bit) -- allows administrators to pull an item from the menu

 Can anyone with experience in writing an online restaurant menu
 application
 lend any further advice or shoot me a copy of your database schema so I
 can
 see if I'm missing anything obvious?  This is NOT meant to be the be-all,
 end-all of online restaurant menus, I just need it to do the job for a
 variety of small to mid-sized clients, and I want to get it right the
 first
 time since obviously having to rewrite it later would mean a lot of work
 for
 my clients as well.

 Thanks!

 Pete


 

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


Re: Empty String? Works in two environments but not in the third?

2006-06-09 Thread Michael Traher
wow - the power of the lists eh?

Sure enough the staging server only had the first hotfix while production
had both hotfixes, so obviously not a good situation and once I fixed that
the error disappeared.

Thanks Auke - much appreciated.


On 6/9/06, Auke van Leeuwen [EMAIL PROTECTED] wrote:

 The error is
 
 [missing string]
 java.lang.ClassCastException at coldfusion.runtime.ArgumentCollection
 .init(ArgumentCollection.java:88) at ..
 

 This seems to be an error introduced by a ColdFusion hotfix.


 http://groups.google.com/group/macromedia.coldfusion.cfml_general_discussion/browse_thread/thread/f969266b1a717134/86a35d9a1385f9bd?lnk=stq=java.lang.ClassCastException+at+coldfusion.runtime.ArgumentCollectionrnum=1hl=en#86a35d9a1385f9bd

 Haven't read all of it, but it seems to have been fixed by another hotfix.

  This seems to be fixed in hotfix 2 woohoo!

 

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


Re: Reopening timed out cfftp connection ..

2006-06-09 Thread |Rens| 0
Rens van Leeuwen wrote:
 On Jun 8, 2006, at 7:37 PM, Jochem van Dieten wrote:
 
 and (re)open the existing connection
 If closing fails, you can't reopen it.
 
 Not true.
 
 If something *is* closed, and you *try* to close it, you can open it  
 after your (failed) attempt to close it.

Hmm .. now that I read it back, it seems you were talking about the 
specific situation of sockets (on the client side), and I was talking 
about 'things' in general. My bad.

snap /

 Start a brand new connection whenever you are disconnected and
 use that until you are disconnected again.
 
 Yup, that's what I'm trying now .. 

It wasn't nice, but this approach seems to work for now. Time will tell 
if I made myself a nice racing-condition-setup.

Thanks all for your valuable input :)

Rens

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


Error - Invalid Parameter with CFUPDATE - while uploading a file

2006-06-09 Thread sunil kumar
Hi,
  
  I am getting an error like Invalid Parameter Binding when i am using 
cfupdate. The scenario is as follows:
   
  I am trying to upload a file(word document). First i will upload the file 
name and some parameters associated to it. Then i will get the contents of the 
file using the cffile action=ReadBinary and i am trying to insert this into 
into the DB for a column of LONG data type using CFUPDATE. Then i am getting an 
error message like Invalid Parameter Binding. 
   
  Also i tried using the cfstoredproc by passing the the argument to a stored 
proc using the cfprocparam and cfsqltype of sql_type_longvarchar. Then i am 
getting an error like Unimplemented or Unreasonable Conversion Requested.
   
  Can any one please suggest me why i am getting these errors? and help me in 
solving this.
   
  Thanks
Sunil R

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


RE: accesskey conundrum

2006-06-09 Thread Sandra Clark
Most disabled people use their own programs to provide access,  from Screen
Readers for the blind, to screen browsers (such as IBM Home page reader) for
the dyslexic, to screen magnifiers for those who have limited visibility.
Its not that helpful to add in your own.

The standards to follow would be WCAG 1.0 from the W3c.
http://www.w3.org/TR/WCAG10

The browsers by themselves don't take care of accessibility, we as
developers need to follow the standards so that browsers that also follow
the standards work well. Its a partnership, one side can't do it alone.


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility 

-Original Message-
From: Denny Valliant [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 1:42 AM
To: CF-Talk
Subject: Re: accesskey conundrum

Hey Sandra!

  I figured out how to do TextToSpeech using FreeTTS and ColdFusion, but is
this even a helpful feature, accessibility wise?

I'm doubting it, as a screen-reader already does the job much better.

Probably only helpful for the half-accessible people, where alt.
versions of docs (larger text, spoken word, etc.) are better than all or
nuthin, so to speak.

Accessibility is interesting.  Most of this is getting taken care of by the
browsers now, neh? Special browsers.  Better to follow the standards for the
screen readers and such than to provide extra accessibility. Hmmm.  Sounds
like a cleaner solve.

At any rate, if anyone's interested in text to speech, holler, I'll help.
Next, speech to text... ;-) :Denny

On 6/8/06, Sandra Clark [EMAIL PROTECTED] wrote:

 Except for people of course who can't see the underlines.

 If you are going to use accesskeys (and really they cause more 
 accessibility problems than they solve), then you also need to create 
 and link to an accessibility statement for the page which gives a 
 reference to the access keys used and what they do.


 Sandra Clark
 ==
 http://www.shayna.com
 Training in Cascading Style Sheets and Accessibility -Original 
 Message-
 From: Rob Wilkerson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 08, 2006 9:53 AM
 To: CF-Talk
 Subject: Re: accesskey conundrum

 I'm not a big fan of access keys because of how they interfere with 
 the shortcuts I've set up in my environment and much-discussed 
 accessibility issues, but when I do use them on forms for whatever 
 reason, I tend to follow the Windows UI standard of underlining the 
 letter in the label that, in conjunction with the Alt key activates 
 the shortcut.  Most of the people that are likely to use the shortcuts 
 generally seem to recognize the convention, from what I've seen.

 On 6/8/06, Andy Matthews [EMAIL PROTECTED] wrote:
  Damien...
 
  I like your idea of jumping to the first field in each section.
  Because honestly. Who's going to remember every key command for your 
  form? Just give them 5 or 10 and they'll be happy.
 
  !//--
  andy matthews
  web developer
  certified advanced coldfusion programmer ICGLink, Inc.
  [EMAIL PROTECTED]
  615.370.1530 x737
  --//-
 
  -Original Message-
  From: Damien McKenna [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, June 07, 2006 3:01 PM
  To: CF-Talk
  Subject: OT: accesskey conundrum
 
 
  Here's the story.  I'm working on a series of somewhat long forms 
  that I'd like to make completely accessible using accesskeys in 
  addition to other basics (labels, pure CSS layout, etc).  The 
  problem is that I'm ending up with more fields than accesskeys makes 
  sense for, and there are multiple fields that could/should use the 
  same key.  One idea I had was to have one accesskey defined for the 
  top field in each fieldset then just let them tab between the 
  different fields, but that isn't great in e.g. OSX that has fairly 
  crappy keyboard navigation anyway.  So what do y'all do to overcome 
  this for your accessible forms?  Thanks.
 
  --
  Damien McKenna - Web Developer - [EMAIL PROTECTED] The 
  Limu Company - http://www.thelimucompany.com/ - 407-804-1014 
  #include stdjoke.h
 
 
 



 



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


Re: Status of ActivMail?

2006-06-09 Thread Ant Cooper
iMS-SE does look like the way to go... now that I've moved to Mac ;-)

I'd rather all that email were churning away on a separate machine
from the main app server so it'd be good to put this on the windows
mail server, if it'll site niceley with SmarterMail. It's just whether
I can integrate this direct from CF7 on a different machine/platform.

On 6/8/06, Matt Robertson [EMAIL PROTECTED] wrote:
 Robert Redpath wrote
 Check out inFusion Mail Server
 http://www.coolfusion.com/products/ims/index.cfm
  Or
  Matt Robertson's mail trickler
 http://mysecretbase.com/Slowing_Down_CFMail_2004.cfm

 I personally use both.  iMS SE handles the outgoing mail in cases where I 
 need a separate mail server, and the trickler slows down the delivery so that 
 the mail stays under the radar of frequency filters.  For large lists I use a 
 server-side browser window (iexplore.exe urlGoesHere in a batch file called 
 via cfexecute) that CF opens and, later, closes via a cfexecute-called 
 3rd-party app.

 is iMS going to operate in a MacOS environment?

 

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


Re: multiuser CF blog app?

2006-06-09 Thread Scott Stroz
I'll also give a nod to Ray's blog.  He recently helped to implement 550
instances of BlogCFC for a large site.

On 6/8/06, Matt Robertson [EMAIL PROTECTED] wrote:

 I have a client who has a need for a single application to provide a
 multiuser-enabled blog app.  Anyone know of one in the CF universe?

 

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


Re: multiuser CF blog app?

2006-06-09 Thread Rick Root
BlogCFM was designed to allow multiple blogs in a single database. 
Every table has a blog_id field, and the blog_id can be set in the 
application.cfm in a variety of ways.  There's only one installation, 
one database, one file structure.  Each instance has its own directory 
for files and such but the main blog files are only in one location.

The way you would set it up would be to install the blog .. for example, 
at blog.foobar.com.  And then set up a wildcard DNS record for 
*.foobar.com so it'll respond to anything.foobar.com

And then in the application.cfm you can look at the host headers to 
determine what to set the blog_id to.

Ultimately, it's not an out of the box system... because you'd probably 
want to build some sort of external app to allow people to sign up and 
choose their own hostname like rick.footbar.com, and it would store 
that hostname in a table along with the blog_id and such..

you get the idea.

there are also a few bugs in the current version of blogcfm that I 
haven't had a lot of time to work on.. maybe I'll work on it today :)

www.blogcfm.org

There's a demo there so you can see how the interface works and everything.

Rick

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


Re: About CFC Path

2006-06-09 Thread Mike Kear
You dont need a mapping in a shared hosting environment to make CFCs work. I
have dozens of them working in such an environment on plenty of web sites
without mappings.

I often have my cfcs in a folder named like _cfcs  (with an underscore) and
to call them all I need is something like:

cfset users = createobject(component,_cfcs.userfiles.users).init() /

Haveing the cfcs exposed like that allows them to work sure enough, but also
exposes them to potential misuse.   So there are two things you can do in a
shared environment 

[A]  move them outside the root, and call them with a mapping.  That
requires your system admin to set up a coldfusion mapping for you.   We do
that happily in a few minutes in AFPWebworks.com but many hosting services
dont.

[B]  set up a filter in the Application.cfm that if anyone directly calls a
URL containing an underscore, they're sent off to the home page or the bad
boys corner or anything else that suits you.   This is also useful for all
sorts of other files that you might want to protect from users calling
directly.

But the short answer to your question is that you dont have to have a
coldfusion mapping in order to use cfcs in a shared hosting environment.

-- 
Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month


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


Re: cfopen?

2006-06-09 Thread Rick Root
Tom Chiverton wrote:
 
I think a lot of other open source people in the CF community out
there would just as happily upload a zip file to their own web site...
 
 It's only if your building something as huge as Reactor or ColdSpring that 
 you 
 can't just do what Ray does and upload a .zip to your blog, and take bug 
 reports over email.

Well sure you can do that, but with a real bug reporting system you 
don't get (as many) people reporting bugs multiple times.  Personally I 
find the use of a bug tracking system to be quite handy for helping me 
keep track of what bugs I've fixed and when and how.  For example, there 
are currently 4 or 5 bugs open in CFMBB that I've posted solutions to 
in the bug tracking system so people can fix them quite easily on their 
own rather than waiting for me to release version 1.01

Rick

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


Re: cfopen?

2006-06-09 Thread Tom Chiverton
On Friday 09 June 2006 13:50, Rick Root wrote:
 don't get (as many) people reporting bugs multiple times.  Personally I

If your app is only used by 'a few' people, the danger of that is small.
Esp if...

 are currently 4 or 5 bugs open in CFMBB that I've posted solutions to
 in the bug tracking system so people can fix them quite easily on their
 own rather than waiting for me to release version 1.01

..you post these on a blog rather than a bug tracker :-)

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards


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


RE: Fusebox 4 Slow?

2006-06-09 Thread Earl, George
Greg said:
 I think us folks who like frameworks are building enterprise web
 applications.  . . . 
 ... snipped ...

and:
 ... snipped ...
 Unless you are completely versed in the latest FB4.1 or 5 . . .

I have been watching the explosion in numbers of frameworks for CF with
great interest.

The second comment above about using the 'latest FB4.1 or 5' is one that
concerns me. As someone who participates in building large enterprise
web applications, I'd love to adopt a framework and get all of the
resulting benefits that have been discussed here. But we have a hard
enough time with the logistics of just upgrading versions of CF (we
still haven't made the jump from CF5 to CF6\7 in my area, primarily
because of an extremely aggressive application release schedule). I
don't know enough about frameworks to know the answer to this question,
but unless the process of modifying an enterprise application to
accommodate upgrades\updates to the framework that has been used is
relatively easy I don't see how we could keep up with the framework. Or
am I overestimating the complexity of what is involved in upgrading to a
new version of a framework?

George


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


Re: RFC on my tentative database schema for a restaurant menu database

2006-06-09 Thread Pete Ruckelshaus
Thanks, Rens.  The menu is actually for display and not commerce, so it
won't be a part of the form.  However, if I do need to implement any sort of
pickup/delivery functionality, I would probably use checkboxes or quantity
text fields since fixed price menus are far less common in the US than they
are in Europe.

Wayne, that's what the tblMenuItemCategories/tblMenuItemCategoryLookup
tables are for.

Thanks!

Pete


On 6/9/06, Wayne Putterill [EMAIL PROTECTED] wrote:

 Allowing for menu items to be marked as Vegetarian, Gluten Free, Low Fat
 etc. could be very useful

 On 6/9/06, Pete Ruckelshaus [EMAIL PROTECTED] wrote:
 
  Hi All,
 
  Somewhat OT but there are a bunch of very intelligent people here whose
  opinions I value.  The database will initially be MS SQL Server but I
 also
  plan to eventually support MS Access and MySQL.  The front end WILL be
 in
  CF
  :)
 
  I need to add an online menu to a web site that I'm building for a
  restaurant.  Having more experience in content management and CRM style
  apps, I want to make sure that I don't miss anything obvious.  I'm also
  not
  a DBA -- I have a good mind for organization, but I have little formal
  training in database design.  So far, here's what I've got:
 
  *tblMenu* -- Names the menus and determines whether they are actively
  displayed or not
  id (int,PK)
  menuName (varchar,100, not null)
  menuDescription (varchar,2000)
  content (text) -- in case there is a need to provide a simpler,
  content-management based menu
  active (bit)
 
  *tblMenuCategories* -- Categories for menu, i.e. Appetizers, Main
 Courses,
  Brunch, etc.
  id (int,PK)
  parentCategoryID (int)
  categoryName (varchar,100, not null)
  categoryDescription (varchar,2000)
  displayorder (int)
 
  *tblMenuItems*
  id (int,PK)
  itemName (varchar,100, not null)
  itemDescription (varchar,4000)
  itemNote (varchar,1000) -- visible only to administrators
  updated (smalldatetime, getdate())
  price (smallmoney)
  unit (varchar, 100) -- i.e. dozen, small, half-cup, I could have another
  table for this but think that is probably overkill
  active (bit)
 
  *tblMenuItemCategories* -- i.e. chef's special, heart-healthy, etc.
  id (int, PK)
  categoryName (varchar,100, not null)
 
  *tblMenuItemCategoryLookup*-- allows a single itemt o have multiple
  categories (i.e. something can be the special of the day AND
  heart-healthy)
  menuItemID (int, FK tblMenuItems.ID)
  menuItemCategoryID (int, FK tblMenuItemCategories.ID)
 
  *tblMenuLookup* -- This is what actually builds the menu
  menuID (int, FK tblMenu.ID)
  menuCategoryID (int, FK tblMenuCategories.ID)
  menuItemID (int, FK tblMenuItems.ID) displayOrder (int) -- this orders
 the
  specific menu item
  active (bit) -- allows administrators to pull an item from the menu
 
  Can anyone with experience in writing an online restaurant menu
  application
  lend any further advice or shoot me a copy of your database schema so I
  can
  see if I'm missing anything obvious?  This is NOT meant to be the
 be-all,
  end-all of online restaurant menus, I just need it to do the job for a
  variety of small to mid-sized clients, and I want to get it right the
  first
  time since obviously having to rewrite it later would mean a lot of work
  for
  my clients as well.
 
  Thanks!
 
  Pete
 
 
 

 

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


Re: Fusebox 4 Slow?

2006-06-09 Thread Ant Cooper
fusebox5 (still in beta) is being designed to be completely backwards
compatible with 4.1, it'll offer improved implementation of the framework an
then I guess you could start taking advantage of all that new functionality
in future development.

On 6/9/06, Earl, George [EMAIL PROTECTED] wrote:

 Greg said:
  I think us folks who like frameworks are building enterprise web
  applications.  . . .
  ... snipped ...

 and:
  ... snipped ...
  Unless you are completely versed in the latest FB4.1 or 5 . . .

 I have been watching the explosion in numbers of frameworks for CF with
 great interest.

 The second comment above about using the 'latest FB4.1 or 5' is one that
 concerns me. As someone who participates in building large enterprise
 web applications, I'd love to adopt a framework and get all of the
 resulting benefits that have been discussed here. But we have a hard
 enough time with the logistics of just upgrading versions of CF (we
 still haven't made the jump from CF5 to CF6\7 in my area, primarily
 because of an extremely aggressive application release schedule). I
 don't know enough about frameworks to know the answer to this question,
 but unless the process of modifying an enterprise application to
 accommodate upgrades\updates to the framework that has been used is
 relatively easy I don't see how we could keep up with the framework. Or
 am I overestimating the complexity of what is involved in upgrading to a
 new version of a framework?

 George


 

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


Re: RFC on my tentative database schema for a restaurant menu database

2006-06-09 Thread Jim Wright
Pete,
No direct restaurant menu experience here...but I did note one
thing...you may want to have the price at the tblMenuLookup levelI
can see cases where a restaurant wants to prep a new menu (inactive)
while another one is active...it may have some of the same items,  but
they may be raising or lowering the prices...rather than duplicating
the item with a new price, you could tie it to the specific menu.
-jim

-- 
Jim Wright
Wright Business Solutions
[EMAIL PROTECTED]
919-417-2257

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


Re: About CFC Path

2006-06-09 Thread James Holmes
It depends on how the environemnt is set up. If the server has a root
mapping /, this will not work on accounts where the web root is not
that same as this root mapping.

On 6/9/06, Mike Kear [EMAIL PROTECTED] wrote:
 You dont need a mapping in a shared hosting environment to make CFCs work. I
 have dozens of them working in such an environment on plenty of web sites
 without mappings.

-- 
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

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


Re: Fusebox 4 Slow?

2006-06-09 Thread Claude Schneegans
 Or am I overestimating the complexity of what is involved in 
upgrading to a
new version of a framework?

Generally, new versions are backward compatible with previous versions.
But this still adds to the complexity of the code, of course.
When CFMX is compatible with CF 5 or CF 4.5 (well almost), this is all done
with code you don't see and you don't care about.
In FB, or any framework, the code must be incorporated with your 
application,
so when you are looking for something, it is always on your way.

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


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


ColdFusion UDFs and passing variables by reference

2006-06-09 Thread Russel Madere
It has been a while since I posted, but here is a question I can't seem
to answer.

 

I have inherited an ASP Classic application with several functions that
have variables passed by reference that I need to convert to Cold
Fusion.  If I remember correctly, this practice basically passed a
pointer to the variable and allows the function to change variables is
the scope of the calling application.  

 

It is part of a security system used by ASP Classic, ASP.NET, Visual
Basic and VB.NET.  Now I need to use it with ColdFusion.  I originally
suggested that we use a roll based access system of our own creation
using stored procedures to return the access roll for the user and then
return if that roll had access to a particular element of the
application.  But that is a different discussion.

 

It looks to me like the variables passed by reference (using the byref
keyword) are used for return variables.  If I also remember correctly,
CF UDFs only allow a single return value by default.

 

Is there a way to pass variables into a CF UDF by reference? 

 Based upon the supposition that this is used for return variables, is
it even needed?  

Can I use the CALLER scope to return multiple variables from the UDF?

 

Thanks

 

Russel Madere

Webmaster

504.832.9835

SunShine Pages by EATEL

www.sunshinepages.com

 

 



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


Re: RFC on my tentative database schema for a restaurant menu database

2006-06-09 Thread Pete Ruckelshaus
Jim, that's a good suggestion, also allows a restaurant to offer essentially
the same item at different prices for lunch and dinner.  Thanks!

Pete


On 6/9/06, Jim Wright [EMAIL PROTECTED] wrote:

 Pete,
 No direct restaurant menu experience here...but I did note one
 thing...you may want to have the price at the tblMenuLookup levelI
 can see cases where a restaurant wants to prep a new menu (inactive)
 while another one is active...it may have some of the same items,  but
 they may be raising or lowering the prices...rather than duplicating
 the item with a new price, you could tie it to the specific menu.
 -jim

 --
 Jim Wright
 Wright Business Solutions
 [EMAIL PROTECTED]
 919-417-2257

 

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


RE: ColdFusion UDFs and passing variables by reference

2006-06-09 Thread Dave Watts
 It looks to me like the variables passed by reference (using the 
 byref keyword) are used for return variables.  If I also remember 
 correctly, CF UDFs only allow a single return value by default.

Yes, you may only return one thing from a function.

 Is there a way to pass variables into a CF UDF by reference? 

Yes, although not explicitly. In CFML, queries, structures, and object
references are passed by reference, while arrays and simple values are
passed by value.

If you want to explicitly pass something by reference, you have to convert
it into a query, structure, or an object.

cfset mystruct = StructNew()
cfset mystruct.myval = foo

cffunction name=example
cfargument name=stData
cfset Arguments.stData.myval = bar
cfreturn
/cffunction

cfset example(mystruct)
!--- will output bar ---
cfoutput#mystruct.myval#/cfoutput

The idea of placing a value type within an object so that it will be passed
by reference is generally referred to as boxing, if I recall correctly.

  Based upon the supposition that this is used for return 
 variables, is it even needed?  

Probably not, although I have no idea without seeing the original code.

 Can I use the CALLER scope to return multiple variables from 
 the UDF?

No, the Caller scope only works within a custom tag, to the best of my
knowledge. Actually, I haven't tested this, though.

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

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


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


Re: ColdFusion UDFs and passing variables by reference

2006-06-09 Thread Tom Chiverton
On Friday 09 June 2006 15:12, Russel Madere wrote:
 Can I use the CALLER scope to return multiple variables from the UDF?

Yes, but why not just return a structure or object ?

-- 
Tom Chiverton



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

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

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

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards


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


RE: ColdFusion UDFs and passing variables by reference

2006-06-09 Thread Russel Madere
All I have to say is Doh!  I'm not thinking well this morning.  

Do I have to instantiate the structure outside of the UDF or can I just
create it inside and pass it out.

Russel Madere
Webmaster
504.832.9835
SunShine Pages by EATEL
www.sunshinepages.com
 
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 9:57 AM
To: CF-Talk
Subject: Re: ColdFusion UDFs and passing variables by reference

On Friday 09 June 2006 15:12, Russel Madere wrote:
 Can I use the CALLER scope to return multiple variables from the UDF?

Yes, but why not just return a structure or object ?

-- 
Tom Chiverton


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


RE: ColdFusion UDFs and passing variables by reference

2006-06-09 Thread Dave Watts
 Do I have to instantiate the structure outside of the UDF or 
 can I just create it inside and pass it out.

I'm not sure what you mean by this. If you simply want to return multiple
values from a function, you can certainly create a structure within that
function and return it. If you want to change values passed by reference
into a function, the structure you pass must exist before you call the
function.

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

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


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


RE: ColdFusion UDFs and passing variables by reference

2006-06-09 Thread Russel Madere
Never mind.  I figured that little bit out.  I can just pass it out of
the UDF.

Russel Madere
Webmaster
504.832.9835
SunShine Pages by EATEL
www.sunshinepages.com
 

-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 10:03 AM
To: CF-Talk
Subject: RE: ColdFusion UDFs and passing variables by reference

All I have to say is Doh!  I'm not thinking well this morning.  

Do I have to instantiate the structure outside of the UDF or can I just
create it inside and pass it out.

Russel Madere
Webmaster
504.832.9835
SunShine Pages by EATEL
www.sunshinepages.com
 
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 9:57 AM
To: CF-Talk
Subject: Re: ColdFusion UDFs and passing variables by reference

On Friday 09 June 2006 15:12, Russel Madere wrote:
 Can I use the CALLER scope to return multiple variables from the UDF?

Yes, but why not just return a structure or object ?

-- 
Tom Chiverton




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


Re: Fusebox 4 Slow?

2006-06-09 Thread Barney Boisvert
On 6/9/06, Earl, George [EMAIL PROTECTED] wrote:
 The second comment above about using the 'latest FB4.1 or 5' is one that
 concerns me. As someone who participates in building large enterprise
 web applications, I'd love to adopt a framework and get all of the
 resulting benefits that have been discussed here.

FB5 is backwards compatible with FB4.1 excepting a few very edge
cases.  It's also fixed some of the bugs that FB4.1 had.  So that
upgrade path is pretty painless.

However, just beacuse a framework evolves doesn't mean you have to
upgrade.  I have more applications running FB3 than I have running
FB4.x and FB5 combined, and I helped develop FB4.1.  For many of those
apps, we ran CF 4.5 until well after CF6.1 came out.  We have
subsequently upgraded to CF6.1, but have no plans to upgrade to CF7
nor CF8 (at least as of right now).  It's just not worth it.

The same thing with J2EE (to pick an example from a different realm):
there are a lot of J2EE products that are not 1.4 compliant, even
though the spec's been out for a long time, and 1.5/5.0 is almost
ready.  There are also a lot of applications which still run on
pre-1.4 platforms.

Even further away, how many people are running Windows 2000 or Office
2000?  There's always a cost/benefit curve, and if you're on the wrong
side, an upgrade doesn't make sense, no matter what it is.  That
doesn't mean you shouldn't use a framework, CF, or J2EE (I won't speak
about Windows/Office ;) ).

cheers,
barneyb

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

Got Gmail? I have 100 invites.

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


RE: ColdFusion UDFs and passing variables by reference

2006-06-09 Thread Russel Madere
Here is what I ended up doing:

cffunction name=UserRights output=true returntype=any
cfargument name=stgAppID required=true type=string
cfargument name=stgUserID required=true type=string
cfargument name=stgModuleName required=true type=string

cfstoredproc datasource=SecuritySQLServer
procedure=USP_UserRights 
cfprocparam type=in value=#stgUserID#
cfsqltype=cf_sql_varchar
cfprocparam type=in value=#stgAppID#
cfsqltype=cf_sql_varchar
cfprocparam type=in value=#stgModuleName#
cfsqltype=cf_sql_varchar

cfprocresult name=qGetRights resultset=1
/cfstoredproc

cfset stcAccess = StructNew()
cfset stcAccess.WithAccess = Iif(qGetRights.WithAccess EQ 1,
TRUE, FALSE)
cfset stcAccess.WithReadOnly = Iif(qGetRights.Mod_ReadOnly EQ
1, TRUE, FALSE)
cfset stcAccess.WithAdd = Iif(qGetRights.Mod_Add EQ 1, TRUE,
FALSE)
cfset stcAccess.WithModify = Iif(qGetRights.Mod_Modify EQ 1,
TRUE, FALSE)
cfset stcAccess.WithDelete = Iif(qGetRights.Mod_Delete EQ 1,
TRUE, FALSE)
cfset stcAccess.IsAdmin = Iif(qGetRights.Administrator EQ 1,
TRUE, FALSE)

cfreturn stcAccess
/cffunction

---

Calling:

cfset stcWithAccess = UserRights(CSI_NEW, #CGI.LOGON_USER#, CSI
Main)

I need to clean it up a little, like for when no records are returned.
But this seems to work.  Tom and Dave, thanks a bunch.

Russel Madere
Webmaster
504.832.9835
SunShine Pages by EATEL
www.sunshinepages.com
 

-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 10:18 AM
To: CF-Talk
Subject: RE: ColdFusion UDFs and passing variables by reference

Never mind.  I figured that little bit out.  I can just pass it out of
the UDF.

Russel Madere
Webmaster
504.832.9835
SunShine Pages by EATEL
www.sunshinepages.com
 

-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 10:03 AM
To: CF-Talk
Subject: RE: ColdFusion UDFs and passing variables by reference

All I have to say is Doh!  I'm not thinking well this morning.  

Do I have to instantiate the structure outside of the UDF or can I just
create it inside and pass it out.

Russel Madere
Webmaster
504.832.9835
SunShine Pages by EATEL
www.sunshinepages.com
 
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 9:57 AM
To: CF-Talk
Subject: Re: ColdFusion UDFs and passing variables by reference

On Friday 09 June 2006 15:12, Russel Madere wrote:
 Can I use the CALLER scope to return multiple variables from the UDF?

Yes, but why not just return a structure or object ?

-- 
Tom Chiverton






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


Re: Documentation

2006-06-09 Thread Jose Diaz
Hi Neil

For non-technical documentation I have found macromedia Captivate very
useful, alot of non technical users want to just see the gui in action for a
specific task and Captivate handles this perfectly, I've found many users
dont read documentation fully anyway.

The visual approach Captivate gives keeps the users attention, plus you can
convert any presentations to word/pdf if you wish.

From a developer doc route a wiki sounds the route to go as mentioned by the
other guys.

HTH

Jose Diaz ;)


On 6/8/06, Nick de Voil [EMAIL PROTECTED] wrote:

  How do you guys go about technical documentation, how do you write docs
 that
  tell other people (not necessarily technical, but project participants)
 how
  your code works, what the rules are, what the re-use potential is, how
 the
  UI works etc.
 
  What tools do you use for the job?  Word? Visio? Wiki?  How do you
 tackle it
  and when? Before writing your code?  After?

 For us, the exact set of documentation deliverables is very
 project-dependent
 and is thrashed out at a high level at project initiation time and then in
 more
 details at the beginning of each project stage. It depends on the
 complexity of
 the job, the customer's expectations and the development method used for
 the
 project, but in general you need to have documentation tasks in all three
 places - beginning, middle and end. You need to document the functional
 and
 non-functional (performance etc) requirements up front or the project
 will
 fail. You need to document what you're doing at each stage in order to
 have a
 managed process (imo this is true even if you're doing agile
 development). And
 you need to document what you've done at the end, or the documentation
 will not
 reflect reality.

 We do still use Word/PDF for those documents where a simple, visible
 version
 control scheme is critical. We store everything in our web-based project
 support
 environment as a central reference point. Being basically a CMS, besides
 storing
 files it allows you to create more free-form web-based documentation as
 you go
 along, whether as traditional pages or blog/wiki/forum/helpfile entries.
 It also
 creates interactive diagrams. We use a lot of diagrams because they are
 information-rich and (some) customers can understand (some of) them. We
 use all
 sorts of diagramming techniques, both from UML and older toolsets.

 The only thing I would caution against is creating too many detailed
 how-to
 documents with embedded screenshots - they become a real pain when you
 want to
 change things. An up-to-date Captivate demo is much more likely to be
 correct
 and consistent. However, sometimes customers want things on paper.

 Nick







 

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


RE: Fusebox 4 Slow?

2006-06-09 Thread Munson, Jacob
Here, here!  This is one of my concerns with frameworks too.  Backwards
compatibility is always one of the most difficult issues in software
development.  Every dev. team comes to the point where they have to cut
legacy features to keep the software agile, and even secure in some
cases.  Like you said, we've already got our hands full keeping up with
the OS, DB, and ColdFusion, and now we are supposed to add another layer
of complexity to the mix?

 As someone who participates in building large enterprise
 web applications, I'd love to adopt a framework and get all of the
 resulting benefits that have been discussed here. But we have a hard
 enough time with the logistics of just upgrading versions of CF (we
 still haven't made the jump from CF5 to CF6\7 in my area, primarily
 because of an extremely aggressive application release schedule). I
 don't know enough about frameworks to know the answer to this 
 question,
 but unless the process of modifying an enterprise application to
 accommodate upgrades\updates to the framework that has been used is
 relatively easy I don't see how we could keep up with the 
 framework.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



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


RE: Error - Invalid Parameter with CFUPDATE - while uploading a file

2006-06-09 Thread Munson, Jacob
Have you tried using the binary or blob datatype, or whatever your DB
supports?  What DB are you using? 

 -Original Message-
 From: sunil kumar [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 09, 2006 3:58 AM
 
 Hi,
   
   I am getting an error like Invalid Parameter Binding when i 
 am using cfupdate. The scenario is as follows:

   I am trying to upload a file(word document). First i will 
 upload the file name and some parameters associated to it. 
 Then i will get the contents of the file using the cffile 
 action=ReadBinary and i am trying to insert this into into 
 the DB for a column of LONG data type using CFUPDATE. Then i 
 am getting an error message like Invalid Parameter Binding. 

   Also i tried using the cfstoredproc by passing the the 
 argument to a stored proc using the cfprocparam and cfsqltype 
 of sql_type_longvarchar. Then i am getting an error like 
 Unimplemented or Unreasonable Conversion Requested.

   Can any one please suggest me why i am getting these 
 errors? and help me in solving this.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



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


RE: Fusebox 4 Slow?

2006-06-09 Thread Munson, Jacob
 However, just because a framework evolves doesn't mean you have to
 upgrade.

Very true, but what if the previous version has bugs you can't live
with?  And what if it has a big security hole, and you're forced to
upgrade?  And of course, there's always the new features you could
decide merit an upgrade.  All of the above could happen if you've built
your own framework, but the difference is that it's much easier to
'upgrade' your own when compared to a third party framework, IMO.


-

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



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


RE: multiuser CF blog app?

2006-06-09 Thread Munson, Jacob
I was going to try blogfusion the other day, but I found out you have to
buy it to try it.  Sorry, that's not my game.  Or is there a way to get
a limited demo copy?  I know he's got a live demo up, but I want to see
how it works with my setup and how hard it would be to get all my blog
entries ported. 

 -Original Message-
 From: Mark A Kruger [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 09, 2006 12:05 AM
 
 Ray's blog is good and used by most of us cf coder types... 
 But blogfusion
 is also an excellent product.
 
 http://www.blogfusion.com/index.cfm
 
 
 It inlcudes lots of extras including a photo blog component.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



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


RE: multiuser CF blog app?

2006-06-09 Thread Munson, Jacob
How hard is it to customize the layout?  An initial customization isn't
a big deal, but I'd have to do it for each new BlogCFM release as well,
unless you've got some cool templating going on.  That's what I liked
about Blogger, when I was still using it.  You could basically build
your own site design, and just throw in pieces of code in appropriate
places to get the blogger content (Ex., your blog posts, dates, etc.)

 -Original Message-
 From: Rick Root [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 09, 2006 6:46 AM
 
 BlogCFM was designed to allow multiple blogs in a single database. 
 Every table has a blog_id field, and the blog_id can be set in the 
 application.cfm in a variety of ways.  There's only one installation, 
 one database, one file structure.  Each instance has its 
 own directory 
 for files and such but the main blog files are only in one location.
 
 The way you would set it up would be to install the blog .. 
 for example, 
 at blog.foobar.com.  And then set up a wildcard DNS record for 
 *.foobar.com so it'll respond to anything.foobar.com
 
 And then in the application.cfm you can look at the host headers to 
 determine what to set the blog_id to.
 
 Ultimately, it's not an out of the box system... because 
 you'd probably 
 want to build some sort of external app to allow people to 
 sign up and 
 choose their own hostname like rick.footbar.com, and it would store 
 that hostname in a table along with the blog_id and such..
 
 you get the idea.
 
 there are also a few bugs in the current version of blogcfm that I 
 haven't had a lot of time to work on.. maybe I'll work on it today :)
 
 www.blogcfm.org
 
 There's a demo there so you can see how the interface works 
 and everything.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



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


Re: ColdFusion UDFs and passing variables by reference

2006-06-09 Thread Ken Ferguson
you need to move:

cfset stcAccess = StructNew()

to just below your cfarguments and change it to:

cfset var stcAccess = StructNew()

--Ferg





Russel Madere wrote:
 Here is what I ended up doing:

 cffunction name=UserRights output=true returntype=any
 cfargument name=stgAppID required=true type=string
   cfargument name=stgUserID required=true type=string
   cfargument name=stgModuleName required=true type=string
   
   cfstoredproc datasource=SecuritySQLServer
 procedure=USP_UserRights 
   cfprocparam type=in value=#stgUserID#
 cfsqltype=cf_sql_varchar
   cfprocparam type=in value=#stgAppID#
 cfsqltype=cf_sql_varchar
   cfprocparam type=in value=#stgModuleName#
 cfsqltype=cf_sql_varchar
   
   cfprocresult name=qGetRights resultset=1
   /cfstoredproc
   
   cfset stcAccess = StructNew()
   cfset stcAccess.WithAccess = Iif(qGetRights.WithAccess EQ 1,
 TRUE, FALSE)
   cfset stcAccess.WithReadOnly = Iif(qGetRights.Mod_ReadOnly EQ
 1, TRUE, FALSE)
   cfset stcAccess.WithAdd = Iif(qGetRights.Mod_Add EQ 1, TRUE,
 FALSE)
   cfset stcAccess.WithModify = Iif(qGetRights.Mod_Modify EQ 1,
 TRUE, FALSE)
   cfset stcAccess.WithDelete = Iif(qGetRights.Mod_Delete EQ 1,
 TRUE, FALSE)
   cfset stcAccess.IsAdmin = Iif(qGetRights.Administrator EQ 1,
 TRUE, FALSE)
   
   cfreturn stcAccess
 /cffunction

 ---

 Calling:

 cfset stcWithAccess = UserRights(CSI_NEW, #CGI.LOGON_USER#, CSI
 Main)

 I need to clean it up a little, like for when no records are returned.
 But this seems to work.  Tom and Dave, thanks a bunch.

 Russel Madere
 Webmaster
 504.832.9835
 SunShine Pages by EATEL
 www.sunshinepages.com
  

 -Original Message-
 From: Russel Madere [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 09, 2006 10:18 AM
 To: CF-Talk
 Subject: RE: ColdFusion UDFs and passing variables by reference

 Never mind.  I figured that little bit out.  I can just pass it out of
 the UDF.

 Russel Madere
 Webmaster
 504.832.9835
 SunShine Pages by EATEL
 www.sunshinepages.com
  

 -Original Message-
 From: Russel Madere [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 09, 2006 10:03 AM
 To: CF-Talk
 Subject: RE: ColdFusion UDFs and passing variables by reference

 All I have to say is Doh!  I'm not thinking well this morning.  

 Do I have to instantiate the structure outside of the UDF or can I just
 create it inside and pass it out.

 Russel Madere
 Webmaster
 504.832.9835
 SunShine Pages by EATEL
 www.sunshinepages.com
  
 -Original Message-
 From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 09, 2006 9:57 AM
 To: CF-Talk
 Subject: Re: ColdFusion UDFs and passing variables by reference

 On Friday 09 June 2006 15:12, Russel Madere wrote:
   
 Can I use the CALLER scope to return multiple variables from the UDF?
 

 Yes, but why not just return a structure or object ?

   


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


RE: User Friendly URLs for dynamic content

2006-06-09 Thread Ben Nadel
Jack,

Just wanted to add something... We were experimenting with ISAPI rewrite and
it is awesome. The one issue we had it that from the COldFusion code
standpoint, you have no idea that any re-write too place. That can be a good
thing, it can be a bad thing. Let's say you have relative links in your site
and someone goes to the page:

About/firm.cfm

There might be a link like ../contact.cfm to go up and to contact. 

Now, let's say that someone gets to that same page via a ISAPI redirect:

Blah/foor/bar/aboutfirm. 

Now, it redirects in IIS to about/firm.cfm , which is how CF sees it, and
hence has links like ../contact.cfm. However, from the browsers
standpoint, you are several directories deep and that same link would go to:

Blah/foo/contact.cfm

Which is way off.

So basically, you just have to accept that with ISAPI rewrite, you can't
have relative links on pages that might be accesseed in these two different
ways. Also from the CF standpoint, there are no CGI variables available that
would allow the programmer to know if an re-write was done.

Now, this is with my LIMITED experience so this may be wrong. But it was I
have found. If I am wrong PLEASE correct me as I really would like to use
ISAPI rewrite.


...
Ben Nadel 
Web Developer
Nylon Technology
350 7th Avenue
Floor 10
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com
 
Some people call me the space cowboy. Some people call me the gangster of
love.

-Original Message-
From: Jack Dalaa [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 4:29 AM
To: CF-Talk
Subject: Re: User Friendly URLs for dynamic content

For any kind of high volume, you will definitely want to do this on the Web
server level, on IIS with ISAPI Rewrite (http://www.isapirewrite.com) or
similar, or on Apache mod_rewrite. Both fairly easy to setup and configure,
and can do what you're asking, with zero change to your CF app. Much more
flexible, much more scalable.

My 2 cents.

What are some ways to make URLs more friendly for our product pages?
My marketing guy wants to put these types of URLs in his ads:
mydomain.com/ProductA
mydomain.com/ProductB
mydomain.com/ProductC

I know I can do a subdirectory named ProductA and use cflocation to 
do a redirect, but is their an easier way when I have 50 or more
possiblities?
I'd rather not have to create a directory and a default.cfm per product.

One thought I had was to change the slash to a question mark. But I'm 
not sure if the marketing dude will go for it.

Thanks.

--
Matt Williams
It's the question that drive us, Neo.



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


Installing CF in Multi-home configuration.

2006-06-09 Thread Ian Skinner
Well actually re-installing it on my workstation.  Is there any gotcha's of 
which I should be aware?  

This is on a Windows 2000 server workstation.  Using IIS, I have several 
websites configured.  The localhost website points to c:\inutpub\wwwroot, 
there is an Administration Web Site that point to 
C:\WINNT\System32\inetsrv\iisadmin and then all my websites are built under 
c:\Websites\{websiteName}.  When I am configuring ColdFusion as I install it in 
multi-home mode, is there any rhyme or reason to which website I configure 
CFIDE in?  Does it go in just one website/directory or many of them?

Secondly, is there any thing I need to do to make sure that ColdFusion will run 
cfm files from either the IIS webroot (C:\Websites\{websiteName}) or the 
CF/Jrun webroot (C:\Jrun\servers\{instanceName}\cfusion.ear\cfusion.war\).  
Thus if I have the url http://playground/index.cfm, index.cfm could be in 
either of these locations.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 



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


RE: ColdFusion UDFs and passing variables by reference

2006-06-09 Thread Russel Madere
Thanks.

Russel Madere
Webmaster
504.832.9835
SunShine Pages by EATEL
www.sunshinepages.com
 

-Original Message-
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 10:56 AM
To: CF-Talk
Subject: Re: ColdFusion UDFs and passing variables by reference

you need to move:

cfset stcAccess = StructNew()

to just below your cfarguments and change it to:

cfset var stcAccess = StructNew()

--Ferg





Russel Madere wrote:
 Here is what I ended up doing:

 cffunction name=UserRights output=true returntype=any
 cfargument name=stgAppID required=true type=string
   cfargument name=stgUserID required=true type=string
   cfargument name=stgModuleName required=true type=string
   
   cfstoredproc datasource=SecuritySQLServer
 procedure=USP_UserRights 
   cfprocparam type=in value=#stgUserID#
 cfsqltype=cf_sql_varchar
   cfprocparam type=in value=#stgAppID#
 cfsqltype=cf_sql_varchar
   cfprocparam type=in value=#stgModuleName#
 cfsqltype=cf_sql_varchar
   
   cfprocresult name=qGetRights resultset=1
   /cfstoredproc
   
   cfset stcAccess = StructNew()
   cfset stcAccess.WithAccess = Iif(qGetRights.WithAccess EQ 1,
 TRUE, FALSE)
   cfset stcAccess.WithReadOnly = Iif(qGetRights.Mod_ReadOnly EQ
 1, TRUE, FALSE)
   cfset stcAccess.WithAdd = Iif(qGetRights.Mod_Add EQ 1, TRUE,
 FALSE)
   cfset stcAccess.WithModify = Iif(qGetRights.Mod_Modify EQ 1,
 TRUE, FALSE)
   cfset stcAccess.WithDelete = Iif(qGetRights.Mod_Delete EQ 1,
 TRUE, FALSE)
   cfset stcAccess.IsAdmin = Iif(qGetRights.Administrator EQ 1,
 TRUE, FALSE)
   
   cfreturn stcAccess
 /cffunction

 ---

 Calling:

 cfset stcWithAccess = UserRights(CSI_NEW, #CGI.LOGON_USER#, CSI
 Main)

 I need to clean it up a little, like for when no records are returned.
 But this seems to work.  Tom and Dave, thanks a bunch.

 Russel Madere
 Webmaster
 504.832.9835
 SunShine Pages by EATEL
 www.sunshinepages.com
  

 -Original Message-
 From: Russel Madere [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 09, 2006 10:18 AM
 To: CF-Talk
 Subject: RE: ColdFusion UDFs and passing variables by reference

 Never mind.  I figured that little bit out.  I can just pass it out of
 the UDF.

 Russel Madere
 Webmaster
 504.832.9835
 SunShine Pages by EATEL
 www.sunshinepages.com
  

 -Original Message-
 From: Russel Madere [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 09, 2006 10:03 AM
 To: CF-Talk
 Subject: RE: ColdFusion UDFs and passing variables by reference

 All I have to say is Doh!  I'm not thinking well this morning.  

 Do I have to instantiate the structure outside of the UDF or can I
just
 create it inside and pass it out.

 Russel Madere
 Webmaster
 504.832.9835
 SunShine Pages by EATEL
 www.sunshinepages.com
  
 -Original Message-
 From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 09, 2006 9:57 AM
 To: CF-Talk
 Subject: Re: ColdFusion UDFs and passing variables by reference

 On Friday 09 June 2006 15:12, Russel Madere wrote:
   
 Can I use the CALLER scope to return multiple variables from the UDF?
 

 Yes, but why not just return a structure or object ?

   




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


Re: Fusebox 4 Slow?

2006-06-09 Thread Greg Luce
Well, I disagree. If you have your own framework and discover a bug or
security hole do you have Hal Helms, Jeff Peters, Sean Corfield and hundreds
of other uber-geeks solving it for you?

I have some great applications I'm contracted to maintain that are done in
FB3. Yes there are things I like about 4/4.1 but there hasn't been a reason
yet to retool them.

Greg

On 6/9/06, Munson, Jacob [EMAIL PROTECTED] wrote:

  However, just because a framework evolves doesn't mean you have to
  upgrade.

 Very true, but what if the previous version has bugs you can't live
 with?  And what if it has a big security hole, and you're forced to
 upgrade?  And of course, there's always the new features you could
 decide merit an upgrade.  All of the above could happen if you've built
 your own framework, but the difference is that it's much easier to
 'upgrade' your own when compared to a third party framework, IMO.


 -

 This transmission may contain information that is privileged, confidential
 and/or exempt from disclosure under applicable law. If you are not the
 intended recipient, you are hereby notified that any disclosure, copying,
 distribution, or use of the information contained herein (including any
 reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
 in error, please immediately contact the sender and destroy the material in
 its entirety, whether in electronic or hard copy format. Thank you. A1.



 

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


Re: Fusebox 4 Slow?

2006-06-09 Thread James Holmes
Sure, you post here and a bunch of uber-geeks do indeed solve it for you.

On 6/10/06, Greg Luce [EMAIL PROTECTED] wrote:
 Well, I disagree. If you have your own framework and discover a bug or
 security hole do you have Hal Helms, Jeff Peters, Sean Corfield and hundreds
 of other uber-geeks solving it for you?

 I have some great applications I'm contracted to maintain that are done in
 FB3. Yes there are things I like about 4/4.1 but there hasn't been a reason
 yet to retool them.

-- 
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

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


RE: Fusebox 4 Slow?

2006-06-09 Thread Munson, Jacob
 Well, I disagree. If you have your own framework and discover a bug or
 security hole do you have Hal Helms, Jeff Peters, Sean 
 Corfield and hundreds
 of other uber-geeks solving it for you?

Well, if you asked on cf-talk you might get their help.  :)  But they
won't come to your office and retool your whole application to account
for the changes in their framework either.

This is the classic buy vs. build question, and there are valid
arguments on both sides.  But it always comes down to It depends.


---

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



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


Re: RFC on my tentative database schema for a restaurant menu database

2006-06-09 Thread Josh Nathanson
Hi Pete,

I have done exactly what you are working on, for a catering company that 
takes orders over the web.  I had a different challenge as they change their 
menu every week, do deliveries etc.  Although you say it is not for 
commerce, once your client sees how nifty everything works, they will 
probably want to be able to take orders.  This is what happened in my case. 
So you might want to prepare for that to some degree and consider adding 
Orders and Orderitems tables to your schema as well, or at least sort of 
keep it in mind for the future.  Looks like you have it well under control 
though.

-- Josh




- Original Message - 
From: Pete Ruckelshaus [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Friday, June 09, 2006 7:21 AM
Subject: Re: RFC on my tentative database schema for a restaurant menu 
database


 Jim, that's a good suggestion, also allows a restaurant to offer 
 essentially
 the same item at different prices for lunch and dinner.  Thanks!

 Pete


 On 6/9/06, Jim Wright [EMAIL PROTECTED] wrote:

 Pete,
 No direct restaurant menu experience here...but I did note one
 thing...you may want to have the price at the tblMenuLookup levelI
 can see cases where a restaurant wants to prep a new menu (inactive)
 while another one is active...it may have some of the same items,  but
 they may be raising or lowering the prices...rather than duplicating
 the item with a new price, you could tie it to the specific menu.
 -jim

 --
 Jim Wright
 Wright Business Solutions
 [EMAIL PROTECTED]
 919-417-2257



 

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


RE: Installing CF in Multi-home configuration.

2006-06-09 Thread Dave Watts
 This is on a Windows 2000 server workstation.  Using IIS, I 
 have several websites configured.  The localhost website 
 points to c:\inutpub\wwwroot, there is an Administration Web 
 Site that point to C:\WINNT\System32\inetsrv\iisadmin and 
 then all my websites are built under 
 c:\Websites\{websiteName}.  When I am configuring ColdFusion 
 as I install it in multi-home mode, is there any rhyme or 
 reason to which website I configure CFIDE in?  Does it go in 
 just one website/directory or many of them?
 
 Secondly, is there any thing I need to do to make sure that 
 ColdFusion will run cfm files from either the IIS webroot 
 (C:\Websites\{websiteName}) or the CF/Jrun webroot 
 (C:\Jrun\servers\{instanceName}\cfusion.ear\cfusion.war\).  
 Thus if I have the url http://playground/index.cfm, index.cfm 
 could be in either of these locations.

These options will all be determined when you install. If you install CFMX
to use the built-in JRun web server, it will serve files from
\jrun4\servers\cfusion\cfusion-ear\cfusion-war. If you install CFMX to use
IIS, it will serve files from the IIS web root. If you install CFMX to use
the built-in JRun web server, then later on configure it to use the IIS
server, it will be able to serve files from both places, based on what web
server actually receives the request. In this case, the CFIDE directory will
be available through the built-in JRun web server, but not through IIS
unless you create a virtual mapping within IIS.

I'm not exactly sure what you want to accomplish, but I often set up
machines to use the built-in JRun web server, then configure them to use an
external web server. I then copy the portions of CFIDE that I want to be
accessible through IIS, to the IIS virtual server root (or in the case of
multiple IIS virtual servers, some directory that I map to each one).
Finally, I use something like ISAPI_Rewrite or URLScan to block specific
requests on IIS (/CFIDE/administrator/, /CFIDE/Main/, /CFIDE/adminapi/)
because these requests will usually work even if the appropriate files don't
exist in the IIS directory.

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

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


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


Calling the same UDF twice..

2006-06-09 Thread Daniel Baughman
Anyone ever seen a situation like this:

You define a function (some arbitrary function)

cffunction name=fun1
HI
/cffunction


And then can't call it twice in a row?

cfset fun1()
cfset fun1()

The second time it says that fun1 is not defined, but if you comment out the
first call the second runs fine..


If anyone has seen this, or is interested in how to recreate, let me know.


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


Re: Calling the same UDF twice..

2006-06-09 Thread Rob Wilkerson
Just out of curiousity, try assigning it to a variable in both cases...

cfset dummy = foo() /
cfset dummy2 = foo() /

I've never seen the case you're talking about, but function names are
set in the variables scope and that has caused me other hearburn on
occasion.  I wonder if something is going on with that?

On 6/9/06, Daniel Baughman [EMAIL PROTECTED] wrote:
 Anyone ever seen a situation like this:

 You define a function (some arbitrary function)

 cffunction name=fun1
 HI
 /cffunction


 And then can't call it twice in a row?

 cfset fun1()
 cfset fun1()

 The second time it says that fun1 is not defined, but if you comment out the
 first call the second runs fine..


 If anyone has seen this, or is interested in how to recreate, let me know.


 

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


Re: Calling the same UDF twice..

2006-06-09 Thread Raymond Camden
Can you show us the real code?

On 6/9/06, Daniel Baughman [EMAIL PROTECTED] wrote:
 Anyone ever seen a situation like this:

 You define a function (some arbitrary function)

 cffunction name=fun1
 HI
 /cffunction


 And then can't call it twice in a row?

 cfset fun1()
 cfset fun1()

 The second time it says that fun1 is not defined, but if you comment out the
 first call the second runs fine..


 If anyone has seen this, or is interested in how to recreate, let me know.


 

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


Re: cfopen?

2006-06-09 Thread Raymond Camden
To be fair, I've done more than that. I use a real bug tracker
(ray.camdenfamily.com/projects/lhp), but it isn't public so folks can
add to it. I also use a blog just for the product (www.blogcfc.com)
and also have SVN access for folks to get the very latest bits. (As
well as a way to check the last 10 updates from SVN.)

On 6/9/06, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Thursday 08 June 2006 19:22, Rick Root wrote:
  I think a lot of other open source people in the CF community out
  there would just as happily upload a zip file to their own web site...

 Indeed.
 It's only if your building something as huge as Reactor or ColdSpring that you
 can't just do what Ray does and upload a .zip to your blog, and take bug
 reports over email.

 --
 Tom Chiverton

 

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

 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 St James's Court Brown Street Manchester M2 2JF.  A list of members is 
 available for inspection at the registered office. Any reference to a partner 
 in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by 
 the Law Society.

 CONFIDENTIALITY

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

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

 We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of 
 the Year at the 2005 Growth Company Awards


 

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


Re: Calling the same UDF twice..

2006-06-09 Thread Jerry Johnson
Just a guess:
Because you are setting the value of the function Fun1() to nothing?

Don't you want:

cfset temp=fun1()
cfset temp=fun1()

not

cfset fun1()
(which replaces the value of fun1() with null)?



On 6/9/06, Raymond Camden [EMAIL PROTECTED] wrote:
 Can you show us the real code?

 On 6/9/06, Daniel Baughman [EMAIL PROTECTED] wrote:
  Anyone ever seen a situation like this:
 
  You define a function (some arbitrary function)
 
  cffunction name=fun1
  HI
  /cffunction
 
 
  And then can't call it twice in a row?
 
  cfset fun1()
  cfset fun1()
 
  The second time it says that fun1 is not defined, but if you comment out the
  first call the second runs fine..
 
 
  If anyone has seen this, or is interested in how to recreate, let me know.
 
 
 

 

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


Re: Fusebox 4 Slow?

2006-06-09 Thread Greg Luce
I thought we were talking about a bug or security hole in the framework. If
this were the case, these guys would fix the framework. If you wrote a bug
or security hole in your application, that's on you.

On 6/9/06, Munson, Jacob [EMAIL PROTECTED] wrote:

  Well, I disagree. If you have your own framework and discover a bug or
  security hole do you have Hal Helms, Jeff Peters, Sean
  Corfield and hundreds
  of other uber-geeks solving it for you?

 Well, if you asked on cf-talk you might get their help.  :)  But they
 won't come to your office and retool your whole application to account
 for the changes in their framework either.

 This is the classic buy vs. build question, and there are valid
 arguments on both sides.  But it always comes down to It depends.


 ---

 This transmission may contain information that is privileged, confidential
 and/or exempt from disclosure under applicable law. If you are not the
 intended recipient, you are hereby notified that any disclosure, copying,
 distribution, or use of the information contained herein (including any
 reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
 in error, please immediately contact the sender and destroy the material in
 its entirety, whether in electronic or hard copy format. Thank you. A1.



 

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


Re: Fusebox 4 Slow?

2006-06-09 Thread Greg Luce
I guess the main thing is that I trust that group of uber-geeks to be able
to write a framework without bugs and security holes better than I trust me
on my own ability to do so.

On 6/9/06, Greg Luce [EMAIL PROTECTED] wrote:

 I thought we were talking about a bug or security hole in the framework.
 If this were the case, these guys would fix the framework. If you wrote a
 bug or security hole in your application, that's on you.

  On 6/9/06, Munson, Jacob [EMAIL PROTECTED] wrote:

   Well, I disagree. If you have your own framework and discover a bug or
   security hole do you have Hal Helms, Jeff Peters, Sean
   Corfield and hundreds
   of other uber-geeks solving it for you?
 
  Well, if you asked on cf-talk you might get their help.  :)  But they
  won't come to your office and retool your whole application to account
  for the changes in their framework either.
 
  This is the classic buy vs. build question, and there are valid
  arguments on both sides.  But it always comes down to It depends.
 
 
  ---
 
  This transmission may contain information that is privileged,
  confidential and/or exempt from disclosure under applicable law. If you are
  not the intended recipient, you are hereby notified that any disclosure,
  copying, distribution, or use of the information contained herein (including
  any reliance thereon) is STRICTLY PROHIBITED. If you received this
  transmission in error, please immediately contact the sender and destroy the
  material in its entirety, whether in electronic or hard copy format. Thank
  you. A1.
 
 
 
  

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


RE: Calling the same UDF twice..

2006-06-09 Thread Ian Skinner
You define a function (some arbitrary function)

cffunction name=fun1
HI
/cffunction


And then can't call it twice in a row?

cfset fun1()
cfset fun1()

Do you do anything to the fun1 value?  The variable can be redefined at any 
time to be something other then a function.

Either of these would be a problem

cfunction name=fun1
cfset fun1 = HI
/cfunction

OR 
cfoutput#fun1()#/cfoutput
cfset fun1 = George
cfoutput#fun1()#/cfoutput

I suspect something closer to the former issue from what you have described.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




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


RE: Calling the same UDF twice..

2006-06-09 Thread Daniel Baughman
I have tried calling the functions like this:
cfscript
updateUser(valueUseList, fieldUseList,
form.u1id);
/cfscript
cfscript
updateUser(valueUseList, fieldUseList,
form.u1id);
/cfscript

The second time it will throw the error that the function is undefined, if I
comment out the first call, the second call works just fine.

Here is the actual function:
cffunction name=updateUser
cfargument name=valueUseList required=true type=string
cfargument name=fieldUseList required=true type=string  
cfargument name=userId required=true type=numeric
cfif listlen(fielduselist, |) gt 0
cfquery name=updateUser datasource=xxx
Update myTable set
cfloop from=1 to=#listLen(fieldUseList, |)#
index=i
cfoutput
#listgetat(fieldUseList,i, | )# =
cfqueryparam value=#listgetat(valueUseList,i, |)#
cfsqltype=cf_sql_varchar
cfif listLen(fieldUseList, |) gt
i,/cfif
/cfoutput
/cfloop
where tableId = cfoutput'#userid#'/cfoutput
/cfquery
cfelse
No data given to update user
cfoutput#userId#/cfoutput...
/cfif
cfreturn
/cffunction





Daniel Baughman

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 10:39 AM
To: CF-Talk
Subject: Re: Calling the same UDF twice..


Can you show us the real code?

On 6/9/06, Daniel Baughman [EMAIL PROTECTED] wrote:
 Anyone ever seen a situation like this:

 You define a function (some arbitrary function)

 cffunction name=fun1
 HI
 /cffunction


 And then can't call it twice in a row?

 cfset fun1()
 cfset fun1()

 The second time it says that fun1 is not defined, but if you comment out
the
 first call the second runs fine..


 If anyone has seen this, or is interested in how to recreate, let me know.


 



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


RE: Installing CF in Multi-home configuration.

2006-06-09 Thread Ian Skinner
If you install CFMX to use the built-in JRun web server, then later on 
configure it to use the IIS server, it will be able to serve files from both 
places, based on what web server actually receives the request. In this case, 
the CFIDE directory will be available through the built-in JRun web server, but 
not through IIS unless you create a virtual mapping within IIS.

I'm not exactly sure what you want to accomplish...

Can you expand on this a bit?  I am just trying to get my CF work environment 
to be in a more conventional configuration.  I have struggled for the past 
couple of days trying to get Flex installed and the ColdFusion/Flex examples to 
work.  It seems to be because I have an unusual configuration and I don't know 
enough about Flex or that kind of J2EEish concepts to modify all the relative 
parameters to make it work in my environment.  So I am hoping that by putting 
every thing back into a default configuration I will get what I want.

So, I'm guessing from what you mentioned, I want to not choose to configure IIS 
websites during the installation.  Then afterwards I would use the Web Server 
Configuration tool.  Is there anything more to it then that?

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




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


RE: Calling the same UDF twice..

2006-06-09 Thread Daniel Baughman
Oh your exactly right, my previous post proved it.  In the function I have a
query named updateUser that is replacing the function.

Thanks for the help. 

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 11:07 AM
To: CF-Talk
Subject: RE: Calling the same UDF twice..


You define a function (some arbitrary function)

cffunction name=fun1
HI
/cffunction


And then can't call it twice in a row?

cfset fun1()
cfset fun1()

Do you do anything to the fun1 value?  The variable can be redefined at any
time to be something other then a function.

Either of these would be a problem

cfunction name=fun1
cfset fun1 = HI
/cfunction

OR 
cfoutput#fun1()#/cfoutput
cfset fun1 = George
cfoutput#fun1()#/cfoutput

I suspect something closer to the former issue from what you have described.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 






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


RE: Calling the same UDF twice..

2006-06-09 Thread Ian Skinner
Here is the actual function:
cffunction name=updateUser

cfquery name=updateUser datasource=xxx

And here is your problem.  After the cfquery line the variable updateUser is 
a recordSet not a function.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




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


RE: Calling the same UDF twice..

2006-06-09 Thread Ian Skinner
cffunction name=updateUser
.
cfquery name=updateUser datasource=xxx

And here is your problem.  After the cfquery line the variable updateUser is 
a recordSet not a function.

And a solution, other then changing the query name is you can use local 
variable.

cffunction name=updateUser
cfargument 
cfargument ...

cfset var updateUser = 
.
cfquery name=updateUser datasource=xxx

This should create the existence of an updateUser local to the function that is 
different then the update use in the pages variables scope.  Not sure this is 
the best way to solve this problem, but it is a good idea to var scope any 
variables used inside of functions to prevent this kind of problem.

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




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


Re: cfopen?

2006-06-09 Thread Rick Root
Raymond Camden wrote:
 To be fair, I've done more than that. I use a real bug tracker
 (ray.camdenfamily.com/projects/lhp), but it isn't public so folks can
 add to it. I also use a blog just for the product (www.blogcfc.com)
 and also have SVN access for folks to get the very latest bits. (As
 well as a way to check the last 10 updates from SVN.)

well there ya go, behind the scenes! ;)

Unfortunately, Cfopen is continues to malfunction right now, as I'm 
unable to upload files for new releases.  See my next post...

Rick

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


Re: User Friendly URLs for dynamic content

2006-06-09 Thread Josh Nathanson
Hi Ben,

I know that in Apache, and probably in ISAPI although I've not used it, 
there is a way to either redirect or not redirect.  In other words, although 
the rewrite takes place at the server level either way, and the appropriate 
page is served up, doing redirect will make it so the url pushed to the 
browser is actually changed to the rewritten version.  This would make it so 
you didn't have to re-do all your relative links.

The down side of using redirect of course is that the end user sees the 
rewritten url in their browser, so if your boss/client is concerned about 
that then you're out of luck.  The up side is that you can use your slim and 
trim urls in any advertising/linking that you may want to do, and they will 
work fine, and also your relative links will work fine.

Assuming you have your rewrite all set up:

With redirect:
incoming url:  www.foo.com/blabla
serves page: www.foo.com/page.cfm?pageid=blabla
browser url: www.foo.com/page.cfm?pageid=blabla
Relative links work fine

Without redirect:
incoming url:  www.foo.com/blabla
serves page: www.foo.com/page.cfm?pageid=blabla
browser url: www.foo.com/blabla
Relative links don't work

I don't have tons of experience with this either so if I'm off please anyone 
jump in with corrections.

-- Josh




- Original Message - 
From: Ben Nadel [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Friday, June 09, 2006 8:55 AM
Subject: RE: User Friendly URLs for dynamic content


 Jack,

 Just wanted to add something... We were experimenting with ISAPI rewrite 
 and
 it is awesome. The one issue we had it that from the COldFusion code
 standpoint, you have no idea that any re-write too place. That can be a 
 good
 thing, it can be a bad thing. Let's say you have relative links in your 
 site
 and someone goes to the page:

 About/firm.cfm

 There might be a link like ../contact.cfm to go up and to contact.

 Now, let's say that someone gets to that same page via a ISAPI redirect:

 Blah/foor/bar/aboutfirm.

 Now, it redirects in IIS to about/firm.cfm , which is how CF sees it, and
 hence has links like ../contact.cfm. However, from the browsers
 standpoint, you are several directories deep and that same link would go 
 to:

 Blah/foo/contact.cfm

 Which is way off.

 So basically, you just have to accept that with ISAPI rewrite, you can't
 have relative links on pages that might be accesseed in these two 
 different
 ways. Also from the CF standpoint, there are no CGI variables available 
 that
 would allow the programmer to know if an re-write was done.

 Now, this is with my LIMITED experience so this may be wrong. But it was I
 have found. If I am wrong PLEASE correct me as I really would like to use
 ISAPI rewrite.


: http://www.houseoffusion.com/tiny.cfm/54 


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


ANNOUNCE: BlogCFM 1.12 *finally* here

2006-06-09 Thread Rick Root
BlogCFM 1.12 is now available.

BlogCFM 1.12 includes numerous bug fixes, inclusion of the latest 
production version of fckEditor, and the latest production version of 
CFFM (file manager).  There are ZERO new features in this release.

Changelog:  http://www.blogcfm.org/blogcfm/_CHANGELOG.TXT

Demo:   http://www.blogcfm.org/blogcfm/
username: blogcfm, password: admin

Download:   http://www.blogcfm.org/download.cfm

Here are some nice blogs running BlogCFM:

http://www.robrusher.com/ - really nice design Rob!
http://www.thecaniac.com - GO HURRICANES!
http://www.everythingflex.com/blog/ - great content!
http://htmatters.net/htm/


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


Re: multiuser CF blog app?

2006-06-09 Thread Rick Root
Munson, Jacob wrote:
 How hard is it to customize the layout?  An initial customization isn't
 a big deal, but I'd have to do it for each new BlogCFM release as well,
 unless you've got some cool templating going on.  That's what I liked
 about Blogger, when I was still using it.  You could basically build
 your own site design, and just throw in pieces of code in appropriate
 places to get the blogger content (Ex., your blog posts, dates, etc.)

Well it's certainly not as easy as that - since I've never developed 
BlogCFM into a full blow multi-user blogging app (I just wanted the base 
system to be able to handle it) it doesn't have those kind of features. 
  Pretty much the only customization a blog owner can do without having 
access to the template and css files themselves is override the default 
CSS with their own CSS (it's an option in the admin).  But you'd really 
have to be a CSS guru to make changes like that.

Rick

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


Re: Status of ActivMail?

2006-06-09 Thread Matt Robertson
 if it'll site niceley with SmarterMail. It's just whether
I can integrate this direct from CF7 on a different machine/platform.

The server I am running iMS_SE on also has SmarterMail on it.  I just set iMS 
to rrun on a nonstandard port.  Since all it does is handle CF-generated mail 
thats not an issue.

[EMAIL PROTECTED]
Janitor, MSB Web Systems
http://mysecretbase.com

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


RE: multiuser CF blog app?

2006-06-09 Thread Munson, Jacob
 Pretty much the only customization a blog owner can do 
 without having 
 access to the template and css files themselves is override 
 the default 
 CSS with their own CSS (it's an option in the admin).  But 
 you'd really 
 have to be a CSS guru to make changes like that.

Ok, thanks for the info.  I've been hoping to find CF based blog
software that is easy to upgrade, but I'm not sure if there are any out
there.  I'm on BlogCFC right now, and it's cool but upgrading to new
versions takes a while.


--

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



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


RE: Speaking of cfeclipse/eclipse issues...

2006-06-09 Thread Eric Roberts
I tried that and got the following error with the sftp plugin... SFTP
Plug-in (0.0.1) requires plug-in org.eclipse.team.cvs.core (3.2.0), or
compatible.

Where do I get that?  I have been searching the eclipse website for about an
hour as well as plugin central.  Any ideas?

BTW...if you put it in terms that someone besides yourself will understand,
how will you know if we understand it if you yourself won't understand it
;-)

Eric 

-Original Message-
From: Denny Valliant [mailto:[EMAIL PROTECTED] 
Sent: Friday, 09 June 2006 02:37
To: CF-Talk
Subject: Re: Speaking of cfeclipse/eclipse issues...

You may have missed it earlier...

I'll try putting it in terms someone besides myself will understand.

Eclipse has a FTP Team plugin (that means it will keep files in sync, allow
you to do DIFFs on modified resources, show what's been changed, etc
pretty much the same as CVS or SVN).

http://www.jcraft.com/jsch/ has a SFTP plugin that adds support for webdav,
ssh, ftp, etc.., all Team enabled.  Works with SVN managed resources as
well, so it's swell if you're repo'ed but other's ain't, so to speak.

It doesn't do multiple targets, I don't think, but ANT's better for that.
;-)
:denny

On 6/8/06, Eric Roberts [EMAIL PROTECTED] wrote:


 Mark...or anyone else more adept at eclipse than I (pretty much 
 everyone hehehe)...

 Am I missing something or is the only option for ftp is to transfer a 
 folder?  I only need to transfer a file ;-)  I have been using 
 cfeclipse for the past few days on a project, and that is a major PIA 
 when I have to use a separate ftp program to upload files to the dev 
 server (it's remote...so I don't have network access and they don't 
 have RDS access set up).  The only way I can see to do it is to right 
 click on the file, click export and then select ftp.  Am I doing 
 something wrong or not going about it the right way?

 As far as the tabbing issue...at least now I know it was a bad 
 flashback when that happened heheheh...it's not a show stopper, but it 
 does become a PIA at times

 Eric


 



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


Re: multiuser CF blog app?

2006-06-09 Thread Raymond Camden
One of the updates to BlogCFC5 was a CSS based layout. (Thanks to
Scott Stroz.) This should reduce that amount of mods you would do and
therefore making updating easier. All the post 5.0 updates, for
example, should be harmless to folks running 5.

On 6/9/06, Munson, Jacob [EMAIL PROTECTED] wrote:
  Pretty much the only customization a blog owner can do
  without having
  access to the template and css files themselves is override
  the default
  CSS with their own CSS (it's an option in the admin).  But
  you'd really
  have to be a CSS guru to make changes like that.

 Ok, thanks for the info.  I've been hoping to find CF based blog
 software that is easy to upgrade, but I'm not sure if there are any out
 there.  I'm on BlogCFC right now, and it's cool but upgrading to new
 versions takes a while.


 --

 This transmission may contain information that is privileged, confidential 
 and/or exempt from disclosure under applicable law. If you are not the 
 intended recipient, you are hereby notified that any disclosure, copying, 
 distribution, or use of the information contained herein (including any 
 reliance thereon) is STRICTLY PROHIBITED. If you received this transmission 
 in error, please immediately contact the sender and destroy the material in 
 its entirety, whether in electronic or hard copy format. Thank you. A1.



 

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


Creating links (drill down) within cfchart

2006-06-09 Thread Ken Ketsdever
I would like to make the individual data points on a cfchart links.  I
have written the following code.  I get a hand (indicating a link) when
I mouseOver the data points. However, clicking produces no result.  

What am I doing wrong? Any ideas?  

PS. This is a proof of concept so I am creating random data values.

cfchart chartheight=400 chartwidth=500 showlegend=yes
cfchartseries serieslabel=2004 type=line
   cfoutput
 cfloop from=1 to=12 index=i
cfset newMonth = left(monthasString(i), 3)
a
href=index.cfm?action=comparisonreport=#newMonth#
cfchartdata value=#RandRange(650,
950)# item = #newMonth#
/a
 /cfloop
/cfoutput
/cfchartseries
 /cfchart

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 



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


RE: FDF and coldfusion

2006-06-09 Thread Robertson-Ravo, Neil (RX)
Will post when I can! I am currently awaiting baby #2 today...wife has been
in hospital since  1am this morning - getting stressed!

;-)



-Original Message-
From: Tony
To: CF-Talk
Sent: 07/06/2006 15:02
Subject: Re: FDF and coldfusion

neily wheely... i'd love to see some of that code.
i STILL *3 years coming* have to finish a project for an atty
friend who needs me to make his court docs dynamic pdfs :)

tw

On 6/7/06, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 Hey Ryan,

 iText is the way forward here ( CF7 uses iText for more PDF
manipulation ).
 I wrote and app which does just this in CFMX 6.1. It takes in a PDF
form (
 it doesn't have to be an FDF) and abstracts all the available fields
etc.
 You can then map to each field a value from a given column in a DB.
At
 runtime a user gets a nice pre-filled customized PDF!

 Any code I can share let me know..be happy to.

 N






 -Original Message-
 From: Jim Wright [mailto:[EMAIL PROTECTED]
 Sent: 06 June 2006 15:23
 To: CF-Talk
 Subject: Re: FDF and coldfusion

 On 6/6/06, Ryan Hamoud [EMAIL PROTECTED] wrote:
  I know this topic has been discussed in the past but not in the past
few
 years.  I would like to be able to pre-fill a PDF document using cold
fusion
 variables.  I have been to many forms and tried almost all their
methods
 with no luck.   I am using Cold Fusion Server Enterprise 6 with Adobe
 Acrobat 6.0 pro and Macromedia MX 2004 studio.  Have any of you guys
out
 there been able to successfully accomplish this using today's
software?  I
 have a feeling that for some reason this has become obsolete..
 

 I can confirm that the method of creating a PDF form, and then
 embedding CF variables in the resulting FDF to dynamically fill in the
 values still works in MX 7, as at my previous employer we used that
 method, and had migrated the app from 5 to 7.  Unfortunately, I don't
 have any readily available code samples to give you for a demo, but if
 you can post what you have been trying, I might be able to see the
 problem.

 --

 Jim Wright
 Wright Business Solutions
 [EMAIL PROTECTED]
 919-417-2257



 



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


Bad Google RSS

2006-06-09 Thread Howard Owens
I’ve tried XMLParse()  and CFWDDX … Google’s RSS newsfeed doesn’t 
appear to be correct XML/RSS, which I find hard to believe

http://news.google.com/news?q=%22Abu+Mussab+al-Zarqawi%22ie=UTF-8output=rss

Has anybody run into this before?

What to do about it?

 

H.

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


Re: multiuser CF blog app?

2006-06-09 Thread Matt Robertson
Ray's blog is good and used by most of us cf coder types... But blogfusion
is also an excellent product.

Unfortunately the client has already purchased BlogFusion and is dropping it 
cuz it doesn't support multiple users.  I set it up for them and I have to say 
it wasn't a good experience.  

Variables being set in /Application.cfm without being inside of a cfif 
isdefined() or something similar, which is forgivable I suppose, but a bad 
sign.  

The database installer is built so that if it detects tables that it wants 
already exist...  it drops them and creates its own under the assumption that 
they must belong to BF I guess ... and it uses simple table names like 'users'. 
 So if you try and use it on an existing dsn and a table name collides you are 
royally screwed if you just run the installer without reading over it and 
finding this little bomb.  This also essentially requires that you put BF into 
its own dsn given the method of naming tables.  Plus it doesn't support 
username and password in cfquery, so you have to put those into the dsn in cf 
admin or revise all of the queries, which I did.

Sorry for the bad vibes but this one freaked me out a little at the time.

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


Re: multiuser CF blog app?

2006-06-09 Thread Rick Root
Munson, Jacob wrote:
 
 Ok, thanks for the info.  I've been hoping to find CF based blog
 software that is easy to upgrade, but I'm not sure if there are any out
 there.  I'm on BlogCFC right now, and it's cool but upgrading to new
 versions takes a while.

yeah well at least with the CSS based layout I use (and Ray's BlogCFC 
uses CSS now too), upgrades should be easier.

I think BlogCFM was the first thing I ever did that was all CSS.

CFMBB still uses tables but even there much of the layout and most all 
of the design is CSS based.

Rick

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


Re: FDF and coldfusion

2006-06-09 Thread Bryan Stevenson
 Will post when I can! I am currently awaiting baby #2 today...wife has been
 in hospital since  1am this morning - getting stressed!

 ;-)


Yeah Neil...we'll let ya off the hook this time, but next time we need a far 
better excuse than that...LOL

Congrats! (almost)

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 


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


Re: Bad Google RSS

2006-06-09 Thread Rob Wilkerson
What error message do you get?  I can subscribe to this feed in my
parser just fine (whose first step is an XMLParse()).  I assume you're
making a CFHTTP call to retrieve the content?  Check that content to
see whether whitespace - or any other character data - is being
introduced before the declaration.


On 6/9/06, Howard Owens [EMAIL PROTECTED] wrote:
 I've tried XMLParse()  and CFWDDX … Google's RSS newsfeed doesn't appear to 
 be correct XML/RSS, which I find hard to believe

 http://news.google.com/news?q=%22Abu+Mussab+al-Zarqawi%22ie=UTF-8output=rss

 Has anybody run into this before?

 What to do about it?



 H.

 

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


RE: multiuser CF blog app?

2006-06-09 Thread Mark A Kruger
Matt,

Ah... Well, it sounds like you had a bad experience. I'd go with Ray's
blog... He's such a giant most of us are afraid to criticize his code so
instead of looking too close  you will end up saying hmm he must have
known what he was doing (ha).

-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 1:00 PM
To: CF-Talk
Subject: Re: multiuser CF blog app?

Ray's blog is good and used by most of us cf coder types... But
blogfusion
is also an excellent product.

Unfortunately the client has already purchased BlogFusion and is dropping it
cuz it doesn't support multiple users.  I set it up for them and I have to
say it wasn't a good experience.  

Variables being set in /Application.cfm without being inside of a cfif
isdefined() or something similar, which is forgivable I suppose, but a bad
sign.  

The database installer is built so that if it detects tables that it wants
already exist...  it drops them and creates its own under the assumption
that they must belong to BF I guess ... and it uses simple table names like
'users'.  So if you try and use it on an existing dsn and a table name
collides you are royally screwed if you just run the installer without
reading over it and finding this little bomb.  This also essentially
requires that you put BF into its own dsn given the method of naming tables.
Plus it doesn't support username and password in cfquery, so you have to put
those into the dsn in cf admin or revise all of the queries, which I did.

Sorry for the bad vibes but this one freaked me out a little at the time.



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


RE: multiuser CF blog app?

2006-06-09 Thread Munson, Jacob
Cool, maybe I'll stick with BlogCFC then.  But I'm on 4 now, so I have
to upgrade in the meantime.  ;) 

 -Original Message-
 From: Raymond Camden [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 09, 2006 11:50 AM
 
 One of the updates to BlogCFC5 was a CSS based layout. (Thanks to
 Scott Stroz.) This should reduce that amount of mods you would do and
 therefore making updating easier. All the post 5.0 updates, for
 example, should be harmless to folks running 5.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



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


Re: Bad Google RSS

2006-06-09 Thread Howard Owens
The error is:

An error occured while Parsing an XML document.  
The element type meta must be terminated by the matching end-tag .  

At this point:

cfset xmlFile = xmlparse(cfhttp.filecontent)





What error message do you get?  I can subscribe to this feed in my
parser just fine (whose first step is an XMLParse()).  I assume you're
making a CFHTTP call to retrieve the content?  Check that content to
see whether whitespace - or any other character data - is being
introduced before the declaration.


On 6/9/06, Howard Owens [EMAIL PROTECTED] wrote:


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


Re: Bad Google RSS

2006-06-09 Thread Rob Wilkerson
Aha.  You're using a devnet version of CF.

On 6/9/06, Howard Owens [EMAIL PROTECTED] wrote:
 The error is:

 An error occured while Parsing an XML document.
 The element type meta must be terminated by the matching end-tag .

 At this point:

 cfset xmlFile = xmlparse(cfhttp.filecontent)





 What error message do you get?  I can subscribe to this feed in my
 parser just fine (whose first step is an XMLParse()).  I assume you're
 making a CFHTTP call to retrieve the content?  Check that content to
 see whether whitespace - or any other character data - is being
 introduced before the declaration.
 
 
 On 6/9/06, Howard Owens [EMAIL PROTECTED] wrote:
 

 

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


Re: Bad Google RSS

2006-06-09 Thread Rob Wilkerson
Sorry.  Hit send too soon.  The devnet version of ColdFusion
introduces a meta tag that identifies itself as a devnet version.
That meta tag is placed within the head (beginning with v7.0) of HTML
documents, but since XML docs don't have that tag CF just puts it in
at the top of the document.  This wreaks all kinds of havoc on XML
stuff.

See if you can strip it before trying to use the content:

cfset variables.content = REReplaceNoCase ( cfhttp.fileContent,
'^.*??xml', '?xml' ) /

cfdump var=#XMLParse ( variables.content )# /

On 6/9/06, Rob Wilkerson [EMAIL PROTECTED] wrote:
 Aha.  You're using a devnet version of CF.

 On 6/9/06, Howard Owens [EMAIL PROTECTED] wrote:
  The error is:
 
  An error occured while Parsing an XML document.
  The element type meta must be terminated by the matching end-tag .
 
  At this point:
 
  cfset xmlFile = xmlparse(cfhttp.filecontent)
 
 
 
 
 
  What error message do you get?  I can subscribe to this feed in my
  parser just fine (whose first step is an XMLParse()).  I assume you're
  making a CFHTTP call to retrieve the content?  Check that content to
  see whether whitespace - or any other character data - is being
  introduced before the declaration.
  
  
  On 6/9/06, Howard Owens [EMAIL PROTECTED] wrote:
  
 
  

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


Re: multiuser CF blog app?

2006-06-09 Thread Rick Root
When I built BlogCFM, I did so because Ray's blogCFC was missing a lot 
of features that I wanted.  Friendly URLs, captcha, CSS-based design, etc.

Over the years, blogCFC has added most of those features, and while it 
still lacks some features that I wanted, and still does some things that 
I don't like (like the popup window for commenting), it's a damn fine 
blog tool, more robust than mine, and has a much much larger userbase 
for development.

blogCFM 1.11 was buggy and it took me 10 months to release fixes =) 
BlogCFM 1.12 may be the last release, as I'm far more interested in 
CFMBB and CFOpenChat these days.

Rick

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


Re: multiuser CF blog app?

2006-06-09 Thread Matt Robertson
When they first asked me a couple months ago I recommended BlogCFC but they had 
just bought the other product.  Found out about the multiuser requirement 
yesterday and they now need a 'yesterday' solution.  Repeated my recommendation 
a bit ago and I'm sure they'll go with it this time. 


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


ANNOUNCE: CFMBB 1.01 Available

2006-06-09 Thread Rick Root
CFMBB 1.01 is now available for download.  This is purely a bugfix release.

Here is the changelog for this version:

v1.01 - 6/8/2006
  - BUG #167 FIXED - relating to adding new thread from admin.
  - BUG #168 FIXED - relating to adding/editing threads from admin.
  - BUG #171 FIXED - error in login.cfm when invalid email addresses
is entered into password reminder form.
  - BUG #172 FIXED - error in login.cfm when invalid email addresses
is entered into account confirmation form.
  - Changed logic to prevent access to any pages if proper email
addresses are not set up in the admin console for the system.
Moved logic from forums.cfm to application.cfm.  (Should
prevent problems like those reported in Bug #170)
  - removed CFMBB project links from theme files

since CFOpen is refusing to let me upload files, I've had to make the 
CFMBB 1.01 release available here:

http://www.cfmbb.org/download.cfm

UPGRADE INSTRUCTIONS

If you haven't made any changes to the themes, then just overwrite all 
the files in all directories EXCEPT FOR cfcs/settings.ini.  If you 
HAVE made changs to the themes, replace all of the files except for 
those (and the cfcs/settings.ini).  Any theme files built for version 
1.00 should work fine with 1.01.  Don't forget to change the version 
number in the settings.ini to 1.01

Rick

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


Re: Speaking of cfeclipse/eclipse issues...

2006-06-09 Thread Larry Lyons
You may have missed it earlier...

I'll try putting it in terms someone besides myself will understand.

Eclipse has a FTP Team plugin (that means it will keep files in sync,
allow you to do DIFFs on modified resources, show what's been
changed, etc pretty much the same as CVS or SVN).

http://www.jcraft.com/jsch/ has a SFTP plugin that adds support
for webdav, ssh, ftp, etc.., all Team enabled.  Works with SVN managed
resources as well, so it's swell if you're repo'ed but other's ain't, so to
speak.

It doesn't do multiple targets, I don't think, but ANT's better for that.
;-)
:denny

Talking of the FTP plugin to eclipse. Does anyone know of a good tutorial on 
using it? I've been figuratively tearing my hair out trying to get it to work 
with no luck.

thx,

larry

--
Larry C. Lyons
Web Analyst
BEI Resources
American Type Culture Collection
http://www.beiresources.org
email: llyons(at)atcc(dot)org
tel: 703.365.2700.2678
--

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


Re: Bad Google RSS

2006-06-09 Thread Howard Owens
I get the same error using the RE below.

I know just enough RE at this point to understand what you're suggesting, but 
not enough to fix it -- it's apparently not stripping out everything above the 
declaration  tag.

H.




See if you can strip it before trying to use the content:

cfset variables.content = REReplaceNoCase ( cfhttp.fileContent,
'^.*??xml', '?xml' ) /

cfdump var=#XMLParse ( variables.content )# /

On 6/9/06, Rob Wilkerson [EMAIL PROTECTED] wrote:
 

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


RE: Bad Google RSS

2006-06-09 Thread Munson, Jacob
Have you cfdumped cfhttp.fileContent to see what's there?  Might be
something else that's messing you up.

 -Original Message-
 From: Howard Owens [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 09, 2006 1:23 PM
 
 I get the same error using the RE below.
 
 I know just enough RE at this point to understand what you're 
 suggesting, but not enough to fix it -- it's apparently not 
 stripping out everything above the declaration  tag.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



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


Re: Bad Google RSS

2006-06-09 Thread Rob Wilkerson
Howard, if you'll send my your cfhttp call, I'll take a look.
Shouldn't take long.

On 6/9/06, Howard Owens [EMAIL PROTECTED] wrote:
 I get the same error using the RE below.

 I know just enough RE at this point to understand what you're suggesting, but 
 not enough to fix it -- it's apparently not stripping out everything above 
 the declaration  tag.

 H.



 
 See if you can strip it before trying to use the content:
 
 cfset variables.content = REReplaceNoCase ( cfhttp.fileContent,
 '^.*??xml', '?xml' ) /
 
 cfdump var=#XMLParse ( variables.content )# /
 
 On 6/9/06, Rob Wilkerson [EMAIL PROTECTED] wrote:
  

 

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


RE: Installing CF in Multi-home configuration.

2006-06-09 Thread Dave Watts
 Can you expand on this a bit?  I am just trying to get my CF 
 work environment to be in a more conventional configuration.  
 I have struggled for the past couple of days trying to get 
 Flex installed and the ColdFusion/Flex examples to work.  It 
 seems to be because I have an unusual configuration and I 
 don't know enough about Flex or that kind of J2EEish concepts 
 to modify all the relative parameters to make it work in my 
 environment.  So I am hoping that by putting every thing back 
 into a default configuration I will get what I want.

Well, once you start talking about multiple J2EE servers, or using the JRun
web server and IIS, the phrase default configuration doesn't mean very
much. There are many, many ways this can be set up. Choosing what you want
depends on a clear idea of, well, what you want!

For most development purposes, I would recommend that you just not bother
with IIS at all, unless you specifically want to learn how to manage IIS.
 
 So, I'm guessing from what you mentioned, I want to not 
 choose to configure IIS websites during the installation.  
 Then afterwards I would use the Web Server Configuration 
 tool.  Is there anything more to it then that?

The part about filtering out invalid URL requests on IIS.

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

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


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


Re: Bad Google RSS

2006-06-09 Thread Howard Owens
Ah, good suggestion ... I'm not actually getting the RSS feed.

I'm getting:

title403 Forbidden/title

. 

Your client does not have permission to get URL 


Google is blocking my application for some reason.

H.


 Have you cfdumped cfhttp.fileContent to see what's there?  Might be
 something else that's messing you up.
 
 

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


RE: Bad Google RSS

2006-06-09 Thread Ben Nadel
You have to put in a standard User Agent like:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) 

When doing the CFHTTP otherwise Google blocks it.

...
Ben Nadel 
www.bennadel.com

-Original Message-
From: Howard Owens [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 3:47 PM
To: CF-Talk
Subject: Re: Bad Google RSS

Ah, good suggestion ... I'm not actually getting the RSS feed.

I'm getting:

title403 Forbidden/title

.. 

Your client does not have permission to get URL 


Google is blocking my application for some reason.

H.


 Have you cfdumped cfhttp.fileContent to see what's there?  Might be 
 something else that's messing you up.
 
 



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


RE: Bad Google RSS

2006-06-09 Thread Munson, Jacob
Actually, Google doesn't like IE, use this one instead:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4)
Gecko/20060508 Firefox/1.5.0.4

Just kidding!  Sorry, it's Friday afternoon, I couldn't resist.  :) 

 -Original Message-
 From: Ben Nadel [mailto:[EMAIL PROTECTED] 
 Sent: Friday, June 09, 2006 1:52 PM
 
 You have to put in a standard User Agent like:
 
 Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET 
 CLR 2.0.50727) 
 
 When doing the CFHTTP otherwise Google blocks it.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



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


Re: multiuser CF blog app?

2006-06-09 Thread Raymond Camden
Heh, I _do_ hope this is a joke. ;) In fact, the 5.005 build I'm
working on now is 100% from bug reports. So I definitely listen to
code criticisms. (Of course, I then make a vodoo doll of the
person)

On 6/9/06, Mark A Kruger [EMAIL PROTECTED] wrote:
 Matt,

 Ah... Well, it sounds like you had a bad experience. I'd go with Ray's
 blog... He's such a giant most of us are afraid to criticize his code so
 instead of looking too close  you will end up saying hmm he must have
 known what he was doing (ha).



-- 
===
Raymond Camden, Vice President of Technology for roundpeg

Email: [EMAIL PROTECTED]
Blog : ray.camdenfamily.com
AOL IM   : cfjedimaster

My ally is the Force, and a powerful ally it is. - Yoda

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


RE: Bad Google RSS

2006-06-09 Thread Dave Francis
Silly idea, but couldn't you just add a /meta to the end of the doc to
make it legit XML?

-Original Message-
From: Howard Owens [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 3:23 PM
To: CF-Talk
Subject: Re: Bad Google RSS


I get the same error using the RE below.

I know just enough RE at this point to understand what you're suggesting,
but not enough to fix it -- it's apparently not stripping out everything
above the declaration  tag.

H.





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


RE: Bad Google RSS

2006-06-09 Thread Ben Nadel
I suppose he could do that, but the real issue is a license one. He is
trying to use a Developmental license on a production box (I think) which is
why CF is adding the meta data to the top. Forgive me if I am wrong, but we
had that meta issue here for a while and a new license fixed it.

...
Ben Nadel 
Web Developer
Nylon Technology
350 7th Avenue
Floor 10
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com
 
Some people call me the space cowboy. Some people call me the gangster of
love.

-Original Message-
From: Dave Francis [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 4:14 PM
To: CF-Talk
Subject: RE: Bad Google RSS

Silly idea, but couldn't you just add a /meta to the end of the doc to
make it legit XML?

-Original Message-
From: Howard Owens [mailto:[EMAIL PROTECTED]
Sent: Friday, June 09, 2006 3:23 PM
To: CF-Talk
Subject: Re: Bad Google RSS


I get the same error using the RE below.

I know just enough RE at this point to understand what you're suggesting,
but not enough to fix it -- it's apparently not stripping out everything
above the declaration  tag.

H.







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


RE: Bad Google RSS

2006-06-09 Thread Ben Nadel
Hey man, nothing like a little Friday laughs ;)
...
Ben Nadel 
www.bennadel.com

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 09, 2006 4:05 PM
To: CF-Talk
Subject: RE: Bad Google RSS

Actually, Google doesn't like IE, use this one instead:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4)
Gecko/20060508 Firefox/1.5.0.4

Just kidding!  Sorry, it's Friday afternoon, I couldn't resist.  :) 

 -Original Message-
 From: Ben Nadel [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 09, 2006 1:52 PM
 
 You have to put in a standard User Agent like:
 
 Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 
 2.0.50727)
 
 When doing the CFHTTP otherwise Google blocks it.

This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. A1.





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


Re: Bad Google RSS

2006-06-09 Thread Howard Owens
That did the trick.  Thanks.

H.


You have to put in a standard User Agent like:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) 

When doing the CFHTTP otherwise Google blocks it.



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


session question set clear

2006-06-09 Thread Paul Ihrig
i am new to session  application variables am  just trying to figure out a
way to make a pop-up only display once per session.
and only if the last message entered in the db is set to active.

any help would be awesome.
just so i can understand this simple thing..
thanks!
-paul

ok i have an application cfm type of question.
i am not sure where to put the info  how to rest it.

i have a form that an admin inserts a network broadcast print message in.
it is only an insert into a db.

it either sets the message to active=1 with a message filed
or to 0,

then there is a pop up page that i want triggered from application.cfm

if the last record from record set dbo.accBroadcast.Active = 1
and SESSION.UserHasSeenBroadcast = 0
pop-up the message
then set SESSION.UserHasSeenBroadcast = 1

but i am not sure if i should set SESSION.UserHasSeenBroadcast = 0
in the application.cfm and then reset it in the actual pop-up?


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


Re: multiuser CF blog app?

2006-06-09 Thread David Livingston
Version 5 of blogfusion supports multi blogs (although it's still in  
beta). We just launched a hispanic blogging service with it. It has  
been almost completely revamped. It has CSS layouts and a few other  
nifty tricks that might make it worth taking another look at. If you  
want to see it in action go to http://www.poraqui.com/

Dave


On Jun 9, 2006, at 3:12 PM, Raymond Camden wrote:

 Heh, I _do_ hope this is a joke. ;) In fact, the 5.005 build I'm
 working on now is 100% from bug reports. So I definitely listen to
 code criticisms. (Of course, I then make a vodoo doll of the
 person)

 On 6/9/06, Mark A Kruger [EMAIL PROTECTED] wrote:
 Matt,

 Ah... Well, it sounds like you had a bad experience. I'd go with  
 Ray's
 blog... He's such a giant most of us are afraid to criticize his  
 code so
 instead of looking too close  you will end up saying hmm he  
 must have
 known what he was doing (ha).



 -- 
 == 
 =
 Raymond Camden, Vice President of Technology for roundpeg

 Email: [EMAIL PROTECTED]
 Blog : ray.camdenfamily.com
 AOL IM   : cfjedimaster

 My ally is the Force, and a powerful ally it is. - Yoda

 

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


  1   2   >