RE: Decimal Formatting

2005-04-12 Thread James Holmes
You can also return the appropriate value from Oracle directly, using:

to_char(whatever_column_name,'TM9')

-Original Message-
From: B G [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 13 April 2005 6:04 AM
To: CF-Talk
Subject: Re: Decimal Formatting

Beautiful!  That did the trick!  Thank you.

>From: Barney Boisvert <[EMAIL PROTECTED]>
>Reply-To: cf-talk@houseoffusion.com
>To: CF-Talk 
>Subject: Re: Decimal Formatting
>Date: Tue, 12 Apr 2005 14:45:33 -0700
>
>NUMBER columns are actually stored as strings, so you'll always get 
>exactly 2 decimal places.  Try this:
>
>
>   #int(myNum)#
>
>   #REreplace(myNum, "0+$", "")#
>
>
>cheers,
>barneyb
>
>On Apr 12, 2005 2:38 PM, B G <[EMAIL PROTECTED]> wrote:
> > There's a simple solution here that is eluding me so please forgive 
> > my
>"end
> > of day cloud" that is obstructing me.
> >
> > I am trying to format a value that is stored in Oracle NUMBER(5,2)
>datatype
> > so that if it is a whole number it won't display x.00.
> >
> > For example, value 25.75 is fine and displays properly, value 18, 
> > should
>NOT
> > display 18.00.  Likewise, 10.5 should NOT be 10.50.  But this is the 
> > behaviour I am getting.
> >
> > What are you thoughts?
>
>--
>Barney Boisvert
>[EMAIL PROTECTED]
>360.319.6145
>http://www.barneyb.com/
>
>Got Gmail? I have 50 invites.
>
>



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202526
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


CFUNITED interview 6 - Macromedia Platinum; Frameworks, CFML and .Net; free ticket competition

2005-04-12 Thread Michael Smith
In this issue of ColdFusion conference and training news:

1. CFUNITED News - Macromedia Platinum sponsor, hotel 75% full, timely bird 
price ends 4/30
2. Pre-conference classes and MMUG manager conf registration is open
3. Win a ticket to CFUNITED
4. "Frameworks: Mach II or Fusebox 4.1?" interview with Sean Corfield
5. "Integrating CFML and ASP.NET Server Controls" interview with Charlie Arehart

Happy coding
- Michael Smith,
   TeraTech, Inc  http://www.teratech.com/
   "Creating excellent custom software since 1989"

"If this is your first time, you will be very happy. CFUN is the
best CFML conference - period. ... consistently I can say CFUN
is the one most worth your money"
- Raymond Camden, Mindseye, Inc (formerly Jedimaster at Macromedia)

1. CFUNITED News


* Macromedia is Platinum level sponsor of CFUNITED.
   http://www.cfunited.com/exhibitors.cfm
   The whole CF development team is coming to speak and to hear your feedback
   on CFMX 7! There will also be a Macromedia and Aboutweb community corner
   where you can kick back, chat with engineers or check email. And
   special Macromedia prizes and goodies!

* Ben Forta and Tim Buntel to give opening keynote at CFUNITED.

* Sandra Clark CFUNITED video interview released at http://www.cfunited.com/

* Session schedule posted at http://www.cfunited.com/images/schedule_tracks.pdf

* Only 11 weeks until CFUNITED-05. Timely bird price $549 expires in 17 days on 
4/30/05

* 365 people have already registered for CFUNITED-05! That is a lot more than 
this time
   last year for CFUN-04!

* The CFUNITED hotel room block has only 50 rooms left on Tues, Wed and Thurs
   Book today to get a room at the conference hotel. Last year many attendees
   couldn't get a room at the hotel - don't be left out!
   The $159 special price ends 4/15/05 - use the promo code: CFCCFCA to get 
this 
rate
   Reservations made after that date will cost $179.00 (if you can get them at 
all!)

* Powered by Detroit ColdFusion and Flash conference went great last weekend.
   Over 120 attendees learned about what will come in Flash 8 and hidden 
features of
   CFMX 7. I had a good crowd for my Project Management talk. I met a lot of 
speakers
   and MMUG managers and the one question on everyone's lips was "Are you going
   to CFUNITED? Don't miss it - it is THE CF event of the year"

2. Win a ticket to CFUNITED
***
To enter the competition for a free ticket (a $549 value) just take the
survey at:

http://www.cfunited.com/survey.cfm

It only takes a minute to complete. Anyone who
completes the survey will be entered to win a free place at CFUNITED-05.
The winner will be chosen based on answering the questions correctly
together with the best answer to the question "Why should people come to
CFUNITED-05?"

The winner will be selected on April 22nd. If you don't win you can you
can still register at the timely bird price of $549 before 4/30/05

3. Pre-Conference classes and MMUG Manager conference registration open
***
Want to learn even more from an expert CFUNITED speaker? Then check out
the pre-conference classes at:
   http://www.cfunited.com/classes.cfm

* Monday 6/27 10am - 5pm
Hal Helms - Designing and Developing OO Applications with CFCs
Simon Horwith - Roll Your Own API - Maximizing Code ReUse with CFCs and Custom 
Tags
Geoff Snowman - Intro to .Net for CFers
Nate Nelson - Beyond basic SQL for CF

* Tuesday 6/28 10am - 5pm
Charlie Arehart - CFML leveraging .Net strengths
Sandra Clark - Advanced Cascading Stylesheets
Joe Rinehart - "Forms and Beans" applying simple OO principles to standard CF 
forms methodology
Jeff Peters - FLiP and Fusebox walkthrough

Classes are at the CFUNITED Hotel. Classes cost $349 each
and includes breakfast, lunch, materials, and coffee/tea. There is a limit
of 30 people per class. Your conference registration does not cover these
classes. Note: Unless you can clone yourself, you can only register to
attend one class per day! The CFUNITED hotel discount code has been extened to 
Sunday
6/26 and Monday 6/27/05.


The MMUG Manager and Team Macromedia conference will be on Tuesday 6/28/05 for 
more details
and registration see:
   http://www.cfconf.org/mmug_managers_2005/

4. "Frameworks: Mach II or Fusebox 4.1?" interview with Sean Corfield
*

Michael Smith: This time we are talking with Sean Corfield about his CFUNITED-05
talk "Frameworks: Mach II or Fusebox 4.1?". So why should a developer come to
your session Sean ?

Sean Corfield: With all the hype and confusion surrounding application
frameworks, a lot of developers just don't know which way to go and often don't
have the time to fully evaluate the different frameworks themselves. Sometimes
they just pick one and "make do", even if it isn't particularly suitable for
their work. My session is a fast track to understanding eno

Re: pausing a script

2005-04-12 Thread sp
Thanks, that is elegan!


>Thread = createObject( "java", "java.lang.Thread" );
>Thread.sleep( javaCast( "long", 1000*60 ));
> 
>
>
>-- 
>Taco Fleur
>Senior Web Systems Engineer
>http://www.webassociates.com

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202524
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: pausing a script

2005-04-12 Thread Jim Davis
> -Original Message-
> From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 12, 2005 11:04 PM
> To: CF-Talk
> Subject: pausing a script
> 
> Is there a way of pausing a script in CF MX 6?
> 
> I want to send out 200 emails, wait 60 seconds before executing another
> cfmail batch of 200. I have got the following code after the cfmail tag
> both of which are nested in an index loop which has a value from 1 to 12.
> 
> 
> 
> 
> 
>  
>   
>   
>  
> 

You can do this, but it's not very efficient (since you're keeping that
thread active and consuming resources for the whole of the sleep time rather
than allowing it to go and get other work done).

Instead you might consider setting up a task to do this - you can set the
tasks programmatically so something like this like this can happen:

Launch the process (either through a separate scheduled task or manually).
Create (programmatically using ) a task that runs every minute
which calls a mail sender page.

The mail sender page:

1) Checks the working flag (described below) to see if it's free to run.  If
so it checks to see if there's any mail to send; if not it exits
immediately.

2) If there's mail to send it sets a "working" flag to true someplace (in a
database, in the application scope, etc) and sends 200 messages then sets
the working flag to "false".

If there's no more mail to send it deletes the scheduled task.

In the case of any errors I would log the problem and set the working flag
to "false".

You can improve things of course but this prevents multiple threads from
sending mail at the same time, implements your delay and only uses resources
when running.

Furthermore since each batch of 200 is running in a separate process one
iteration can bomb for some reason and the others will still run meaning
that most of your mail will get out regardless.

I've used this kind of setup very successfully for delayed log-file batch
processing.

Jim Davis





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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202523
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 and SharePoint Experience

2005-04-12 Thread James Holmes
Yes, that was my point. The native .NET integration may make Sharepoint more
accessible in a development sense.

-Original Message-
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 April 2005 11:10 PM
To: CF-Talk
Subject: RE: ColdFusion and SharePoint Experience

I think James meant that BD may be helpful in bringing the two together,
seeing as how BD.NET allows that .NET integration type stuff that Vince has
been going over lately. 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202522
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: Transferring cfadmin settings between servers

2005-04-12 Thread Steven Brownlee
They're stored in XML files, but all you need to do is go into your admin
screen and make a CAR (under Packaging & Deployment section) file.  You can
specify any/all settings to backup.  Then simply restore that CAR file to
any other server. 

-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 11:21 PM
To: CF-Talk
Subject: Re: Transferring cfadmin settings between servers

CFMX 7

On 4/13/05, Steven Brownlee <[EMAIL PROTECTED]> wrote:
> What version are you running?
> 
> -Original Message-
> From: Duncan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 12, 2005 9:13 PM
> To: CF-Talk
> Subject: Transferring cfadmin settings between servers
> 
> Morning all,
> Can anyone tell me how I can transfer scheduled tasks from one server 
> to another? Does CF store them in a db or an XML file? I am lazy and 
> dont want to type them in again!
> Thanks
> 
> --
> Duncan I Loxton
> www.sixfive.co.uk
> [EMAIL PROTECTED]
> 
> 



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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202521
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: Transferring cfadmin settings between servers

2005-04-12 Thread Duncan
CFMX 7

On 4/13/05, Steven Brownlee <[EMAIL PROTECTED]> wrote:
> What version are you running?
> 
> -Original Message-
> From: Duncan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 12, 2005 9:13 PM
> To: CF-Talk
> Subject: Transferring cfadmin settings between servers
> 
> Morning all,
> Can anyone tell me how I can transfer scheduled tasks from one server to
> another? Does CF store them in a db or an XML file? I am lazy and dont want
> to type them in again!
> Thanks
> 
> --
> Duncan I Loxton
> www.sixfive.co.uk
> [EMAIL PROTECTED]
> 
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202520
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: pausing a script

2005-04-12 Thread Taco Fleur

Thread = createObject( "java", "java.lang.Thread" );
Thread.sleep( javaCast( "long", 1000*60 ));
 


-- 
Taco Fleur
Senior Web Systems Engineer
http://www.webassociates.com


-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 13 April 2005 1:04 PM
To: CF-Talk
Subject: pausing a script

Is there a way of pausing a script in CF MX 6? 

I want to send out 200 emails, wait 60 seconds before executing another
cfmail batch of 200. I have got the following code after the cfmail tag both
of which are nested in an index loop which has a value from 1 to 12.





 
  
  
 


But the server hangs and has crashed once. Is there an elegant and efficient
way to do this?




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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202519
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


pausing a script

2005-04-12 Thread sp
Is there a way of pausing a script in CF MX 6? 

I want to send out 200 emails, wait 60 seconds before executing another cfmail 
batch of 200. I have got the following code after the cfmail tag both of which 
are nested in an index loop which has a value from 1 to 12.





 
  
  
 


But the server hangs and has crashed once. Is there an elegant and efficient 
way to do this?


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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202518
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: Transferring cfadmin settings between servers

2005-04-12 Thread Steven Brownlee
What version are you running? 

-Original Message-
From: Duncan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 9:13 PM
To: CF-Talk
Subject: Transferring cfadmin settings between servers

Morning all,
Can anyone tell me how I can transfer scheduled tasks from one server to
another? Does CF store them in a db or an XML file? I am lazy and dont want
to type them in again!
Thanks

--
Duncan I Loxton
www.sixfive.co.uk
[EMAIL PROTECTED]


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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202517
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: Regex help

2005-04-12 Thread Taco Fleur
This one is probably better

http://www.mydomain.com/missingdirectory/dfgfdgf/index.cfm";
/>




 


-- 
Taco Fleur
Senior Web Systems Engineer
http://www.webassociates.com


-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 13 April 2005 11:01 AM
To: CF-Talk
Subject: Regex help

(CF5 on IIS, Win2k Server)

I have a CF template set up as the IIS 404 error handler on a web site. 
When IIS detects a 404 error it calls the CF page and passes the original
request within the CGI variable cgi.query_string in the following form:

404;http://www.mydomain.com/missingpage.htm

or if the request was for a directory it might look like:

404;http://www.mydomain.com/missingdirectory/

In my template I need to extract what would have been the original
cgi.path_info:

/missingpage.htm

or

/missingdirectory/

What might a CF function look like using regexes to extract the trailing
part of the URL?  There will be many different host (domain) names pointed
at the site, so I can't match the domain name.  The function would be called
by passing cgi.query_string:



The function below is start, but it matches the entire string rather than
"extracting" just the end part.

function getPathInfo(qs) {
  var re = '404;http://[^/]+/*';
  var stuff = REFindNoCase(re, qs, 1, 'yes');
  if (stuff.pos[1]) {
return Mid(qs, stuff.pos[1], stuff.len[1]);
  } else {
return '';
  }
}





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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202516
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: Regex help

2005-04-12 Thread Taco Fleur
Definitely not perfect, but it does the trick

http://www.mydomain.com/missingdirectory/dfgfdgf/index.cfm";
/>




 


-- 
Taco Fleur
Senior Web Systems Engineer
http://www.webassociates.com


-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 13 April 2005 11:01 AM
To: CF-Talk
Subject: Regex help

(CF5 on IIS, Win2k Server)

I have a CF template set up as the IIS 404 error handler on a web site. 
When IIS detects a 404 error it calls the CF page and passes the original
request within the CGI variable cgi.query_string in the following form:

404;http://www.mydomain.com/missingpage.htm

or if the request was for a directory it might look like:

404;http://www.mydomain.com/missingdirectory/

In my template I need to extract what would have been the original
cgi.path_info:

/missingpage.htm

or

/missingdirectory/

What might a CF function look like using regexes to extract the trailing
part of the URL?  There will be many different host (domain) names pointed
at the site, so I can't match the domain name.  The function would be called
by passing cgi.query_string:



The function below is start, but it matches the entire string rather than
"extracting" just the end part.

function getPathInfo(qs) {
  var re = '404;http://[^/]+/*';
  var stuff = REFindNoCase(re, qs, 1, 'yes');
  if (stuff.pos[1]) {
return Mid(qs, stuff.pos[1], stuff.len[1]);
  } else {
return '';
  }
}





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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202515
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


Transferring cfadmin settings between servers

2005-04-12 Thread Duncan
Morning all,
Can anyone tell me how I can transfer scheduled tasks from one server
to another? Does CF store them in a db or an XML file? I am lazy and
dont want to type them in again!
Thanks

-- 
Duncan I Loxton
www.sixfive.co.uk
[EMAIL PROTECTED]

"I can only please one person per day. Today is not looking good. 
Tomorrow  isn't looking much better." Dilbert

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202513
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: cfx image?

2005-04-12 Thread Stan Winchester
What tag do you use now? We are building what we hope to be a high traffic 
family photo album site and need to be able to resize, and add text to the 
images.

>I've had problems with this tag under load, though admittedly it was a 
>while ago.
>
>-nathan strutz
>
>Stan Winchester wrote:
>>

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202512
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 Bug in GetCurrentTemplatePath()?

2005-04-12 Thread S . Isaac Dealey
> -Yes, my reading of the docs agree that if you call
> -getCurrentTemplatePath() inside Application.cfm, it
> should return the
> -path of that Application.cfm file.

> Okay, S. Isaac seems to suggest that it misbehaves when:
> An external template calls a -defined UDF that,
> in turn, calls getCurrentTemplatePath(). It turns out that
> the caller of the *UDF* has *its* path reported. He notes
> that it doesn't behave this way when the UDF is defined in
> .

> I guess I'll send in a bug report, and make a note in the
> livedocs (of 6.1, and CFMX7 too, if it's confirmed that it
> still happens there).

> Thanks for both of your replies,
> Jamie

Well as far as I'm aware it's been this way since the release of
ColdFusion MX and I'd be surprised if they changed it in 7 -- I think
it was actually intentional... the reason being that if you were to
use  or  inside of a function created with the
 tag, the relative path to the included template or module
must be relative to the template containing the  tag. I
personally still think getCurrentTemplatePath() should return the path
to the currently executing template (instead of the function
template), but I suspect relative paths for cfinclude / cfmodule have
something to do with why it produces that result.

At this point there's a fair amount of code in use which observes the
difference, so "fixing" it would require many of us to modify our
existing code to check the version of CF to determine behavior. I
would be okay with that (although I might not like it), though some
people might be miffed.

Actually I take that back -- if by "fixing" you mean making it always
return the path to the template in which the function is declared (not
called), then I'd be pretty royally upset over it -- because I can't
think of another way to generate that information (which is vitally
important to my code) if the behavior were changed in that direction.


s. isaac dealey 954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com


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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202511
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


Regex help

2005-04-12 Thread Jim McAtee
(CF5 on IIS, Win2k Server)

I have a CF template set up as the IIS 404 error handler on a web site. 
When IIS detects a 404 error it calls the CF page and passes the original 
request within the CGI variable cgi.query_string in the following form:

404;http://www.mydomain.com/missingpage.htm

or if the request was for a directory it might look like:

404;http://www.mydomain.com/missingdirectory/

In my template I need to extract what would have been the original 
cgi.path_info:

/missingpage.htm

or

/missingdirectory/

What might a CF function look like using regexes to extract the trailing 
part of the URL?  There will be many different host (domain) names pointed 
at the site, so I can't match the domain name.  The function would be 
called by passing cgi.query_string:



The function below is start, but it matches the entire string rather than 
"extracting" just the end part.

function getPathInfo(qs) {
  var re = '404;http://[^/]+/*';
  var stuff = REFindNoCase(re, qs, 1, 'yes');
  if (stuff.pos[1]) {
return Mid(qs, stuff.pos[1], stuff.len[1]);
  } else {
return '';
  }
}



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202510
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: Adding/removing/modifying checkboxes/dropdown boxes dynamically in CF??

2005-04-12 Thread S . Isaac Dealey
> Thank you so much.
> I got it working.

> Daniel

You're very welcome, congratulations. :)

s. isaac dealey 954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com


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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202509
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: cfx image?

2005-04-12 Thread Nathan Strutz
I've had problems with this tag under load, though admittedly it was a 
while ago.

-nathan strutz

Stan Winchester wrote:
> I've used the freeware CFX_Image as found on http://vwww.gafware.com:81/ and 
> have really liked it. It only works on Windows servers though. His site is 
> slow and a pain to get around, but I really like the tag. If you search for 
> cfx image in his search form, you should be able to download the tag.
> 
> 
>>Hi,
>>I've fiddled with some image manipulation tags and found some of them
>>to make jagged images on resize. Anybody know how good cfx image is at
>>resizing?
>>
>>I previously used imagemagic which seems very good but the docs say it
>>doesnt work with mx because of issues with cfexecute. Anybody knows if
>>this is ok now?
>>
>>Thanks!
>>
>>-- 
>>DRE
>>http://www.webmachineinc.com
>>http://www.theanticool.com
> 
> 
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202508
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: cfx image?

2005-04-12 Thread Nathan Strutz
None that I should really share :)

but basically, it's simple:


c:\> convert myimage.bmp -geometery "100x100+0+0>" myimage.jpg

This will convert a bmp to a jpeg, maximum width and height of 100px, 
while keeping the aspect ratio.

Then you can add in extra arguments before the .jpg, like jpeg quality:

-quality 50

Also, your JPEGs won't compress well unless you take out extra color 
profiles, using:

+profile *

Which doesn't work on linux (last i tried), you'll have to specify all 
the extra color profiles you don't want, like iptc and some others I 
can't remember.

Your output file should be the last argument.

All of this information is pretty easily available at imagemagick.com

-nathan strutz




DRE wrote:
> Got any code samples?  mountaingoat ampersand gmail.com. Either way,
> thanks for the info.
> 
> On 4/12/05, Nathan Strutz <[EMAIL PROTECTED]> wrote:
> 
>>I'm on cfmx 6.1. If there were issues with cfmx & cfexecute, it was
>>probably cfmx 6.0, before updater 3 (aka, a very long time ago).
>>
>>Alagad had an imagemagick custom tag, it was never very good. It is 99%
>>easier and more efficient to run cfexecute directly instead of going
>>through their tags.
>>
>>The docs on the imagemagick site are easy to follow (but sparse in
>>examples). Most commands are the same as you'd find in photoshop, but
>>processing is a fair amount faster.
>>
>>
>>DRE wrote:
>>
>>>Nathan,
>>>the alagad site says imagemagic isnt so good with cfmx.  Are you on cfmx?
>>>
>>>Brian,
>>>Thanks, that works nicely and I can easily modify it to suite my
>>>needs.  Question, have you every used the java stuff to write text
>>>into an image?
>>>
>>>Scott,
>>>195$!  Gasp!  I'm competing with php.
>>>
>>>Thanks for all the great responses. I wont waste my time with cfx image.
>>>DRE
>>>
>>>
>>>On Apr 12, 2005 2:19 PM, Nathan Strutz <[EMAIL PROTECTED]> wrote:
>>>
>>>
Imagemagick works great, I recommend it. CFExecute doesn't have any
problems that I know about, it works like a dream.

Also alagad & tmt image cfcs are great, also recommended & works
natively, which is cool for coding.

Imagemagick has the bonus ability to read nearly any image type ever
conceived and turn it into any other one. It's great.

-nathan strutz
http://www.dopefly.com/


DRE wrote:


>Hi,
>I've fiddled with some image manipulation tags and found some of them
>to make jagged images on resize. Anybody know how good cfx image is at
>resizing?
>
>I previously used imagemagic which seems very good but the docs say it
>doesnt work with mx because of issues with cfexecute. Anybody knows if
>this is ok now?
>
>Thanks!
>


>>>
>>
> 
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202507
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: xml breadcrumbs

2005-04-12 Thread Barney Boisvert
Try this



You'll want to change your XML so that it's recursive (use 'item'
instead of 'subitem'), and probably want to switch 'label' to 'id'
since they'll need to be unique so you can do your lookups.

This solution has nothing to do with CF7's XML functions, and
everything to do with the XPath language.  That's why the docs don't
give good examples, they're showing how to use the CFML
implementation, not trying to teach you XPath.  If you're going to be
doing much with XML, you're going to need to pick up a good XPath
tutorial/reference.  Once you've got the basics, the w3c spec is the
definitive reference, but it's thin on examples and techniques.

cheers,
barneyb

On 4/12/05, Paul <[EMAIL PROTECTED]> wrote:
> I'm using a simple xml file for our intranet navigation (CFMX 7). I would
> now like to add breadcrumb navigation (Home > Tools > Tool 1) to each screen
> by reading the same XML file, and I've never really used XML much.  I'm
> assuming I can use the current path from the browser, find the node that
> matches it, and then search upwards to determine the parent links that lead
> back to default screen.  But I don't know how to put that plan into action.
> 
> I've seen many examples in the archives about using a db structure to do
> this, but I'd like to stick w/ xml, if for no other reason than to learn it
> better.
> 
> I've read the MM docs discussing the new xml functions, but the examples are
> only one level deep and I'm slow on the uptake, apparently.  An abbreviated
> version of my xml file follows, hopefully this will be a no-brainer for some
> of you?
> 
> 
> 
> 
> 
> 
> 
>  role="user">
> 
>  alt="tool 1" role="user" />
> 
>  alt="tool 2" role="user" />
> 
>  alt="tool 3" role="admin" />
> 
> 
> 
>  alt="" role="user" />
> 
>  role="admin" />
> 
> 

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

Got Gmail? I have 50 invites.

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202506
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: Adding/removing/modifying checkboxes/dropdown boxes dynamically in CF??

2005-04-12 Thread Daniel Kang
Thank you so much.
I got it working.

Daniel

On 4/12/05, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> Oops! Sorry -- typo... that should be value="..." instead of
> name="..."
> 
> > 
> > 
> >  
> >  
> >insert into tFormCategory
> >  (formid,categoryid,altcategoryname)
> >values ('#session.formid#','#x#',  >name="#altcatname#"
> > null="#yesnoformat(not altcatmodified)#">)
> >
> > 
> 
> > This reurns errors below:
> 
> >  Attribute validation error for tag CFQUERYPARAM.
> > The tag does not allow the attribute(s) NAME. The valid
> > attribute(s)
> > are CFSQLTYPE,LIST,MAXLENGTH,NULL,SCALE,SEPARATOR,VALUE.
> 
> > The Error Occurred in
> > D:\Inetpub\wwwroot\PhysiciansOrdersForm\TestDynamicInsertI
> > nsert.cfm:
> > line 12
> 
> > 10 :insert into tFormCategory
> > 11 :  (formid,categoryid,altcategoryname)
> > 12 :values ('#session.formid#','#x#',  > name="#altcatname#" null="#yesnoformat(not
> > altcatmodified)#">)
> > 13 :
> > 14 : 
> 
> > Am I missing something?
> 
> > tia
> 
> s. isaac dealey 954.522.6080
> new epoch : isn't it time for a change?
> 
> add features without fixtures with
> the onTap open source framework
> 
> http://macromedia.breezecentral.com/p49777853/
> http://www.sys-con.com/author/?id=4806
> http://www.fusiontap.com
> 
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202505
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: cfx image?

2005-04-12 Thread Stan Winchester
I've used the freeware CFX_Image as found on http://vwww.gafware.com:81/ and 
have really liked it. It only works on Windows servers though. His site is slow 
and a pain to get around, but I really like the tag. If you search for cfx 
image in his search form, you should be able to download the tag.

>Hi,
>I've fiddled with some image manipulation tags and found some of them
>to make jagged images on resize. Anybody know how good cfx image is at
>resizing?
>
>I previously used imagemagic which seems very good but the docs say it
>doesnt work with mx because of issues with cfexecute. Anybody knows if
>this is ok now?
>
>Thanks!
>
>-- 
>DRE
>http://www.webmachineinc.com
>http://www.theanticool.com

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202504
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: cfx image?

2005-04-12 Thread DRE
Got any code samples?  mountaingoat ampersand gmail.com. Either way,
thanks for the info.

On 4/12/05, Nathan Strutz <[EMAIL PROTECTED]> wrote:
> I'm on cfmx 6.1. If there were issues with cfmx & cfexecute, it was
> probably cfmx 6.0, before updater 3 (aka, a very long time ago).
> 
> Alagad had an imagemagick custom tag, it was never very good. It is 99%
> easier and more efficient to run cfexecute directly instead of going
> through their tags.
> 
> The docs on the imagemagick site are easy to follow (but sparse in
> examples). Most commands are the same as you'd find in photoshop, but
> processing is a fair amount faster.
> 
> 
> DRE wrote:
> > Nathan,
> > the alagad site says imagemagic isnt so good with cfmx.  Are you on cfmx?
> >
> > Brian,
> > Thanks, that works nicely and I can easily modify it to suite my
> > needs.  Question, have you every used the java stuff to write text
> > into an image?
> >
> > Scott,
> > 195$!  Gasp!  I'm competing with php.
> >
> > Thanks for all the great responses. I wont waste my time with cfx image.
> > DRE
> >
> >
> > On Apr 12, 2005 2:19 PM, Nathan Strutz <[EMAIL PROTECTED]> wrote:
> >
> >>Imagemagick works great, I recommend it. CFExecute doesn't have any
> >>problems that I know about, it works like a dream.
> >>
> >>Also alagad & tmt image cfcs are great, also recommended & works
> >>natively, which is cool for coding.
> >>
> >>Imagemagick has the bonus ability to read nearly any image type ever
> >>conceived and turn it into any other one. It's great.
> >>
> >>-nathan strutz
> >>http://www.dopefly.com/
> >>
> >>
> >>DRE wrote:
> >>
> >>>Hi,
> >>>I've fiddled with some image manipulation tags and found some of them
> >>>to make jagged images on resize. Anybody know how good cfx image is at
> >>>resizing?
> >>>
> >>>I previously used imagemagic which seems very good but the docs say it
> >>>doesnt work with mx because of issues with cfexecute. Anybody knows if
> >>>this is ok now?
> >>>
> >>>Thanks!
> >>>
> >>
> >>
> >
> >
> 
> 

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202503
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: cfx image?

2005-04-12 Thread Nathan Strutz
I'm on cfmx 6.1. If there were issues with cfmx & cfexecute, it was 
probably cfmx 6.0, before updater 3 (aka, a very long time ago).

Alagad had an imagemagick custom tag, it was never very good. It is 99% 
easier and more efficient to run cfexecute directly instead of going 
through their tags.

The docs on the imagemagick site are easy to follow (but sparse in 
examples). Most commands are the same as you'd find in photoshop, but 
processing is a fair amount faster.





DRE wrote:
> Nathan, 
> the alagad site says imagemagic isnt so good with cfmx.  Are you on cfmx?
> 
> Brian,
> Thanks, that works nicely and I can easily modify it to suite my
> needs.  Question, have you every used the java stuff to write text
> into an image?
> 
> Scott, 
> 195$!  Gasp!  I'm competing with php.  
> 
> Thanks for all the great responses. I wont waste my time with cfx image.
> DRE
> 
> 
> On Apr 12, 2005 2:19 PM, Nathan Strutz <[EMAIL PROTECTED]> wrote:
> 
>>Imagemagick works great, I recommend it. CFExecute doesn't have any
>>problems that I know about, it works like a dream.
>>
>>Also alagad & tmt image cfcs are great, also recommended & works
>>natively, which is cool for coding.
>>
>>Imagemagick has the bonus ability to read nearly any image type ever
>>conceived and turn it into any other one. It's great.
>>
>>-nathan strutz
>>http://www.dopefly.com/
>>
>>
>>DRE wrote:
>>
>>>Hi,
>>>I've fiddled with some image manipulation tags and found some of them
>>>to make jagged images on resize. Anybody know how good cfx image is at
>>>resizing?
>>>
>>>I previously used imagemagic which seems very good but the docs say it
>>>doesnt work with mx because of issues with cfexecute. Anybody knows if
>>>this is ok now?
>>>
>>>Thanks!
>>>
>>
>>
> 
> 

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202502
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


xml breadcrumbs

2005-04-12 Thread Paul
I'm using a simple xml file for our intranet navigation (CFMX 7). I would
now like to add breadcrumb navigation (Home > Tools > Tool 1) to each screen
by reading the same XML file, and I've never really used XML much.  I'm
assuming I can use the current path from the browser, find the node that
matches it, and then search upwards to determine the parent links that lead
back to default screen.  But I don't know how to put that plan into action.


 

I've seen many examples in the archives about using a db structure to do
this, but I'd like to stick w/ xml, if for no other reason than to learn it
better.

 

I've read the MM docs discussing the new xml functions, but the examples are
only one level deep and I'm slow on the uptake, apparently.  An abbreviated
version of my xml file follows, hopefully this will be a no-brainer for some
of you?

 



 























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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202501
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: cfx image?

2005-04-12 Thread DRE
Nathan, 
the alagad site says imagemagic isnt so good with cfmx.  Are you on cfmx?

Brian,
Thanks, that works nicely and I can easily modify it to suite my
needs.  Question, have you every used the java stuff to write text
into an image?

Scott, 
195$!  Gasp!  I'm competing with php.  

Thanks for all the great responses. I wont waste my time with cfx image.
DRE


On Apr 12, 2005 2:19 PM, Nathan Strutz <[EMAIL PROTECTED]> wrote:
> Imagemagick works great, I recommend it. CFExecute doesn't have any
> problems that I know about, it works like a dream.
> 
> Also alagad & tmt image cfcs are great, also recommended & works
> natively, which is cool for coding.
> 
> Imagemagick has the bonus ability to read nearly any image type ever
> conceived and turn it into any other one. It's great.
> 
> -nathan strutz
> http://www.dopefly.com/
> 
> 
> DRE wrote:
> > Hi,
> > I've fiddled with some image manipulation tags and found some of them
> > to make jagged images on resize. Anybody know how good cfx image is at
> > resizing?
> >
> > I previously used imagemagic which seems very good but the docs say it
> > doesnt work with mx because of issues with cfexecute. Anybody knows if
> > this is ok now?
> >
> > Thanks!
> >
> 
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202500
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: Decimal Formatting

2005-04-12 Thread B G
Beautiful!  That did the trick!  Thank you.

>From: Barney Boisvert <[EMAIL PROTECTED]>
>Reply-To: cf-talk@houseoffusion.com
>To: CF-Talk 
>Subject: Re: Decimal Formatting
>Date: Tue, 12 Apr 2005 14:45:33 -0700
>
>NUMBER columns are actually stored as strings, so you'll always get
>exactly 2 decimal places.  Try this:
>
>
>   #int(myNum)#
>
>   #REreplace(myNum, "0+$", "")#
>
>
>cheers,
>barneyb
>
>On Apr 12, 2005 2:38 PM, B G <[EMAIL PROTECTED]> wrote:
> > There's a simple solution here that is eluding me so please forgive my 
>"end
> > of day cloud" that is obstructing me.
> >
> > I am trying to format a value that is stored in Oracle NUMBER(5,2) 
>datatype
> > so that if it is a whole number it won't display x.00.
> >
> > For example, value 25.75 is fine and displays properly, value 18, should 
>NOT
> > display 18.00.  Likewise, 10.5 should NOT be 10.50.  But this is the
> > behaviour I am getting.
> >
> > What are you thoughts?
>
>--
>Barney Boisvert
>[EMAIL PROTECTED]
>360.319.6145
>http://www.barneyb.com/
>
>Got Gmail? I have 50 invites.
>
>

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202499
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: CFCs and CFMX

2005-04-12 Thread Sean Corfield
On Apr 12, 2005 12:40 PM, George Abraham <[EMAIL PROTECTED]> wrote:
> came out. I had only dabbled in CFCs till now. Now I am hearing that
> the book may be outdated with regard to the way CFCs in CFMX 7 handle

The big change was between CFMX (6.0 - which Hal's book was written
for) and CFMX 6.1. In CFMX (6.0), there was only the public 'this'
scope and no reliable local variables. In CFMX 6.1, you had the public
'this' scope, the private 'variables' scope (well, actually it's more
like Java's protected) and the local 'var' declarations.

Some best practices are listed here:

http://livedocs.macromedia.com/wtg/public/

The Mach II Development Guide has some general OO best practices - not
all of it is Mach II specific - and there are all sorts of best
practices listed in the CFMX Coding Guidelines (version 3.2 will be
published very soon with some small tweaks that relate to CFMX 7).
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202498
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: CFCs and CFMX

2005-04-12 Thread Andrew Tyrone
> -Original Message-
> From: George Abraham [mailto:[EMAIL PROTECTED] 
> 
> All,
> So we are finally transitioning from CF 5.0 to CFMX 7 at a 
> point in the near future. I had Hal Helms book on CFCs in 
> CFMX when it first came out. I had only dabbled in CFCs till 
> now. Now I am hearing that the book may be outdated with 
> regard to the way CFCs in CFMX 7 handle the scoping of 
> variables, etc. Is this true? If so, where is a good resource 
> for learning more about CFCs, especially in the CFMX 7 
> environment? The Macromedia site appears to ignore this or 
> else I can't find any information.

I might be insane or I missed some responses, but I didn't see anyone give
you any links to information on CFCs.  There are several links off the
ColdFusion Developer Center page on macromedia.com:

http://www.macromedia.com/devnet/mx/coldfusion/

There is an introductory article written by Ben Forta called "Ben Forta on
Architecture: Intro to ColdFusion Components" that you might start with.

Also, the ColdFusion MX Bible, written by Adam Churvis, has a lot of
information on CFCs in CFMX 6.1, which should be applicable to most
applications of CFMX 7.

Andy



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202497
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: Decimal Formatting

2005-04-12 Thread Barney Boisvert
NUMBER columns are actually stored as strings, so you'll always get
exactly 2 decimal places.  Try this:


  #int(myNum)#

  #REreplace(myNum, "0+$", "")#


cheers,
barneyb

On Apr 12, 2005 2:38 PM, B G <[EMAIL PROTECTED]> wrote:
> There's a simple solution here that is eluding me so please forgive my "end
> of day cloud" that is obstructing me.
> 
> I am trying to format a value that is stored in Oracle NUMBER(5,2) datatype
> so that if it is a whole number it won't display x.00.
> 
> For example, value 25.75 is fine and displays properly, value 18, should NOT
> display 18.00.  Likewise, 10.5 should NOT be 10.50.  But this is the
> behaviour I am getting.
> 
> What are you thoughts?

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

Got Gmail? I have 50 invites.

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202496
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: Event Gateway's and runaway threads...

2005-04-12 Thread dcooper
Not quite right:

The Async CFML Gateway looks for optional CFEvent structure field "timeout", 
and if it exists, sets the time-out, in seconds, during which the listener CFC 
must process the event request and return before ColdFusion gateway services 
terminates the request. 

The default value is the Timeout Request value set on the Server Settings page 
in the ColdFusion MX Administrator. 

Set this value if a request might validly take longer to process than the 
default timeout; for example, if the request involves a very long processing 
time.
 
>Welcome to the world of asynchronous processing... Your asynchronous
>code needs to be pretty robust and report errors verbosely (using
> perhaps).
>
>> couldnt it run FOREVER?
>
>Until you shutdown the process (JRun/CFMX), yes.
>-- 
>Sean A Corfield -- http://corfield.org/
>Team Fusebox -- http://fusebox.org/
>Got Gmail? -- I have 50, yes 50, invites to give away!
>
>"If you're not annoying somebody, you're not really alive."
>-- Margaret Atwood

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202495
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


Decimal Formatting

2005-04-12 Thread B G
There's a simple solution here that is eluding me so please forgive my "end 
of day cloud" that is obstructing me.

I am trying to format a value that is stored in Oracle NUMBER(5,2) datatype 
so that if it is a whole number it won't display x.00.

For example, value 25.75 is fine and displays properly, value 18, should NOT 
display 18.00.  Likewise, 10.5 should NOT be 10.50.  But this is the 
behaviour I am getting.

What are you thoughts?



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202494
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: JRun Clustering Behavior?

2005-04-12 Thread Brandon Harper
Thanks for the reply Simon.  It was behaving illogically when running
through various tests which is why it wasn't making much sense to me. 
For example, if I stopped one particular instance, it would not end-up
back in the cluster for quite a long time, but would eventually at
random find it's way back in, however the other instances would behave
as you said below.

I ended-up reinstalling the web server connectors and now it seems to
be behaving as one would expect it to.

Thanks,

- Brandon

On Apr 12, 2005 12:19 PM, Simon Horwith <[EMAIL PROTECTED]> wrote:
> JRun has a cluster manager service.  When a server is offline or stops
> responding to requests, it's dropped from the cluster.  If you attempt
> to access something in the session scope and the server is unable to
> access the session, it fails over to the other cluster member... but
> only if you have fail over turned on (which you should). For the most
> part, nothing much short of a crash, stop, or restart will remove an
> instance from the cluster as far as I know.  This is one of the reasons
> you balance the instances.  When it is restarted or started for the
> first time, the cluster manager adds it to the cluster for you.
> 
> ~Simon
> 



-- 
--
http://devnulled.com

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202493
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: Another WYSIWYG Editor Thread???

2005-04-12 Thread Matt Robertson
OK saw it.  In this day and age I just don't see the point of spending
money on an editor, especially a one-browser editor.  $200 is a
premium price and I didn't see anything premium about that demo.

-- 
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202492
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: Posts too long!

2005-04-12 Thread Rick Faircloth
I think everyone would be amazed at how much people learn
from CF-Talk...not only those who participate, but those who
just read the posts.  I know that if a topic that I think will be
of interest to me in the future comes up, I'll wait until the
resolution comes about, then save the who conversation as
PDF's named for the topic under discussion for future reference.

Many people out there are learning much, just by reading the posts.
I'll tell you, as someone who came to CF with just a short course
as an introduction, that this list has been invaluable to me.
Can you imagine what it would cost to hire consultants with the
degree of knowledge people on this list possess!!!

I thank God for this list everyday!

Rick



> -Original Message-
> From: S.Isaac Dealey [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 12, 2005 1:57 PM
> To: CF-Talk
> Subject: RE: Posts too long!
> 
> 
> >> Heh... thanks for the vote of confidence.
> 
> > Just kidding of course...I learn more from your posts than
> > just about anyone's!  :o)
> 
> Yea, I know ... I just forgot the  tags. :)
> 
> Thanks for the compliment sincerely tho -- you know, you want to help
> people out, but it's often hard to know really how much your efforts
> actually help people -- if you've been able to explain things in a way
> that's transparent, etc. It's nice to hear once in a while that it's
> working. :)
> 
> 
> 
> s. isaac dealey   954.522.6080
> new epoch : isn't it time for a change?
> 
> add features without fixtures with
> the onTap open source framework
> 
> http://macromedia.breezecentral.com/p49777853/
> http://www.sys-con.com/author/?id=4806
> http://www.fusiontap.com
> 
> 
> 
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202491
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: cfx image?

2005-04-12 Thread Nathan Strutz
Imagemagick works great, I recommend it. CFExecute doesn't have any 
problems that I know about, it works like a dream.

Also alagad & tmt image cfcs are great, also recommended & works 
natively, which is cool for coding.

Imagemagick has the bonus ability to read nearly any image type ever 
conceived and turn it into any other one. It's great.

-nathan strutz
http://www.dopefly.com/



DRE wrote:
> Hi,
> I've fiddled with some image manipulation tags and found some of them
> to make jagged images on resize. Anybody know how good cfx image is at
> resizing?
> 
> I previously used imagemagic which seems very good but the docs say it
> doesnt work with mx because of issues with cfexecute. Anybody knows if
> this is ok now?
> 
> Thanks!
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202490
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: Documentation Bug in GetCurrentTemplatePath()?

2005-04-12 Thread jacksonj
-Yes, my reading of the docs agree that if you call
-getCurrentTemplatePath() inside Application.cfm, it should return the
-path of that Application.cfm file.

Okay, S. Isaac seems to suggest that it misbehaves when: An external template 
calls a -defined UDF that, in turn, calls getCurrentTemplatePath(). 
It turns out that the caller of the *UDF* has *its* path reported. He notes 
that it doesn't behave this way when the UDF is defined in .

I guess I'll send in a bug report, and make a note in the livedocs (of 6.1, and 
CFMX7 too, if it's confirmed that it still happens there).

Thanks for both of your replies,
Jamie

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202489
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 Bug in GetCurrentTemplatePath()?

2005-04-12 Thread jacksonj
[my last post had some stuff stripped out of it (by the HoF posting mechanism?) 
trying again]

-The value of GetBaseTemplatePath() should exhibit the behavior you're
-saying you're getting from GetCurrentTemplatePath() when called from
-within Application.cfm...

Yes, and the "base template" is the one that you see in the URL, correct?

-However... getCurrentTemplatePath() will provide varried behavior when
-it is called within a function -- when called within a function
-created using  it returns the path to the template
-containing the cffunction tag. When called within a function created
-using  it returns the template in which the function is
-called. Personally I think this is insane, but that's the way it is --
-I suspect it's intended for CFC's. 
-You aren't by any chance creating a function which called
-getCurrentTemplatePath() and then calling that function? Maybe in a
-CFC?

Well, I'm quite glad that you knew this quirk, and replied to my message! The 
function containing the call to getCurrentTemplatePath() is indeed in cfscript 
(in my Application.cfm), and that function is indeed being called externally 
(sometimes). I guess that's why it was reporting the *indirect* caller of 
getCurrentTemplatePath(). I have to agree that this is insane, if it's not a 
bug. Does this quirk still exist in CFMX7? (I'm still on 6.1.)

However, you're saying if I use  for the function that calls 
getCurrentTemplatePath(), then it'll behave as desired? That's a pretty good 
workaround until getCurrentTemplatePath() starts to work properly in all 
contexts.

-No, expandPath() isn't, has never been and will never be a reliable
-means of determining the absolute path to any file Application.cfm or
-otherwise, because it expands the path from the base template -- imo
-pretty much useless.

Got it!

Thanks,
Jamie

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202488
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: CF5 and Hyperthreading

2005-04-12 Thread Gaulin, Mark
Yeah, if you are using shared-scope variables (like session, application, or 
server) without using cflock on CF5, then you have a "race condition" for bad 
things happening.  The faster the box, the more like the bad things will 
happen.  (Yes, this sucks.) Actually, hyperthreading could be compounding the 
problem because now you've really got more than one thing going on at the same 
time, so there is more chance of things stepping on each other.

I don't know about the Single Threading option, but it sounds like it could 
slow things down quite a bit. (But don't take my work for it.)

You should look for an admin setting that warns about improper (unlocked) use 
of shared scope variables... we turned it on on our dev machine (to flush out 
the places where locking wasn't being done), but left it off for our live 
machine (because it might work, and errors on a live server suck).  You just 
have to bite the bullet and add the scope locking everywhere, or upgrade to 
CFMX, where the locks are needed.

Mark

-Original Message-
From: stephen poff [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 4:30 PM
To: CF-Talk
Subject: Re: CF5 and Hyperthreading


Are you saying that if I don't do locks and go to a faster machine I will 
experience more problems and have more unstability?  Secondly, wouldn't 
selecting Single Threading in CFAdmin help alleviate this?  Thanks.
   -Stephen

> If you are not doing cflocks *everywhere* you need to on CF5 then 
> going to a faster machine will be more unstable than the same code on 
> a slow machine. I haven't seen hyperthreading cause issues with CF 
> before, for whatever that's worth.
>   Mark
> 
> -Original Message-
> From: stephen poff [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 12, 2005 4:08 PM
> To: CF-Talk
> Subject: CF5 and Hyperthreading
> 
> 
> Recently moved CF5 and IIS5 to a new windows2000 server. this new 
> server has a single 3.2GHz Xeon processor with Hyperthreading turned 
> on and 2GB of RAM. Since the move we have experienced cfserver.exe 
> unexpectedly terminating. The latest being today. Based upon event id 
> 4097 i went to www.eventid.net and found that is a memory access 
> violation occured. Could this be related to the hyperthreading? or to 
> cflocks and memory?? or both??
> 



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202488
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 Bug in GetCurrentTemplatePath()?

2005-04-12 Thread jacksonj
>The value of GetBaseTemplatePath() should exhibit the behavior you're
>saying you're getting from GetCurrentTemplatePath() when called from
>within Application.cfm...

Yes, and the "base template" is the one that you see in the URL, correct?

>However... getCurrentTemplatePath() will provide varried behavior when
>it is called within a function -- when called within a function
>created using  it returns the path to the template
>containing the cffunction tag. When called within a function created
>using  it returns the template in which the function is
>called. Personally I think this is insane, but that's the way it is --
>I suspect it's intended for CFC's. 
>You aren't by any chance creating a function which called
>getCurrentTemplatePath() and then calling that function? Maybe in a
>CFC?

Well, I'm quite glad that you knew this quirk, and replied to my message! The 
UDF containing the call to getCurrentTemplatePath() is indeed in cfscript (in 
my Application.cfm), and that UDF is indeed being called externally 
(sometimes). I guess that's why it was reporting the caller of the UDF instead 
of the caller to getCurrentTemplatePath(). I have to agree that this is insane, 
if it's not a bug. Does this quirk still exist in CFMX7? (I'm still on 6.1.)

However, you're saying if I use  for the function that calls 
getCurrentTemplatePath(), then it'll behave as desired? That's a pretty good 
workaround until getCurrentTemplatePath() starts to work properly in all 
contexts.

>No, expandPath() isn't, has never been and will never be a reliable
>means of determining the absolute path to any file Application.cfm or
>otherwise, because it expands the path from the base template -- imo
>pretty much useless.

Got it!

Thanks,
Jamie

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202486
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: Create Excel file??

2005-04-12 Thread Rob
Sure - I only have code right here that uses the jexcelapi one (the
POI is at home, but they basically work the same)

You add the jar to your cfmx classpath (google if you dont know) then
you do have access to the java libraries. For example to read an excel
file:




//get a handle to the workbook file
wfile = 
createObject("java","java.io.File").init(xlfile);

//create the workbook and load the file
workbook = createObject("java","jxl.Workbook");

//get a writeable workbook
wworkbook = 
createObject("java","jxl.write.WritableWorkbook");
wworkbook = workbook.getWorkbook(wfile);

//get the first sheet
sheet = createObject("java","jxl.write.WritableSheet"); 

sheet = wworkbook.getSheet("Sheet1");






#cfcatch.message#





Then later to get the values out




To write the sheets you do the opposite - adding styles to cells if needed.

Both products have APIs that you'll have to dig through to do what you
want, but that's the basics.

On Apr 12, 2005 12:00 PM, Neelima Kaja
<[EMAIL PROTECTED]> wrote:
> Hi,
> Could you explain a little more on how u used these?
> 
> Thanks
> 
> >I have used POI with great success - http://jakarta.apache.org/poi/ -
> >to read and write excel files. I've also used
> >http://jexcelapi.sourceforge.net/ on a couple of cf projects and it
> >worked well too. Both are pure java and allow you to create binary
> >versions xls files
> >
> >Cheers
> >
> >On Apr 4, 2005 7:57 PM, Nathan Drury <[EMAIL PROTECTED]> wrote:
> >--
> >~Blog~
> >http://www.robrohan.com
> >~The cfml plug-in for eclipse~
> >http://cfeclipse.tigris.org
> >~open source xslt IDE~
> >http://treebeard.sourceforge.net
> 
> 

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202485
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: Another WYSIWYG Editor Thread???

2005-04-12 Thread Adrocknaphobia
Hrmmm... online demo bombed out for me.

-Adam

On Apr 12, 2005 4:17 PM, Roger B. <[EMAIL PROTECTED]> wrote:
> > Maybe due to the freeness factor?
> 
> That could certainly be part of it. Then there's the fact that it's an
> ActiveX component, which is the kiss of death in the
> post-XPSP2/Firefox world. And the fact that it doesn't appear to do
> XHTML doesn't help.
> 
> On an intranet, without any web wonks to service, it could be a great
> solution. But it probably isn't going to be anyone's first suggestion
> in a general "what's a good WYSIWYG?" discussion.
> 
> --
> Roger Benningfield
> http://admin.support.journurl.com/
> 
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202484
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: CF5 and Hyperthreading

2005-04-12 Thread stephen poff
Are you saying that if I don't do locks and go to a faster machine I will 
experience more problems and have more unstability?  Secondly, wouldn't 
selecting Single Threading in CFAdmin help alleviate this?  Thanks.
   -Stephen

> If you are not doing cflocks *everywhere* you need to on CF5 then 
> going to a faster machine will be more unstable than the same code on 
> a slow machine. I haven't seen hyperthreading cause issues with CF 
> before, for whatever that's worth.
>   Mark
> 
> -Original Message-
> From: stephen poff [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 12, 2005 4:08 PM
> To: CF-Talk
> Subject: CF5 and Hyperthreading
> 
> 
> Recently moved CF5 and IIS5 to a new windows2000 server. this new 
> server has a single 3.2GHz Xeon processor with Hyperthreading turned 
> on and 2GB of RAM. Since the move we have experienced cfserver.exe 
> unexpectedly terminating. The latest being today. Based upon event id 
> 4097 i went to www.eventid.net and found that is a memory access 
> violation occured. Could this be related to the hyperthreading? or to 
> cflocks and memory?? or both??
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202483
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: CF5 and Hyperthreading

2005-04-12 Thread Gaulin, Mark
If you are not doing cflocks *everywhere* you need to on CF5 then going to a 
faster machine will be more unstable than the same code on a slow machine. I 
haven't seen hyperthreading cause issues with CF before, for whatever that's 
worth.
Mark

-Original Message-
From: stephen poff [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 4:08 PM
To: CF-Talk
Subject: CF5 and Hyperthreading


Recently moved CF5 and IIS5 to a new windows2000 server. this new server has a 
single 3.2GHz Xeon processor with Hyperthreading turned on and 2GB of RAM. 
Since the move we have experienced cfserver.exe unexpectedly terminating. The 
latest being today. Based upon event id 4097 i went to www.eventid.net and 
found that is a memory access violation occured. Could this be related to the 
hyperthreading? or to cflocks and memory?? or both??



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202482
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: Another WYSIWYG Editor Thread???

2005-04-12 Thread Roger B.
> Maybe due to the freeness factor?

That could certainly be part of it. Then there's the fact that it's an
ActiveX component, which is the kiss of death in the
post-XPSP2/Firefox world. And the fact that it doesn't appear to do
XHTML doesn't help.

On an intranet, without any web wonks to service, it could be a great
solution. But it probably isn't going to be anyone's first suggestion
in a general "what's a good WYSIWYG?" discussion.

--
Roger Benningfield
http://admin.support.journurl.com/

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202481
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: CFCs and CFMX

2005-04-12 Thread Dave Watts
> > So we are finally transitioning from CF 5.0 to CFMX 7 at a 
> > point in the near future. I had Hal Helms book on CFCs in 
> > CFMX when it first came out. I had only dabbled in CFCs till 
> > now. Now I am hearing that the book may be outdated with 
> > regard to the way CFCs in CFMX 7 handle the scoping of 
> > variables, etc. Is this true? If so, where is a good resource 
> > for learning more about CFCs, especially in the CFMX 7 
> > environment? The Macromedia site appears to ignore this or 
> > else I can't find any information.
>
> Nope, CFCs did not really change between CFMX and CFMX7.

CFCs may not have changed much between 6.1 and 7, but I think they changed
quite a bit between CFMX 6.0 and 6.1, and a lot of Hal's book is spent on
ways to do things in CFMX 6 that you simply don't need to do in CFMX 6.1. 

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

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


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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202480
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


CF5 and Hyperthreading

2005-04-12 Thread stephen poff
Recently moved CF5 and IIS5 to a new windows2000 server. this new server has a 
single 3.2GHz Xeon processor with Hyperthreading turned on and 2GB of RAM. 
Since the move we have experienced cfserver.exe unexpectedly terminating. The 
latest being today. Based upon event id 4097 i went to www.eventid.net and 
found that is a memory access violation occured. Could this be related to the 
hyperthreading? or to cflocks and memory?? or both??

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202479
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: cfx image?

2005-04-12 Thread Qasim Rasheed
I had developed an application to crop and resize images using Java
Advance Image (JAI) API and DHTML. It is available on MM developer
exchange.


On Apr 12, 2005 3:39 PM, Scott Wolf <[EMAIL PROTECTED]> wrote:
> We used to use CFX_Image and we weren't happy with it at all.  We've
> recently switched over to using ImageCR3 from Efflare..
> http://www.efflare.com and we've had no problems with it so far.
> 
> -Scott
> 
> -Original Message-
> From: DRE [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 12, 2005 3:17 PM
> To: CF-Talk
> Subject: cfx image?
> 
> Hi,
> I've fiddled with some image manipulation tags and found some of them to
> make jagged images on resize. Anybody know how good cfx image is at
> resizing?
> 
> I previously used imagemagic which seems very good but the docs say it
> doesnt work with mx because of issues with cfexecute. Anybody knows if
> this is ok now?
> 
> Thanks!
> 
> --
> DRE
> http://www.webmachineinc.com
> http://www.theanticool.com
> 
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202478
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: CFCs and CFMX

2005-04-12 Thread Anthony Prato
can you provide links to up-to-date CFC best practices documents out there

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202477
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: Another WYSIWYG Editor Thread???

2005-04-12 Thread Will Tomlinson
>where's it at?

http://www.alagad.com/index.cfm/name-wysiprodinfo


Will

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202476
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: CFCs and CFMX

2005-04-12 Thread Connie DeCinko
The only thing of significance is best practices have been refined for CFCs.



-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 12:46 PM
To: CF-Talk
Subject: RE: CFCs and CFMX

Nope, CFCs did not really change between CFMX and CFMX7.

--- Ben




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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202475
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: Last Week...

2005-04-12 Thread S . Isaac Dealey
> S. Isaac Dealey wrote:

>> Yea, I know they need to be static -- there has to be a
>> base from
>> which everything else is referenced. CF just doesn't
>> provide (iirc) a
>> native method of determining what offset calendars in the
>> current

> no it still doesn't. i guess it's time to start lobbying
> for the next
> release of mx to use icu4j. we'd get all those calendars,
> all those
> locales, all those holidays (some retired international
> banking java
> developer is donating their global holiday s/w to pump up
> the existing
> icu4j holiday info), all that correct locale info (core
> java is full of
> locale bugs, mostly minor formatting issues but there are
> some real bad
> stuff in the arabic locales). even if they didn't add in
> all that
> functionality just getting the icu4j jar delivered as part
> of the
> standard install would be a boon.

Yes, Personally I'd love to see them bundle icu4j if nothing else.
More robust locale features in native CF would be nice, although given
my current understanding of history and general intentions (keeping CF
simple - which is also debatable) I'm not sure if I'd expect it. But
at least if they bundled icu4j that wuold lend some ubiquity to better
java-based locale tools. I've contemplated creating an mx_icu4j
library as a pluggable extension to the framework to support icu4j by
replacing all the existing core-java based tools under the hood, but
haven't found or made the time to do it yet. Time always seems to be
my biggest challenge.

s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202474
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: CFCs and CFMX

2005-04-12 Thread Ben Forta
Nope, CFCs did not really change between CFMX and CFMX7.

--- Ben


-Original Message-
From: George Abraham [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 3:41 PM
To: CF-Talk
Subject: CFCs and CFMX

All,
So we are finally transitioning from CF 5.0 to CFMX 7 at a point in the near
future. I had Hal Helms book on CFCs in CFMX when it first came out. I had
only dabbled in CFCs till now. Now I am hearing that the book may be
outdated with regard to the way CFCs in CFMX 7 handle the scoping of
variables, etc. Is this true? If so, where is a good resource for learning
more about CFCs, especially in the CFMX 7 environment? The Macromedia site
appears to ignore this or else I can't find any information.

Thanks,
George



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202474
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: What's your setup for multiple developers

2005-04-12 Thread Ian Skinner
-Original Message-
From: Sean Corfield [mailto:[EMAIL PROTECTED]
The tools are good and pretty much all of them are free (which VSS is not).

Unless you use some sort of MS tool.  We got VSS bundled with the VB Studio for 
the new .NET developer.  So at least no EXTRA cost, but we do have to cooperate 
with the "enemy"; even though we may be slowly converting the new guy to the 
side of light. :-)


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"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. 



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202472
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


CFCs and CFMX

2005-04-12 Thread George Abraham
All,
So we are finally transitioning from CF 5.0 to CFMX 7 at a point in
the near future. I had Hal Helms book on CFCs in CFMX when it first
came out. I had only dabbled in CFCs till now. Now I am hearing that
the book may be outdated with regard to the way CFCs in CFMX 7 handle
the scoping of variables, etc. Is this true? If so, where is a good
resource for learning more about CFCs, especially in the CFMX 7
environment? The Macromedia site appears to ignore this or else I
can't find any information.

Thanks,
George

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202471
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: cfx image?

2005-04-12 Thread Scott Wolf
We used to use CFX_Image and we weren't happy with it at all.  We've
recently switched over to using ImageCR3 from Efflare..
http://www.efflare.com and we've had no problems with it so far.

-Scott 

-Original Message-
From: DRE [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 3:17 PM
To: CF-Talk
Subject: cfx image?

Hi,
I've fiddled with some image manipulation tags and found some of them to
make jagged images on resize. Anybody know how good cfx image is at
resizing?

I previously used imagemagic which seems very good but the docs say it
doesnt work with mx because of issues with cfexecute. Anybody knows if
this is ok now?

Thanks!

--
DRE
http://www.webmachineinc.com
http://www.theanticool.com



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202469
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: cfx image?

2005-04-12 Thread Connie DeCinko
I've found that CFX_JpegResize does the best job.
http://www.chestysoft.com/jpegresize/default.asp
 

-Original Message-
From: DRE [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 12:17 PM
To: CF-Talk
Subject: cfx image?

Hi,
I've fiddled with some image manipulation tags and found some of them
to make jagged images on resize. Anybody know how good cfx image is at
resizing?

I previously used imagemagic which seems very good but the docs say it
doesnt work with mx because of issues with cfexecute. Anybody knows if
this is ok now?

Thanks!




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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202470
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: Another WYSIWYG Editor Thread???

2005-04-12 Thread Matt Robertson
where's it at?
-- 
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202468
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: cross domain cfid

2005-04-12 Thread Dawson, Michael
The first thing that comes to mind is CFAPPLICATIONS's SETDOMAINCOOKIES
attribute.

M!ke 

-Original Message-
From: Kerry [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 12:43 PM
To: CF-Talk
Subject: cross domain cfid

Does anyone know if its possible to have CF recognise sub domains as the
same domain?

e.g. I would like to have:

abc.mysite.com
123.mysite.com

both use the same CFID (at the moment I have to pass it back and forth
in the url, a real pain)

Cheers,
Kerry

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202467
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: What's your setup for multiple developers

2005-04-12 Thread Sean Corfield
On Apr 12, 2005 11:36 AM, Marlon Moyer <[EMAIL PROTECTED]> wrote:
> do you have any suggestions for a windows only environment concerning
> version control?  I know the vb guy uses MS VSS.  How easy is that to
> integrate into DWMX?

Personally, I'd avoid VSS like the plague. There have been two many
reports of repository corruption for my tastes. And I believe it also
uses the lock-for-edit mode which can be a real pain when you have
multiple developers collaborating. However, Dreamweaver integration
for VSS is reasonably painless.

I've used and liked CVS on Windows, Unix and Mac. The tools are good
and pretty much all of them are free (which VSS is not). Many people
also swear by Subversion but I'm happy with CVS for now. Subversion is
very similar to CVS but supposedly has some useful advanced features
that CVS lacks. Like CVS, it's all free.

Dreamweaver integration with CVS (and Subversion) is non-existant
(there is an extension - Windows-only - that costs money and works
with a local CVS repository which is neither use nor ornament as far
as collaborative development is concerned!).

However, both CVS and SVN have good tools to integrate with Windows
Explorer which makes version control  pretty painless. TortoiseCVS and
TortoiseSVN are the popular ones I think (I didn't like them but, hey,
you can't please everyone).

Personally, I use CFEclipse for all my CFC development and much of my
CFM work too. It has great CVS (and Subversion) support. It has really
sucky FTP support tho' and no SFTP support. It seems there's no good
integrated solution that supports CVS/SVN and FTP/SFTP and CF! Since I
do all my testing locally, FTP/SFTP action is relatively infrequent so
I decided to use a separate FTP app with CFEclipse rather than a
separate CVS app with DW. YMMV.
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202466
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


Another WYSIWYG Editor Thread???

2005-04-12 Thread Will Tomlinson
I was just perusing and noticed Alagad's wysiwyg editor. I've never heard this 
one mentioned in any of our battles over TinyMCE and FCKEditor. Maybe due to 
the freeness factor? 

Anyone used this one? like it?

Will

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202465
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: cfx image?

2005-04-12 Thread Will Tomlinson
>Hi,
>I've fiddled with some image manipulation tags and found some of them
>to make jagged images on resize. Anybody know how good cfx image is at
>resizing?


I use cfx_image and personally I think it sucks! About as bad as my 
nodirtywords cfc! 

JPEG's are absolutely atrocious, GIF's are a little better but they still suck! 
Everyone seems to recommend  some others like this one: 
http://www.alagad.com/index.cfm/

HTH,
Will

 

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202464
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: cfx image?

2005-04-12 Thread Bryan Stevenson
If all you're doing is resizing...try my function:

  
  









   
   








  



  

  
  

  
  
  
  
  
  
  
  
  
  
  
  

  


HTH

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message - 
From: "DRE" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, April 12, 2005 12:17 PM
Subject: cfx image?


> Hi,
> I've fiddled with some image manipulation tags and found some of them
> to make jagged images on resize. Anybody know how good cfx image is at
> resizing?
>
> I previously used imagemagic which seems very good but the docs say it
> doesnt work with mx because of issues with cfexecute. Anybody knows if
> this is ok now?
>
> Thanks!
>
> -- 
> DRE
> http://www.webmachineinc.com
> http://www.theanticool.com
>
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202463
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: What's your setup for multiple developers

2005-04-12 Thread Ian Skinner
Very easy.  It took me all of 2 minutes to do, once the new "VB Guy" set up the 
VSS repository.  Check in and out is just clicking the appropriate icons and/or 
menu items.  Publishing from the source safe repository to a 
production/staging/dev server though requires the VSS client piece. You can't 
do this step from within DreamWeaver.




--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

-Original Message-
From: Marlon Moyer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 11:36 AM
To: CF-Talk
Subject: Re: What's your setup for multiple developers

do you have any suggestions for a windows only environment concerning
version control?  I know the vb guy uses MS VSS.  How easy is that to
integrate into DWMX?


On Apr 12, 2005 12:42 PM, Sean Corfield <[EMAIL PROTECTED]> wrote:
> On Apr 12, 2005 6:13 AM, Marlon Moyer <[EMAIL PROTECTED]> wrote:
> > How are other shops doing it?
>
> Central source code repository using CVS (free, good free tools as
well).
>
> Every developer has Developer Edition locally and a full version of the
site.
>
> We also have several shared dev servers for developers to test
> integration of their work (and multiple QA servers for testing).
>
> We often have multiple code branches active at any one time, to cater
> for multiple project releases.
>
> Every server and workstation is configured as close to identically as
> possible (CFMX J2EE, separate document root, Apache etc - our
> deployment environment is multiple clustered Solaris servers).
>
> We mostly shared one dev database but we have a "crash'n'burn"
> database for schema development and an additional dev database for
> code branches that require incompatible schema changes (rare, but it
> happens sometimes).
>
> We also have a bugbase - Bugzilla - which is a great way to track all
> issues, not just bugs.
>
> And we have an automated build system that we can run from the CVS
> server out to any shared dev / QA or production server. It's
> home-grown, a mixture of Ant, Perl and Unix shell scripts. We tag all
> release candidate builds so we can automatically reproduce a known,
> tested code base directly from CVS to a target server.
> --
> Sean A Corfield -- http://corfield.org/
> Team Fusebox -- http://fusebox.org/
> Got Gmail? -- I have 50, yes 50, invites to give away!
>
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
>



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202462
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


cfx image?

2005-04-12 Thread DRE
Hi,
I've fiddled with some image manipulation tags and found some of them
to make jagged images on resize. Anybody know how good cfx image is at
resizing?

I previously used imagemagic which seems very good but the docs say it
doesnt work with mx because of issues with cfexecute. Anybody knows if
this is ok now?

Thanks!

-- 
DRE
http://www.webmachineinc.com
http://www.theanticool.com

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202461
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: Create Excel file??

2005-04-12 Thread Aaron Rouse
I found this rather helpful in showing how to use it. Although somethings I 
never got to work as I expected them to.
 
http://www.d-ross.org/index.cfm?objectid=9C65ECEC-508B-E116-6F8A9F878188D7CA

 On Apr 12, 2005 2:00 PM, Neelima Kaja <[EMAIL PROTECTED]> 
wrote: 
> 
> Hi,
> Could you explain a little more on how u used these?
> 
> Thanks
> 
> >I have used POI with great success - http://jakarta.apache.org/poi/ -
> >to read and write excel files.


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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202460
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: Create Excel file??

2005-04-12 Thread Neelima Kaja
Hi,
Could you explain a little more on how u used these?

Thanks

>I have used POI with great success - http://jakarta.apache.org/poi/ -
>to read and write excel files. I've also used
>http://jexcelapi.sourceforge.net/ on a couple of cf projects and it
>worked well too. Both are pure java and allow you to create binary
>versions xls files
>
>Cheers
>
>On Apr 4, 2005 7:57 PM, Nathan Drury <[EMAIL PROTECTED]> wrote:
>-- 
>~Blog~
>http://www.robrohan.com
>~The cfml plug-in for eclipse~
>http://cfeclipse.tigris.org 
>~open source xslt IDE~
>http://treebeard.sourceforge.net

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202459
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: MAX 2005 Information Email?

2005-04-12 Thread Burns, John D
No, I won't be able to do CFUnited.  I wanted to, but our budget stuff is funky 
right now because of our company just getting bought and stuff.  Still trying 
to figure all of that out.
 
John



From: Adrocknaphobia [mailto:[EMAIL PROTECTED]
Sent: Tue 4/12/2005 1:03 PM
To: CF-Talk
Subject: Re: MAX 2005 Information Email?



John,

attending CFUnited?

-Adam


On Apr 12, 2005 11:48 AM, Burns, John D <[EMAIL PROTECTED]> wrote:
> Did anyone else get the email with the tentative information and call for 
> speakers? I didn't see a buzz on the list so I didn't know what the deal was 
> on that.  I didn't see anything in the email that said we weren't supposed to 
> discuss the information so I wasn't sure why no one had brought it up on here 
> yet.
>
> John
>
>



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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202458
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: MAX 2005 Information Email?

2005-04-12 Thread Burns, John D
Apparently so, I just skimmed through the last few days and must have missed 
any info.  I got rid of CF-Community a long time ago because most of it is just 
chatting about random crap, not in any way cf related.  I don't mind that 
stuff, but the only cf-community stuff I was really interested in was stuff 
that was in some way cf related.
 
John



From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Tue 4/12/2005 12:08 PM
To: CF-Talk
Subject: RE: MAX 2005 Information Email?



I guess you missed the three other MAX threads between CF-community and 
CF-talk. :-)


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

"C code. C code run. Run code run. Please!"
- Cynthia Dunning

.-Original Message-
.From: Burns, John D [mailto:[EMAIL PROTECTED]
.Sent: Tuesday, April 12, 2005 8:49 AM
.To: CF-Talk
.Subject: MAX 2005 Information Email?
.
.Did anyone else get the email with the tentative information and call for
.speakers? I didn't see a buzz on the list so I didn't know what the deal
.was on that.  I didn't see anything in the email that said we weren't
.supposed to discuss the information so I wasn't sure why no one had
.brought it up on here yet.
.
.John
.
.
.



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202458
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: What's your setup for multiple developers

2005-04-12 Thread Marlon Moyer
do you have any suggestions for a windows only environment concerning
version control?  I know the vb guy uses MS VSS.  How easy is that to
integrate into DWMX?


On Apr 12, 2005 12:42 PM, Sean Corfield <[EMAIL PROTECTED]> wrote:
> On Apr 12, 2005 6:13 AM, Marlon Moyer <[EMAIL PROTECTED]> wrote:
> > How are other shops doing it?
> 
> Central source code repository using CVS (free, good free tools as well).
> 
> Every developer has Developer Edition locally and a full version of the site.
> 
> We also have several shared dev servers for developers to test
> integration of their work (and multiple QA servers for testing).
> 
> We often have multiple code branches active at any one time, to cater
> for multiple project releases.
> 
> Every server and workstation is configured as close to identically as
> possible (CFMX J2EE, separate document root, Apache etc - our
> deployment environment is multiple clustered Solaris servers).
> 
> We mostly shared one dev database but we have a "crash'n'burn"
> database for schema development and an additional dev database for
> code branches that require incompatible schema changes (rare, but it
> happens sometimes).
> 
> We also have a bugbase - Bugzilla - which is a great way to track all
> issues, not just bugs.
> 
> And we have an automated build system that we can run from the CVS
> server out to any shared dev / QA or production server. It's
> home-grown, a mixture of Ant, Perl and Unix shell scripts. We tag all
> release candidate builds so we can automatically reproduce a known,
> tested code base directly from CVS to a target server.
> --
> Sean A Corfield -- http://corfield.org/
> Team Fusebox -- http://fusebox.org/
> Got Gmail? -- I have 50, yes 50, invites to give away!
> 
> "If you're not annoying somebody, you're not really alive."
> -- Margaret Atwood
> 
> 

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202456
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: What's your setup for multiple developers

2005-04-12 Thread Katz, Dov B \(IT\)
One thing I'm experimenting with at home (I'm my only developer) is a
Perforce trial (single user) system. I run the perforce server and cf
dev edition at home.  Then I wrote a CF page on my prod server to run a
Perforce client and "p4 sync [-f]" any website or file I specify.   I no
longer need to use the FTP server, since my server now pulls data from
my source control directly.

More of a theoretical experiment, and might not work in all cases, but I
thought I'd share it with you
-dov

-Original Message-
From: Sean Corfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 1:43 PM
To: CF-Talk
Subject: Re: What's your setup for multiple developers

On Apr 12, 2005 6:13 AM, Marlon Moyer <[EMAIL PROTECTED]> wrote:
> How are other shops doing it?

Central source code repository using CVS (free, good free tools as
well).

Every developer has Developer Edition locally and a full version of the
site.

We also have several shared dev servers for developers to test
integration of their work (and multiple QA servers for testing).

We often have multiple code branches active at any one time, to cater
for multiple project releases.

Every server and workstation is configured as close to identically as
possible (CFMX J2EE, separate document root, Apache etc - our deployment
environment is multiple clustered Solaris servers).

We mostly shared one dev database but we have a "crash'n'burn"
database for schema development and an additional dev database for code
branches that require incompatible schema changes (rare, but it happens
sometimes).

We also have a bugbase - Bugzilla - which is a great way to track all
issues, not just bugs.

And we have an automated build system that we can run from the CVS
server out to any shared dev / QA or production server. It's home-grown,
a mixture of Ant, Perl and Unix shell scripts. We tag all release
candidate builds so we can automatically reproduce a known, tested code
base directly from CVS to a target server.
--
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202455
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: JRun Clustering Behavior?

2005-04-12 Thread Simon Horwith
JRun has a cluster manager service.  When a server is offline or stops 
responding to requests, it's dropped from the cluster.  If you attempt 
to access something in the session scope and the server is unable to 
access the session, it fails over to the other cluster member... but 
only if you have fail over turned on (which you should). For the most 
part, nothing much short of a crash, stop, or restart will remove an 
instance from the cluster as far as I know.  This is one of the reasons 
you balance the instances.  When it is restarted or started for the 
first time, the cluster manager adds it to the cluster for you.

~Simon

Simon Horwith
CIO, AboutWeb - http://www.aboutweb.com
Editor-in-Chief, ColdFusion Developers Journal
Member of Team Macromedia
Macromedia Certified Master Instructor
Blog - http://www.horwith.com




Brandon Harper wrote:

>I've been setting-up/testing a simple JRun cluster with instances of
>ColdFusion MX 7.0 and one thing which does not seem to be documented
>well about JRun is what events signal adding/dropping instances from a
>cluster, what errors it can or can't recover from by switching to
>another instance in the cluster, etc.  If someone could pass on a link
>about this that I haven't been able to find, that would be great. 
>Otherwise I have a laundry list of questions below...
>
>Here is the setup I'm using (all are Windows 2003 servers):
>
>1 Web server connected to 1 JRun Cluster
>
>JRun Cluster contains 2 servers
>
>Each JRun Server contains 2 instances of a given application, so there
>are basically 4 instances in the cluster total.
>
>No load balancing between the web server and the JRun servers or any
>of that sort of stuff yet, it's just a basic cluster I'm setting-up
>for a product beta.
>
>
>Here are my specific questions (that is, if there isn't anywhere I can
>read about this stuff)...
>
>1.  Other than stopping an instance, what events/exceptions would
>trigger a JRun application instance to be dropped from the cluster?
>
>2.  What events does using the JRun drivers pointing to a cluster (as
>in not using a load balancer) help catch gracefully?  So far it looks
>like only when an instance has stopped. For instance I've got several
>"cannot connect to JRun" errors when I've intentionally made a server
>busy.  I haven't tried shutting down a server completely then trying
>it out yet-- does it catch that?
>
>3.  How does an instance which has been restarted or otherwise dropped
>from the cluster make it's way back into the cluster?  I've tried a
>lot of scenarios with this in particular, and can't figure it out.  It
>just seems to eventually reappear, but it takes a very long time for
>that to happen.
>
>Mostly I'm just trying to get a good feel for how well or not this
>scenario works so that I can troubleshoot potential problems with it
>in the future.  I'd greatly appreciate any advice or any useful links
>you could send my way.  I've read tons and tons of stuff about
>clustering in JRun, but nothing specifically about how JRun clustering
>behaves/reacts in different scenarios.
>
>Thanks,
>
>- Brandon
>
>
>  
>



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202454
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: Building Applications for multiple DB's

2005-04-12 Thread Rob
Check out Raymod Camdens cf blog app -
http://www.camdenfamily.com/morpheus/blog/
It has support for MySQL, Access, I think MSSQL, and I added postgres
(I don't know if that got merged though) - anyway it's an open source
example of a multi db app you can play with.

On Apr 11, 2005 1:07 PM, jonese <[EMAIL PROTECTED]> wrote:
> Anyone have any pointers or examples of CF or PHP application which have
> been constructed with the ability to work on multiple Databases? IE the
> application can easily be run on MSSQL, Access, MySQL etc and all the user
> has to do is changed a config variable or point to another DB file.
>  I'm trying to do the leg work now for a future upgrade to our CMS. Right
> now it runs on MSSQL, but we want to make it so users can easily install it
> into mysql, etc.
>  thanks in advance.
> jonese
> 
> 

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202453
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: cross domain cfid

2005-04-12 Thread Kerry
I tried that, and no joy! :(

erm. hang on. I didnt restart the cf service seems to work now.

Cheers!

-Original Message-
From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED]
Sent: 12 April 2005 18:46
To: CF-Talk
Subject: RE: cross domain cfid


I think you can use the option setdomaincookies="true" in the
cfapplication tag to do this.

/t

>-Original Message-
>From: Kerry [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 12, 2005 7:43 PM
>To: CF-Talk
>Subject: cross domain cfid
>
>Does anyone know if its possible to have CF recognise sub
>domains as the
>same domain?
>
>e.g. I would like to have:
>
>abc.mysite.com
>123.mysite.com
>
>both use the same CFID (at the moment I have to pass it back
>and forth in
>the url, a real pain)
>
>Cheers,
>Kerry
>
>
>



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202452
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: What's your setup for multiple developers

2005-04-12 Thread Sean Corfield
I just want to add a big "+1" to this - real version control is an
important part of being a professional developer. We have about thirty
developers working on a single code base, covering up to six project
releases at the same time (on different branches) and source code
control makes it possible and managable. We can automatically
reproduce any release to any server. We can merge changes across
projects with ease if schedules or priorities change.

On Apr 12, 2005 10:23 AM, RADEMAKERS Tanguy <[EMAIL PROTECTED]> wrote:
> I'm going to preach to the choir here for a moment, but some form of
> source control is a real necessity for a professional developer - even
> if he or she works alone. Don't get hung up on which software you're
> using, as long as you are using something (and not the "make a zip and
> name it client_project.20050412.zip" approach. Or even, god forbid, use
> your backups as a poor man's source control.). It changes the way you
> work - it eliminates the fear that you're going to break something. No
> matter how badly you mess up the code, you will always be able to roll
> back - hours, days, weeks - to a time when it all worked. I used to
> comment out big sections of code (just in case it was something clever
> in stead of the bug i thought it was) - no more: select, delete, don't
> even flinch. And remember when you had to do all those bug fixes twice
> (once on the copy of the client's version and once in the new code)?
> Just check out two sandboxes (branch for bug fixing and head for new
> work) on two different servers, then merge the changes from the branch
> back into the head at some point. The first time i did this was after
> making a huge number of changes over a long long period, and i was
> drinking at the bar before 6 pm.

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202451
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: What's your setup for multiple developers

2005-04-12 Thread Kevin Aebig
We run a development server, a production server and a "break it trying
weird stuff" server all with VSS. Almost all the devs run Dreamweaver so
integrating VSS has been quite easy...

Cheers,

Kevin

-Original Message-
From: Marlon Moyer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 7:14 AM
To: CF-Talk
Subject: What's your setup for multiple developers


I'm trying to figure out best to configure my development server.
I've got 2 developers and 1 more on the way soon.  We currently work
with CF6, but we are thinking of going to CF7 very soon.  I've always
used the devnet version of CF on my local machine, currently CF6, to
develop and the other developer used the development server.  We
really need to start working on some shared code, but it seems that
without buying another license to use on the development server, were
kinda screwed.

How are other shops doing it?


--
Invite 50 Friends to Gmail!  Who has friggin' 50 friends!?



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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202448
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: What's your setup for multiple developers

2005-04-12 Thread Sean Corfield
On Apr 12, 2005 6:13 AM, Marlon Moyer <[EMAIL PROTECTED]> wrote:
> How are other shops doing it?

Central source code repository using CVS (free, good free tools as well).

Every developer has Developer Edition locally and a full version of the site.

We also have several shared dev servers for developers to test
integration of their work (and multiple QA servers for testing).

We often have multiple code branches active at any one time, to cater
for multiple project releases.

Every server and workstation is configured as close to identically as
possible (CFMX J2EE, separate document root, Apache etc - our
deployment environment is multiple clustered Solaris servers).

We mostly shared one dev database but we have a "crash'n'burn"
database for schema development and an additional dev database for
code branches that require incompatible schema changes (rare, but it
happens sometimes).

We also have a bugbase - Bugzilla - which is a great way to track all
issues, not just bugs.

And we have an automated build system that we can run from the CVS
server out to any shared dev / QA or production server. It's
home-grown, a mixture of Ant, Perl and Unix shell scripts. We tag all
release candidate builds so we can automatically reproduce a known,
tested code base directly from CVS to a target server.
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202450
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: cross domain cfid

2005-04-12 Thread Dave Carabetta
On Apr 12, 2005 1:42 PM, Kerry <[EMAIL PROTECTED]> wrote:
> Does anyone know if its possible to have CF recognise sub domains as the
> same domain?
> 
> e.g. I would like to have:
> 
> abc.mysite.com
> 123.mysite.com
> 
> both use the same CFID (at the moment I have to pass it back and forth in
> the url, a real pain)
> 

In your CFAPPLICATION tag, set the setDomainCookies attribute to
"yes". You'll have to log out and re-log in to get the domain-level
cookie if a cookie already exists, but that should take care of it.

Regards,
Dave.

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202449
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: Improvements made - Please test my dirty word check some more?

2005-04-12 Thread Will Tomlinson
>Will...why did you ask for help with the profanity!  ;o)
>
>Rick


I Give up! Jared was right! My loops are killin' this thing! 4 nested loops 
aren't that bad are they?? lmao! 

I'm retreating and coming back again for another battle with this thing. 

Gnight and thanks for your help!

Will

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202447
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: Building Applications for multiple DB's

2005-04-12 Thread S . Isaac Dealey
>> From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
>> You haven't seen the onTap framework I take it. :P

> It was only a matter of time :-)

Can you blame me? :)


s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202446
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: Posts too long!

2005-04-12 Thread S . Isaac Dealey
>> Heh... thanks for the vote of confidence.

> Just kidding of course...I learn more from your posts than
> just about anyone's!  :o)

Yea, I know ... I just forgot the  tags. :)

Thanks for the compliment sincerely tho -- you know, you want to help
people out, but it's often hard to know really how much your efforts
actually help people -- if you've been able to explain things in a way
that's transparent, etc. It's nice to hear once in a while that it's
working. :)



s. isaac dealey   954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://macromedia.breezecentral.com/p49777853/
http://www.sys-con.com/author/?id=4806
http://www.fusiontap.com



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202445
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: cross domain cfid

2005-04-12 Thread RADEMAKERS Tanguy
I think you can use the option setdomaincookies="true" in the
cfapplication tag to do this.

/t 

>-Original Message-
>From: Kerry [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, April 12, 2005 7:43 PM
>To: CF-Talk
>Subject: cross domain cfid
>
>Does anyone know if its possible to have CF recognise sub 
>domains as the
>same domain?
>
>e.g. I would like to have:
>
>abc.mysite.com
>123.mysite.com
>
>both use the same CFID (at the moment I have to pass it back 
>and forth in
>the url, a real pain)
>
>Cheers,
>Kerry
>
>
>

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202444
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: Form Submission

2005-04-12 Thread Robert Redpath
I've gotten these errors in the past and have not been able to determine the 
cause.  The resolution I found was to check to see if the form structure 
existed on the page the form posted to and if not return them back to resubmit.
 
-
 

  
  There was an error processing the page.
  
  Please return to the previous page 
and resubmit the data. 
  


 


From: Dorian Puerta [mailto:[EMAIL PROTECTED]
Sent: Tue 4/12/2005 10:32 AM
To: CF-Talk
Subject: Form Submission



Just wondering, I have been getting errors from time to time from information 
not being passed correctly during a regular form submission. Most of the time 
its either no information is sent or part of the information is sent. It 
doesn't seem to be browser specific , I get the error in IE,FireFox, and 
Netscape. Is this a common error? Could it be related to Network issues? How 
does someone handle these situations especially if u do multiple form 
submissions (one after another)?

Here is an example of code that was sent which is basically just text input 
fields and below is the error message that was generated:

http://www.coldfugitive.com/paste/?post=1543 
 


Note: This does not always happen with the same variable sometimes it doesnt 
post any information.



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202443
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


cross domain cfid

2005-04-12 Thread Kerry
Does anyone know if its possible to have CF recognise sub domains as the
same domain?

e.g. I would like to have:

abc.mysite.com
123.mysite.com

both use the same CFID (at the moment I have to pass it back and forth in
the url, a real pain)

Cheers,
Kerry


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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202442
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 and SharePoint Experience

2005-04-12 Thread Ken Ferguson
I think James meant that BD may be helpful in bringing the two together,
seeing as how BD.NET allows that .NET integration type stuff that Vince
has been going over lately. 

--Ferg


-Original Message-
From: Dawson, Michael [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 10:04 AM
To: CF-Talk
Subject: RE: ColdFusion and SharePoint Experience

It's not really an option of "not" using SharePoint.  SharePoint is the
cat's ass, and will stay whether it's crap or not.  It's Microsoft.  ;^)

M!ke 

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 9:57 AM
To: CF-Talk
Subject: RE: ColdFusion and SharePoint Experience

I'd say Bluedragon.NET might be useful in this case - Vince is sure to
chime in if so.

-Original Message-
From: Dawson, Michael [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 12 April 2005 10:27
To: CF-Talk
Subject: ColdFusion and SharePoint Experience

Has anyone had any experience in linking SharePoint with ColdFusion?

Our Asst VP thinks SharePoint is the future of web development and wants
to use it as a portal home page rather than ColdFusion.

I will say that some SP stuff is OK, but it's not the be-all, end-all of
web development.  I would say it is the server version of FrontPage
(ugh).

I want to research building a CF site, using domain cookies, that will
also log me into the SharePoint portal or vice-versa.  This would, as
Ben says, "Use CF as the glue."  I have a working sample of cross-domain
cookies, but how would that work with SP?

How do I take a CF site that does not use web server authentication
(IIS) and have it bypass, for lack of a better word, the browser
authentication for SharePoint?  I certainly hope I don't have to create
a custom .Net web part.





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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202441
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: What's your setup for multiple developers

2005-04-12 Thread Steve Brownlee
Have all developers work locally and merge to a CVS repository.  No license
needed for developers edition, so you can use that on any development machine
so you only need license for staging/production server.

-Original Message-
From: Marlon Moyer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 12, 2005 9:14 AM
To: CF-Talk
Subject: What's your setup for multiple developers

I'm trying to figure out best to configure my development server. 
I've got 2 developers and 1 more on the way soon.  We currently work with
CF6, but we are thinking of going to CF7 very soon.  I've always used the
devnet version of CF on my local machine, currently CF6, to develop and the
other developer used the development server.  We really need to start working
on some shared code, but it seems that without buying another license to use
on the development server, were kinda screwed.

How are other shops doing it?  

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202440
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: What's your setup for multiple developers

2005-04-12 Thread Keith Gaughan
Damien McKenna wrote:

> These conflicts are almost always a case of opening the file and
> manually merging the changes between the multiple edits.  These rare
> occurances should never cause enough concern that a decent revision
> management system is not used, that would be just foolish.

That, and such conflicts only happen if the regions edited overlap.

K.

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202439
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


JRun Clustering Behavior?

2005-04-12 Thread Brandon Harper
I've been setting-up/testing a simple JRun cluster with instances of
ColdFusion MX 7.0 and one thing which does not seem to be documented
well about JRun is what events signal adding/dropping instances from a
cluster, what errors it can or can't recover from by switching to
another instance in the cluster, etc.  If someone could pass on a link
about this that I haven't been able to find, that would be great. 
Otherwise I have a laundry list of questions below...

Here is the setup I'm using (all are Windows 2003 servers):

1 Web server connected to 1 JRun Cluster

JRun Cluster contains 2 servers

Each JRun Server contains 2 instances of a given application, so there
are basically 4 instances in the cluster total.

No load balancing between the web server and the JRun servers or any
of that sort of stuff yet, it's just a basic cluster I'm setting-up
for a product beta.


Here are my specific questions (that is, if there isn't anywhere I can
read about this stuff)...

1.  Other than stopping an instance, what events/exceptions would
trigger a JRun application instance to be dropped from the cluster?

2.  What events does using the JRun drivers pointing to a cluster (as
in not using a load balancer) help catch gracefully?  So far it looks
like only when an instance has stopped. For instance I've got several
"cannot connect to JRun" errors when I've intentionally made a server
busy.  I haven't tried shutting down a server completely then trying
it out yet-- does it catch that?

3.  How does an instance which has been restarted or otherwise dropped
from the cluster make it's way back into the cluster?  I've tried a
lot of scenarios with this in particular, and can't figure it out.  It
just seems to eventually reappear, but it takes a very long time for
that to happen.

Mostly I'm just trying to get a good feel for how well or not this
scenario works so that I can troubleshoot potential problems with it
in the future.  I'd greatly appreciate any advice or any useful links
you could send my way.  I've read tons and tons of stuff about
clustering in JRun, but nothing specifically about how JRun clustering
behaves/reacts in different scenarios.

Thanks,

- Brandon


-- 
--
http://devnulled.com

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202438
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: What's your setup for multiple developers

2005-04-12 Thread RADEMAKERS Tanguy
Most source control systems work on the assumption that each developer
will check out and work on his or her own copy of the source code. This
works fine for traditional development stuff (checkout, edit, compile,
debug, commit, [merge]), but it tends to be a bit more difficult for web
developers. To do it right, each developer needs his or her own web
server or web root (at least) but this only addresses part of the
problem. What to do about things like databases, web server
configurations, dns setups, etc.? Yes, you can duplicate all of these
for every developer and manage them with source control tools, but the
overhead is substantial, especially if you work in an agency setting
with many different client projects, each with a different setup (some
you host, some they host, on different web servers, using different dbs,
etc.) This is especially problematic in bug fixing scenarios - when the
customer is screaming down the phone you don't want to spend half a day
setting up an exact copy of their production environment before you can
start looking for the problem, so you tend to make the fixes on the live
environment and then apply them to the release version you tagged in
source control. If you do this, i recommend diffing what you think you
released with what's running in production. It's an education.

I've gone from using CVS in a small company to using Rational ClearCase
in a big company, and have always used both the same way: multiple
developers working in the same sandbox (or view in clearcase) at the
same time. Yes, this means my colleagues and I can both edit the same
file at the same time, with changes being overwritten just as before.
Some people react as if this was some sort of cross between stupidity
and criminal negligence, but source code control is about much much more
than making sure that bob's changes don't squash alice's. We can see
what changed, when, by who (only in clearcase - in CVS it's always the
person who checked out the sandbox who checks it in, and gets the credit
for all the changes), what version was released, etc. etc. - all that
good stuff. And delivering code to the customer is a real pleasure -
only the files that have changed, with an easy way to track what was
changed and why. 

I'm going to preach to the choir here for a moment, but some form of
source control is a real necessity for a professional developer - even
if he or she works alone. Don't get hung up on which software you're
using, as long as you are using something (and not the "make a zip and
name it client_project.20050412.zip" approach. Or even, god forbid, use
your backups as a poor man's source control.). It changes the way you
work - it eliminates the fear that you're going to break something. No
matter how badly you mess up the code, you will always be able to roll
back - hours, days, weeks - to a time when it all worked. I used to
comment out big sections of code (just in case it was something clever
in stead of the bug i thought it was) - no more: select, delete, don't
even flinch. And remember when you had to do all those bug fixes twice
(once on the copy of the client's version and once in the new code)?
Just check out two sandboxes (branch for bug fixing and head for new
work) on two different servers, then merge the changes from the branch
back into the head at some point. The first time i did this was after
making a huge number of changes over a long long period, and i was
drinking at the bar before 6 pm. 

/t

>-Original Message-
>From: Damien McKenna [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, April 12, 2005 6:44 PM
>To: CF-Talk
>Subject: RE: What's your setup for multiple developers
>
>> Paul Vernon wrote:
>> > the procedures we have. Also, the one golden rule is no 
>> > double check outs by two developers on a single file
>> > That is just way too much hassle
>> 
>> Is this a limitation of MS SourceSafe, or of version control 
>> in general? 
>
>SourceSafe is a crock.  Learn it, accept it and move on.
>
>> I thought in cvs/svn, 2+ developers can check out the same 
>> file, modify and commit it without problems, so long as they work
>> on different parts of the file. If they make changes that overwrite
>> each other's, a conflict is thrown, which I understand, can be
>> a pain.
>
>These conflicts are almost always a case of opening the file and
>manually merging the changes between the multiple edits.  These rare
>occurances should never cause enough concern that a decent revision
>management system is not used, that would be just foolish.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or

Re: What's your setup for multiple developers

2005-04-12 Thread Keith Gaughan
Marlon Moyer wrote:

> I'm trying to figure out best to configure my development server. 
> I've got 2 developers and 1 more on the way soon.  We currently work
> with CF6, but we are thinking of going to CF7 very soon.  I've always
> used the devnet version of CF on my local machine, currently CF6, to
> develop and the other developer used the development server.  We
> really need to start working on some shared code, but it seems that
> without buying another license to use on the development server, were
> kinda screwed.
> 
> How are other shops doing it?  

You ought to be using some kind of version control system, if only for
auditing purposes. CVS is fine, but you might want to got for
Subversion, Perforce, or something else. Haven't used SourceSafe, but
I haven't heard good things. Subversion and CVS are free, but others
aren't.

Next you want the developer version of whatever you're using.
Thankfully, this is all free.

K.

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202436
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: CF and DMZs

2005-04-12 Thread Connie DeCinko
One scenario is to have that internal box for all of your authoring and
prestaging.  No one ever touches code on the box in the DMZ.  You have a
scheduled task that copies changes to it for you.  It only accepts changes
from the other box.
 

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 11, 2005 11:21 PM
To: CF-Talk
Subject: RE: CF and DMZs

Having an intranet webserver behind your firewall and the public one in the
DMZ isn't such a bad idea.

It is also possible to run CF in distributed mode, so that it is on a
separate machine to that of the webserver, so the CF machines can all be
behind the firewall (instead of having one in the DMZ with the webserver).





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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202435
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: MAX 2005 Information Email?

2005-04-12 Thread Adrocknaphobia
John,

attending CFUnited?

-Adam


On Apr 12, 2005 11:48 AM, Burns, John D <[EMAIL PROTECTED]> wrote:
> Did anyone else get the email with the tentative information and call for 
> speakers? I didn't see a buzz on the list so I didn't know what the deal was 
> on that.  I didn't see anything in the email that said we weren't supposed to 
> discuss the information so I wasn't sure why no one had brought it up on here 
> yet.
> 
> John
> 
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202434
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: What's your setup for multiple developers

2005-04-12 Thread Dave Watts
> Is this a limitation of MS SourceSafe, or of version control 
> in general? I thought in cvs/svn, 2+ developers can check out 
> the same file, modify and commit it without problems, so long 
> as they work on different parts of the file. If they make changes 
> that overwrite each other's, a conflict is thrown, which I 
> understand, can be a pain.

Version control can only do so much. When two people work on the same file,
even if they don't work on the same lines of code, they can easily break
each other's work.

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!


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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202433
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


Web Server Configuration Tool

2005-04-12 Thread David Delbridge
Hi all,

Does MX7's "Web Server Configuration Tool" do anything (in IIS) beyond 
what we used to do manually?  I've got scripts that take care of this 
already and don't know if there is something special going on here in MX 
7 that will give me cause to modify or dump them.

To my knowledge, all that needs to be done when adding a new IIS virtual 
site on a multi-homed CF server is:

  - add script mappings (.cfm, .cfml, )
  - add CFIDE virtual directory
  - add JRunScripts virtual directory

Is the Web Server Configuration Tool doing anything else?  [I see that 
it takes as input the virtual server's webroot.  What for?!]

Any input is appreciated.

Dave

-- 

David M. Delbridge
Circa 3000
ColdFusion Hosting
http://www.circa3k.com
866-CIRCA3K (247-2235)
Outside U.S: +1.775-832-2445


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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202432
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: What's your setup for multiple developers

2005-04-12 Thread Damien McKenna
> Paul Vernon wrote:
> > the procedures we have. Also, the one golden rule is no 
> > double check outs by two developers on a single file
> > That is just way too much hassle
> 
> Is this a limitation of MS SourceSafe, or of version control 
> in general? 

SourceSafe is a crock.  Learn it, accept it and move on.

> I thought in cvs/svn, 2+ developers can check out the same 
> file, modify and commit it without problems, so long as they work
> on different parts of the file. If they make changes that overwrite
> each other's, a conflict is thrown, which I understand, can be
> a pain.

These conflicts are almost always a case of opening the file and
manually merging the changes between the multiple edits.  These rare
occurances should never cause enough concern that a decent revision
management system is not used, that would be just foolish.

-- 
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202431
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: What's your setup for multiple developers

2005-04-12 Thread Nathan Strutz
Paul Vernon wrote:
> the procedures we have. Also, the one golden rule is no double check outs by
> two developers on a single file That is just way too much hassle

Is this a limitation of MS SourceSafe, or of version control in general? 
I thought in cvs/svn, 2+ developers can check out the same file, modify 
and commit it without problems, so long as they work on different parts 
of the file. If they make changes that overwrite each other's, a 
conflict is thrown, which I understand, can be a pain.

-nathan strutz
http://www.dopefly.com/

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202430
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: Improvements made - Please test my dirty word check some more?

2005-04-12 Thread Dana
 I got a good laugh out of this. I'll refrain from translating my
test phrase.

Dana

On Apr 12, 2005 6:59 AM, Rick Faircloth <[EMAIL PROTECTED]> wrote:
> > Now Claude...we don't won't to be accused of spamming the list, do we?
> ;o)
>   Besides, the French are too polite to know any profanity...
> 
>   Rick
> 
> 
> > -Original Message-
> > From: Claude Schneegans [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 12, 2005 8:33 AM
> > To: CF-Talk
> > Subject: Re: Improvements made - Please test my dirty word check some
> > more?
> >
> >
> >  >>Not many people know French profanity, anyway!
> >
> > In case someone cares, I can give private lessons ;-)
> >
> > --
> > ___
> > REUSE CODE! Use custom tags;
> > See http://www.contentbox.com/claude/customtags/tagstore.cfm
> > (Please send any spam to this address: [EMAIL PROTECTED])
> > Thanks.
> >
> >
> >
> 
> 

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202429
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: MAX 2005 Information Email?

2005-04-12 Thread Ian Skinner
I guess you missed the three other MAX threads between CF-community and 
CF-talk. :-)


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 8:49 AM
To: CF-Talk
Subject: MAX 2005 Information Email?

Did anyone else get the email with the tentative information and call for
speakers? I didn't see a buzz on the list so I didn't know what the deal
was on that.  I didn't see anything in the email that said we weren't
supposed to discuss the information so I wasn't sure why no one had
brought it up on here yet.

John




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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202428
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


MAX 2005 Information Email?

2005-04-12 Thread Burns, John D
Did anyone else get the email with the tentative information and call for 
speakers? I didn't see a buzz on the list so I didn't know what the deal was on 
that.  I didn't see anything in the email that said we weren't supposed to 
discuss the information so I wasn't sure why no one had brought it up on here 
yet.
 
John


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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202427
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: Building Applications for multiple DB's

2005-04-12 Thread Matt Robertson
my CMPro cms has supported Access, mySQL, SQL Server and Oracle for a
few years now, and all code uses the same SQL.  Doing the job isn't as
bad as you might think, but you do have to make some allowances, and
in some cases dumb-down your SQL so it will work on anything, perhaps
moving some things out of the db and into your code (like the
case-sensitivity issue for Oracle).

The only truly separate SQL I have to write is the table creators in
the install routine.  The difference in the syntax is significant. 
Access uses memo fields, mySQL uses text or mediumtext, SQL Server
uses ntext and Oracle uses CLOB.  Everything is different, basically.

In Oracle you can only have one long text field per table, so this may
impact your application design (you can break this rule by writing an
ALTER TABLE cfquery that will add the second CLOB field and it will
work, however).

Inserts are a small challenge.  All platforms support numeric PK's,
although Oracle does it through sequences.  My system looks at a
number.  db type "4" = Oracle.  So an insert would look like this:


INSERT INTO myfile
(
ID,
myfield
)
VALUES 
(
seq_myfile.nextval,

)


Note the null statement.  If your app allows feeding null values you
will have to use this kind of null checker to keep Oracle from blowing
up.  Its probably a smart idea to do on general principles.

Keep your cfsqltypes simple.  Universal ones are cf_sql_varchar,
cf_sql_longvarchar (long text fields), cf_sql_numeric and
cf_sql_decimal.  You will have to either move all of your date fields
out of cfqueryparam (i.e. use raw sql) or switch to text fields and
handle date logic in CF to preserve your use of cfqueryparam, as
everything but Access understands cf_sql_timestamp for a date/time
field.  Access understands nothing.

Then there's the concept of assigning a pk and querying back for the
thing as you continue your processing.  There is only one truly
cross-platform way to do this other than writing custom SQL that fires
conditionally.  Create a UUID in memory, put it into a field on your
insert and query back for it after the insert.  Its an extra indexed
field but you need no locks or cftransaction blocks to get gauranteed
integrity.  Also a UUID can be handy for other things down the road,
like salt for a hash, so I don't consider the practice inefficient in
the grand scheme.

And little crap is going to pop up in your code.  I had some fits with
some list code that turned out to be Access feeding back numeric
values to me with a decimal whether I liked it or not and whether the
field was formatted for decimals or not (i.e. '12.0' instead of
'12'.).  I couldn't get it to stop so now I use fix() anywhere that
might be an issue.

Once you get past the initial hump it isn't so bad.  Overall it can be
fairly simple to write cross-platform apps but you'll have to unlearn
some things.

-- 
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

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

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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202426
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


  1   2   >