Hi Viktor, Thanks for your reply. I only used the Bold thing as an example. When really what I would like to do is make the CFC check to see if needs to call another CFC instead and execute that. So....
CFC 1 will execute it will check to see if it needs to execute CFC 2 if it does then it does, else it only executes CFC 1. Now the trick here is that CFC 1 needs to be dynamic and call multiple CFC's and check if there is a CFC 2, CFC 3, CFC 4 etc. Make sense? Jeremy <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > This email is to be read subject to the disclaimer below. > > Hi Jeremy, > > Bolding is applying formatting -- so it's a presentation thing. I'm only > beginning to look at CFCs but what I would do is to make a function that > bolds text passed to it and then either place it with the presentation > logic or into my library of generic UDFs. Alternately you could invoke such > a function from inside your CFC if you passed the name of the bolding > function to it. > > I would call the bolding function from inside the CFC and invoke the CFC > like this... The CFC will get all usernames, match them against the Regular > expression that is the first argument, then execute function specified > within the second argument if there's a match. > > getFormattedUserNames("^B", makeBold); > > Does this make sense? Do you understand what I'm trying to do? Is this what > you had in mind or am just I lost completely? I've gotta head off but I'm > happy to write some more example code to clarify this when I get home > tonight. > > Cheers, > Vik > --------------------- > Viktor Radnai > Web Developer, National E-Commerce, Ernst & Young > Direct: +61 2 9248 4361 > > > > > "CFAUSSIE" > <[EMAIL PROTECTED]> To: "CFAussie Mailing List" <[EMAIL PROTECTED]> > Sent by: cc: > [EMAIL PROTECTED] Subject: [cfaussie] CFC and Business Rules > mon.com.au > > 26/02/2003 03:32 PM > Please respond to "CFAussie > Mailing List" > > > > > > Hi guys, > > Quick question I'm starting to play with CFC's a bit more and I want to > know > if I have a basic CFC that does a query. > > Then I want to add a business rule to that CFC without touching the > original > CFC. Make sense.. > > For example. I have a list of names > > Jeremy > Scott (Monkey Lovin) Barnes > Barry (Banging Give me) Moore > > I then would like a Business Rule CFC to sit in ready to execute to BOLD > all > names that begin with the letter "B". > > This is just an example I just want to know the best logic to takle such a > thing. > > Any help would be good... > > Jeremy > > > > --- > You are currently subscribed to cfaussie as: > [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > > MX Downunder AsiaPac DevCon - http://mxdu.com/ > > > > -------------------- > NOTICE - This communication contains information which is confidential and > the copyright of Ernst & Young or a third party. > > If you are not the intended recipient of this communication please delete > and destroy all copies and telephone Ernst & Young on 1800 655 717 > immediately. If you are the intended recipient of this communication you > should not copy, disclose or distribute this communication without the > authority of Ernst & Young. > > Any views expressed in this Communication are those of the individual > sender, except where the sender specifically states them to be the views of > Ernst & Young. > > Except as required at law, Ernst & Young does not represent, warrant and/or > guarantee that the integrity of this communication has been maintained nor > that the communication is free of errors, virus, interception or > interference. > > Liability limited by the Accountants Scheme, approved under the > Professional Standards Act 1994 (NSW) > -------------------- > > > > > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
