XML encoding

2004-03-31 Thread Allan Cliff - CFUG Spain
Whenever I create an xml document dynamically using  it gives me 



How can I change it to ISO-8859-1 so the document will accept accents etc.

Thanks
Allan Cliff
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: "Blackstone" source code leaked onto Internet by MM staffer

2004-03-31 Thread Michael Dinowitz
Hate to say this, but can we keep the April fools jokes, OT talk, joking around
and the like to the CF-Community list?
Thanks

--
Michael Dinowitz
Finding technical solutions to the problems you didn't know you had yet
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Query of Queries

2004-03-31 Thread Paul Giesenhagen.com
I am having trouble with a query of query.  Is there a known issue with 0 values in query of queries?

I have a result set called getShipping that produces the following result set:

getShipping result set
==
18|0|Free Shipping 
19|15|2nd Day Air 
20|20|3 Day Select
22|25|Next Day Air

Note: 18|0|Free Shipping, the 0 is the value for shipping.

Then I try to run the following query of queries (without ANY other code in between)

SELECT code,rate,description FROM getShipping

And here is it's result set: (Note the 18//Free Shipping the 0 is now gone.  I could write some code to look for the "" and then replace it with a 0 but that seems hacked and wanted to know if I am missing something. 

Shipping query of queries result set:

18//Free Shipping
19/15/2nd Day Air
20/20/3 Day Select
22/25/Next Day Air

Paul Giesenhagen
QuillDesign
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: FLEX: are you HERE or are you NOW?

2004-03-31 Thread Howard Fore
On Mar 31, 2004, at 5:58 PM, Dave Watts wrote:

> Just as we're free to criticize their distribution and marketing 
> decisions,
> MM is free to disregard our freely offered marketing advice. I can 
> only add
> that MM is marketing Flex the way a lot of enterprise products are 
> marketed.
> Try downloading an evaluation version of a typical enterprise portal, 
> KM or
> ECMS product - you'll typically have to jump through flaming hoops to 
> get a
> time-limited evaluation CD.

Yet another reason why many software consultants are more familar with 
and more likely to recommend open source software: because they can 
easily get a copy to develop on and learn with.

Sure, software vendors can do what they want. But if I can't easily get 
a copy, I won't be able to tell my clients any more than they could 
read themselves on the website.

And yes, paying less than $10 for a trial copy does count as easily 
obtainable, I just object to the marketing double-speak. If they want 
to keep closer tabs on who's downloading it, fine by me. Just say so. 
It's not like they don't make you register for downloads in the first 
place...

--
Howard Fore, [EMAIL PROTECTED]
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Flex is out

2004-03-31 Thread Rob
On Wed, 2004-03-31 at 19:35, Philip Arnold wrote:
...
> In fact you had better avoid any company which sells a product as they
> could drop their support, and only use open-source applications, but
> what database server does that leave you with? mySQL is retail, as is
> SQL Server, Oracle, and any of the other "major" ones - support for them
> could be dropped by the current company
...
nothing to do with what you are saying (and I mostly agree), but don't
forget about postgresql "the worlds most powerful open source database"
- regular expressions in there WHERE clause now *thats* thinking :)
...

-- 
Rob <[EMAIL PROTECTED]>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFOUTPUT Question

2004-03-31 Thread Dick Applebaum
the ...  makes one iteration for each 
row in the query

I think you want something like:


	...
	...


within the output tags

HTH

Dick

On Mar 31, 2004, at 7:00 PM, Bruce Sorge wrote:

> I have this piece of code:
>
>
>
>  
>
>  
>
>  
>
>  
> border="0">
>
>  
>
>
>
> 
>
> 
>
> 
>
>    
>
>  
>
>  
>
>
>
>  What I was hoping to achieve was, when the second image appeared (the 
> second
>  column), then a new row would appear. So I guess what I am saying is 
> that I
>  want to create a table that is two colums wide by X rows.
>
>
>
>  Thanks,
>
>  
>
>
>
>  Bruce Sorge
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFOUTPUT Question

2004-03-31 Thread Marlon Moyer
This may not be how you want to handle it, but how about this way.


.gallery {
width:102px;
}
.gallery img {
float:left;
}
-- marlon "And Bobby you are right, I am being selfish, but the last time I checked, we don't have a whole lot of songs that feature the cowbell!" > -Original Message- > From: Bruce Sorge [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 31, 2004 9:00 PM > To: CF-Talk > Subject: CFOUTPUT Question > > I have this piece of code: > > > > > > > > > > > > > > > > > > > >  > > > > > > > >   > > > > > > > >    > > > > > > > > > > > > > > What I was hoping to achieve was, when the second image appeared (the > second > column), then a new row would appear. So I guess what I am saying is that > I > want to create a table that is two colums wide by X rows. > > > > > > > > Thanks, > > > > > > > > > > > > Bruce Sorge > > > > > > > > > > > > > > [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Flex is out

2004-03-31 Thread Philip Arnold
> From: Dwayne Cole
> 
> I predict that Macromedia is going to sell off ColdFusion 
> within the next 2 years.  Their product portfolio is too 
> diversified and their customer segments have very little in 
> common - Flash, ColdFusion, Director, Fireworks, Breeze, and 
> now Flex - very different developer communities.

I don't understand statements like this

Look at Microsoft's portfolio - they have MANY diverse products, some of
which have effect completely different markets, yet they continue to
produce them

Why wouldn't a company the size of Macromedia want to continue to
produce products like ColdFusion? If they're making new versions of the
product, would this indicate that they're going to continue with it?

If you think they're going to back away from it, and other products,
then I suggest you switch to a product that you KNOW isn't going to be
dumped, as it's open-source. That'll discount ASP.NET then as Microsoft
COULD possibly get rid of that... Oh, and you'd better avoid other
non-open-source products, so that also includes IIS as Microsoft could
dump that as well

In fact you had better avoid any company which sells a product as they
could drop their support, and only use open-source applications, but
what database server does that leave you with? mySQL is retail, as is
SQL Server, Oracle, and any of the other "major" ones - support for them
could be dropped by the current company

Or you can just enjoy using ColdFusion as it is now, with it's great
community support, and stop complaining that MM "might" drop their
support for a product that they only purchased a couple of years ago
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFOUTPUT Question

2004-03-31 Thread Bruce Sorge
I have this piece of code:









    



  

   

   

   

  







What I was hoping to achieve was, when the second image appeared (the second
column), then a new row would appear. So I guess what I am saying is that I
want to create a table that is two colums wide by X rows.



Thanks,





Bruce Sorge
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: "Blackstone" source code leaked onto Internet by MM staffer

2004-03-31 Thread Michael T. Tangorre
Yes, it is $100,000 per seat on the rocket ship that is going on a trek to
find Spectra :-)

> $100,000 per seat...
> 
> Is it a rocket ship?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: "Blackstone" source code leaked onto Internet by MM staffer

2004-03-31 Thread Rob
On Wed, 2004-03-31 at 18:16, Peter Tilbrook wrote:
> JD from MM has a good response here:
> 
> http://www.markme.com/jd/archives/2004_03.cfm

$100,000 per seat...

Is it a rocket ship?

-- 
Rob <[EMAIL PROTECTED]>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: "Blackstone" source code leaked onto Internet by MM staffer

2004-03-31 Thread Peter Tilbrook
JD from MM has a good response here:

http://www.markme.com/jd/archives/2004_03.cfm 

-Original Message-
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 1 April 2004 12:10 PM
To: CF-Talk
Subject: RE: "Blackstone" source code leaked onto Internet by MM staffer

Ass.

Its only 9 PM here!!!

> See http://www.mossyblog.com/index.cfm?entryID=240
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: "Blackstone" source code leaked onto Internet by MM staffer

2004-03-31 Thread Barney Boisvert
You're 6 hours early.  Ass.  ; )

Guess that's the price you pay with a worldwide community.

> -Original Message-
> From: Peter Tilbrook [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 31, 2004 6:03 PM
> To: CF-Talk
> Subject: "Blackstone" source code leaked onto Internet by MM staffer
> 
> See http://www.mossyblog.com/index.cfm?entryID=240
> 
> Peter Tilbrook
> ColdFusion Applications Developer
> ColdGen Internet Solutions
> Manager, ACT and Region ColdFusion Users Group - 
> http://www.actcfug.com
> 4/73 Tharwa Road
> Queanbeyan, NSW, 2620
> AUSTRALIA 
> 
> 
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: "Blackstone" source code leaked onto Internet by MM staffer

2004-03-31 Thread Michael T. Tangorre
Ass.

Its only 9 PM here!!!

> See http://www.mossyblog.com/index.cfm?entryID=240
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: [ MSSQL ] which datatype is best for storing web page data

2004-03-31 Thread Michael T. Tangorre
Text.

And I would split that off into a "Text" table. Stear clear of ntext and
nvarchar unless you have a specific need for them and if you are wondering
when you would need them, you probably don't need them :-)

Mike 

> -Original Message-
> From: Brendan Avery [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 31, 2004 8:45 PM
> To: CF-Talk
> Subject: RE: [ MSSQL ] which datatype is best for storing web 
> page data
> 
> Text prolly.  Varchars limit is 8000 chars if I recall.
> 
> -Original Message-
> From: Dan Farmer [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 31, 2004 3:28 PM
> To: CF-Talk
> Subject: [ MSSQL ] which datatype is best for storing web page data
> 
> I have a CMS that stores the web page code into a MSSQL database.
> 
> Which datatype would be best for this? ( text, ntext, nvarchar ) ?
> 
> __
> Daniel Farmer
> Producer / Coldfusion Developer
> http://www.bernardclark.com/danfarmer.ca
> P: 613.284.1684
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




"Blackstone" source code leaked onto Internet by MM staffer

2004-03-31 Thread Peter Tilbrook
See http://www.mossyblog.com/index.cfm?entryID=240

Peter Tilbrook
ColdFusion Applications Developer
ColdGen Internet Solutions
Manager, ACT and Region ColdFusion Users Group - http://www.actcfug.com
4/73 Tharwa Road
Queanbeyan, NSW, 2620
AUSTRALIA
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: [ MSSQL ] which datatype is best for storing web page data

2004-03-31 Thread Brendan Avery
Text prolly.  Varchars limit is 8000 chars if I recall.

-Original Message-
From: Dan Farmer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 3:28 PM
To: CF-Talk
Subject: [ MSSQL ] which datatype is best for storing web page data

I have a CMS that stores the web page code into a MSSQL database.

Which datatype would be best for this? ( text, ntext, nvarchar ) ?

__
Daniel Farmer
Producer / Coldfusion Developer
http://www.bernardclark.com/danfarmer.ca
P: 613.284.1684
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: BlueDragon and Unicode

2004-03-31 Thread Paul Hastings
how far does bd 6.1 go in its i18n support? do you use cf style "locales" or
java's? fully support cultural formatting, etc.?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: loops and radio buttons

2004-03-31 Thread Greg Luce
Gilbert,
	I think I see what you're saying. Is this what you're after? (of
course you'd build the form dynamically)




	Untitled


  
  
  
  	
  		INSERT INTO deliveryMethod (customerID,
customerRequestItem, deliveryMethod)
  		VALUES ('#FORM.customerID#', '#Mid(i,14,11)#',
#Right(i,1)#)
  	
    
  
  



Newsletter 1




Newsletter 2








-Original Message-
From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 5:47 PM
To: CF-Talk
Subject: Re: loops and radio buttons

Thanks Greg,

It helped a lot but I still have some questions.

It looks as if you can't pull a value in this method. Everything must
come from the name field. So for example

the root name (so to speak) is deliveryMethod and the publicationID and
delivery method need to be combined with the name.



To make pulling data easier I would use 1,2,3 for the delivery method 1=
online 2= mail 3= both

EXAMPLE BELOW:





	

		INSERT INTO deliveryMethod
			(
			customerID,
			customerRequestItem,
			deliveryMethod
			)
		VALUES
			(
			'#FORM.customerID#',
			'#Mid(i,14,11)#',
			#Right(i,1)#
			)

	
  



It works, thanks very much. Just wondering if I'm missing anything here.

==

>Gilbert,
>	This should loop over all the radio buttons that were in the
submitted 
>form who's name starts with 'deliverymethod'.
>
>Greg
>
>	
>		
>  		
>  
>  	stuff
>  
>  		
>		
>	
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: FLEX: are you HERE or are you NOW?

2004-03-31 Thread Jeffry Houser
My take on this is...

  Macromedia wants to build a "closer" relationship with potential Flex 
customers.

  I've personally downloaded CFMX about a dozen times.  Am I in there 
database a dozen times?  ( I doubt it, but I wouldn't be surprised if I 
have multiple accounts at their site).   Multiple accounts mean more "Dead" 
leads in the sales database.

  You have to pay for the CD; even a small amount.  If you aren't serious 
about an interest in the technology, you won't pay anything for it.  i 
might download flex out of curiosity, but I wouldn't pay for a CD since I 
know the whole thing is out of my price range.  That leads to a more 
focused marketing list.

  Things like this are common in Enterprise class applications (I've worked 
on a few ERP apps; although Flex probably isn't as "mission critical" as a 
full ERP suite)

  Personally, I think it is great that MM is going after the enterprise 
market.  While flex does not directly affect me, I hope that Enterprise 
class folk will buy it, like the results, and then take another look at 
ColdFusion.

At 04:02 PM 3/31/2004, you wrote:
>Subject: FLEX: are you HERE or are you NOW?
>From: Scott Weikert <[EMAIL PROTECTED]>
>Date: Wed, 31 Mar 2004 13:43:37 -0700
>Thread: 
>http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=31608&forumid=4#158453
>
>At 01:26 PM 3/31/2004, Christianwrote:
> >Here is information on why the Flex trial is only currently available
> >on CD:
> >
> >http://www.macromedia.com/software/flex/productinfo/faq/#item-36
>
>
>Why is the Flex trial only available on CD?
>
>Flex is an advanced enterprise server product that has generated massive
>interest and anticipation across the industry. Macromedia wants to ensure
>that early Flex customers get the support they need to evaluate the product
>successfully. A downloadable version of the Flex trial may become available
>in the future.
>
>
>
>Now is it just me, or does that paragraph simply NOT answer the question
>it's associated with? How does offering it only on CD have anything to do
>with support? Files are files, whether they come on a CD or are downloadable.
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: loops and radio buttons

2004-03-31 Thread Gilbert Midonnet
Thanks Greg,

It helped a lot but I still have some questions.

It looks as if you can't pull a value in this method. Everything must come from the name field. So for example

the root name (so to speak) is deliveryMethod and the publicationID and delivery method need to be combined with the name.



To make pulling data easier I would use 1,2,3 for the delivery method
1= online
2= mail
3= both

EXAMPLE BELOW:





	

		INSERT INTO deliveryMethod
			(
			customerID,
			customerRequestItem,
			deliveryMethod
			)
		VALUES
			(
			'#FORM.customerID#',
			'#Mid(i,14,11)#',
			#Right(i,1)#
			)

	
  



It works, thanks very much. Just wondering if I'm missing anything here.

==

>Gilbert,
>	This should loop over all the radio buttons that were in the
>submitted form who's name starts with 'deliverymethod'.
>
>Greg
>
>	
>		
>  		
>  
>  	stuff
>  
>  		
>		
>	
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: why I love coldfusion...

2004-03-31 Thread Matt Liotta
I will be speaking at CFUN, but not on that topic.

-Matt

On Mar 31, 2004, at 9:08 AM, Ciliotta, Mario wrote:

> Matt -
>
>
>  Will you be at CFUN this year???
>
>
>  Mario
>
>  -Original Message-
>  From: Matt Liotta [mailto:[EMAIL PROTECTED]
>  Sent: Tuesday, March 30, 2004 6:42 PM
>  To: CF-Talk
>  Subject: Re: why I love coldfusion...
>
>  I presented on this topic at last year's CFUN and also recently at
>  Spring . Hopefully, I give the presentation at some locale you 
> will
>  be attending in the future.
>
>  -Matt
>
>  On Mar 30, 2004, at 6:17 PM, Ciliotta, Mario wrote:
>
>  > Does anyone know of any sites out there that might show some 
> examples
>  > of CF
>  >  interacting with JAVA?  Just looking for a some examples so to get
>  > started.  I
>  >  am going to read up on Java coding  - took a few courses a few 
> years
>  > ago but
>  >  never actually used it.  We recently upgrade to CFMX fro J2EE and 
> I am
>  >  interested in seeing what is now open to me from the Java world.
>  >
>  >
>  >  Mike - maybe this would be a good topic for a NYCFUG meeting.
>  >
>  >
>  >  Mario
>  >
>  >  -Original Message-
>  >  From: Jeff Garza [mailto:[EMAIL PROTECTED]
>  >  Sent: Tuesday, March 30, 2004 6:02 PM
>  >  To: CF-Talk
>  >  Subject: RE: why I love coldfusion...
>  >
>  >  I would also add that most of the tricky things that you needed
>  > custom tags
>  >  for in the 4.5/5.0 days are now nicely encapsulated within the Java
>  >  framework that MX runs on.  Everything you need to deal with zip
>  > archives,
>  >  thumbnail generation, creating PDFs, etc. you can do using 
> Java.  The
>  > only
>  >  downside to the free version of Blue Dragon is that
>  > cfobject/createObject
>  >  are disabled. ;-(
>  >
>  >  --
>  >
>  >  Jeff Garza
>  >
>  >    _  
>  >
>  >  From: Dave Watts [mailto:[EMAIL PROTECTED]
>  >  Sent: Tuesday, March 30, 2004 3:52 PM
>  >  To: CF-Talk
>  >  Subject: RE: why I love coldfusion...
>  >
>  >  > However-- when choosing what platform to suggest to new clients
>  >  > for my freelance work, I have found that I generally have to
>  >  > recommend PHP/MySQL over CF/SQL-Server 99% of the time now.
>  >
>  >  While PHP and the whole "LAMP" idea may be very popular with small
>  >  businesses and freelancers, I've seen near zero acceptance of it
>  > anywhere
>  >  else. That's not a criticism, just an observation.
>  >
>  >  Dave Watts, CTO, Fig Leaf Software
>  >  http://www.figleaf.com/
>  >  phone: 202-797-5496
>  >  fax: 202-797-5444
>  >    _
>  >
>_
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: loops and radio buttons

2004-03-31 Thread Ben Doom
It looks like you are trying to loop over, for example, the results for 
newsletter A.  You don't need to.  Newsletter A's result should be a 
single value -- either online, hardcopy, or "both".

You are also checking to see if Newsletter A's result exists.  If one of 
the radio buttons is checked, it will.  If you plan to have situations 
where none of the buttons for that newsletter are selected, it would 
probably be better to add a "neither" category instead.

I don't know if that answers your question, but I hope it helps get a 
better fix on the problem in general.

--Ben Doom

Gilbert Midonnet wrote:

> I'm getting lost doing something that I thought would be easy. Loops 
> that work well with checkboxes break with radio buttons. Updates aren't 
> working and I'm going crazy.
> 
> A client would like there to be a list of newsletters for customers to 
> order. Each newsletter can be seen on-line, have a hardcopy, or both.
> 
> NAME OF NEWSLETTER --- ONLINE --- HARDCOPY --- BOTH
> NEWSLETTER A  O -- O -- O -
> NEWSLETTER B  O -- O -- O -
> NEWSLETTER C  O -- O -- O -
> NEWSLETTER D  O -- O -- O -
> NEWSLETTER E  O -- O -- O -
> 
> It's the inserting/updating that's driving me nuts.
> 
> Checkboxes are simple but radio buttons are driving me nuts.
> 
> The loop below works well for checkboxes.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> I've been unable to make it work for radio buttons.
> 
> In the first place the name of the checkboxes have to be different. So I 
> do something like.
> 
> 
> 
> All my lists and loops are failing. I'm now on my 50th permutation and 
> going crazy.
> 
> Gil
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: FLEX: are you HERE or are you NOW?

2004-03-31 Thread Dave Watts
> Why do you have to 'think about it' then? Why can't they just 
> come out and say that, if indeed that's their position?

Because it sounds much nicer the way they say it, just like people talk
about "passing away" rather than "kicking the bucket". Euphemism is often
thought to be useful in the business world.

> Besides, if they offered support in the form of a vast amount 
> of their other support - forums, tech docs, etc - then it 
> shouldn't matter *how* many people fiddle with the trial and 
> want to poke around such support docs for more info. All that 
> is is a matter of bandwidth.

Just as we're free to criticize their distribution and marketing decisions,
MM is free to disregard our freely offered marketing advice. I can only add
that MM is marketing Flex the way a lot of enterprise products are marketed.
Try downloading an evaluation version of a typical enterprise portal, KM or
ECMS product - you'll typically have to jump through flaming hoops to get a
time-limited evaluation CD.

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




RE: FLEX: are you HERE or are you NOW?

2004-03-31 Thread Dave Watts
> While I see what you're saying, doesn't the fact that it's 
> $500 to even speak to a support engineer deter users already? 
> Or is the support matrix different for Flex users (i.e., you 
> get a couple free calls or something)?

I thought that installation support, at least, was initially free.

However, I also suspect that MM intends to differentiate Flex support, at
least initially, from other support. This is just my own guess, but if I ran
MM, I'd be more concerned about having Flex support do more to help new
projects succeed than with other products, as there isn't an existing Flex
market yet.

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




RE: FLEX: are you HERE or are you NOW?

2004-03-31 Thread Scott Weikert
At 03:35 PM 3/31/2004, you wrote:
> > Now is it just me, or does that paragraph simply NOT answer
> > the question it's associated with? How does offering it only
> > on CD have anything to do with support? Files are files,
> > whether they come on a CD or are downloadable.
>
>The answer is pretty clear, if you think about it. If they let people
>download it, a bunch of people might download it and start playing around
>with it without any serious plan to actually buy it. Rather than support
>those people, Macromedia is raising the barrier to entry a little bit.
>People who want to try it out will likely be more serious about it, since
>they have to go to more trouble to get it.

Why do you have to 'think about it' then? Why can't they just come out and 
say that, if indeed that's their position?

Besides, if they offered support in the form of a vast amount of their 
other support - forums, tech docs, etc - then it shouldn't matter *how* 
many people fiddle with the trial and want to poke around such support docs 
for more info. All that is is a matter of bandwidth.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Embedding an image in cfmail

2004-03-31 Thread Douglas.Knudsen
with this approach you just build a web page as teh body.  note that the image tags have to have FQ URIs...http://foo.net/images/goo.gif.

 
Doug

-Original Message-
From: Casey C Cook [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 5:25 PM
To: CF-Talk
Subject: RE: Embedding an image in cfmail

Using CFMX currently. So what Im hearing is use  and 
its possible. We have been unable to get it to work as of yet. Thanks for 
the responses.

CC 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: FLEX: are you HERE or are you NOW?

2004-03-31 Thread Dave Carabetta
> > Perhaps they could be a bit more forthcoming at how
> > paying $US 8.95 for a CD will give customers support.
>
>Fewer evaluators means fewer support incidents. The people who do evaluate
>it are more likely to be eventual customers, since they have to have a
>higher level of interest to actually order the product than to just 
>download
>it on a whim.
>

While I see what you're saying, doesn't the fact that it's $500 to even 
speak to a support engineer deter users already? Or is the support matrix 
different for Flex users (i.e., you get a couple free calls or something)?

Regards,
Dave.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Can a Regex do this?

2004-03-31 Thread Dave Watts
> WinHelp is not proprietary?

No, in the sense that the file format is documented, and you can create it
with non-proprietary tools.

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




RE: FLEX: are you HERE or are you NOW?

2004-03-31 Thread Dave Watts
> Perhaps they could be a bit more forthcoming at how 
> paying $US 8.95 for a CD will give customers support.

Fewer evaluators means fewer support incidents. The people who do evaluate
it are more likely to be eventual customers, since they have to have a
higher level of interest to actually order the product than to just download
it on a whim.

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




RE: nearby zip codes

2004-03-31 Thread Michael T. Tangorre
What do you mean by "neighboring"? To me, every zipcode "neighbors"
eachother.

> I read the thread a few weeks about about distance radius 
> searching for US zip codes, but - what about doing 
> neighboring zip codes.  I have a client that seems to prefer 
> the idea of seeing every zip code that is next to the one 
> searched for.  Is anyone aware of a db that can be purchased 
> out there that has this neighboring zip data?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: FLEX: are you HERE or are you NOW?

2004-03-31 Thread Dave Watts
"Why is the Flex trial only available on CD?

 
"Flex is an advanced enterprise server product that has 
generated massive interest and anticipation across the 
industry. Macromedia wants to ensure that early Flex 
customers get the support they need to evaluate the product 
successfully. A downloadable version of the Flex trial may 
become available in the future."

> Now is it just me, or does that paragraph simply NOT answer 
> the question it's associated with? How does offering it only 
> on CD have anything to do with support? Files are files, 
> whether they come on a CD or are downloadable.

The answer is pretty clear, if you think about it. If they let people
download it, a bunch of people might download it and start playing around
with it without any serious plan to actually buy it. Rather than support
those people, Macromedia is raising the barrier to entry a little bit.
People who want to try it out will likely be more serious about it, since
they have to go to more trouble to get it.

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




RE: Embedding an image in cfmail

2004-03-31 Thread Casey C Cook
Using CFMX currently. So what Im hearing is use  and 
its possible. We have been unable to get it to work as of yet. Thanks for 
the responses.

CC
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: loops and radio buttons

2004-03-31 Thread Greg Luce
Gilbert,
	This should loop over all the radio buttons that were in the
submitted form who's name starts with 'deliverymethod'.

Greg

	
		
  		
  
  	stuff
  
  		
		
	


-Original Message-
From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 3:58 PM
To: CF-Talk
Subject: loops and radio buttons

I'm getting lost doing something that I thought would be easy. Loops
that work well with checkboxes break with radio buttons. Updates aren't
working and I'm going crazy.

A client would like there to be a list of newsletters for customers to
order. Each newsletter can be seen on-line, have a hardcopy, or both.

NAME OF NEWSLETTER --- ONLINE --- HARDCOPY --- BOTH
NEWSLETTER A  O -- O -- O - 
NEWSLETTER B  O -- O -- O -
NEWSLETTER C  O -- O -- O -
NEWSLETTER D  O -- O -- O -
NEWSLETTER E  O -- O -- O -

It's the inserting/updating that's driving me nuts.

Checkboxes are simple but radio buttons are driving me nuts.

The loop below works well for checkboxes.


	
		

			

			

		
	


I've been unable to make it work for radio buttons.

In the first place the name of the checkboxes have to be different. So I
do something like.



All my lists and loops are failing. I'm now on my 50th permutation and
going crazy.

Gil
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: loops and radio buttons

2004-03-31 Thread Burns, John D
with radios, the best way would probably be to delete any values
currently in the database for the user and then insert the new values.
I'm not quite sure what problem you're having, but you probably need to
do multiple loops.  One for each newsletter.

John

-Original Message-
From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 3:58 PM
To: CF-Talk
Subject: loops and radio buttons

I'm getting lost doing something that I thought would be easy. Loops
that work well with checkboxes break with radio buttons. Updates aren't
working and I'm going crazy.

A client would like there to be a list of newsletters for customers to
order. Each newsletter can be seen on-line, have a hardcopy, or both.

NAME OF NEWSLETTER --- ONLINE --- HARDCOPY --- BOTH NEWSLETTER A
 O -- O -- O - NEWSLETTER B  O
-- O -- O - NEWSLETTER C  O -- O --
O - NEWSLETTER D  O -- O -- O - NEWSLETTER E
 O -- O -- O -

It's the inserting/updating that's driving me nuts.

Checkboxes are simple but radio buttons are driving me nuts.

The loop below works well for checkboxes.


	
		

			

			

		
	


I've been unable to make it work for radio buttons.

In the first place the name of the checkboxes have to be different. So I
do something like.



All my lists and loops are failing. I'm now on my 50th permutation and
going crazy.

Gil
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




nearby zip codes

2004-03-31 Thread Steve Logan
I read the thread a few weeks about about distance radius searching for US zip codes, but - what about doing neighboring zip codes.  I have a client that seems to prefer the idea of seeing every zip code that is next to the one searched for.  Is anyone aware of a db that can be purchased out there that has this neighboring zip data?

Steve
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Embedding an image in cfmail

2004-03-31 Thread Douglas.Knudsen
what version of CF???  With CFMX, no embedding via CFMAIL tag, only HTML mail, use typ="html".  With CF5 there's a fancy custom tag Jochem van Dieten wrote to embed images in an email.  By embed, I mean multipart emails with inline images in Base64 encoding.  Prob can do with Java though.

 
Doug

-Original Message-
From: Casey C Cook [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 4:23 PM
To: CF-Talk
Subject: Embedding an image in cfmail

Does anyone have a quick example of code that will embed an image in a 
cfmail ?

I want the output to look something like

My cruise pics

See this nice image!
(IMAGE1)

See this nice image!
(IMAGE2)

See this nice image!
(IMAGE3)

Thanks for your assistance,
Casey Cook 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Parsing RFC822 Dates

2004-03-31 Thread Rich Ziade
Wow. What a frickin' mess. Heheh. The RFC stuff is not too painful. The
WRCDTF is just plain silly. 

 
I just stumbled on a CFC that deals w/ timezone stuff on cfczone. I'm gonna
dig into that and see if it helps. At first glance, I think it'll be useful
for casting against timezones, but not for parsing the string. 

 
Thanks for the help.

 
Rich

 
  _  

From: Roger Benningfield [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 3:50 PM
To: CF-Talk
Subject: Re: Parsing RFC822 Dates

 
>Ok, how about ISO 8601 (typically used in RDF-style RSS):

Rich,

Check out this blog entry for everything you never wanted to know about CFMX
and RSS dates:

http://admin.mxblogspace.journurl.com/?mode=article&entry=388

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




loops and radio buttons

2004-03-31 Thread Gilbert Midonnet
I'm getting lost doing something that I thought would be easy. Loops that work well with checkboxes break with radio buttons. Updates aren't working and I'm going crazy.

A client would like there to be a list of newsletters for customers to order. Each newsletter can be seen on-line, have a hardcopy, or both.

NAME OF NEWSLETTER --- ONLINE --- HARDCOPY --- BOTH
NEWSLETTER A  O -- O -- O - 
NEWSLETTER B  O -- O -- O -
NEWSLETTER C  O -- O -- O -
NEWSLETTER D  O -- O -- O -
NEWSLETTER E  O -- O -- O -

It's the inserting/updating that's driving me nuts.

Checkboxes are simple but radio buttons are driving me nuts.

The loop below works well for checkboxes.


	
		

			

			

		
	


I've been unable to make it work for radio buttons.

In the first place the name of the checkboxes have to be different. So I do something like.



All my lists and loops are failing. I'm now on my 50th permutation and going crazy.

Gil
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: IIS Custom Error Pages in CF?

2004-03-31 Thread Mark A. Kruger - CFG
welcome!
  -Original Message-
  From: Jim McAtee [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, March 31, 2004 1:16 PM
  To: CF-Talk
  Subject: Re: IIS Custom Error Pages in CF?

  Bert & Mark:

  Thanks!  I had been trying with the message type still set to 'file'.

  Jim

  - Original Message - 
  From: "Mark A. Kruger - CFG" <[EMAIL PROTECTED]>
  To: "CF-Talk" <[EMAIL PROTECTED]>
  Sent: Wednesday, March 31, 2004 6:38 AM
  Subject: RE: IIS Custom Error Pages in CF?

  > Yes you can.
  >
  > 1) Go into IIS properties for your site and choose the "custom errors"
  tab.
  > 2) Select the 404 error and choose edit.
  > 3) change the "message type" from file to URL
  > 4) Enter a .cfm page with a path relative to THIS site.  So, for
  example, if you put a "missingFile.cfm" handler in your
  > root folder you would enter "missingFile.cfm" - or if it was in a folder
  called Bob it would be "Bob/missingfile.cfm".
  >
  > This can be quite useful.  I use this technique for some subscription
  sites that wish to create unique URL's for their
  > client subscribers.  After subscribing the user is instructed to use
  "blah.com/name" (i.e. blah.com/MarySmith).  Of
  > course the directory "MarySmith" doesn't exist so the request is
  forwarded to my .cfm file handler.  The file handler
  > parses out "MarySmith" and sends the user to a customized page for login
  or whatever.
  >
  > A similar trick uses a wildcard entry on a DNS server to allow a user to
  go to "marySmith.blah.com" - both tricks are
  > great for sales CRM tools, real estate sites and the like - any place
  where you want a use to have a "personal website"
  > but it actually connected to a larger group or site.
  >
  > -mark
  >
  > Mark A. Kruger, MCSE, CFG
  > www.cfwebtools.com
  > www.necfug.com
  > http://blog.mxconsulting.com
  > ...what the web can be!
  >
  >
  >
  >
  >  -Original Message-
  > From: Jim McAtee [mailto:[EMAIL PROTECTED]
  > Sent: Tuesday, March 30, 2004 9:03 PM
  > To: CF-Talk
  > Subject: OT: IIS Custom Error Pages in CF?
  >
  >
  >   I'm trying to figure out if I can use a .cfm page (or possibly an .asp
  >   page) for an IIS 5 custom 404 error page.  I'm _not_ trying to
  configure
  >   CF's missing template handler as done through the CF Administrator.
  That
  >   works fine.
  >
  >   It appears that if you designate a .cfm page for 404 errors (for
  example:
  >   http://mysite.com/notapage.htm) then the .cfm page doesn't get sent
  >   through the CF engine.  Can this behaviour be changed?  What about
  .asp
  >   pages - same problem?  I haven't tried that route yet.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Parsing RFC822 Dates

2004-03-31 Thread Roger Benningfield
>Ok, how about ISO 8601 (typically used in RDF-style RSS):

Rich,

Check out this blog entry for everything you never wanted to know about CFMX and RSS dates:

http://admin.mxblogspace.journurl.com/?mode=article&entry=388

--
Roger Benningfield
work: http://journurl.com/
blog: http://admin.support.journurl.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Embedding an image in cfmail

2004-03-31 Thread Casey C Cook
Heres the source code which is using the  but the image does not come back.


  FROM="#ENUM_THIS_REPORTER.REPORTER_EMAIL#"
   SUBJECT="#ENUM_CONTEXT.CONTEXT_ID# Daily News Summary text">






Read 



7C252360672B03A0BAD013A5
Content-Type: image/gif; name="#ContextID#test.gif"
Content-Transfer-Encoding: base64 
Content-ID: <[EMAIL PROTECTED]>


file="#expandpath("emailImages\")##ContextID#test.gif" 
variable="charData"> 
#data64#
7C252360672B03A0BAD013A5--


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: JAVA - CFMX Position

2004-03-31 Thread Ciliotta, Mario
Hi,

 
I was wondering if anyone could recommend any other job posting site like
CFJOBs that I could post a open position on.  I posted on CFJOBS but currently
no one has replied.  Maybe I am asking for too much in the specs but if you
want you can check out the posting.  The position is for a JAVA/JSP programmer
with some CFMX experience.

 
The posting is in twice as I posted with the wrong email address in the first
posting.

 
Anyway if anyone is interested in the position or knows of anyone who is
interested, please feel free to response or forward on.

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




RE: Any Possible Bugs in CFMX - ? (Was - CFHEADER & CFCONTENT question)

2004-03-31 Thread Joe Eugene
Is there a BUG using  in CFMX?

It throws all kinda Errors on Log Files when downloading
files larger than 100K.

Can anybody Explain the Workings behind 

Thanks,
Joe Eugene

  -Original Message-
  From: Ketan Patel [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, March 31, 2004 1:20 PM
  To: CF-Talk
  Subject: CFHEADER & CFCONTENT question

  Hi,
  I have a intranet application where I am allowing people to download
access
  database. Following is the code I am using

  
  
  FILE="#application.filehttppathstring##location#" DELETEFILE="No">

  My problem is when I want to save the file it gives me 2 options Save as
  HTML Document or All files. I don't want the option to save as HTML
  document. Is there any mime setting or any code change need to be done.

  Any help is appreciated. Thanks in advance

  Ketan Patel
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: BlueDragon and Unicode

2004-03-31 Thread Vince Bonfanti
Hi Lola,

Yes, Unicode is supported in the BlueDragon 6.1 release, currently nearing
the end of beta testing (the final release should happen before the end of
April). Unicode is not supported in earlier releases of BlueDragon.

I'll ask the marketing folk to make this more clear on the web site.

Regards,

Vince Bonfanti
New Atlanta Communications, LLC
http://www.newatlanta.com

-Original Message-
From: Lola Lee [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 2:52 PM
To: CF-Talk
Subject: BlueDragon and Unicode

Is Unicode supported in BlueDragon?  If so, what is the extent of support?
I checked New Atlanta's website but I don't see anything obvious.

-- 
Lola - mailto:[EMAIL PROTECTED]
http://www.lolajl.net | Blog at http://www..lolajl.net/blog/
Terrorism delenda est! (Terrorism must be destroyed utterly!)
I'm in Bowie, MD, USA, halfway between DC and Annapolis.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Embedding an image in cfmail

2004-03-31 Thread Dan Phillips
Just use good ol' HTML. 

-Original Message-
From: Casey C Cook [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 4:23 PM
To: CF-Talk
Subject: Embedding an image in cfmail

Does anyone have a quick example of code that will embed an image in a 
cfmail ?

I want the output to look something like

My cruise pics

See this nice image!
(IMAGE1)

See this nice image!
(IMAGE2)

See this nice image!
(IMAGE3)

Thanks for your assistance,
Casey Cook 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




[ MSSQL ] which datatype is best for storing web page data

2004-03-31 Thread Dan Farmer
I have a CMS that stores the web page code into a MSSQL database.

Which datatype would be best for this? ( text, ntext, nvarchar ) ?

__
Daniel Farmer
Producer / Coldfusion Developer
http://www.bernardclark.com/danfarmer.ca
P: 613.284.1684
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Embedding an image in cfmail

2004-03-31 Thread Casey C Cook
Does anyone have a quick example of code that will embed an image in a 
cfmail ?

I want the output to look something like

My cruise pics

See this nice image!
(IMAGE1)

See this nice image!
(IMAGE2)

See this nice image!
(IMAGE3)

Thanks for your assistance,
Casey Cook
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFINVOKE vs CreateObject - Flogging OOP!

2004-03-31 Thread Ben Densmore
The only caution I would give about using the Mach-II example apps is
that they are outdated and may not reflect "best practices" for the
current version of the framework(1.0.9). Sean Corfield has some good
info in the Mach-II dev guide at
http://livedocs.macromedia.com/wtg/public/machiidevguide/ which helped
me get up to speed as well as asking a lot of questions on the Mach-II
list.

Ben

-Original Message-
From: Dave Jones [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 4:37 PM
To: CF-Talk
Subject: Re: CFINVOKE vs CreateObject - Flogging OOP!

Nikhil,
What worked for me was to take one of the sample apps 
(ContactManager) and first get it running on my local machine. 
Then I started modifying and replacing its pieces with pieces of 
my own test app (all still in CF) until I had a good sense for 
how all the pieces worked. Then it was just a matter of building 
my own Java objects to use as the Model components of the app.

I should confess that I don't strictly follow the Mach-II 
conventions. I like keeping my applications as ignorant as 
possible of the underlying framework. Fortunately, Mach-II is 
very accommodating. I use filters and listeners as 'shims' 
between the framework and my app; they are the only pieces that 
speak Mach-II. So, for example, my filters build out variables 
for my views in the request scope so that the views can stay 
generic (and not require knowledge of Mach-II's event scope).

Dave Jones
NetEffect

At 02:26 PM 3/31/04 -0400, you wrote:
>Dave,
>At first glance Mach II seemed similar to Struts..I've had 
>difficulty getting good documentation on Mach II with most of 
>the stuff on the Mach II site very sketchy as to the framework 
>API. I know I can start trying to understand the framework 
>source code, but is there an easier way like say a book or 
>something. Did you start using the framework right after 
>studying one of the example applications?
>
>Nikhil
>
> >Nikhil,
> >I agree with you for the most part. I think the addition of CFCs
> >to CF is a big step forward, but the partial implementation of
> >OOP is frustrating (the lack of overloading and interfaces are 
> my pet peeves).
> >
> >However, I think it's okay that CF is not full OOP. The solution
> >for me is to use a mix of CF and Java, each doing what it does
> >best. To me, CF runs circles around JSPs and tags for
> >presentation, while Java is superior for modeling business
> >objects and processes.
> >
> >So, I use a MVC architecture, with CF handling the VC and Java
> >the M. Mach-II appears to provide a nice framework for cleanly
> >separating the responsibilities between CF and Java. I'm doing
> >this on a current client project and so far have been pleased.
> >
> >Dave Jones
> >NetEffect
> >
> >
> >At 11:56 AM 3/31/04 -0400, you wrote:
> >>[
>
>--
>[


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFINVOKE vs CreateObject - Flogging OOP!

2004-03-31 Thread Dave Jones
Nikhil,
What worked for me was to take one of the sample apps 
(ContactManager) and first get it running on my local machine. 
Then I started modifying and replacing its pieces with pieces of 
my own test app (all still in CF) until I had a good sense for 
how all the pieces worked. Then it was just a matter of building 
my own Java objects to use as the Model components of the app.

I should confess that I don't strictly follow the Mach-II 
conventions. I like keeping my applications as ignorant as 
possible of the underlying framework. Fortunately, Mach-II is 
very accommodating. I use filters and listeners as 'shims' 
between the framework and my app; they are the only pieces that 
speak Mach-II. So, for example, my filters build out variables 
for my views in the request scope so that the views can stay 
generic (and not require knowledge of Mach-II's event scope).

Dave Jones
NetEffect

At 02:26 PM 3/31/04 -0400, you wrote:
>Dave,
>At first glance Mach II seemed similar to Struts..I've had 
>difficulty getting good documentation on Mach II with most of 
>the stuff on the Mach II site very sketchy as to the framework 
>API. I know I can start trying to understand the framework 
>source code, but is there an easier way like say a book or 
>something. Did you start using the framework right after 
>studying one of the example applications?
>
>Nikhil
>
> >Nikhil,
> >I agree with you for the most part. I think the addition of CFCs
> >to CF is a big step forward, but the partial implementation of
> >OOP is frustrating (the lack of overloading and interfaces are 
> my pet peeves).
> >
> >However, I think it's okay that CF is not full OOP. The solution
> >for me is to use a mix of CF and Java, each doing what it does
> >best. To me, CF runs circles around JSPs and tags for
> >presentation, while Java is superior for modeling business
> >objects and processes.
> >
> >So, I use a MVC architecture, with CF handling the VC and Java
> >the M. Mach-II appears to provide a nice framework for cleanly
> >separating the responsibilities between CF and Java. I'm doing
> >this on a current client project and so far have been pleased.
> >
> >Dave Jones
> >NetEffect
> >
> >
> >At 11:56 AM 3/31/04 -0400, you wrote:
> >>[
>
>--
>[
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: FLEX: are you HERE or are you NOW?

2004-03-31 Thread Howard Fore
On Mar 31, 2004, at 3:26 PM, Christian Cantrell wrote:

> Here is information on why the Flex trial is only currently available
> on CD:
>
> http://www.macromedia.com/software/flex/productinfo/faq/#item-36

 From that URL:
> Why is the Flex trial only available on CD?
> Flex is an advanced enterprise server product that has generated 
> massive  interest and anticipation across the industry. Macromedia 
> wants to  ensure that early Flex customers get the support they need 
> to  evaluate the product successfully. A downloadable version of the 
> Flex trial may become available in the future.

Maybe I'm just not good at reading between the lines. Are there extras 
on the CD that will give "early Flex customers get the support they 
need to  evaluate the product successfully"? It sounds like marketing 
double-speak to me. Perhaps they could be a bit more forthcoming at how 
paying $US 8.95 for a CD will give customers support.

--
Howard Fore, [EMAIL PROTECTED]
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: FLEX: are you HERE or are you NOW?

2004-03-31 Thread Jochem van Dieten
Christian Cantrell wrote:
> 
> Here is information on why the Flex trial is only currently available 
> on CD:
> 
> http://www.macromedia.com/software/flex/productinfo/faq/#item-36

"Why is the Flex trial only available on CD?
 Flex is an advanced enterprise server product that has 
generated massive interest and anticipation across the industry. 
Macromedia wants to ensure that early Flex customers get the 
support they need to evaluate the product successfully. A 
downloadable version of the Flex trial may become available in 
the future."

So the reason is that Macromedia wants to make sure that early 
evaluators get support. But how is having people paying $8.99 
going to help with that?

Am I to understand that Macromedia can provide support for only 
$8.99? Or am I to understand that Macromedia wants to limit the 
number of frivolous downloads? (If so I am sure it is possible to 
find a better wording of that FAQ.) Or is it something entirely 
different?

>> And that is pretty much how Macromedia are treating their international
>> customers at the moment. Pay up or give up.
> 
> The trial is only available on CD for all customers, not just 
> international ones.  What do you mean?

Not applicable in this case, but I find it rather absurd that one 
can afford a mini-holiday in the US from the price difference 
between the US prices for CF MX Enterprise and the prices in 
Macromedia's European shop. (And that is without taxes.)

Jochem

-- 
I don't get it
immigrants don't work
and steal our jobs
 - Loesje
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Blue Dragon on Mandrake 9.2 with MySQL

2004-03-31 Thread Alex Gorelik
Hello,

I've got Blue Dragon 3.x running on RedHat 7.3.  It works well with MySQL Datasources. I just installed Blue Dragon 6 (Beta) on Mandrake 9.2... seems to work well except I keep getting General SQL error when I try to create a MySQL datasource.  There are no problems with MySQL... I'm able to connect to my DB in terminal and GUI - MySQLCC. Wondered if anyone has run Blue Dragon on a Mandrake distro b4... trying to figure out whether my problem is Mandrake / Blue Dragon 6, combo of these or something else entirely.

BTW: I posted this in the general CF-Talk but find that this is a more appropriate thread... apologies for the cross-post.

Discry
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Blue Dragon / Mandrake 9.2

2004-03-31 Thread Alex Gorelik
Hello,

I've got Blue Dragon 3.x running on RedHat 7.3.  It works well with MySQL Datasources. I just installed Blue Dragon 6 (Beta) on Mandrake 9.2... seems to work well except I keep getting General SQL error when I try to create a MySQL datasource.  There are no problems with MySQL... I'm able to connect to my DB in terminal and GUI - MySQLCC. Wondered if anyone has run Blue Dragon on a Mandrake distro b4... trying to figure out whether my problem is Mandrake / Blue Dragon 6, combo of these or something else entirely.

Discry
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: FLEX: are you HERE or are you NOW?

2004-03-31 Thread Scott Weikert
At 01:26 PM 3/31/2004, Christianwrote:
>Here is information on why the Flex trial is only currently available
>on CD:
>
>http://www.macromedia.com/software/flex/productinfo/faq/#item-36

Why is the Flex trial only available on CD?

Flex is an advanced enterprise server product that has generated massive 
interest and anticipation across the industry. Macromedia wants to ensure 
that early Flex customers get the support they need to evaluate the product 
successfully. A downloadable version of the Flex trial may become available 
in the future.



Now is it just me, or does that paragraph simply NOT answer the question 
it's associated with? How does offering it only on CD have anything to do 
with support? Files are files, whether they come on a CD or are downloadable.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Parsing RFC822 Dates

2004-03-31 Thread Rich Ziade
Will do. 

 
I noticed that parseDateTime() doesn't seem to be handling the timezone in
the string. Is there something else that needs to happen?

 
-Rich

 
  _  

From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 3:18 PM
To: CF-Talk
Subject: Re: Parsing RFC822 Dates

 
Rich Ziade wrote:
>  
> Ok, how about ISO 8601 (typically used in RDF-style RSS):
>  
> 1994-11-05T08:15:30-05:00

http://www.macromedia.com/go/wish and add your vote to 
enhancement request 49751

Jochem

-- 
I don't get it
immigrants don't work
and steal our jobs
 - Loesje
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Flex is out

2004-03-31 Thread Calvin Ward
Dave,

I would guess that not everyone runs on 1 CPU boxes, and many shops do run 2 or more CPUs in a box, so I was going somewhat middle of the road, also by only specifying 2 load balanced servers I was being light. I notice your arrangement doesn't include a license for your development box.

I also referenced Tomcat (freeware), but did not list the price for Websphere either, again going middle of the road on that pricing.

The ROI will depend on the value add of having RIA interface elements and widgets in your site or application. How much value will those items add to your product? Are we not doing them now because of cost?

Keep in mind, I feel that any such decision needs to consider the procurement cost, and the resource cost. So whether the price of learning is not part of procurement isn't really important, it's that there are additional costs beyond the procurement price that is important.

Best Regards,
Calvin

  - Original Message - 
  From: Dave Carabetta 
  To: CF-Talk 
  Sent: Wednesday, March 31, 2004 10:09 AM
  Subject: Re: Flex is out

  >But the math never adds up to only $12,000, does it?

  It could theoretically be lessfrom a pure software procurement 
  standpoint, not necessarily a development cost standpoint.

  >If you want to deploy the Flex application in a load balanced environment, 
  >then it will require at least $24,000. If you want a separate 
  >development/QA server (you're using Flex for enterprise development with a 
  >team, right? You match the Flex project profile right?), then you'll be 
  >looking at least $36,000.
  >

  That depends on your setup. In our environment, yes we're clustered across 2 
  servers, but each box only has 1 CPU, so I only need one license. (As I've 
  mentioned before, you can split the CPU licenses across multiple boxes.) So 
  I'm still technically at $12K (and that's before our discounts and 
  negotiations kick in).

  >Oh, let's not forget procuring a Gold support agreement, I imagine that 
  >$20,000 annually won't be unexpected, and by the way, all the prices 
  >discussed don't include subscription pricing, which is typically around 40% 
  >more. We want to protect our investment for the future yes? So for those 3 
  >licenses above, with subscription and Gold Support? $70,000
  >

  Well, the Gold support agreement is your call (not really sure how necessary 
  it is, quite frankly, seeing as there's a pretty responsive development 
  community for Flex even now, let alone what will arise over the coming 
  months). But I'm assuming by "subscription pricing" you mean annual 
  maintenance contracts, which are indeed standard nowadays. It clearly states 
  on the Flex pricing page:

  "Flex presentation server pricing starts at $12,000 for two CPUs and 
  includes annual maintenance."

  http://www.macromedia.com/software/flex/buy/

  So your 40% goes out the window too.

  >Also if I'm not mistaken, you have to provide an application server for it 
  >to run on. And by the way ColdFusion MX Standard does not count. ColdFusion 
  >Enterprise does, which is a cost of $5,999 per server (2 CPU License). I 
  >believe JRun may be the least expensive application server option (aside 
  >from freeware) and that's $899 or so.
  >

  *Technically,* you are mistaken. You don't need ColdFusion to run Flex, and 
  you can install this on Tomcat if you'd like. However, I say technically 
  because to do any amount of heavy lifting regarding database access, etc., 
  your life is probably made much easier by having a middle tier such as 
  ColdFusion MX to handle it.

  >Let's assume you don't have an application server and need to provide one, 
  >with of course some kind of software protection, we're up to $73,747 or so.
  >

  With the modifications above, we're nowhere near this number.

  >This is a significant amount of investment to improve your presentation 
  >layer, and for larger shops, we can easily push into 100s of thousands of 
  >dollars.
  >

  I'm not in any way trying to suggest that Flex isn't a significant financial 
  investment (let's be honest, it is). However, I think you need to do a more 
  thorough cost analysis for your own system before writing it off as well. 
  Even if the total cost of procuring the software was $60K, if you have a 
  project where you know the potential ROI is above that, then all of a sudden 
  $60K isn't so bad.

  >Let's not forget the unspoken elements. MXML is a distinct and completely 
  >new development language, with it's own constructs, syntax and 
  >idiosyncrasies that must be learned and mastered. In addition to the above 
  >costs, you have to consider training, and experimental efforts, people 
  >don't learn without doing, and typically don't do for free. I don't have a 
  >price tag for that one, that depends on your team.
  >

  Agreed. But this isn't in the realm of software procurement as much as it is 
  development costs.

  >My current opinion is be very aw

RE: cfif inside cfsavecontent

2004-03-31 Thread Tony Weeg
that's what I thought...i use
this tag all the time.  anyway, as soon
as I throw  aroudn the data
that I want written from a query to the file within the
cfsavecontent, I get cfloop errors, blah blah blah...

I don't have duplicate cfoutputs, I just have one set.
I don't have any cfloop errors...this is weird...
tony 

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 3:16 PM
To: CF-Talk
Subject: RE: cfif inside cfsavecontent

Sure can.  You can embed almost anything in CFSAVECONTENT.  CFLUSH is the
only exception I know about, because it can't be within any custom tag.

> -Original Message-
> From: Tony Weeg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 31, 2004 11:57 AM
> To: CF-Talk
> Subject: cfif inside cfsavecontent
> 
> can I do this?
> 
> cfsavecontent
> 
> 	cfif something is something
> 		Hi	
> 	cfelse
> 		Bye
> 	/cfif
> 
> /cfsavecontent
> 
> thanks!s\
> 
> ...tony
> 
> tony weeg
> senior web applications architect
> navtrak, inc.
> www.navtrak.net
> [EMAIL PROTECTED]
> 410.548.2337
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: FLEX: are you HERE or are you NOW?

2004-03-31 Thread Christian Cantrell
On Mar 31, 2004, at 1:42 PM, Peter Tilbrook wrote:

>  "How do I get 'Flex' and can I download a trial?" - Yes you can but 
> at the
>  same time no you cannot. I had to say "pay up" or order the CD-ROM. 
> You
>  cannot download it from an easily accessible site just yet (if ever).

Here is information on why the Flex trial is only currently available 
on CD:

http://www.macromedia.com/software/flex/productinfo/faq/#item-36

> But for $15.00 or more Australian dollars you may get it on CD 
> eventually.

Anyone who orders the CD will receive one promptly.

>  And that is pretty much how Macromedia are treating their 
> international
>  customers at the moment. Pay up or give up.

The trial is only available on CD for all customers, not just 
international ones.  What do you mean?

Christian
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Parsing RFC822 Dates

2004-03-31 Thread Jochem van Dieten
Rich Ziade wrote:
>  
> Ok, how about ISO 8601 (typically used in RDF-style RSS):
>  
> 1994-11-05T08:15:30-05:00

http://www.macromedia.com/go/wish and add your vote to 
enhancement request 49751

Jochem

-- 
I don't get it
immigrants don't work
and steal our jobs
 - Loesje
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Can a Regex do this?

2004-03-31 Thread Rob
On Wed, 2004-03-31 at 10:31, [EMAIL PROTECTED] wrote:
> I have 800 .hlp files which are not actually WinHelp, but some proprietary 
> form of help file, 
WinHelp is not proprietary?

> and we need to convert them into something readable. I 
> guess my first question is whether or not anyone can tell from the output 
> below what type of help file this is. 
Looking around it looks like some kind of Solaris help file. Check out
this MIT link:
http://www.mit.edu/afs/sipb/service/solaris/packages/RaidManager-6.22-sparc/SUNWosau/reloc/lib/osa/help/glossary.txt

Either that or it is just a file format that can be used on Solaris

At least its a place to start. You can do what you want by hand but I'd
be willing to bet if you can figure out what kind of file it is there
probably is a converter out there.

-- 
Rob <[EMAIL PROTECTED]>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFINVOKE vs CreateObject - Flogging OOP!

2004-03-31 Thread Dave Watts
> Even if one allows CFMX leeway on this issue (I can 
> understand that the learning curve can be steeper for newbees 
> with all the OOP bells and whistles) and come back to the 
> core of object-orientation, which is encapsulation, CFMX 
> fails horribly to justify .
> 
> Encapsulation is at the core of OOP- an object is defined as 
> having some properties and certain behaviors. The idea is to 
> keep those two tightly combined in one logical unit. 
> Instantiation is another core behavior - creating and using a 
>  particular instance of a class(object) makes perfect sense. 
> After all a class is but a template.
> With that in mind-  is blasphemy in the name of 
> Object Orientation!
>  encourages the design and usage of CFCs as a mere 
> collection of (potentially unrelated) functions. Without 
> instantiation, initialization of properties and proper use of 
> instance methods, of what benefit is a CFC?
> You could always use a UDF instead or even a custom tag.

Most OO languages allow the use of static classes, don't they? In those
cases, you're not interested in creating instances of objects, you simply
have an object that contains a bunch of useful, related methods.

As for why you'd use "static" CFCs instead of UDFs, I'd suggest the facts
that they generate documentation and can be used easily within Dreamweaver
MX as two reasons.

> I prefer a single, architecturally solid construct over 
> multiple ways to do things that violate the very benefits 
> that they are supposed to bring.

I prefer to use languages that let me do what I want to do, rather than ones
that tell me what I should do. Ease of use and flexibility are closely
related. Granted, I wouldn't mind at all if CFMX provided a CFCONSTRUCTOR
tag like BlueDragon does, but if I want to write OO code, I'll use an OO
language. If I want to be able to mix procedural and OO code to my liking,
I'll use CF.

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




Re: Flex is out

2004-03-31 Thread Christian Cantrell
On Mar 31, 2004, at 11:51 AM, Morgan Senkal wrote:

> Thanks for the clarifications, Christian.  One question tho:  I have 
> checked out the samples explorer, and the one thing that I find 
> lacking as far as an example is accessibility - an issue of extreme 
> importance in my shop... On the features page, Flex claims to be 
> accessible, my question is how?  And I would like to see it!

This is something I actually don't know much about, but there's a whole 
Flex Accessibility center on our website:

http://www.macromedia.com/macromedia/accessibility/features/flex/

Let me know if this material doesn't answer all your questions, and 
I'll see if I can dig up more information.

Christian
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: cfif inside cfsavecontent

2004-03-31 Thread Barney Boisvert
Sure can.  You can embed almost anything in CFSAVECONTENT.  CFLUSH is the
only exception I know about, because it can't be within any custom tag.

> -Original Message-
> From: Tony Weeg [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 31, 2004 11:57 AM
> To: CF-Talk
> Subject: cfif inside cfsavecontent
> 
> can I do this?
> 
> cfsavecontent
> 
> 	cfif something is something
> 		Hi	
> 	cfelse
> 		Bye
> 	/cfif
> 
> /cfsavecontent
> 
> thanks!s\
> 
> ...tony
> 
> tony weeg
> senior web applications architect
> navtrak, inc.
> www.navtrak.net
> [EMAIL PROTECTED]
> 410.548.2337
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: cfif inside cfsavecontent

2004-03-31 Thread Tony Weeg
dumb question I know, but I had to check my sanity...

im getting weird errors with that tag...and I cant narrow it down, Ive used
this freakin
tag 1000's of times...hmmm

what can trip this tag up?

tony

-Original Message-
From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 2:57 PM
To: CF-Talk
Subject: cfif inside cfsavecontent

can I do this?

cfsavecontent

	cfif something is something
		Hi	
	cfelse
		Bye
	/cfif

/cfsavecontent

thanks!s\

...tony

tony weeg
senior web applications architect
navtrak, inc.
www.navtrak.net
[EMAIL PROTECTED]
410.548.2337
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Can a Regex do this?

2004-03-31 Thread Ben Doom
Looks like TeX or LaTeX, which is a fairly standard markup language 
(especially in scientific printing).  If my guess is right, you should 
be able to pretty easily find a converter for them.

You probably *could* use a series of regex to parse the files, but it 
would be a lot easier to find something to do it automatically

--Ben Doom

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

> Hi,
> 
> I have 800 .hlp files which are not actually WinHelp, but some 
> proprietary form of help file, and we need to convert them into 
> something readable. I guess my first question is whether or not anyone 
> can tell from the output below what type of help file this is. Open 
> Interface comes up when you click on "Help" within the help application 
> itself. Perhaps there is a software upgrade which would solve the problem.
> 
> Since it is not an actual WinHelp file, RoboHelp cannot import it. 
> Instead of manually rewriting the files, I was wondering if an elaborate 
> regular _expression_ could work, or whether some other software or 
> programming language could be used. The file below contains formatting 
> that I could theoretically recognize, and pull the appropriate data to 
> make an html file. For example, I want to locate the first the "topic" 
> line and make that the header for a new html document. The text between 
> "\0\p\p\p will become the text below that. Any \subtopic will be 
> hyperlinks to bookmarks to the corresponding \topic text below it, and 
> so on.
> 
> I can write out what I want in Plain Language, so there must be a way in 
> a programming language. I just need to be pointed in the right 
> direction. Any ideas are greatly appreciated.
> 
> Thanks in advance.
> 
> Sincerely,
> Andrew
> 
> \file "styles.hlp"
> \def_style 0\font font.normal \fg color.black \bg color.transparent
> \def_style 1\font font.normal \fg color.black \bg color.yellow
> \def_style 2\font font.bold \fg color.blue \bg color.transparent \curs 
> helpw.curstopic
> \def_style 3\font font.normal \fg color.black \bg color.yellow
> \def_style 4\font font.normal \fg color.black \bg color.yellow
> \def_style 5\font font.normal \fg color.black \bg color.transparent
> \def_style 7\font font.bold \fg color.black \bg color.transparent
> 
> \[\]
> \topic "Purchasing Three-Way Match Index (TWPU) Window"
> \0 \{\set_style "topic_title" Purchasing Three-Way Match Index (TWPU) 
> Window \}
> \0\p\p\p
> Purchasing Three-Way Match Index (TWPU) provides status
> information for purchase orders and subsequent documents.
> This screen is organized by status for each purchase order.
> \0\p\p
> \{\subtopic "Status" \set_style "goto_style"   Status \} \0\p
> \{\subtopic "Vendor Number" \set_style "goto_style"   Vendor Number 
> \} \0\p
> \{\subtopic "Vendor Addr Ind" \set_style "goto_style"   Vendor Addr 
> Ind \} \0\p
> \{\subtopic "Purchase Order Transaction ID" \set_style 
> "goto_style"   Purchase Order Transaction ID \} \0\p
> \{\subtopic "Line" \set_style "goto_style"   Line \} \0\p
> \{\subtopic "Match ID Transaction ID" \set_style "goto_style"   
> Match ID Transaction ID \} \0\p
> \{\subtopic "Line Num" \set_style "goto_style"   Line Num \} \0\p
> \{\subtopic "P/F Ind" \set_style "goto_style"   P/F Ind \} \0\p
> \{\subtopic "Payment Flag" \set_style "goto_style"   Payment Flag \} 
> \0\p
> \{\subtopic "Cond Flag" \set_style "goto_style"   Cond Flag \} \0\p
> 
> \[\]
> \topic "Status" \set_style "topic_title" Status
> \label XSTATUS_2
> \0\p\p
> Key field. Valid values are:
> \0\p\p\{\set_style "valid_value" Entry Added During the Day [**]
> \} \0 \0\p\p\{\set_style "valid_value" ThreeWay Match [A1]
> \} \0 \0\p\p\{\set_style "valid_value" Three-Way Match Requiring Review [A2]
> \} \0 A condition exists that requires manual review.
> \0\p\p\{\set_style "valid_value" Received but not Invoiced [B1]
> \} \0 \0\p\p\{\set_style "valid_value" Invoiced but not Received [B2]
> \} \0 \0\p\p\{\set_style "valid_value" Neither Received nor Invoiced [C]
> \} \0 \0\p\p\{\set_style "valid_value" Entry to be Deleted [*]
> \} \0 The entry is deleted during the next processing cycle.
> \0\p\p
> 
> \topic "Vendor Number" \set_style "topic_title" Vendor Number
> \label VENDOR_NUMBER
> \0\p\p
> Key field. Displays the unique vendor code that identifies
> the vendor associated with the order.
> \0\p\p
> 
> \topic "Vendor Addr Ind" \set_style "topic_title" Vendor Addr Ind
> \label VENDOR_ADDR_IND
> \0\p\p
> Key field. Part of the vendor code, this field indicates
> whether an alternate address exists for the vendor.
> \0\p\p
> 
> \topic "Purchase Order Transaction ID" \set_style "topic_title" Purchase 
> Order Transaction ID
> \label PO_TRANS_CODE
> \label PO_NUMBER_AGENCY
> \label PO_NUMBER_NUMBER
> \0\p\p
> Key field. Displays the unique document ID that identifies
> this purchase order.
> \0\p\p
> 
> \to

cfif inside cfsavecontent

2004-03-31 Thread Tony Weeg
can I do this?

cfsavecontent

	cfif something is something
		Hi	
	cfelse
		Bye
	/cfif

/cfsavecontent

thanks!s\

...tony

tony weeg
senior web applications architect
navtrak, inc.
www.navtrak.net
[EMAIL PROTECTED]
410.548.2337
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Parsing RFC822 Dates

2004-03-31 Thread Rob
On Wed, 2004-03-31 at 11:34, Rich Ziade wrote:
> Woohoo! Sweet. Thanks Ben.
>  
> 
> Ok, how about ISO 8601 (typically used in RDF-style RSS):
>  
> 1994-11-05T08:15:30-05:00

if you strip off the -05:00 part (or add it to the time), then replace
the T with a space you can do it.







-- 
Rob <[EMAIL PROTECTED]>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




BlueDragon and Unicode

2004-03-31 Thread Lola Lee
Is Unicode supported in BlueDragon?  If so, what is the extent of support?  I checked New Atlanta's website but I don't see anything obvious.

-- 
Lola - mailto:[EMAIL PROTECTED]
http://www.lolajl.net | Blog at http://www..lolajl.net/blog/
Terrorism delenda est! (Terrorism must be destroyed utterly!)
I'm in Bowie, MD, USA, halfway between DC and Annapolis.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Can a Regex do this?

2004-03-31 Thread webmaster
Hi,

I have 800 .hlp files which are not actually WinHelp, but some proprietary form of help file, and we need to convert them into something readable. I guess my first question is whether or not anyone can tell from the output below what type of help file this is. Open Interface comes up when you click on "Help" within the help application itself. Perhaps there is a software upgrade which would solve the problem.

Since it is not an actual WinHelp file, RoboHelp cannot import it. Instead of manually rewriting the files, I was wondering if an elaborate regular _expression_ could work, or whether some other software or programming language could be used. The file below contains formatting that I could theoretically recognize, and pull the appropriate data to make an html file. For example, I want to locate the first the "topic" line and make that the header for a new html document. The text between "\0\p\p\p will become the text below that. Any \subtopic will be hyperlinks to bookmarks to the corresponding \topic text below it, and so on. 

I can write out what I want in Plain Language, so there must be a way in a programming language. I just need to be pointed in the right direction. Any ideas are greatly appreciated.

Thanks in advance.

Sincerely,
Andrew

\file "styles.hlp"
\def_style 0\font font.normal \fg color.black \bg color.transparent
\def_style 1\font font.normal \fg color.black \bg color.yellow
\def_style 2\font font.bold \fg color.blue \bg color.transparent \curs helpw.curstopic
\def_style 3\font font.normal \fg color.black \bg color.yellow
\def_style 4\font font.normal \fg color.black \bg color.yellow
\def_style 5\font font.normal \fg color.black \bg color.transparent
\def_style 7\font font.bold \fg color.black \bg color.transparent

\[\]
\topic "Purchasing Three-Way Match Index (TWPU) Window"
\0 \{\set_style "topic_title" Purchasing Three-Way Match Index (TWPU) Window \}
\0\p\p\p
Purchasing Three-Way Match Index (TWPU) provides status 
information for purchase orders and subsequent documents. 
This screen is organized by status for each purchase order.
\0\p\p
\{\subtopic "Status" \set_style "goto_style"   Status \} \0\p
\{\subtopic "Vendor Number" \set_style "goto_style"   Vendor Number \} \0\p
\{\subtopic "Vendor Addr Ind" \set_style "goto_style"   Vendor Addr Ind \} \0\p
\{\subtopic "Purchase Order Transaction ID" \set_style "goto_style"   Purchase Order Transaction ID \} \0\p
\{\subtopic "Line" \set_style "goto_style"   Line \} \0\p
\{\subtopic "Match ID Transaction ID" \set_style "goto_style"   Match ID Transaction ID \} \0\p
\{\subtopic "Line Num" \set_style "goto_style"   Line Num \} \0\p
\{\subtopic "P/F Ind" \set_style "goto_style"   P/F Ind \} \0\p
\{\subtopic "Payment Flag" \set_style "goto_style"   Payment Flag \} \0\p
\{\subtopic "Cond Flag" \set_style "goto_style"   Cond Flag \} \0\p

\[\]
\topic "Status" \set_style "topic_title" Status
\label XSTATUS_2
\0\p\p
Key field. Valid values are:
\0\p\p\{\set_style "valid_value" Entry Added During the Day [**]
 \} \0 \0\p\p\{\set_style "valid_value" ThreeWay Match [A1] 
 \} \0 \0\p\p\{\set_style "valid_value" Three-Way Match Requiring Review [A2]
 \} \0 A condition exists that requires manual review.
\0\p\p\{\set_style "valid_value" Received but not Invoiced [B1]
 \} \0 \0\p\p\{\set_style "valid_value" Invoiced but not Received [B2]
 \} \0 \0\p\p\{\set_style "valid_value" Neither Received nor Invoiced [C]
 \} \0 \0\p\p\{\set_style "valid_value" Entry to be Deleted [*]
 \} \0 The entry is deleted during the next processing cycle.
\0\p\p

\topic "Vendor Number" \set_style "topic_title" Vendor Number
\label VENDOR_NUMBER
\0\p\p
Key field. Displays the unique vendor code that identifies 
the vendor associated with the order.
\0\p\p

\topic "Vendor Addr Ind" \set_style "topic_title" Vendor Addr Ind
\label VENDOR_ADDR_IND
\0\p\p
Key field. Part of the vendor code, this field indicates 
whether an alternate address exists for the vendor.
\0\p\p

\topic "Purchase Order Transaction ID" \set_style "topic_title" Purchase Order Transaction ID
\label PO_TRANS_CODE
\label PO_NUMBER_AGENCY
\label PO_NUMBER_NUMBER
\0\p\p
Key field. Displays the unique document ID that identifies 
this purchase order.
\0\p\p

\topic "Line" \set_style "topic_title" Line
\label PO_LINE
\0\p\p
Key field. Displays the line number from the purchase order.
\0\p\p

\topic "Match ID Transaction ID" \set_style "topic_title" Match ID Transaction ID
\label MATCH_TRANS_CODE
\label MATCH_NUMBER_AGENCY
\label MATCH_NUMBER_NUMBER
\0\p\p
Key field. Displays the transaction code and unique number 
that identifies the Receiver (RC) or Vendor Invoice (VI) 
associated with this match.
\0\p\p

\topic "Line Num" \set_style "topic_title" Line Num
\label MATCH_LINE
\0\p\p
Key field. Displays the line number of the Receiver (RC) or 
Vendor Invoice (VI

Re: CFINVOKE vs CreateObject - Flogging OOP!

2004-03-31 Thread Nikhil Madani
Dave, 
 At first glance Mach II seemed similar to Struts..I've had difficulty getting good documentation on Mach II with most of the stuff on the Mach II site very sketchy as to the framework API. I know I can start trying to understand the framework source code, but is there an easier way like say a book or something. Did you start using the framework right after studying one of the example applications? 

Nikhil

>Nikhil,
>I agree with you for the most part. I think the addition of CFCs 
>to CF is a big step forward, but the partial implementation of 
>OOP is frustrating (the lack of overloading and interfaces are my pet peeves).
>
>However, I think it's okay that CF is not full OOP. The solution 
>for me is to use a mix of CF and Java, each doing what it does 
>best. To me, CF runs circles around JSPs and tags for 
>presentation, while Java is superior for modeling business 
>objects and processes.
>
>So, I use a MVC architecture, with CF handling the VC and Java 
>the M. Mach-II appears to provide a nice framework for cleanly 
>separating the responsibilities between CF and Java. I'm doing 
>this on a current client project and so far have been pleased.
>
>Dave Jones
>NetEffect
>
>
>At 11:56 AM 3/31/04 -0400, you wrote:
>>[
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Parsing RFC822 Dates

2004-03-31 Thread Rich Ziade
Woohoo! Sweet. Thanks Ben.

Ok, how about ISO 8601 (typically used in RDF-style RSS):

 
1994-11-05T08:15:30-05:00

 
(I've got a feeling I'm gonna have to parse that one by hand.)

 
  _  

From: Ben Forta [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 1:34 PM
To: CF-Talk
Subject: RE: Parsing RFC822 Dates

 
ParseDateTime() can handle that.



--- Ben

  _  

From: Rich Ziade [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 1:35 PM
To: CF-Talk
Subject: Parsing RFC822 Dates

Hi all:

I'm sure this has been asked before, but what's the easiest way to parse an
RFC822 date string (commonly found in RSS 2.0 feeds). It looks like this:

Sat, 07 Sep 2002 00:00:01 GMT

When I try to just put it through any sort of date manipulation function, I
get the following error: 

The value "Thu, 25 Mar 2004 04:28:34 PST" could not be converted to a date.

Any ideas?

Rich 
  _
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: IIS Custom Error Pages in CF?

2004-03-31 Thread Jim McAtee
Bert & Mark:

Thanks!  I had been trying with the message type still set to 'file'.

Jim

- Original Message - 
From: "Mark A. Kruger - CFG" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 31, 2004 6:38 AM
Subject: RE: IIS Custom Error Pages in CF?

> Yes you can.
>
> 1) Go into IIS properties for your site and choose the "custom errors"
tab.
> 2) Select the 404 error and choose edit.
> 3) change the "message type" from file to URL
> 4) Enter a .cfm page with a path relative to THIS site.  So, for
example, if you put a "missingFile.cfm" handler in your
> root folder you would enter "missingFile.cfm" - or if it was in a folder
called Bob it would be "Bob/missingfile.cfm".
>
> This can be quite useful.  I use this technique for some subscription
sites that wish to create unique URL's for their
> client subscribers.  After subscribing the user is instructed to use
"blah.com/name" (i.e. blah.com/MarySmith).  Of
> course the directory "MarySmith" doesn't exist so the request is
forwarded to my .cfm file handler.  The file handler
> parses out "MarySmith" and sends the user to a customized page for login
or whatever.
>
> A similar trick uses a wildcard entry on a DNS server to allow a user to
go to "marySmith.blah.com" - both tricks are
> great for sales CRM tools, real estate sites and the like - any place
where you want a use to have a "personal website"
> but it actually connected to a larger group or site.
>
> -mark
>
> Mark A. Kruger, MCSE, CFG
> www.cfwebtools.com
> www.necfug.com
> http://blog.mxconsulting.com
> ...what the web can be!
>
>
>
>
>  -Original Message-
> From: Jim McAtee [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 30, 2004 9:03 PM
> To: CF-Talk
> Subject: OT: IIS Custom Error Pages in CF?
>
>
>   I'm trying to figure out if I can use a .cfm page (or possibly an .asp
>   page) for an IIS 5 custom 404 error page.  I'm _not_ trying to
configure
>   CF's missing template handler as done through the CF Administrator.
That
>   works fine.
>
>   It appears that if you designate a .cfm page for 404 errors (for
example:
>   http://mysite.com/notapage.htm) then the .cfm page doesn't get sent
>   through the CF engine.  Can this behaviour be changed?  What about
.asp
>   pages - same problem?  I haven't tried that route yet.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Affiliate software

2004-03-31 Thread Mark Leder
Try this one - well written in CF. Kinda expensive.
The developer has moved more into web marketing, but still supports it.

 
http://www.affiliate-management-software.com/index.cfm

Thanks, Mark 

  _  

From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 1:24 PM
To: CF-Talk
Subject: OT: Affiliate software

Deos anyone know of any software similar to:

http://www.webscribble.com/products/webaffiliate/requirements.shtml

That's runs on IIS and (possibly) CF?

Mark A. Kruger, MCSE, CFG
www.cfwebtools.com
www.necfug.com
http://blog.mxconsulting.com
...what the web can be! 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: help with string manipulation (Find,Replace)

2004-03-31 Thread Pascal Peters

*** 13/01/2003  09:47:06  TUser1 ***
callno:1126
Some comment1 

*** 13/01/2003  08:30:27  TUser2 ***
Some Comment2 



regexp = "^\s*([*]{3}.+?[*]{3}.+?)\s*(?:[*]{3}.*)?$";
str2 = REReplace(str,regexp,"\1");

#str2#

This returns the first comment with the datetime & user info. If you
want it without that info the regexp should be

"^\s*[*]{3}.+?[*]{3}(.+?)\s*(?:[*]{3}.*)?$"

Watch out for wrapping. There are no spaces in the regexp.

Pascal 

> -Original Message-
> From: cf coder [mailto:[EMAIL PROTECTED] 
> Sent: woensdag 31 maart 2004 16:55
> To: CF-Talk
> Subject: Re: help with string manipulation (Find,Replace)
> 
> Hi Pascal, I'm really sorry for not getting back to you 
> yesterday. I've been asked to work on something else.
> 
> I'm trying to display the comment properly and need your 
> help. I want to display the top most comment from the 
> comments table. Here is an example. In the example below 
> there are 2 comments 
> 
> *** 13/01/2003  09:47:06  TUser1 ***
> callno:1126
> Some comment1
> 
> *** 13/01/2003  08:30:27  TUser2 ***
> Some Comment2
> 
> I want to display the top most comment. In this case
> 
> *** 13/01/2003  09:47:06  TUser1 ***
> callno:1126
> Some comment1
> 
> All comments have the ***, date time and user information
> "*** 13/01/2003  09:47:06  TUser1 ***"
> 
> I would really apprecaite your help.
> Best Regards,
> cfcoder
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Time Out Error with

2004-03-31 Thread MIchael Kane
I had a similar problem, and asked the tag author for help. The solution was that the .exe file that comes in the ZIP of the tag is an installation program, and not the actual executable that will be used. I ran the exe on the server, which installs HTMLDoc. Providing the path to that exe file made it work, and the PDFs are produced very nicely. It looks like an extremely useful program, much easier to use than others I've looked at and certainly much less expensive!
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFHEADER & CFCONTENT question

2004-03-31 Thread Ray Champagne
What does the variable #filename# and #application.filehttppathstring# 
resolve to?

I don't really want the real thing if security is an issue, just a dummy 
example.

Ray
http://www.crystalvision.org

At 01:19 PM 3/31/2004, Ketan Patel wrote:
>Hi,
>I have a intranet application where I am allowing people to download access
>database. Following is the code I am using
>
>
>
>FILE="#application.filehttppathstring##location#" DELETEFILE="No">
>
>My problem is when I want to save the file it gives me 2 options Save as
>HTML Document or All files. I don't want the option to save as HTML
>document. Is there any mime setting or any code change need to be done.
>
>Any help is appreciated. Thanks in advance
>
>Ketan Patel
>
>
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




FLEX: are you HERE or are you NOW?

2004-03-31 Thread Peter Tilbrook
Well, it went really well initially.

I was involved in the Flex beta from early on and beavered away on an RIA
web-based email client (non-refreshing, drag/drop messages to folders etc,
looks great, awesome actually).

Showed the assembled crowd how it was put together (CFMX backend in my
example) and was asked the key question - "How much?".

For my web-mail client - it is not for sale yet as I am wanting IMAP support
in CFML first - as for Flex - a staggering US$12,000.00).

"Oooohhh!" Was the general (censored) sentiment.

"How do I get 'Flex' and can I download a trial?" - Yes you can but at the
same time no you cannot. I had to say "pay up" or order the CD-ROM. You
cannot download it from an easily accessible site just yet (if ever). But
for $15.00 or more Australian dollars you may get it on CD eventually.

And that is pretty much how Macromedia are treating their international
customers at the moment. Pay up or give up.

For now I am putting the code aside.

Peter Tilbrook
Manager, ACT and Region ColdFusion Users Group - http://www.actcfug.com
4/73 Tharwa Road
Queanbeyan, NSW, 2620
AUSTRALIA
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Cf puzzle

2004-03-31 Thread Claude Schneegans
>>Yes its typed in by the user.  or a click somewhere on the internet.

Ok, fine, but why do you want to register these requests?
Why would vistors try thes xyz?Do they mean anything?
Or do you just want to register tentatives to reach forbiden pages and directories?

--
___
See some cool custom tags here:
http://www.contentbox.com/claude/customtags/tagstore.cfm
Please send any spam to this address: [EMAIL PROTECTED]
Thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Not Browsing a CFC or something.

2004-03-31 Thread Ian Skinner
Looking for advice, I've got an application that is using CFC's including cfcs that are actions of forms.  This all works great, (I'm becoming a big fan of CFC's whether they are true OOP or not ;).

The trouble is this application has a timeout feature.  If left open too long (5 minutes) without activity, the login times out.  If you try to initiate activity after the timeout period, you are required to log in before the action is taken.  The undesired behavior is, if the action taken was a form submit to a processing cfc, after the login page the user is relocated to the cfc which of course causes to the cfc meta data to be displayed in the browser.

Is there anything I could do about this?  A simple solution to provider better behavior?

Thanks

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

"C code. C code run. Run code run. Please!"
 - Cynthia Dunning
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Parsing RFC822 Dates

2004-03-31 Thread Ben Forta
ParseDateTime() can handle that.

 


 
--- Ben

  _  

From: Rich Ziade [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 1:35 PM
To: CF-Talk
Subject: Parsing RFC822 Dates

Hi all:

I'm sure this has been asked before, but what's the easiest way to parse an
RFC822 date string (commonly found in RSS 2.0 feeds). It looks like this:

Sat, 07 Sep 2002 00:00:01 GMT

When I try to just put it through any sort of date manipulation function, I
get the following error: 

The value "Thu, 25 Mar 2004 04:28:34 PST" could not be converted to a date.

Any ideas?

Rich 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Parsing RFC822 Dates

2004-03-31 Thread Rich Ziade
Hi all:

 
I'm sure this has been asked before, but what's the easiest way to parse an
RFC822 date string (commonly found in RSS 2.0 feeds). It looks like this:

 
Sat, 07 Sep 2002 00:00:01 GMT

 
When I try to just put it through any sort of date manipulation function, I
get the following error: 

 
The value "Thu, 25 Mar 2004 04:28:34 PST" could not be converted to a date.

Any ideas?

 
Rich
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: Affiliate software

2004-03-31 Thread Mark A. Kruger - CFG
Deos anyone know of any software similar to:

http://www.webscribble.com/products/webaffiliate/requirements.shtml

That's runs on IIS and (possibly) CF?

Mark A. Kruger, MCSE, CFG
www.cfwebtools.com
www.necfug.com
http://blog.mxconsulting.com
...what the web can be!
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Cf puzzle

2004-03-31 Thread Gabriel Robichaud
Hey Mark,

Thanks.  Looks like this is the easiest solution and I dont think I need to worry too much about the overhead at this point... maybe later but I could just deal with that if it happens.

Thanks everyone for your help!

Gabriel
> Gabriel,
> 
> The web server already has to parse the header, determine if the file 
> exists and point to the file (or 404 handler) -
> yes I would imagine that there is a bit more overhead than if the 
> file/folder existed in the first place - but I have
> several sites doing this and similar things, some of them trafficked 
> quite heavily, and I've never noticed an
> appreciable difference.  Obviously a lot depends on the expected load.  
> I would also say that a dedicated IP address
> (rather than a virtual host) would make a slight difference because 
> the web server wouldn't have the additional task of
> "finding" the right site for that Host header before it even looks for 
> a file. But again, I don't know that you would
> notice the difference except under a near capacity load.
> 
> -Mark
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: string formatting and manipulation

2004-03-31 Thread Dick Applebaum
If the db is MS-SQL or Sybase, you could possibly do this with T/SQL

But, sooner or later the db needs to be normalized:

a separate table for comments -- something like this

   *
   *
   *
CommentID  Integer Primary Key,
MainTableID    Integer References MainTable(MainTableID)
CommentDateTime DateTime,
Comment  Text (or varchar)
   *
   *
   *

With this structure, you let SQL do its thing -- and doing what you are 
trying to do is fast, simple and efficient!

The sooner you do this the better -- before you propagate convoluted 
work-arounds to (bad, bad) db design throughout your applications

HTH

Dick

On Mar 31, 2004, at 10:02 AM, Deanna Schneider wrote:

> So, you're saying all the comments are just in one big text field? And 
> that
>  you want to get the first comment in that big text field? Is that 
> accurate?
>  (It's horrible DB design, btw.)
>
>  If so, you should be able to do this:
>  
>  *** 13/01/2003  09:47:06  TUser1 ***
>  callno:1126
>  Some comment1
>
>  *** 13/01/2003  08:30:27  TUser2 ***
>  Some Comment2
>  
>
>  
>  FIRST COMMENT =
>  *** #listgetat(comments, 2, "***")# ***
>  #listgetat(comments, 3, "***")#
>  
>
>  Ugly ugly, though.
>
>  - Original Message -
>  From: "cf coder"
>
>  > Hi Guys,
>  >
>  > I'm strugging to display the data correctly from the
>  > comment column in the database and need your help. I
>  > want to display the top most comment from the comments
>  > table. Here is an example. In the example below there
>  > are 2 comments
>  >
>  > *** 13/01/2003  09:47:06  TUser1 ***
>  > callno:1126
>  > Some comment1
>  >
>  > *** 13/01/2003  08:30:27  TUser2 ***
>  > Some Comment2
>  >
>  > I want to display the TOP most comment. In this case
>  >
>  > *** 13/01/2003  09:47:06  TUser1 ***
>  > callno:1126
>  > Some comment1
>  >
>  > All comments have the ***, date time and user
>  > information
>  > "*** 13/01/2003  09:47:06  TUser1 ***"
>  >
>  > I would really apprecaite your help.
>  > Best Regards,
>  > cfcoder
>  >
>  >
>  > __
>  > Do you Yahoo!?
>  > Yahoo! Finance Tax Center - File online. File on time.
>  > http://taxes.yahoo.com/filing.html
>  >
>  >
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFHEADER & CFCONTENT question

2004-03-31 Thread Ketan Patel
Hi,
I have a intranet application where I am allowing people to download access
database. Following is the code I am using



FILE="#application.filehttppathstring##location#" DELETEFILE="No">

My problem is when I want to save the file it gives me 2 options Save as
HTML Document or All files. I don't want the option to save as HTML
document. Is there any mime setting or any code change need to be done.

Any help is appreciated. Thanks in advance

Ketan Patel
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Query manipulations...

2004-03-31 Thread Morgan Senkal
Well looking at my library, I have advanced MM CF5 app dev.  Maybe I should open it again...it's been a while :-)

>One thing to remember - when you use this syntax, you must provide a row
>number. Unlike queryname.column syntax, which defaults to row 1,
>queryname["col"] must be passed a specific row number, ie
>queryname["col"]["row"]
>
>-Raymond Camden
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFINVOKE vs CreateObject - Flogging OOP!

2004-03-31 Thread Raymond Camden
> Encapsulation is at the core of OOP- an object is defined as 
> having some properties and certain behaviors. The idea is to 
> keep those two tightly combined in one logical unit. 
> Instantiation is another core behavior - creating and using a 
>  particular instance of a class(object) makes perfect sense. 
> After all a class is but a template.
> With that in mind-  is blasphemy in the name of 
> Object Orientation!
>  encourages the design and usage of CFCs as a mere 
> collection of (potentially unrelated) functions. Without 
> instantiation, initialization of properties and proper use of 
> instance methods, of what benefit is a CFC?
> You could always use a UDF instead or even a custom tag.

You are aware, I hope, that cfinvoke can be used with an instance of a CFC. 

As for calling a method w/o an instance, isn't this how web services work?

As for a collection of unrelated UDFs - shoot - even in Java I could build a
class with methods that are unrelated. 

As for using a CFC as a collection of related UDFs - how is this bad?? It
reminds me of static methods in Java. 

-Raymond Camden
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFUN-04 interviews 6 - Flash Remoting with Tom Muck; Early Bird ends TODAY 3/31/04

2004-03-31 Thread Michael Smith
In this CFUN-04 interview, Michael Smith interviews Tom Muck about
his Flash Remoting talk at CFUN-04. Tom is the author of Flash Remoting:
The Definitive Guide from O'Reilly and is also co-author of several other
Macromedia-related books and runs the Flash-Remoting site
(www.flash-remoting.com). The interview is below. But first some news...

CFUN News Flash
***
You are one of over 260 people that are already registered for CFUN-04
(a 180% increase over last year numbers at this time!). We have limited room
at the CFUN hotel, so don't miss out on your place. (Room special at
http://www.cfconf.org/CFUN-04/directions.cfm).

Also please tell your programming friend that today (Tuesday midnight EST 3/31/04)
is the last day for the early bird price of $199... and with registeration
continuing at the current rate there may not be places left at any price!
***

Now back to our regularly scheduled programming...

Michael Smith: I am speaking with Tom Muck about his talk on "Flash Remoting" at
CFUN-04. Why should programmers learn about remoting Tom?

Tom Muck: In this era of Rich Internet Applications, there are many different
ways that a programmer can create an RIA app -- Flash Remoting, web services,
XML, LoadVars, etc. Flash Remoting is the best way for a ColdFusion server to
communicate with a Flash movie because it is a binary format with a small packet
size. This translates to great savings in bandwidth and creates a better user
experience because the time lag between the call to the server and the response
from the server will be shorter.

MS: How much shorter?

TM: ... [The rest of this interview is at http://www.cfconf.org/CFUN-04/news.cfm

CFUN-04 is Sat 6/26/04 - Sun 6/27/04 in Washington DC area. It costs $199 until
3/31/04 then $269. For more information on CFUN see
http://www.cfconf.org/cfun-04/

---

Flash Remoting by Tom Muck

Remoting is an efficient and rapid method of connecting Rich Flash applications
to powerful back-end systems. This session will help you get a solid grasp of
what Flash Remoting is, how ColdFusion and Flash integrate, and what you should
know as a ColdFusion developer. The session will also cover practical tips on
what works and what does not, how you can make projects run more smoothly, and
what advanced techniques exist for building a more structured communication
model with Remoting. Previous experience in Flash is not required although
beneficial.

Tom Muck is the author of Flash Remoting: The Definitive Guide from O'Reilly and
is also co-author of several other Macromedia-related books including the
latest, Dreamweaver MX 2004: The Complete Reference. He is an extensibility
expert focused on the integration of Macromedia products with ColdFusion, ASP,
PHP, and other languages, applications, and technologies. He also authors
articles and speaks at conferences on this and related subjects.

As Senior Applications Developer for Integram in Northern Virginia, Tom develops
back-end applications for expedited, electronic communications. Tom also runs
the Basic-UltraDev site with co-author Ray West (www.basic-ultradev.com), is a
founding member of Community MX (www.communitymx.com), and runs the Flash-
Remoting site (www.flash-remoting.com).

---
   CFUN is organized by TeraTech who received four CFDJ awards.
   If you need ColdFusion project help, mentoring or training
   then ask the experts at http://www.teratech.com/

   Best Consulting - TeraTech
   Finalist Training - TeraTech
   Finalist Community site - CFConf
   Finalist Web Dev Tool - CFXGraphicsServer
---

This year's conference has 32 nationally known speakers including Charlie
Arehart, Steve Drucker, Raymond Camden, Hal Helms, Michael Smith, Michael Dinowitz,
Simon Horwith and Shlomy Gantz.

CFUN-04 Washington DC area 6/26 - 6/27/04:
* Learn CF MX, Flash and more!
* Network with your peers and top national speakers
* Have fun exploring what is new from Macromedia

Tracks:
* Advanced Topics - for gurus, XML, CFCs, SQL
* MX Integration - Flash, Java, Flex, .Net, Webservices
* Empowered Programming - OO, Fusebox, PM, Testing, Debug
* CF Bootcamp - for beginners in CF and Flash
* Accessibility - making sites that disabled people can use, section 508

Pricing schedule - register today to save!
* Just $199 Early Bird Price from 1/1/04 - 3/31/04
* Ok   $269 Regular Price 4/1/04 - 6/15/04
* Opps $299 Late Registration 6/15/03 - 6/25/03
* Onsite $350

Register today
http://www.cfconf.com/CFUN-04/

-- 
Michael Smith, TeraTech Inc - Tools for Programmers(tm)
TeraTech voted Best Consulting Service by CFDJ readers!
CF/ASP Web, VB, Math, Access programming tools and consulting
405 E Gude Dr Ste 207, Rockville MD 20850 USA
Please check out http://www.teratech.com/ - email mailto:[EMAIL PROTECTED],
or call us for more information; in the USA at 1-800-447-9120,
+1-301-424-3903 Internation

Re: string formatting and manipulation

2004-03-31 Thread Deanna Schneider
So, you're saying all the comments are just in one big text field? And that
you want to get the first comment in that big text field? Is that accurate?
(It's horrible DB design, btw.)

If so, you should be able to do this:

*** 13/01/2003  09:47:06  TUser1 ***
callno:1126
Some comment1

*** 13/01/2003  08:30:27  TUser2 ***
Some Comment2



FIRST COMMENT =
*** #listgetat(comments, 2, "***")# ***
#listgetat(comments, 3, "***")#


Ugly ugly, though.

- Original Message - 
From: "cf coder"

> Hi Guys,
>
> I'm strugging to display the data correctly from the
> comment column in the database and need your help. I
> want to display the top most comment from the comments
> table. Here is an example. In the example below there
> are 2 comments
>
> *** 13/01/2003  09:47:06  TUser1 ***
> callno:1126
> Some comment1
>
> *** 13/01/2003  08:30:27  TUser2 ***
> Some Comment2
>
> I want to display the TOP most comment. In this case
>
> *** 13/01/2003  09:47:06  TUser1 ***
> callno:1126
> Some comment1
>
> All comments have the ***, date time and user
> information
> "*** 13/01/2003  09:47:06  TUser1 ***"
>
> I would really apprecaite your help.
> Best Regards,
> cfcoder
>
>
> __
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.
> http://taxes.yahoo.com/filing.html
>
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: direct connection to mysql

2004-03-31 Thread Butch Zaccheo
You connect via the console on your server.

If you¹re running a linux server type ³mysql² at the command prompt in your
root account

BZaccheo

On 3/31/04 9:44 AM, "Dan Phillips" <[EMAIL PROTECTED]> wrote:

> You will need a program like MyPHPAdmin to do this. There are others
> like it but that is the most simple one (IMHO)
> 
>  
> Dan Phillips
> CFXHosting.com
> 866.239.4678 x112
> [EMAIL PROTECTED]
> 
> -Original Message-
> From: Dan Farmer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 31, 2004 12:41 PM
> To: CF-Talk
> Subject: direct connection to mysql
> 
> I'm not familiar with the direct connections...
> 
> how would I directly connect to a mysql database?
> 
> __
> Daniel Farmer
> Producer / Coldfusion Developer
> http://www.bernardclark.com/danfarmer.ca
> P: 613.284.1684 
>   _
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Flex is out

2004-03-31 Thread Morgan Senkal
Thanks for the clarifications, Christian.  One question tho:  I have checked out the samples explorer, and the one thing that I find lacking as far as an example is accessibility - an issue of extreme importance in my shop.  There are in fact two levels of accessibility; allowing persons with mild vision disability to modify the GUI to meet their needs (i.e. larger fonts, contrasting colors for colorblindness, etc.) as well as enabling screen readers to navigate a site or page in an efficient and user-friendly manner.  On the features page, Flex claims to be accessible, my question is how?  And I would like to see it!

thanks :-)

>I've been traveling recently, so I wasn't able to address these 
>Flex-related posts as they came in.  In the interest of efficiency, 
>rather than responding to each post, I've aggregated the main points 
>here:
>
>> I predict that Macromedia is going to sell off ColdFusion within the 
>> next 2 years.  Their product portfolio is too diversified and their 
>> customer segments have very little in common - Flash, ColdFusion, 
>> Director, Fireworks, Breeze, and now Flex - very different developer 
>> communities.
>
>We absolutely have no plans to "sell off" ColdFusion.  I don't know to 
>say it any more plainly than that.  Macromedia is very dedicated to 
>ColdFusion as I think we will demonstrate with Blackstone.  One of the 
>primary focuses of CFMX was obviously the port to the J2EE platform 
>which demanded significant resources.  These are resources that we have 
>been able to dedicate to innovation with Blackstone.  I think you will 
>like what we have planned.
>
>> FORGET flex! Go Laszlo!
>
>If you are considering Flex, it only makes sense that you will want to 
>consider Laszlo, as well.  Make sure you thoroughly understand the 
>capabilities and limitations of each product, and make sure you fully 
>understand each product's pricing.  Contact Laszlo Systems for 
>information on their enterprise pricing (it's not posted on their 
>site), and make an educated decision.  By no means do we expect Flex 
>customers to be ignorant of Laszlo.
>
>> Maybe just another go nowhere Spectra product chasing tumble weeds...
>
>I've seen this statement in a few different places, and all I can say 
>is that Macromedia is extremely dedicated to Flex and to RIAs in 
>general.  Although we know that traditional HTML-based web applications 
>aren't going anywhere for a very very long time, we also believe that 
>RIAs present huge opportunities for our customers, and Flex is key 
>technology for supporting those customers.  I'd also like to add that 
>discontinuing products that are not performing where we need them to is 
>not a shameful thing.  I think it's amazing how Macromedia experiments 
>with so many different technologies, and is willing to take chances.  
>Macromedia is constantly investigating, playing with and investing in 
>new technologies, many of which never see the light of day, but that's 
>what it takes to be a technology leader.  That said, however, we feel 
>very very good about Flex and the opportunities it presents.
>
>> Flex...
>> 1) Is an alternative way to create swf files
>
>Generating SWF files is only one thing Flex does.  It is certainly the 
>functionality that gets most of the attention, but it does a lot more.  
>See the Flex Features page for more details:
>
>http://www.macromedia.com/software/flex/productinfo/features/
>
>> 2) Offers nothing new to the Flash Client (I.E. with enough time; you 
>> could  build anything created in Flex through other means )
>
>It's true that Flex does not extend the capabilities of the Flash 
>Player.  The fact that Flex applications run inside the existing Flash 
>7 player is a significant portion of its appeal, in fact.  It is also 
>true that you could build Flex-like applications using just Flash, and 
>if that's efficient for you, than it makes sense just to stick with the 
>Flash authoring tool.  Take a look at a sophisticated Flex application, 
>however, and ask yourself how long it would realistically take you to 
>build and maintain it with Flash versus with Flex.
>
>> I'm willing to bet you could do it in-house for less.
>
>If you can, then you should.  But again, get to know the technology and 
>what it's capable of.  Working for Macromedia, I have obviously been 
>exposed to Flex throughout its development cycle, but I can honestly 
>say that I was absolutely amazed with the finished product and what it 
>is capable of doing.  I'm not too bad with Flash, but I couldn't 
>imagine building an extensive Flex-like application from scratch at 
>this point.  Its capabilities clearly set a new standard for RIAs.  
>That said, if Flex can't save you enough time and/or resources, or 
>present enough opportunity, than it's simply not right for you.
>
>> ...while Flex is no doubt cool, it would be a tough sell convince a 
>> client to pony up $12K when UI development in either Flash or HTML 
>> would be far less than that.  O

RE: direct connection to mysql

2004-03-31 Thread Barney Boisvert
If you've got the mysql client on your machine do this:

/path/to/mysql -u -p -h 

If you're not using passwords (the default config on initial install), omit
the -p option.

Cheers
barneyb 

> -Original Message-
> From: Dan Farmer [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 31, 2004 9:41 AM
> To: CF-Talk
> Subject: direct connection to mysql
> 
> I'm not familiar with the direct connections...
> 
> how would I directly connect to a mysql database?
> 
> 
> 
> __
> Daniel Farmer
> Producer / Coldfusion Developer
> http://www.bernardclark.com/danfarmer.ca
> P: 613.284.1684
> 
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: direct connection to mysql

2004-03-31 Thread Dan Phillips
You will need a program like MyPHPAdmin to do this. There are others
like it but that is the most simple one (IMHO)

 
Dan Phillips
CFXHosting.com
866.239.4678 x112
[EMAIL PROTECTED]

-Original Message-
From: Dan Farmer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 12:41 PM
To: CF-Talk
Subject: direct connection to mysql

I'm not familiar with the direct connections...

how would I directly connect to a mysql database?

__
Daniel Farmer
Producer / Coldfusion Developer
http://www.bernardclark.com/danfarmer.ca
P: 613.284.1684 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFINVOKE vs CreateObject - Flogging OOP!

2004-03-31 Thread Ben Densmore
There was a huge discussion about this on the CFC Dev mailing list. I'm
still relatively new to OO but moving over to the Mach-II framework has
helped me get a better understanding for it. I personally use
createObject(), I haven't seen a need to use .

I have a feeling that with Blackstone you will see true Constructors
make their way into CF since a lot of people have this same gripe. 

As far as it moving to a full fledged OO based language, I'm not sure CF
will ever move to that. It will probably stop a lot of CF developers
from upgrading if they have to learn OO programming. I think that is the
reason a lot of people went with CF, so they can do complex things
easily.

Ben

-Original Message-
From: Nikhil Madani [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 31, 2004 10:57 AM
To: CF-Talk
Subject: CFINVOKE vs CreateObject - Flogging OOP!

I have a deep sense of loathing for the use of CFC's with cfinvoke given
that Macromedia meant the latest CF release to be an "object-oriented"
version. I'm aware that they do not claim it to be a completely OO based
language like Java for example, but to me the valuable patterns that OO
theorists developed over the years to help model real-world scenarios
are lost without some of the constructs. 

Take for example the lack of constructors and overloading. So many
useful design patterns are dependent on these very basic OOP constructs.

Even if one allows CFMX leeway on this issue (I can understand that the
learning curve can be steeper for newbees with all the OOP bells and
whistles) and come back to the core of object-orientation, which is
encapsulation, CFMX fails horribly to justify .

Encapsulation is at the core of OOP- an object is defined as having some
properties and certain behaviors. The idea is to keep those two tightly
combined in one logical unit. Instantiation is another core behavior -
creating and using a  particular instance of a class(object) makes
perfect sense. After all a class is but a template.
With that in mind-  is blasphemy in the name of Object
Orientation!
 encourages the design and usage of CFCs as a mere collection
of (potentially unrelated) functions. Without instantiation,
initialization of properties and proper use of instance methods, of what
benefit is a CFC?
You could always use a UDF instead or even a custom tag.

I remember seeing Ben Forta's commments somewhere about this- that its
ok for CF not to go the whole hog in being OO based since after all it
is a rapid development scripting tool. I agree in principle but the
half-hearted fence-straddling constructs somehow unsettle me very much.
I must admit that I've worked with C++ and Java for years before I ever
started with CF and that definitely colors my view of the issue. 

I prefer a single, architecturally solid construct over multiple ways to
do things that violate the very benefits that they are supposed to
bring.

What do you think?


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFINVOKE vs CreateObject - Flogging OOP!

2004-03-31 Thread Dave Jones
Nikhil,
I agree with you for the most part. I think the addition of CFCs 
to CF is a big step forward, but the partial implementation of 
OOP is frustrating (the lack of overloading and interfaces are my pet peeves).

However, I think it's okay that CF is not full OOP. The solution 
for me is to use a mix of CF and Java, each doing what it does 
best. To me, CF runs circles around JSPs and tags for 
presentation, while Java is superior for modeling business 
objects and processes.

So, I use a MVC architecture, with CF handling the VC and Java 
the M. Mach-II appears to provide a nice framework for cleanly 
separating the responsibilities between CF and Java. I'm doing 
this on a current client project and so far have been pleased.

Dave Jones
NetEffect

At 11:56 AM 3/31/04 -0400, you wrote:
>I have a deep sense of loathing for the use of CFC's with 
>cfinvoke given that Macromedia meant the latest CF release to be 
>an "object-oriented" version. I'm aware that they do not claim 
>it to be a completely OO based language like Java for example, 
>but to me the valuable patterns that OO theorists developed over 
>the years to help model real-world scenarios are lost without 
>some of the constructs.
>
>Take for example the lack of constructors and overloading. So 
>many useful design patterns are dependent on these very basic OOP constructs.
>
>Even if one allows CFMX leeway on this issue (I can understand 
>that the learning curve can be steeper for newbees with all the 
>OOP bells and whistles) and come back to the core of 
>object-orientation, which is encapsulation, CFMX fails horribly 
>to justify .
>
>Encapsulation is at the core of OOP- an object is defined as 
>having some properties and certain behaviors. The idea is to 
>keep those two tightly combined in one logical unit. 
>Instantiation is another core behavior - creating and using 
>a  particular instance of a class(object) makes perfect sense. 
>After all a class is but a template.
>With that in mind-  is blasphemy in the name of Object Orientation!
> encourages the design and usage of CFCs as a mere 
>collection of (potentially unrelated) functions. Without 
>instantiation, initialization of properties and proper use of 
>instance methods, of what benefit is a CFC?
>You could always use a UDF instead or even a custom tag.
>
>I remember seeing Ben Forta's commments somewhere about this- 
>that its ok for CF not to go the whole hog in being OO based 
>since after all it is a rapid development scripting tool. I 
>agree in principle but the half-hearted fence-straddling 
>constructs somehow unsettle me very much. I must admit that I've 
>worked with C++ and Java for years before I ever started with CF 
>and that definitely colors my view of the issue.
>
>I prefer a single, architecturally solid construct over multiple 
>ways to do things that violate the very benefits that they are 
>supposed to bring.
>
>What do you think?
>
>--
>[
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: for anyone following cfeclipse

2004-03-31 Thread Barney Boisvert
Congrats, if that's the right sentiment.  Certainly legitimate in my eyes; a
very nice little product.

Cheers,
barneyb 

> -Original Message-
> From: Rob [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 31, 2004 9:31 AM
> To: CF-Talk
> Subject: SOT: for anyone following cfeclipse
> 
> This is pretty groovy, cfeclipse is now listed on the main eclipse.org
> site :-D
> 
> http://www.eclipse.org/community/index.html
> Click on plug-ins on the left, then about 5 listings down 
> there we are.
> 
> I know it's about the same level and being in a little news paper ad,
> but I think it's cool - perhaps a bit of legitimacy?
> 
> Cheers,
> -- 
> Rob <[EMAIL PROTECTED]>
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




direct connection to mysql

2004-03-31 Thread Dan Farmer
I'm not familiar with the direct connections...

how would I directly connect to a mysql database?

__
Daniel Farmer
Producer / Coldfusion Developer
http://www.bernardclark.com/danfarmer.ca
P: 613.284.1684
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




SOT: for anyone following cfeclipse

2004-03-31 Thread Rob
This is pretty groovy, cfeclipse is now listed on the main eclipse.org
site :-D

http://www.eclipse.org/community/index.html
Click on plug-ins on the left, then about 5 listings down there we are.

I know it's about the same level and being in a little news paper ad,
but I think it's cool - perhaps a bit of legitimacy?

Cheers,
-- 
Rob <[EMAIL PROTECTED]>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: Can someone recommend a really good *hosted* classifieds system?

2004-03-31 Thread Jon Block
I've got a client who wants online classifieds and for a few reasons, the
classifieds feature that I can provide doesn't exactly suit their needs. Any
ideas? Doesn't have to be CF... I just need something hosted that I can help
them get signed up with.

 
Jon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




  1   2   >