RE: (Semi-OT) - site sucker app

2014-08-08 Thread CF:_InternetEmail.info

Try SiteSucker.us - Free - iOS and OSX though.

http://sitesucker.us

Have used HTrack for years - but I don’t think the application is that great.

Especially when it comes to preserving the original site files and structures.

SiteSucker does. Provides and exact copy of the site…
- minus some things like Flash… which I never use
- and client-side JS execution.




From: UXB denn...@uxbinternet.com
Reply: cf-talk@houseoffusion.com cf-talk@houseoffusion.com
Date: August 8, 2014 at 10:31:36 AM
To: cf-talk cf-talk@houseoffusion.com
Subject:  RE: (Semi-OT) - site sucker app  


 Does anyone have a suggestion for a good application that can be  
 pointed to an url and then download every page under that url.  

The tool HTTrack never fails for me. http://www.httrack.com/ and you can't  
beat the price.  

Dennis Powers  
UXB Internet - A website Design and Hosting Company  
P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844  
W: http://www.uxbinternet.com  
W: http://www.ctbusinesslist.com  





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359096
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Port 51011

2012-08-14 Thread CF Developer

Try CacheBox
http://wiki.coldbox.org/wiki/CacheBox.cfm


On Tue, Aug 14, 2012 at 1:29 PM, Steve LaBadie slaba...@po-box.esu.eduwrote:


 Cameron, the libraries are coming from Google.

 Steve LaBadie, Web Manager
 East Stroudsburg University
 570-422-3999
 slaba...@esu.edu




 -Original Message-
 From: Cameron Childress [mailto:camer...@gmail.com]
 Sent: Tuesday, August 14, 2012 1:02 PM
 To: cf-talk
 Subject: Re: Port 51011


 On Tue, Aug 14, 2012 at 12:49 PM, Steve LaBadie
 slaba...@po-box.esu.eduwrote:
 
  We deployed a new website several weeks ago.
  The average number of jqueries served before July-19 was ~2000 a day;
  now we are serving ~45,000.
 

 10x more traffic? Yeah that will hit you where it hurts for sure. The
 first advise I would give is to look at changing you code to use the
 Google hosted version of these libraries:

 http://encosia.com/3-reasons-why-you-should-let-google-host-jquery-for-y
 ou/


  Also, the rich format of the new website is taxing the ColdFusion
  engine.
 

 Yes, 10x traffic will do that. :)


  When the website seems to stop, the number of connections to CF's port
  51011 increase from about 5 (average normal) to about 500.
 

 This smells like CF is getting hung and IIS continues to send it
 requests.
 This leads to a dogpile effect on CF where it's still receiving new
 requests from IIS but can no longer respond. This is usually due to a
 problem with something getting hung up in your CF code, or with SQL. For
 example, a SQL call that never comes back from the database, or some
 CFHTTP calls that never hear back from their servers, or a CFLOCK tag
 that's in a deadlock.

 If this is in fact the problem - the best way to troubleshoot this is
 install something like FusionReactor on the server and get a stack trace
 while the error is occurring. This will quite literally give you the
 exact line of ColdFusion code causing the problem. I'd bet a dollar that
 it's one of the three things I mentioned above.

 -Cameron

 --
 Cameron Childress
 --
 p:   678.637.5072
 im: cameroncf
 facebook http://www.facebook.com/cameroncf |
 twitterhttp://twitter.com/cameronc
  | google+ https://profiles.google.com/u/0/117829379451708140985




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352155
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Google Picasaweb API

2011-05-20 Thread CF Expert

I wrote a wrapper for picasa that you can use as the basis for your app.

Http://Picasacfc.Riaforge.org

On May 17, 2011, at 7:30 PM, Guru wrote:



this is cool..

Was diging the api docs and couldn't find how to get the photo by photoID 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344773
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


(ot) lamp-system analyzer

2011-03-10 Thread cf-talk

Hi list, I know this
is off topic, but is s.o.
here who knows of a tool
similar to fusion-reactor
but for LAMP-servers ?
Uwe



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342881
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: wrong serial for CF9 upgrade

2010-12-20 Thread cf-talk

Hi Dave, excellent idea !
That worked. Thanks !!

Uwe


 With Windows, when I am tiping in the new CF9-serial,
 the installation asks me for the old CF8/CFMX7 key and all
 works fine. Under Linux this question doesn't show up.

 I believe that the license information is stored in a file called
 license.properties. You might be able to take your CF 9 license from
 your Windows machine, stop CF 9 on the Linux machine, back up your
 existing license.properties, and drop in the Windows file and restart
 CF 9 on Linux.

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

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340144
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


newsletter system based on CF

2010-09-27 Thread cf-talk

Hi everybody,
is there any good cf-based newsletter/eMail-marketing system out ?
Uwe




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337589
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: social network application based on CF ?

2010-08-28 Thread cf-t...@sdsolutions.de

I mean it, as I asked. s.th. similar to: http://elgg.org/ 
e.g.


From: Sean Corfield seancorfi...@gmail.com
Sent: Samstag, 28. August 2010 04:59
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: social network application based on CF ? 

On Fri, Aug 27, 2010 at 3:23 PM, cf-t...@sdsolutions.de
 wrote:
 Hi list, is there any social network application / social network framework 
 based on CF you guys are aware of ?

What do you mean by social network application / social network
framework? Twitter? Facebook? Ning? LinkedIn? MySpace? They're all
very different - and they're all custom applications anyway (with a
LOT of low-level tweaks and customizations behind the scenes to make
them scale).
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

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



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336643
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


social network application based on CF ?

2010-08-27 Thread cf-t...@sdsolutions.de

Hi list, is there any social network application / social network framework 
based on CF you guys are aware of ?
Thanks in advance for your feedback !

Uwe





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336637
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Downside of CFQueryParam and Unicode mixing

2010-07-25 Thread cf-talk

Someone correct me if I am wrong, but if you enable non-latin text for a 
datasource, cfqueryparam will treat ALL cf_sql_varchar data as unicode. Meaning 
there is no way to specify a non-unicode (ansi) string other than to NOT use 
cfqueryparam?

I'm trying to weigh the value of enabling the non-latin option versus the N 
hinting, but I can't find a way to enter single-byte strings with cfqueryparam 
once the option is checked, and I think it's silly to sacrifice 50% of my 
storage space for this convenience.

-Igor

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335705
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


(ot) CF/Verity: What is the synonym for it in PHP ?

2010-07-12 Thread cf-talk

Hi list, I know
this is off topic and should
probably being asked in a PHP-list,
but does anybody know of a search engine
similar to CF AND Verity running
under PHP ?

Uwe

-- 
Mit freundlichen Grüßen
cf-t...@sdsolutions.de
mailto:cf-t...@sdsolutions.de



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335256
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) Redirect of a .cfm page under PHP/Apache with .htaccess-file

2010-07-12 Thread cf-talk

Hi Michael, didn't really work on my end.
But put me in the right direction.
This works now for me:

Redirect /shop.cfm http://www.xyz.com
Uwe




 RewriteRule ^shop.cfm http://www.xyz.com [R=301,L]


 On Sat, Jul 10, 2010 at 6:37 PM, cf-t...@sdsolutions.de wrote:


 Hi list,
 a customer of mine ran a CF-shop
 on a windows host with IIS.
 Now he has a new PHP-Shop running on
 another host with apache.
 Anyone here who can describe how
 I can write a ReWriteRule on the
 apache server based on an .htaccess-file
 that requests to: www.xyz.com/shop.cfm
 are being redirected on the new
 host to: www.xyz.com ?
 Uwe



 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335258
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


(ot) Redirect of a .cfm page under PHP/Apache with .htaccess-file

2010-07-10 Thread cf-talk

Hi list,
a customer of mine ran a CF-shop
on a windows host with IIS.
Now he has a new PHP-Shop running on
another host with apache.
Anyone here who can describe how
I can write a ReWriteRule on the
apache server based on an .htaccess-file
that requests to: www.xyz.com/shop.cfm
are being redirected on the new
host to: www.xyz.com ?
Uwe



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335234
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF-based picture-gallery

2010-03-18 Thread cf-talk

Hi Toni, thank you !
I will have a look into it.
Uwe


 http://cfimagemanager.com/downloads/cfimagemanager_5.7.09.4pm.zip

 I never officially released it but it does everything you listed. 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331853
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Fwd: Re: CF Builder Beta 3 and RDS

2010-03-16 Thread cf-talk


Hi Andrew, thanks for your response.
I haven't been able to respond earlier.

When I configure CFBuilder like: JRun
I have to set a naming-port which I never did before.
Port 2910 isn't open at the firewall either. (Without it, I can not
work on, obviously it is a mandatory attribute).
When I click on Other instead of JRun, which is the other option,
there is no connection possible.
Can you send my your config-data ?
Uwe



 Works fine here.

 Double check your host Name, port, username and password settings. And that
 RDS is switched on.


 -Original Message-
 From: cf-t...@sdsolutions.de [mailto:cf-t...@sdsolutions.de] 
 Sent: Saturday, 27 February 2010 9:20 PM
 To: cf-talk
 Subject: CF Builder Beta 3 and RDS


 Hi list, in
 CF Builder Beta 3 I can not
 make a RDS-Connect to a CF 8 Server.

 There are two connect-options:
 a) JRun
 b) Other

 I tried both options, and I can not make a valid
 RDS-connection.
 Do I need CF 9 for this ?
 As far as I can remember with CFB beta 2 it worked.

 Uwe





 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331787
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF-based picture-gallery

2010-03-16 Thread cf-talk

Hi everybody,
is there any good
CF-based (CF6-8, not higher) picture-gallery function/tag/application
which I can use ?
It should produce thumbnails on the
fly, one should put in a title and a picture-description
via an admin-function. Resizing is another plus.

Uwe





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331792
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF Builder Beta 3 and RDS

2010-02-27 Thread cf-talk

Hi list, in
CF Builder Beta 3 I can not
make a RDS-Connect to a CF 8 Server.

There are two connect-options:
a) JRun
b) Other

I tried both options, and I can not make a valid
RDS-connection.
Do I need CF 9 for this ?
As far as I can remember with CFB beta 2 it worked.

Uwe



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331196
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


(ot) WCMS, similar like Joomla on .ASP/.ASPX ??

2009-12-23 Thread cf-talk

Hi folks, a customer
of mine search for a WCMS
similar like Joomla.
But it should be based on .ASP/.ASPX  (.NET)
Please don't ask why, it is a requierement !
Any ideas ?
Is there such a system ?
Uwe





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329337
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) WCMS, similar like Joomla on .ASP/.ASPX ??

2009-12-23 Thread cf-talk

Hi Mike,
thanks. Almost it seems odd,
but it isn't since this is one of the best
mailing-list through the last 6 years I am on
it. :-)
Uwe



 The most popular one by a wide margin is DotNetNuke. I've used this
 before and it works great.

 This seems like an odd question to ask an Adobe ColdFusion mailing list.

 http://en.wikipedia.org/wiki/List_of_content_management_systems

 -Mike Chabot

 On Wed, Dec 23, 2009 at 11:42 AM,  cf-t...@sdsolutions.de wrote:

 Hi folks, a customer
 of mine search for a WCMS
 similar like Joomla.
 But it should be based on .ASP/.ASPX  (.NET)
 Please don't ask why, it is a requierement !
 Any ideas ?
 Is there such a system ?
 Uw

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329342
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: OT - Anyone know of a WEB spider that stores data in MSSQL Database

2009-11-24 Thread cf user

Might have a [partial] CF-based solution.
Contact me: this_ip_address at yahoo dot com.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328656
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RDS and ColdFusion Builder

2009-11-21 Thread cf-t...@sdsolutions.de

Hi folks, can I connect to old CF 5 servers
via RDS with ColdFusion Builder ?
When I do this, I get:
Unexpected number of rpc arguments
I have the impressions it is only possible
with JRUN-CF-versions.
Uwe





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328587
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfftp action=existsFile failing

2009-06-16 Thread CF Coder2

I tried this and while it connects fine and can even produce the current 
directory path, the listdir and existfile actions fail.  This is so wierd!!
I'm wondering if the ftp server requires secure ftp or something for listing 
and existfile checking. I'm checking with the host providers.

Have you tried opening a connection first and then reusing that
connection for the existsFile check?



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323566
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfftp action=existsFile failing

2009-06-16 Thread CF Coder2

I tried this and while it connects fine and can even produce the current 
directory path, the listdir and existfile actions fail.  This is so wierd!!
I'm wondering if the ftp server requires secure ftp or something for listing 
and existfile checking. I'm checking with the host providers.

Have you tried opening a connection first and then reusing that
connection for the existsFile check?



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323567
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfftp action=existsFile failing

2009-06-08 Thread CF Coder2

I can't get the cfftp action=existsFile ... to work for me.
I get an error trying to run it says:

DateTime - 06/08/2009 03:00:12 PM
Diagnostics - null null
The error occurred on line 82.
Template - /dynamic/ftp_download.cfm


The stack trace says:

StackTrace - java.lang.NullPointerException
at  coldfusion.runtime.NeoPageContext.findAttribute(NeoPageContext.java:575)
at  coldfusion.tagext.net.FtpTag.doInterfaceSetup(FtpTag.java:632)
at  coldfusion.tagext.net.FtpTag.doStartTag(FtpTag.java:667)
at  coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661)
at  
cfftp_download2ecfm102608902.runPage(/webdev/source/abc/en/dynamic/ftp_download 
.cfm:82)
at  coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
at  coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
at  coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at  coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
at  
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at  coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at  coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at  coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at  coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
at  
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFil 
ter.java:28)
at  coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at  coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at  coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at  coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at  
coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)
at  coldfusion.CfmServlet.service(CfmServlet.java:175)
at  coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at  jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at  
coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilt 
er.java:42)
at  coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at  jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at  jrun.servlet.FilterChain.service(FilterChain.java:101)
at  jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at  jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at  
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at  
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at  
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at  
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320 
)
at  
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at  
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at  jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

 

The cfftp tag used is (with actual remotefile path modified for security 
reasons)...

cfftp action=existsfile
username=anonym...@abc.ftptoday.com
password=webmas...@abc.com
server=proxy.abc.com
passive=yes
remotefile=updates/v1_9/win/patchfile/xyzpatch.exe
timeout=90

I'm on Sun version of CF8.
I find NO examples in any Adobe docs!
I find no discussion of this in LiveDocs or here on this forum.
Is there a better way to do this? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323254
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


simple RegEx?

2009-04-02 Thread CF Developer

This should be simple for all you RegEx Gurus.

I have a textarea field that may contain list numbers such as : (i)  (ii).
What I want to do is convert those to LI statements.

I know you have to escape the parathesis but it produces:  LIi)  and LIii)

How can I change it just to an LI statement (regardless on the list number, 
since it can be i, ii, iii, iv)

I tried:

rereplace(myTextField,'\(*\)','ALL')

TIA!



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321211
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


re: Form Fields

2009-03-05 Thread CF Developer


easy:

cfquery name=qData blah blah/cfquery

select name=selList size=1
cfoutput query=qDataoption 
value=#qData.someFieldName1##qData.someFIeldName2#/option
/select

Or 

 cfselect 
   name = employeeid 
size = 15 
required = Yes
message = Select one of these 
query = qData 
display =someFieldName2 
value =someFieldName1
/cfselect

Might want to look through the CF Docs.
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=splash.html
CFSelect Tag: 
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_r-s_14.html



From: Pranathi Reddy rk.prana...@gmail.com
Sent: Wednesday, March 04, 2009 9:25 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: Form Fields 

Hi All,

I have an issue and my brain is not working Actually I am trying to pull 
the data back to the formfield from sql database when there is a selection in 
dropdownlist. I am really not sure of how I could realy implement it. 

Any Help???

Thanks,
Pranathi 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320128
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfdocument putting part of the row on the bottom of page 1 and the other on the top of page 2. Please help!

2009-03-04 Thread cf coder

Hello everybody,

I'm new to cfdocument. I'm using it to create pdf documents from data returned 
by a query with ColdFusion8. The problem is that cfdocument is putting part of 
the data contained in the table row at the bottom of page 1 and the other on 
the top of page 2.

I know that there is a cfdocumentitem tpye pagebreak attribute (cfdocumentitem 
type = pagebreak/) which I could use but how do I know when to use this 
given that the data is dynamic.

Can anyone help?
Regards,
John 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320096
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF8 License Wanted

2009-02-13 Thread cf user

Looking to buy CF8 Standard license (new or used).
I am in US.  Corporate check or credit card.
eMail: this_ip_address -at- yahoo -dot- com.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319292
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Calling GetPageContext within a CFC

2009-02-05 Thread cf coder

Can someone please suggest what should I be doing to call the getPageContext 
method and display the image and the rest of the page from within the CFC?


 Hello everybody,
 
 I have a cfm template which I refer to in the img src tag (img 
 src=OutputImage.cfm border=1 /) . It outputs the image correctly 
 and as I would expect it to. Here is the code:
 
 OutputImage.cfm
 
 
 cfscript
 Context = getPageContext();
 Context.setFlushOutput(false);
 
 Response = Context.getResponse().getResponse();
 OutputStream = Response.getOutputStream();
 Response.setContentType(image/jpeg);
 
 OutputImage(session.sessionid,'en',OutputStream);
 
 OutputStream.flush();
 OutputStream.close();
 /cfscript
 
 However, when I move the exact same code to a function in a CFC and 
 call it, nothing but the image gets outputted in the browser. Any 
 ideas why this is the case? Is there a different way to call the 
 GetPageContext() method within a CFC?
 
 Here is the call:
 
 img src=#request.RenderImage()# border=1 /
 
 Here is the same code in a cfc.
 
 cfcomponent displayname=ImageRenderer
 cffunction name=RenderImage returntype=void access=public 
 output=true
   cfscript
   Context = getPageContext();
   Context.setFlushOutput(false);
   
   Response = Context.getResponse().getResponse();
   OutputStream = Response.getOutputStream();
   Response.setContentType(image/jpeg);
   
   OutputImage(session.sessionid,'en',OutputStream);
   
   OutputStream.flush();
   OutputStream.close();
   /cfscript
 /cffunction
 /cfcomponent
 
 I would really appreciate your help.
 Regards,
 John 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318921
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Calling GetPageContext() within a CFC

2009-02-03 Thread cf coder

Hello everybody,

I have a cfm template which I refer to in the img src tag (img 
src=OutputImage.cfm border=1 /) . It outputs the image correctly and as I 
would expect it to. Here is the code:

OutputImage.cfm


cfscript
Context = getPageContext();
Context.setFlushOutput(false);

Response = Context.getResponse().getResponse();
OutputStream = Response.getOutputStream();
Response.setContentType(image/jpeg);

OutputImage(session.sessionid,'en',OutputStream);

OutputStream.flush();
OutputStream.close();
/cfscript

However, when I move the exact same code to a function in a CFC and call it, 
nothing but the image gets outputted in the browser. Any ideas why this is the 
case? Is there a different way to call the GetPageContext() method within a CFC?

Here is the call:

img src=#request.RenderImage()# border=1 /

Here is the same code in a cfc.

cfcomponent displayname=ImageRenderer
cffunction name=RenderImage returntype=void access=public output=true
cfscript
Context = getPageContext();
Context.setFlushOutput(false);

Response = Context.getResponse().getResponse();
OutputStream = Response.getOutputStream();
Response.setContentType(image/jpeg);

OutputImage(session.sessionid,'en',OutputStream);

OutputStream.flush();
OutputStream.close();
/cfscript
/cffunction
/cfcomponent

I would really appreciate your help.
Regards,
John



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318727
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Calling GetPageContext() within a CFC

2009-02-03 Thread cf coder

Hello everybody,

I have a cfm template which I refer to in the img src tag (img 
src=OutputImage.cfm border=1 /) . It outputs the image correctly and as I 
would expect it to. Here is the code:

OutputImage.cfm


cfscript
Context = getPageContext();
Context.setFlushOutput(false);

Response = Context.getResponse().getResponse();
OutputStream = Response.getOutputStream();
Response.setContentType(image/jpeg);

OutputImage(session.sessionid,'en',OutputStream);

OutputStream.flush();
OutputStream.close();
/cfscript

However, when I move the exact same code to a function in a CFC and call it, 
nothing but the image gets outputted in the browser. Any ideas why this is the 
case? Is there a different way to call the GetPageContext() method within a CFC?

Here is the call:

img src=#request.RenderImage()# border=1 /

Here is the same code in a cfc.

cfcomponent displayname=ImageRenderer
cffunction name=RenderImage returntype=void access=public output=true
cfscript
Context = getPageContext();
Context.setFlushOutput(false);

Response = Context.getResponse().getResponse();
OutputStream = Response.getOutputStream();
Response.setContentType(image/jpeg);

OutputImage(session.sessionid,'en',OutputStream);

OutputStream.flush();
OutputStream.close();
/cfscript
/cffunction
/cfcomponent

I would really appreciate your help.
Regards,
John 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318729
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Calling GetPageContext within a CFC

2009-02-03 Thread cf coder

Hello everybody,

I have a cfm template which I refer to in the img src tag (img 
src=OutputImage.cfm border=1 /) . It outputs the image correctly and as I 
would expect it to. Here is the code:

OutputImage.cfm


cfscript
Context = getPageContext();
Context.setFlushOutput(false);

Response = Context.getResponse().getResponse();
OutputStream = Response.getOutputStream();
Response.setContentType(image/jpeg);

OutputImage(session.sessionid,'en',OutputStream);

OutputStream.flush();
OutputStream.close();
/cfscript

However, when I move the exact same code to a function in a CFC and call it, 
nothing but the image gets outputted in the browser. Any ideas why this is the 
case? Is there a different way to call the GetPageContext() method within a CFC?

Here is the call:

img src=#request.RenderImage()# border=1 /

Here is the same code in a cfc.

cfcomponent displayname=ImageRenderer
cffunction name=RenderImage returntype=void access=public output=true
cfscript
Context = getPageContext();
Context.setFlushOutput(false);

Response = Context.getResponse().getResponse();
OutputStream = Response.getOutputStream();
Response.setContentType(image/jpeg);

OutputImage(session.sessionid,'en',OutputStream);

OutputStream.flush();
OutputStream.close();
/cfscript
/cffunction
/cfcomponent

I would really appreciate your help.
Regards,
John 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318733
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: help with using CFCProxy.

2009-01-27 Thread cf coder
Thank you guys for your help. I'll let you know if I face any problems getting 
it to work with an enterprise license.

Regards,
John

Yeah, you need enterprise to use CFCProxy.

I thought they were meant to fix this in 8, under the whole 'Standard
is the same as Enterprise, just with limitations' spiel... but it
looks like it never happens.

Kinda annoys me actually.

Mark


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318609
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Application.cfc error

2009-01-23 Thread cf coder
Hi Laura,

I'm getting this same error. Did you manage to fix this error? Do you remember 
what the problem was and if so can you kindly share it with me?

Regards,
John

 I'm getting an odd error when I try to use Application.cfc instead of 
 Application.cfm.  I get the following error:
 
 500
 
 ROOT CAUSE: 
 java.lang.NoClassDefFoundError: Could not initialize class coldfusion.
 xml.rpc.CFCServlet
   at coldfusion.cfc.CFCProxy.init(CFCProxy.java:71)
   at coldfusion.runtime.AppEventInvoker.init(AppEventInvoker.
 java:47)
   at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.
 java:148)
...
 
 
 Any idea what could be causing it?  I get the same error no matter if 
 there is code in the cfc or not.
 
 Could I have messed up something in my jvm.config file when I was 
 trying to get the debugging set up?
 
 Any help is appreciated.
 
 Thanks,
 
 Laura 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318399
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: help with using CFCProxy.

2009-01-23 Thread cf coder
Do I need the enterprise edition of ColdFusion to use CFCProxy? I'm getting the 
following error when I instantiate the CFCProxy object:

java.lang.NoClassDefFoundError: 
coldfusion/license/LicenseManager$LicenseIllegalAccessException

This is where the error occurs

CFCProxy myCFC = new 
CFCProxy(C:\\Inetpub\\wwwroot\\cfcproxytest\\javacall.cfc);

Please provide me with some help. There is no hardly any documentation on this 
issue.

 Hello everybody,
 
 I want to call ColdFusion objects from a Java class. I found this 
 docucmentation by Ben Forta on CFCProxy: http://www.forta.
 com/misc/cfcproxy.htm
 
 I have a my CFC (see below) that has an init function which initialies 
 all the objects?
 
 cfcomponent name=javacall
   cffunction name=init output=false returntype=javacall 
 hint=initialise
   cfscript
   //Example object
   this.objFont = 
 createObject(java,java.awt.Font).init(Arial,0,
 10);
   return this;
   /cfscript
   /cffunction
 /cfcomponent
 
 The documentation says that the getThisScope() method can be used to 
 retrieve the 'This' scope of the CFC. I want to retreive the 'objFont' 
 this variable. Can someone show me how to do this please? 
 
 Thanks,
 John 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318412
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Can't invoke servlet with ColdFusion8!

2009-01-22 Thread cf coder
Hello everybody,

I took java Hello World example from this site:
http://www.caucho.com/resin-3.0/servlet/tutorial/helloworld/index.xtp

I complied it into a class file and copied it to the 
ColdFusion8\wwwroot\WEB-INF\classes directory. I added the following to the 
web.xml file (D:\ColdFusion8\wwwroot\WEB-INF) as described in the above article:

   servlet
servlet-namehello/servlet-name
servlet-classHelloServlet/servlet-class
   /servlet

   servlet-mapping
servlet-namehello/servlet-name
url-pattern/hello/url-pattern
   /servlet-mapping

This is how I'm calling it in my code:
cfscript
getPageContext().forward(URLEncodedFormat(/hello));
/cfscript

I'm getting the following exception:
coldfusion.runtime.TemplateNotFoundException: File not found: /hello

What am I doing wrong? I can't figure it out. I would be very greatful to 
anyone who puts me out of my mysery. I've been trying to get this to work for 2 
days now.

I am running ColdFusion 8 Developer edition on Windows XP professional. 

Thanks in advance,
John 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318310
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Can't invoke servlet with ColdFusion8!

2009-01-22 Thread cf coder
When I try to browse the servlet like this:

http://127.0.0.1:8501/hello

I get the following error:

500

java.lang.NullPointerException
at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:285)
at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)


Any ideas? I would really apprecaite your help.

 Hello everybody,
 
 I took java Hello World example from this site:
 http://www.caucho.com/resin-3.0/servlet/tutorial/helloworld/index.xtp
 
 I complied it into a class file and copied it to the 
 ColdFusion8\wwwroot\WEB-INF\classes directory. I added the following 
 to the web.xml file (D:\ColdFusion8\wwwroot\WEB-INF) as described in 
 the above article:
 
   
 servlet
   servlet-namehello/servlet-name
 
   servlet-classHelloServlet/servlet-class
   
 /servlet
 
   
 servlet-mapping
  
   servlet-namehello/servlet-name
  
   url-pattern/hello/url-pattern
   
 /servlet-mapping
 
 This is how I'm calling it in my code:
 cfscript
 getPageContext().forward(URLEncodedFormat(/hello));
 /cfscript
 
 I'm getting the following exception:
 coldfusion.runtime.TemplateNotFoundException: File not found: /hello
 
 What am I doing wrong? I can't figure it out. I would be very greatful 
 to anyone who puts me out of my mysery. I've been trying to get this 
 to work for 2 days now.
 
 I am running ColdFusion 8 Developer edition on Windows XP professional. 
 
 
 Thanks in advance,
 John 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318311
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


help with using CFCProxy.

2009-01-21 Thread cf coder
Hello everybody,

I want to call ColdFusion objects from a Java class. I found this 
docucmentation by Ben Forta on CFCProxy: http://www.forta.com/misc/cfcproxy.htm

I have a my CFC (see below) that has an init function which initialies all the 
objects?

cfcomponent name=javacall
cffunction name=init output=false returntype=javacall 
hint=initialise
cfscript
//Example object
this.objFont = 
createObject(java,java.awt.Font).init(Arial,0,10);
return this;
/cfscript
/cffunction
/cfcomponent

The documentation says that the getThisScope() method can be used to retrieve 
the 'This' scope of the CFC. I want to retreive the 'objFont' this variable. 
Can someone show me how to do this please? 

Thanks,
John 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318268
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 500 Event Handler Exception error when I try to create a java object

2009-01-16 Thread cf coder
Can someone please show me how to load a class file in ColdFusion. I've tried 
everything from copying the .class file to the C:\CFusionMX7\lib directory to 
copying it to the C:\CFusionMX7\wwwroot\WEB-INF\classes directory. I don't even 
know if just by dropping the file to a specific directory is sufficient or if 
there is something else to do on top of that? Kindly help!

Regards,
John

 500 Event Handler Exception. That's all it says. I've turned on 
 debugging but it doesn't display any debugging information either.
 
  On Thursday 15 Jan 2009, cf coder wrote:
   This is when it throws the exception.
  
  What exception ?
  
  -- 
  Tom Chiverton
  Helping to appropriately transform market-growth
  
  
  
  This email is sent for and on behalf of Halliwells LLP.
  
  Halliwells LLP is a limited liability partnership registered in 
  England and Wales under registered number OC307980 whose registered 
 
  office address is at Halliwells LLP, 3 Hardman Square, 
 Spinningfields, 
  Manchester, M3 3EB.  A list of members is available for inspection 
 at 
  the registered office together with a list of those non members who 
 
  are referred to as partners.  We use the word “partner” to refer to 
 a 
  member of the LLP, or an employee or consultant with equivalent 
  standing and qualifications. Regulated by the Solicitors Regulation 
 
  Authority.
  
  CONFIDENTIALITY
  
  This email is intended only for the use of the addressee named above 
 
  and may be confidential or legally privileged.  If you are not the 
  addressee you must not read it and must not use any information 
  contained in nor copy it nor inform any person other than Halliwells 
 
  LLP or the addressee of its existence or contents.  If you have 
  received this email in error please delete it and notify Halliwells 
 
  LLP IT Department on 0870 365 2500.
  
  For more information about Halliwells LLP visit www.halliwells.com.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318055
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 500 Event Handler Exception error when I try to create a java object

2009-01-16 Thread cf coder
Can someone please show me how to load a class file in ColdFusion. I've tried 
everything from copying the .class file to the C:\CFusionMX7\lib directory to 
copying it to the C:\CFusionMX7\wwwroot\WEB-INF\classes directory. I don't even 
know if just by dropping the file to a specific directory is sufficient or if 
there is something else to do on top of that? Kindly help!

Regards,
John

 500 Event Handler Exception. That's all it says. I've turned on 
 debugging but it doesn't display any debugging information either.
 
  On Thursday 15 Jan 2009, cf coder wrote:
   This is when it throws the exception.
  
  What exception ?
  
  -- 
  Tom Chiverton
  Helping to appropriately transform market-growth
  
  
  
  This email is sent for and on behalf of Halliwells LLP.
  
  Halliwells LLP is a limited liability partnership registered in 
  England and Wales under registered number OC307980 whose registered 
 
  office address is at Halliwells LLP, 3 Hardman Square, 
 Spinningfields, 
  Manchester, M3 3EB.  A list of members is available for inspection 
 at 
  the registered office together with a list of those non members who 
 
  are referred to as partners.  We use the word “partner” to refer to 
 a 
  member of the LLP, or an employee or consultant with equivalent 
  standing and qualifications. Regulated by the Solicitors Regulation 
 
  Authority.
  
  CONFIDENTIALITY
  
  This email is intended only for the use of the addressee named above 
 
  and may be confidential or legally privileged.  If you are not the 
  addressee you must not read it and must not use any information 
  contained in nor copy it nor inform any person other than Halliwells 
 
  LLP or the addressee of its existence or contents.  If you have 
  received this email in error please delete it and notify Halliwells 
 
  LLP IT Department on 0870 365 2500.
  
  For more information about Halliwells LLP visit www.halliwells.com.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318056
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


500 Event Handler Exception error when I try to create a java object

2009-01-15 Thread cf coder
Hello everybody,

I have used the Employee.java example on the adobe livedocs 
(http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Java_7.html).
 Pleae Scroll down to the section titled Creating and using a simple Java 
class. I am running ColdFusion 7 server installation, developer version 
running on windows xp professional.
Server Product  ColdFusion MX
Version 7,0,2,142559  
Edition Developer

I complied the file Employee.java, and place the resulting Employee.class file 
in a directory in the C:\CFusionMX7\wwwroot\WEB-INF\classes folder. Is this 
right? The article on livedocs states that Save the following Java source code 
in the file Employee.java, compile it, and place the resulting Employee.class 
file in a directory that is specified in the classpath. How can I see the 
classpath? Is this the CLASSPATH environment variable or the CF Classpath?

Any help would be most appreciated.

Regards
John 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317979
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 500 Event Handler Exception error when I try to create a java object

2009-01-15 Thread cf coder
This is how I am trying to create the object.

cfset objEmp = createObject(java,Employee) /
cfdump var=#objEmp#

This is when it throws the exception.

 Hello everybody,
 
 I have used the Employee.java example on the adobe livedocs 
 (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.
 html?content=Java_7.html). Pleae Scroll down to the section titled 
 Creating and using a simple Java class. I am running ColdFusion 7 
 server installation, developer version running on windows xp 
 professional.
 Server ProductColdFusion MX
 Version   7,0,2,142559  
 Edition   Developer
 
 I complied the file Employee.java, and place the resulting Employee.
 class file in a directory in the 
 C:\CFusionMX7\wwwroot\WEB-INF\classes folder. Is this right? The 
 article on livedocs states that Save the following Java source code 
 in the file Employee.java, compile it, and place the resulting 
 Employee.class file in a directory that is specified in the classpath. 
 How can I see the classpath? Is this the CLASSPATH environment 
 variable or the CF Classpath?
 
 Any help would be most appreciated.
 
 Regards
 John 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317980
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: FreeTTS API implementation doesn't work in ColdFusion7

2009-01-15 Thread cf coder
Hi Isaac,

Thanks for your reply. I actually found this little helloworld freeTTS example 
online: 
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Sound;action=display;num=1204335245

I want to write a simple HelloWorld example in ColdFusion. I've got all the jar 
files I need.

cmudict04.jar
cmulex.jar
cmutimelex.jar
cmu_time_awb.jar
cmu_us_kal.jar
en_us.jar
freetts.jar
jsapi.jar 

would you be albe to show me how to do this in ColdFusion please?

cfset Voice = createObject(java,com.sun.speech.freetts.Voice) /
cfset VoiceManager = 
createObject(java,com.sun.speech.freetts.VoiceManager) /

 cfset voiceInstance = Voice
cfset voiceName[1] = kevin16
cfset VoiceMgrInstance = VoiceManager.getInstance()
cfset voiceInstance = VoiceMgrInstance.getVoice(voiceName)
cfdump var=#voiceInstance#

Your help on this matter is greatly appreciated.

Regards,
John

 cfset BootstrapClassLoader = createObject(java, coldfusion.bootstrap.Boot
 strapClassLoader).SystemClassLoader.newInstance(com.sun.speech.freetts.Voic
 eManager)
 
 cfset VoiceManager = createObject(java, coldfusion.runtime.java.JavaProxy
 ).init(BootstrapClassLoader)
 cfset Application.VoiceManagerInstance6 = VoiceManager.Instance

I'm not the most knowledgeable expert with regard to Java, but this just
looks to me like it was written by someone with Java experience, who
didn't bother to even test anything in ColdFusion and instead simply
assumed (wrongly) that everything in CF would work exactly the way he's
used to things working in Java... blech... 

Random guess (I haven't tried this), replace the entire 3 lines with
this: 

VMInstance = CreateObject(java,com.sun.speech.freetts.VoiceManager);

Then set Application.VoiceManager6 to that. 

The extra classes he created look to me like classes that are probably
instantiated automatically by CreateObject(), so using CreateObject to
instantiate them would be (I believe) just doubling up on those classes
and actually slowing them down, since you would be reflecting the
reflection. That's just a guess, but that's what it looks like to me.


 

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317986
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 500 Event Handler Exception error when I try to create a java object

2009-01-15 Thread cf coder
500 Event Handler Exception. That's all it says. I've turned on debugging but 
it doesn't display any debugging information either.

 On Thursday 15 Jan 2009, cf coder wrote:
  This is when it throws the exception.
 
 What exception ?
 
 -- 
 Tom Chiverton
 Helping to appropriately transform market-growth
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
 England and Wales under registered number OC307980 whose registered 
 office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, 
 Manchester, M3 3EB.  A list of members is available for inspection at 
 the registered office together with a list of those non members who 
 are referred to as partners.  We use the word “partner” to refer to a 
 member of the LLP, or an employee or consultant with equivalent 
 standing and qualifications. Regulated by the Solicitors Regulation 
 Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above 
 and may be confidential or legally privileged.  If you are not the 
 addressee you must not read it and must not use any information 
 contained in nor copy it nor inform any person other than Halliwells 
 LLP or the addressee of its existence or contents.  If you have 
 received this email in error please delete it and notify Halliwells 
 LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.halliwells.com.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317991
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Using JCaptcha and FreeTTS to embed captcha and audio for the visually impaired

2009-01-13 Thread cf coder
We have decided to use a differnt API for the captcha. Regarding the speech, 
FreeTTS is the API that we want to use. 

I have been looking at this example which shows how to call it in ColdFusion 
(Please look at the second example titled: FreeTTS CFC):
http://www.cfide.org/Text_to_Speech_Example_page.cfm

Unfortuanately you can't copy it as it is an image. I've typed in the first 3 
lines of code:

cfset BootstrapClassLoader = createObject(java, 
coldfusion.bootstrap.BootstrapClassLoader).SystemClassLoader.newInstance(com.sun.speech.freetts.VoiceManager)

cfset VoiceManager = createObject(java, 
coldfusion.runtime.java.JavaProxy).init(BootstrapClassLoader)
cfset Application.VoiceManagerInstance6 = VoiceManager.Instance

I've copied the freetts.jar file which you can donwload from here 
(http://downloads.sourceforge.net/freetts/freetts-1.2.1-bin.zip?modtime=1110396608big_mirror=0),
 to my lib folder (C:\ColdFusionMX\lib) and it is in the coldfusion class-path.

When I run the above code, I get an error:

The selected method newInstance was not found.
Either there are no methods with the specified method name and argument types, 
or the method newInstance is overloaded with arguments types that ColdFusion 
can't decipher reliably. If this is a Java object and you verified that the 
method exists, you may need to use the javacast function to reduce ambiguity. 

Does anyone know why this is?

Regards,
John


  I am hoping someone could provide me with some help in implementing 
 this on my
  application. I am running ColdFusion 7 on a Windows Server. I have 
 been asked to display
  a image and audio captcha in my form. I've visited both the JCpatcha 
 and FreeTTS
  websites.
 
 I would recommend that you avoid implementing CAPTCHAs at all. That's
 probably not the answer you're looking for, but they're terrible
 solutions from an accessibility perspective. Instead, you might look
 at something like CFFormProtect (http://cfformprotect.riaforge.org/),
 which lets you block spammers just as effectively without the
 accessibility problems of CAPTCHAs.
 
 Your client may have specifically requested a CAPTCHA, but ideally 
 the
 developer should recommend alternative solutions when those solutions
 are clearly superior.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more 
information! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317841
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


FreeTTS API implementation doesn't work in ColdFusion7

2009-01-13 Thread cf coder
Hello everybody, 

I want to use the FreeTTS API to allow people with disabilies to have a better 
experience. I have been looking at this example which shows how to call it in 
ColdFusion (Please look at the second example titled: FreeTTS CFC):
http://www.cfide.org/Text_to_Speech_Example_page.cfm

Unfortuanately you can't copy it as it is an image. I've typed in the first 3 
lines of code:

cfset BootstrapClassLoader = createObject(java, 
coldfusion.bootstrap.BootstrapClassLoader).SystemClassLoader.newInstance(com.sun.speech.freetts.VoiceManager)

cfset VoiceManager = createObject(java, 
coldfusion.runtime.java.JavaProxy).init(BootstrapClassLoader)
cfset Application.VoiceManagerInstance6 = VoiceManager.Instance

I've copied the freetts.jar file which you can donwload from here 
(http://downloads.sourceforge.net/freetts/freetts-1.2.1-bin.zip?modtime=1110396608big_mirror=0),
 to my lib folder (C:\ColdFusionMX\lib) and it is in the coldfusion class-path.

When I run the above code, I get an error:

The selected method newInstance was not found.
Either there are no methods with the specified method name and argument types, 
or the method newInstance is overloaded with arguments types that ColdFusion 
can't decipher reliably. If this is a Java object and you verified that the 
method exists, you may need to use the javacast function to reduce ambiguity. 

Does anyone know why this is?

Regards,
John 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317842
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Using JCaptcha and FreeTTS to embed captcha and audio for the visually impaired

2009-01-12 Thread cf coder
Hi everybody,

I am hoping someone could provide me with some help in implementing this on my 
application. I am running ColdFusion 7 on a Windows Server. I have been asked 
to display a image and audio captcha in my form. I've visited both the JCpatcha 
)http://jcaptcha.sourceforge.net/) and FreeTTS 
(http://freetts.sourceforge.net/docs/index.php) websites.

I have not been able to find any help online on how to set up the jar files in 
coldfusion. My Java knowledge is very very basic. Would anyone be kind enough 
to show me or at least point me to the right direction?

I look forward to hearing from you

Regards,
John 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317750
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Using JCaptcha and FreeTTS to embed captcha and audio for the visually impaired

2009-01-12 Thread cf coder
Hi Sam,

Thank you for your post. I have copied the files FreeTTS.jar file to my 
standalone ColdFusion installation folder: C:\CFusionMX7\lib\freetts.jar. I 
restarted ColdFusion and the jar file is now showing up in the class-path which 
is good. I can dump the methods in the FreeTTS class like this:
cfset freettsObj = CreateObject(java, com.sun.speech.freetts.FreeTTS)/
cfdump var=#freettsObj#cfabort

Please follow this link to see the list of classes and packages. 
http://freetts.sourceforge.net/javadoc/index.html

I'm getting somewhere but I don't know how to invokve the textToSpeech() method 
of the FreeTTS class. Basically, I want to pass a string to this function (the 
text that the captch randomly generates) and to convert this text to 
speeach/voice. When I get an error when I try to call this method in my code: 
cfset freettsObj.textToSpeech(randomStr) /

The system has attempted to use an undefined value, which usually indicates a 
programming error, either in your code or some system code.

Null Pointers are another name for undefined values. 

Any ideas?



 Hi everybody,
application specific jar files usually go in 

webapps/application_name/web-inf/lib

Sam 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317759
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


(ot) Java-Hibernate-problem: Optimistic concurrency control problem, I need a second opinion !

2009-01-04 Thread cf-talk
Hi list,

in our freshly build Java B2B-Shop-Customer-System (build from scratch, based
on Hibernate. Spring etc.) we have
four adresses in the MS-SQL-DB (MS-SQL-2000): contact_address,
company_address, delivery_address, billing_address.

In the end-customer's registration process the following happens (in case the
customer says that the delivery_address + billing address is being
assembled out of the contact/-delivery_addresses and doesn't have to fill it
seperately):

a) contact_address is stored first - ok
b) company_address is stored first - ok
c) delivery_adress is stored from the data of the company_adress
d) billing_adress is stored from the data of the company_address

My Java-developer is trying to tell me, that this is not possible. He
mentioned the following: in part c) Hibernate recognizes, that the
object which is the most recent is older than the stored version in
the DB. The same happens when it comes to part d).
And he mentions that this is a Optimistic Concurrency Control problem.
(see: http://en.wikipedia.org/wiki/Optimistic_concurrency_control )
I told him that with ColdFusion, PHP and other scripting languages
this shouldn't be a problem, since you can store the data in server or
clientside variables/parameters. He replied, that this isn't possible with
Hibernate. This irritates me, since it would be a major problem, if
we have to change the business logic of this shop-feature feature from
ground up.

Any ideas ? Does anybody know of another good (Java)-forum where I can post
this question ? Thanks !!

Uwe





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317352
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ColdFusion + SVNkit

2008-12-18 Thread cf rotts
Ray,

I would like to compare the CFC I wrote to one written by a ColdFusion Jedi.

ro...@uwf.edu


Same here. I wrote a CFC wrapper for it intending to use it for
RIAForge, but ran into an issue. So it's flawed, but it's something,
and I can post it if you want it.



 Has anyone used the SVNkit (http://svnkit.com/) and can advise me how
 to interface ColdFusion (to obtain log messages from Subversion)?


 do you still need an answer on this, if so I have some code that may get you 
 going.






-- 
===
Raymond Camden, VP of Software Dev, Broadchoice

Email: r...@camdenfamily.com
Blog  : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316942
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


re: CF / Javascript question

2008-12-17 Thread CF Developer

Why not place a checkbox on the page (after the textarea) 
indicating: 

[ ] I have read the prescribed text.

If the box is checked, fire off a JS to enable the Continue button, else keep 
it disabled.

Just a thought!



From: Jenny Gavin-Wear 
jenn...@fasttrackonline.co.uk
Sent: Wednesday, December 17, 2008 6:54 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: CF / Javascript question 

Hi all,

In a registration procedure, I need to do a verification that the person
registering has read a large piece of text.

The way I thought about doing is is with a scrolling div area which enables
a continue to next page option when the user has scrolled to the bottom of
the text.

How could I best go about this using CF and/or javascript, please?

Grateful for any ideas ...

Jenny



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316865
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfqueryparam and LIKE operator error

2008-12-17 Thread CF Developer

It is as Dave suggested, you can not use CFQUERYPARAM as part 
of the actual SQL query.
You are writting the WHERE clause as a variable, remove the queryparam from 
that since you are declaring the variable.



From: JediHomer jediho...@gmail.com
Sent: Wednesday, December 17, 2008 3:17 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: cfqueryparam and LIKE operator error 

Try wrapping the QueryParams...

i.e.

Change (P.product_code LIKE value=%tents%)

to (P.product_code LIKE (value=%tents%))

HTH

2008/12/16 Mike Little :
 hi guys,

 getting an error using the following syntax...

 WHERE ((P.product_code LIKE ) OR (PD.product_title LIKE ) OR 
 (PD.product_description LIKE ))

 the error i get is...

 You have an error in your SQL syntax; check the manual that corresponds to 
 your MySQL server version for the right syntax to use near ') OR 
 (PD.product_title ' at line 9

 this was working fine till i added the cfqueryparams.

 mike

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316855
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


PDF Compression Tag/SW

2008-11-25 Thread cf-talk
Hi list,
we have a coldfusion application
producing .pdf-files with the cffile-tag.
Our problem right now is, that each file
is 500-600 KByte (app. 2000 pdf-files).
The customer complained that the file size
is too large for sending those files to customers.
Is there any coldfusion-tag or other CF/non CF
solutions to descrease/compress the file size ?

Thank you in advance.

Uwe



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315913
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF Job Market

2008-11-06 Thread CF Developer
I hope neither of you are making that a stereotype. I have 10 years as a CF 
developer, and EVERYTHING I do is OO, and I have a fundamental understanding of 
it, and use the usual OO frameworks like Mach-ii, ColdSpring, and Transfer 
(although I have developed OO apps without a front controller, too), and even 
built my own (closed, sorry) framework to solve specialized problems that the 
standard frameworks didn't. I have architected high-traffic, high-volume and 
high-revenue enterprise applications. Would you see 10 years on my resume and 
throw it out? I hope not.

I didn't post this looking for work, as I have a fulltime job (parttime 
freelance OK). I just wanted to respond to this thread. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4113
Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11


SQL help..

2008-10-29 Thread cf coder
Hello there,

I do appreciate this isn't the right forum for posting this question but I have 
posted my question in the SQL forum but I haven't heard anything back. It's a 
very straightforward query... at least I hope it is for someone with good sql 
skills.

I was hoping someone could help here. I have a table called 'phone_numbers' 
with two columns, one called 'person_name' and the other called 'number'. A 
person can have more than one number and I want the query to return all 
person's that have more than 3 numbers.

Jamie   1
Jamie   2
Jamie   3
Jamie   4
Allan   5
Vicki   6
Marilyn 7
Paul8
Scott   9
Scott   10
Scott   11
Scott   12

So in the above example, the query would return Jamie and Scott. How do I get 
this data?

Regards,
John 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314540
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SQL help..

2008-10-29 Thread cf coder
I'm really greatful to you for the post.
Just answered this on the SQL list:
http://www.houseoffusion.com/groups/sql/thread.cfm/threadid:855 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314544
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Why won't this query run in MySQL 5?

2008-09-08 Thread CF Developer
Try the following: (I think MySQL 5 uses the ( ) within the inner join
statements when using multiple conditions ) ** I could be wrong but can't
hurt to try

CFQUERY Name=Get_Client Datasource=#DSN#
Select  C.*, FG.*, E.*
fromclients C
inner join  family_groups FG, employers E on ( C.Family_ID =
FG.Family_ID and C.Employer_ID = E.Employer_ID )
where   C.Family_ID =
   (Select Family_ID
from   clients
where  Client_ID = '#Session.Client_ID#')
and C.Employer_ID =
   (Select Employer_ID
from   clients
where  Client_ID = '#Session.Client_ID#')
and C.Client_ID = '#URL.Client_ID#'

/CFQUERY


On Mon, Sep 8, 2008 at 8:26 AM, Will Tomlinson [EMAIL PROTECTED] wrote:

  Hi, all...
 
  I've just moved a website from a server running MySQL 4.1 to
  a server running MySQL 5 and now this query is giving me problems.
 

 I think the problem is in your uppercase CFQUERY tags.  Heehhehe...:)

 Seriously though, I've encountered the same kind of problems between MySQL
 versions. Sorry I can't help with your syntax problem. Just letting you know
 this isn't uncommon.

 Will

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312171
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfinvoke webservice

2008-08-25 Thread CF Developer
are you sure the method that you are calling exists in the CFC file?

On 8/25/08, Bosky, Dave [EMAIL PROTECTED] wrote:

 Trying to invoke a webservice using CF but it keeps failing due to some
 error. Is there a common problem related to this error msg?

 Cannot perform web service invocation myMethodName.
 The fault returned when invoking the web service operation is:

 AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (500)Internal Server Error
 faultActor:
 faultNode:
 faultDetail: {}:return code:  500

 Thanks,

 Dave

 **
 HTC Disclaimer:  The information contained in this message may be
 privileged and confidential and protected from disclosure. If the reader of
 this message is not the intended recipient, or an employee or agent
 responsible for delivering this message to the intended recipient, you are
 hereby notified that any dissemination, distribution or copying of this
 communication is strictly prohibited.  If you have received this
 communication in error, please notify us immediately by replying to the
 message and deleting it from your computer.  Thank you.
 **


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311496
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ColdFusion and Flex jobs

2008-08-20 Thread cf recruiter
http://cfrecruiter.blogspot.com/ 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311340
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread cf coder
Hello everybody,

I need your help with regular expressions. I want to loop through a directory 
in my codebase and return a list of href tags. The href value for ex must be in 
this format. #request.udf.geturl(NUMERIC VALUE,STRING)#

a href=#request.udf.geturl(111,pagename)# class=btn title=FreeFREE/a

Here's what I have for now:

cfset thisPath = ExpandPath( \view)
cfdirectory action=list directory=#thisPath# name=viewDir recurse=true 
filter=dsp_*.cfm /

Processing #viewDir.recordcount# files.. br/

cfloop query=viewDir
#viewDir.name#
cffile action=read file=#viewDir.directory#\#viewDir.name# 
variable=contents charset=utf-8
!--- Regex goes here! ---
/cfloop

Can someone do me a big favour and send me the regular expression to match the 
string in the way I have mentioned? Many thanks in advance.

Regards,

John 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310854
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread cf coder
Is someone willing to help me with my problem? I would very much appreciate 
your help.

Regards,
J

 Hello everybody,
 
 I need your help with regular expressions. I want to loop through a 
 directory in my codebase and return a list of href tags. The href 
 value for ex must be in this format. #request.udf.geturl(NUMERIC VALUE,
 STRING)#
 
 a href=#request.udf.geturl(111,pagename)# class=btn 
 title=FreeFREE/a
 
 Here's what I have for now:
 
 cfset thisPath = ExpandPath( \view)
 cfdirectory action=list directory=#thisPath# name=viewDir 
 recurse=true filter=dsp_*.cfm /
 
 Processing #viewDir.recordcount# files.. br/
 
 cfloop query=viewDir
   #viewDir.name#
   cffile action=read file=#viewDir.directory#\#viewDir.name# 
 variable=contents charset=utf-8
 !--- Regex goes here! ---
 /cfloop
 
 Can someone do me a big favour and send me the regular expression to 
 match the string in the way I have mentioned? Many thanks in advance.
 
 Regards,
 
 John 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310870
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ReFind - help with regex (ColdfusionMX 7)

2008-08-12 Thread cf coder
Hi Will,

I sincerely apologise to you and to anyone else who got the impression that I 
was someone who jsut wanted a quick solution. I began working on this yesterday 
evening, I have spent all of today trying out different things but have not had 
any luck yet.

This is what I've managed so far:

 cfset tmp = ReFind('(a href=(.+?).*?)(.+?)(\/a)', contents, 1, true) /

I think I'm right in saying that I don't have to match the a href, I'm only 
interested in #request.udf.geturl(NUMERIC VALUE,STRING)#


 Is someone willing to help me with my problem? I would very much 
 appreciate your help.
 
 Regards,
 J
 
 I'll tell you what I do in situations like this. I read info/books 
 about Regexs and try to solve it myself. 
 
 I may work on a problem for hours without finding a solution. 
 
 Then, if I can't figure it out, I'll post the non-working code I've 
 been working on to the list. Other folks on the list know I've at 
 least ATTEMPTED to solve my own problem and may be more inspired to 
 help out. If you simply want someone else to write code for you, 
 you're on the wrong list 
 
 Shoot, Regexs are just too cool not to learn anyway.  :)
 
 Will 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310879
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


(ot) Stupid HTML Question

2008-07-23 Thread Experienced CF Developer
Okay, I must be having a brain fart today - I'm trying to get a cell in a
table to NOT wrap.  I actually want the text that doesn't fit to be hidden.
What am I missing? (btw, I'm coding only for IE for an internal app).  I've
done this before, just can't remember what I did.  I want the second cell to
NOT wrap.  Here's some test code:

table border=1 cellspacing=0 cellpadding=0 width=150
style=table-layout: fixed; 
col width=50/ 
col width=50/ 
col width=50/ 
tr 
tdnbsp;/td 
tdTest Test Test Test Test Test Test Test Test Test Test Test Test Test
Test Test Test Test Test Test Test Test Test /td
tdnbsp;/td 
/tr 
/table

What am I missing?

Dave Phillips


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309507
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: (ot) Stupid HTML Question

2008-07-23 Thread Experienced CF Developer
Wim,

This didn't work for me.  I still get the following:

http://www.zarts.com/test.cfm

Dave

-Original Message-
From: Wim Lemmens [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2008 8:04 AM
To: CF-Talk
Subject: Re: (ot) Stupid HTML Question

td style=width: 100px; overflow: hidden; nowrapTest Test Test Test Test
Test Test Test Test Test Test Test Test Test
Test Test Test Test Test Test Test Test Test /td

On Wed, Jul 23, 2008 at 3:00 PM, Experienced CF Developer 
[EMAIL PROTECTED] wrote:

 Okay, I must be having a brain fart today - I'm trying to get a cell in a
 table to NOT wrap.  I actually want the text that doesn't fit to be
hidden.
 What am I missing? (btw, I'm coding only for IE for an internal app).
I've
 done this before, just can't remember what I did.  I want the second cell
 to
 NOT wrap.  Here's some test code:

 table border=1 cellspacing=0 cellpadding=0 width=150
 style=table-layout: fixed;
 col width=50/
 col width=50/
 col width=50/
 tr
 tdnbsp;/td
 tdTest Test Test Test Test Test Test Test Test Test Test Test Test Test
 Test Test Test Test Test Test Test Test Test /td
 tdnbsp;/td
 /tr
 /table

 What am I missing?

 Dave Phillips


 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309513
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: (ot) Stupid HTML Question

2008-07-23 Thread Experienced CF Developer
This did exactly what I want.  Thanks!  That's not how I did it before
because I didn't even know about this tag. LOL.  But hey, I'm not
complaining. :)

Thanks!

Dave

-Original Message-
From: Robert Harrison [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2008 8:13 AM
To: CF-Talk
Subject: RE: (ot) Stupid HTML Question

You could also wrap the contents in the nobrwill not wrap/nobr tag.


Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .
-Original Message-
From: Experienced CF Developer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2008 9:00 AM
To: CF-Talk
Subject: (ot) Stupid HTML Question

Okay, I must be having a brain fart today - I'm trying to get a cell in a
table to NOT wrap.  I actually want the text that doesn't fit to be hidden.
What am I missing? (btw, I'm coding only for IE for an internal app).  I've
done this before, just can't remember what I did.  I want the second cell to
NOT wrap.  Here's some test code:


Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309507
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=28801.20441.4


__ NOD32 3290 (20080723) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com






~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309514
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: (ot) Stupid HTML Question

2008-07-23 Thread Experienced CF Developer
Wim,

The nobr tag did what I wanted.  The code below did not work as you would
think it should (I had already tried those options myself).  If you look at
the page at http://www.zarts.com/test.cfm you will see the code you gave me
below but you will also see that the cell still wraps.

Thanks though!

Dave

-Original Message-
From: Wim Lemmens [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2008 8:52 AM
To: CF-Talk
Subject: Re: (ot) Stupid HTML Question

That's what you wanted, no?

You say I actually want the text that doesn't fit to be hidden.
That's what you get.

Please explain correctly what you want.

Wim.

On Wed, Jul 23, 2008 at 3:49 PM, Experienced CF Developer 
[EMAIL PROTECTED] wrote:

 Wim,

 This didn't work for me.  I still get the following:

 http://www.zarts.com/test.cfm

 Dave

 -Original Message-
 From: Wim Lemmens [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 23, 2008 8:04 AM
 To: CF-Talk
 Subject: Re: (ot) Stupid HTML Question

 td style=width: 100px; overflow: hidden; nowrapTest Test Test Test
Test
 Test Test Test Test Test Test Test Test Test
 Test Test Test Test Test Test Test Test Test /td

 On Wed, Jul 23, 2008 at 3:00 PM, Experienced CF Developer 
 [EMAIL PROTECTED] wrote:

  Okay, I must be having a brain fart today - I'm trying to get a cell in
a
  table to NOT wrap.  I actually want the text that doesn't fit to be
 hidden.
  What am I missing? (btw, I'm coding only for IE for an internal app).
 I've
  done this before, just can't remember what I did.  I want the second
cell
  to
  NOT wrap.  Here's some test code:
 
  table border=1 cellspacing=0 cellpadding=0 width=150
  style=table-layout: fixed;
  col width=50/
  col width=50/
  col width=50/
  tr
  tdnbsp;/td
  tdTest Test Test Test Test Test Test Test Test Test Test Test Test
Test
  Test Test Test Test Test Test Test Test Test /td
  tdnbsp;/td
  /tr
  /table
 
  What am I missing?
 
  Dave Phillips
 
 
 



 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309517
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: (ot) Stupid HTML Question

2008-07-23 Thread Experienced CF Developer
Ah, that's it.  I'm only developing for IE for an internal app.

Dave

-Original Message-
From: Wim Lemmens [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2008 9:00 AM
To: CF-Talk
Subject: Re: (ot) Stupid HTML Question

I only checked in FireFox. There it works correctly.
IE messes it up...

On Wed, Jul 23, 2008 at 3:56 PM, Experienced CF Developer 
[EMAIL PROTECTED] wrote:

 Wim,

 The nobr tag did what I wanted.  The code below did not work as you
would
 think it should (I had already tried those options myself).  If you look
at
 the page at http://www.zarts.com/test.cfm you will see the code you gave
 me
 below but you will also see that the cell still wraps.

 Thanks though!

 Dave

 -Original Message-
 From: Wim Lemmens [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 23, 2008 8:52 AM
 To: CF-Talk
 Subject: Re: (ot) Stupid HTML Question

 That's what you wanted, no?

 You say I actually want the text that doesn't fit to be hidden.
 That's what you get.

 Please explain correctly what you want.

 Wim.

 On Wed, Jul 23, 2008 at 3:49 PM, Experienced CF Developer 
 [EMAIL PROTECTED] wrote:

  Wim,
 
  This didn't work for me.  I still get the following:
 
  http://www.zarts.com/test.cfm
 
  Dave
 
  -Original Message-
  From: Wim Lemmens [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 23, 2008 8:04 AM
  To: CF-Talk
  Subject: Re: (ot) Stupid HTML Question
 
  td style=width: 100px; overflow: hidden; nowrapTest Test Test Test
 Test
  Test Test Test Test Test Test Test Test Test
  Test Test Test Test Test Test Test Test Test /td
 
  On Wed, Jul 23, 2008 at 3:00 PM, Experienced CF Developer 
  [EMAIL PROTECTED] wrote:
 
   Okay, I must be having a brain fart today - I'm trying to get a cell
in
 a
   table to NOT wrap.  I actually want the text that doesn't fit to be
  hidden.
   What am I missing? (btw, I'm coding only for IE for an internal app).
  I've
   done this before, just can't remember what I did.  I want the second
 cell
   to
   NOT wrap.  Here's some test code:
  
   table border=1 cellspacing=0 cellpadding=0 width=150
   style=table-layout: fixed;
   col width=50/
   col width=50/
   col width=50/
   tr
   tdnbsp;/td
   tdTest Test Test Test Test Test Test Test Test Test Test Test Test
 Test
   Test Test Test Test Test Test Test Test Test /td
   tdnbsp;/td
   /tr
   /table
  
   What am I missing?
  
   Dave Phillips
  
  
  
 
 
 
 



 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309521
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Consuming a Web Service with CF8

2008-07-23 Thread Experienced CF Developer
Steve,

Try hitting it with CFHTTP and see what you get:

cfhttp url=https://devurl.asmx?method=ZNAPing;/cfhttp
cfdump var=#cfhttp#

See what you get.  Maybe it's not written as a 'real' web service and simply 
just returns xml?

Dave
-Original Message-
From: Steve Sequenzia [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2008 1:41 PM
To: CF-Talk
Subject: Consuming a Web Service with CF8

Just to get this out of the way. I am pretty much brand new to web services so 
please excuse my lack of knowledge.

I have been working on a real small web app that allows the customer to input 
an invoice then it kicks out a csv of the invoices. My problem is that the 
vendor just added an additional step that requires that I check the invoice 
against a web service that will tell me if it is valid.

The vendor gave me a basic document that lays out the web services. There are 2 
web services one is just a ping and the other actually checks the invoice. I 
cannot get either of them to work and I am not sure why. Here is the info for 
the ping web service that they sent:

ZNAPing

Purpose:This web service was created to give an external customer an 
opportunity to verify availability of the ZNA Claims Web Services before 
calling in with actual request.

Signature:string ZNAPing( void );

Input:NONE

Result:string.

Note:Successful return will contain an XML fragment with the following 
information

ZNAPingResult
timeStamp9/24/2004 8:24:58 AM/timeStamp
Version0.61/Version
/ZNAPingResult

Client can parse this string to extract some information - timeStamp element 
contains date and time of the call, Version element – contains the 
version of the web services.


I have been trying to consume it using cfinvoke like this:

cfinvoke webservice = https://devurl.asmx; 
method = ZNAPing
returnVariable = getBack
username=username
password=password

cfoutput#getBack#/cfoutput

I am getting this error when I run it:

 Unable to parse WSDL as an XML document.
Parsing error: Fatal Error: URI=null Line=69: The element type p must be 
terminated by the matching end-tag 

Again, I am very new to web services so I am sure I am doing something wrong. 
If anyone could help point me in the right direction that would be very helpful.

Thanks in advance for any help.




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309540
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: DataSource Events like Before Commit?

2008-07-22 Thread Experienced CF Developer
Joseph,

I don't think what you are trying to do is possible.  Can you give us some
more details of what you are trying to accomplish to see if we can help you
come up with an alternative solution?

Sincerely,

Dave Phillips

-Original Message-
From: Joseph Bugeja [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 22, 2008 4:50 AM
To: CF-Talk
Subject: DataSource Events like Before Commit?

Dear ColdFusion Users,

Is there a way that I can attach to a datasource through an event like
before_commit or before_update?

So, if I have a cfquery tag, and I would ColdFusion to automatically, before
ColdFusion executes the code found in the cfquery I would like it to
automatically execute another query for example to set the user id to the
database? In this way I do not need to make any modification to the existing
code except that of creating new code to do something before executing my
main query?
   
Thanks in advance for your assistance.

Regards,
Joseph. 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309432
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: DataSource Events like Before Commit?

2008-07-22 Thread Experienced CF Developer
Joseph,

I think Gert's suggestion earlier could work for you.  You could design a
trigger to fire the stored procedure prior to any Inserts or Updates.  Check
out this page on oracle site for some direction:

http://tinyurl.com/5sjhlg

I haven't done anything with triggers myself.  But if you want to avoid
re-coding your CFML, I think this is your route to go.

Of course, this will only work for you if the only thing changing your
tables is your CF app.  Any manual changes to the database, or any other
application accessing the same database would fire the triggers as well,
unless you can figure out a way to make them fire only when your app
accesses the database.

Hope this helps,

Dave Phillips

-Original Message-
From: Joseph Bugeja [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 22, 2008 6:51 AM
To: CF-Talk
Subject: Re: DataSource Events like Before Commit?

Thanks for your reply. Let me explain our scenario.

We have a number of cfquery tags that insert, update and delete data from
our Oracle database. Basically, before each query is run I need to execute a
stored procedure. This stored procedure sets the userid (the user currently
logged in) in the database for auditing purposes. We have hundreds of
queries and it is not good from a design perspective to rewrite each query
to call the same central piece of code before each query gets executed. 

So my original query should be:
  Original Query:
   cfquery
  DML Operation
   /cfquery

New requirement should be:
   cftransaction
 cfstoredproc   
Set the user id 
 /cfstoredproc   
 cfquery
DML Operation
 /cfquery 
   /cftransaction

As shown above, I need to call the cfstoredproc before each query is
executed. Personally, I would prefer if I keep my original design and before
the original query is run the ColdFusion engine automatically injects the
new call in a transaction to set the clientid.

Do you have any suggestions?

Joseph,

I don't think what you are trying to do is possible.  Can you give us some
more details of what you are trying to accomplish to see if we can help you
come up with an alternative solution?

Sincerely,

Dave Phillips

Dear ColdFusion Users,

Is there a way that I can attach to a datasource through an event like
before_commit or before_update?

So, if I have a cfquery tag, and I would ColdFusion to automatically,
before
ColdFusion executes the code found in the cfquery I would like it to
automatically execute another query for example to set the user id to the
database? In this way I do not need to make any modification to the
existing
code except that of creating new code to do something before executing my
main query?
   
Thanks in advance for your assistance.

Regards,
Joseph. 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309439
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: DataSource Events like Before Commit?

2008-07-22 Thread Experienced CF Developer
Got it.  Now I understand better.  You want to pass the userid of your
'logged in user' to track the change in the database instead of using the
user id that the datasource is logged in as.

I don't see any way for you to do this without changing your code.  Maybe
someone else can come up with something, but I just don't see any way around
it.  Whether you change it to implement the idea you had below or do it some
other way, bottom line is, you will need to change your code to make Oracle
aware of each individual user's ID.

You might still be able to find a way to use the triggers, but I still think
you'll need a code change.

Sorry, no help.

Dave
-Original Message-
From: Joseph Bugeja [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 22, 2008 7:28 AM
To: CF-Talk
Subject: Re: DataSource Events like Before Commit?

Thanks again for your reply.

Unfortunately, I need to pass the userid prior to executing each query as
otherwise the auditing function would not know the userid. We have triggers
on tables but triggers need the read the userid apriori.

ColdFusion does not allow us to build our connection string dynamically or
to dynamically inject connection string variables (such as the userid), as
is the case with VB.NET and C#. This is why I am looking for an alternative.

Joseph,

I think Gert's suggestion earlier could work for you.  You could design a
trigger to fire the stored procedure prior to any Inserts or Updates.
Check
out this page on oracle site for some direction:

http://tinyurl.com/5sjhlg

I haven't done anything with triggers myself.  But if you want to avoid
re-coding your CFML, I think this is your route to go.

Of course, this will only work for you if the only thing changing your
tables is your CF app.  Any manual changes to the database, or any other
application accessing the same database would fire the triggers as well,
unless you can figure out a way to make them fire only when your app
accesses the database.

Hope this helps,

Dave Phillips

Thanks for your reply. Let me explain our scenario.

We have a number of cfquery tags that insert, update and delete data from
our Oracle database. Basically, before each query is run I need to execute
a
stored procedure. This stored procedure sets the userid (the user currently
logged in) in the database for auditing purposes. We have hundreds of
queries and it is not good from a design perspective to rewrite each query
to call the same central piece of code before each query gets executed. 

So my original query should be:
  Original Query:
   cfquery
  DML Operation
   /cfquery

New requirement should be:
   cftransaction
 cfstoredproc   
   Set the user id 
 /cfstoredproc   
 cfquery
   DML Operation
 /cfquery 
   /cftransaction

As shown above, I need to call the cfstoredproc before each query is
executed. Personally, I would prefer if I keep my original design and
before
the original query is run the ColdFusion engine automatically injects the
new call in a transaction to set the clientid.

Do you have any suggestions?

before
ColdFusion executes the code found in the cfquery I would like it to
automatically execute another query for example to set the user id to the
database? In this way I do not need to make any modification to the
existing
code except that of creating new code to do something before executing my
main query?
   
Thanks in advance for your assistance.

Regards,
Joseph. 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309445
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: DataSource Events like Before Commit?

2008-07-22 Thread Experienced CF Developer
Joseph,

I did some googling and found that Oracle has 'proxy user authentication'.
See this Ask Tom article (someone wanting to do the same thing as you are,
but in java):

http://tinyurl.com/6qe8xk

Although I don't know if you can do it with the ColdFusion setup directly,
but maybe you can access some underlying java component to do it.  Hopefully
this might give you another alternative.  Let me know how it turns out.

Dave 

-Original Message-
From: Joseph Bugeja [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 22, 2008 7:57 AM
To: CF-Talk
Subject: Re: DataSource Events like Before Commit?

Exactly!

You perfectly understood my concern. If ColdFusion supported dynamic
connection parameter injection or proxy authentication then we can identify
the connection pool users but there is no straightforward solution to this.
Through pooling we are connected through one db user which for security
complaince (PCI) we need to remove this hole while keeping the benefits of
pooling. Triggers can help certainly help us for auditing but again at db
level I do not want have the same user showing up in my logs. 

Got it.  Now I understand better.  You want to pass the userid of your
'logged in user' to track the change in the database instead of using the
user id that the datasource is logged in as.

I don't see any way for you to do this without changing your code.  Maybe
someone else can come up with something, but I just don't see any way
around
it.  Whether you change it to implement the idea you had below or do it
some
other way, bottom line is, you will need to change your code to make Oracle
aware of each individual user's ID.

You might still be able to find a way to use the triggers, but I still
think
you'll need a code change.

Sorry, no help.

Dave
Thanks again for your reply.

Unfortunately, I need to pass the userid prior to executing each query as
otherwise the auditing function would not know the userid. We have triggers
on tables but triggers need the read the userid apriori.

ColdFusion does not allow us to build our connection string dynamically or
to dynamically inject connection string variables (such as the userid), as
is the case with VB.NET and C#. This is why I am looking for an
alternative.

Joseph,

I think Gert's suggestion earlier could work for you.  You could design a
trigger to fire the stored procedure prior to any Inserts or Updates.
Check
a
before 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309453
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: (ot) URL Hack Attempt Leaves Me Scractching My Head... For Mark Kruger

2008-07-22 Thread Experienced CF Developer
Okay, stupidly, I clicked on rent.com (? Used to avoid perpetuation) to
see what Brian was talking about and now I see the reference to a .js file
on one of the pages.  I didn't just infect my pc with something, did I?

I surely hope that we are not perpetuating some virus with these e-mails.  

Also, Brian, IMHO, I think your comment would have been more appropriate to
make off-list.

Sincerely,

Dave Phillips


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309469
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: ('1,1') * 1 = 39448

2008-07-22 Thread Experienced CF Developer
Looked like it could be a ColdFusion date value to me.  So I did a
dateFormat() on that and came up with 01/01/2008:

cfset nValue = 1,1 * 1
cfoutput#dateFormat(nValue,mm/dd/)#brbr/cfoutput

It's assuming 1,1 is the current month and year.  I did the same for
5,23 * 1 and got 05/23/2008.

What's really fun is if you do 1,1 * 2..

Go ahead... see what you get.  10/15/2116

Now go figure THAT one out!

Dave Phillips

-Original Message-
From: Bert Dawson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 22, 2008 5:08 PM
To: CF-Talk
Subject: ('1,1') * 1 = 39448

I tracked down a defect to a piece of code which basically did the
following:

total = form.quantity * form.itemamount

In some cases, form.quantity is commong through as *1,1* which is presumably
due to an HTML issue with duplicate form fields with the same name.

But rather than getting a CF error cos 1,1 isn't a number, it evaluates to
39448!

i.e.
cfoutput'1,1' * 1 = #'1,1' * 1#/cfoutput
produces:
   '1,1' * 1 = 39448

I'm not worried about the original problem with the form.quantity coming
though as *1,1* rather than the expected *1* since I can fix that, but i'm
curious as to any reason for this odd result.

It looks like (x,y) * 1 is the same as (y,x) * 1
In other words
cfoutput#'5,23' * 1# = #'23,5' * 1# = 39591/cfoutput

As i say, i'm not worried about fixing the defect, but i'm just curious if
there is an underlying explanation for the apparently wierd behaviour. Or is
it just a bug in the way CF does the conversion?

Cheers
Bert

p.s. FWIW here's a snippet which will create a 101 square grid of all the
combinations:

table border=1
cfloop from=0 to=100 index=i
tr
cfloop from=0 to=100 index=j
td nowrap=true#wtf(i,j)#/td
/cfloop
/tr
/cfloop
/table

cfscript
function wtf(a,b) {
var x = '#a#,#b#';
try {
return '#x#*1 = '  x*1;
}
catch(Any E) {
return '#x#*1 pukes';
}
}
/cfscript




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309490
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Mystery Character

2008-07-21 Thread Experienced CF Developer
Robert,

Can't see the character, but check out http://www.asciitable.com and see if
you can find it there.

Dave

-Original Message-
From: Robert Harrison [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 21, 2008 3:17 PM
To: CF-Talk
Subject: Mystery Character

Does anyone know the character code for this character: .

My Mac users are uploading files with this character and it does not work in
a URL string... I'd kill it but I don't know what character it is. Using .
in a regex replace does not work. 



Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309392
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Mystery Character

2008-07-21 Thread Experienced CF Developer
Doesn't asc('x') do that?  Or am I missing something?

Dave

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 21, 2008 3:53 PM
To: CF-Talk
Subject: RE: Mystery Character

I've ran into things like this before.  Is there a CF function (or even
a way in Java) to take a character and return the ASCII code for it?
(Or whatever is appropriate, I don't know if ASCII is really the right
term)

~Brad

-Original Message-
From: morgan l [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 21, 2008 3:49 PM
To: CF-Talk
Subject: Re: Mystery Character

Try here:
http://www.miniguidez.com/macosx/keystrokesguide/specialcharacters/speci
alcharacters.html
It lists decimal and hex values for corresponding mac keystrokes.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309403
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Mystery Character

2008-07-21 Thread Experienced CF Developer
Actually, I just looked it up:

http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt121.htm

According to this page, starting in MX 6, asc() supports values up to 65536,
so it should work for you.

Output your character value to the screen with asc(sFunkyCharacter) and
you'll find out the value of it.

Another thing you could do, if you really wanted to, was check all asc()
values if each character in your string and if they exceed 255, then leave
them out.  That will ensure it works properly on Windows File System (which
I'm assuming is the issue you are having).

Dave

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 21, 2008 3:53 PM
To: CF-Talk
Subject: RE: Mystery Character

I've ran into things like this before.  Is there a CF function (or even
a way in Java) to take a character and return the ASCII code for it?
(Or whatever is appropriate, I don't know if ASCII is really the right
term)

~Brad

-Original Message-
From: morgan l [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 21, 2008 3:49 PM
To: CF-Talk
Subject: Re: Mystery Character

Try here:
http://www.miniguidez.com/macosx/keystrokesguide/specialcharacters/speci
alcharacters.html
It lists decimal and hex values for corresponding mac keystrokes.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309404
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: (ot) URL Hack Attempt Leaves Me Scractching My Head...

2008-07-21 Thread Experienced CF Developer
And for those of you who take this advice and DO use cfqueryparam
***always*** make sure you NEVER use SELECT * (which you shouldn't do
anyway).

I inherited an application that had a ton of SELECT * all over it and no
cfqueryparam tags.  Over the years I added cfqueryparam tags as I worked on
the application, adding new features, and updated old ones/fixing bugs.
Then I ran into a situation.  If I didn't update the SELECT * to include
actual column names, and one of the column names got dropped from the table
I was referencing in my SELECT query with a cfqueryparam, then BAM, the
application would break.  

Two hard and fast rules to live by:

1.  Use cfqueryparam - ALWAYS
2.  Use SELECT * - NEVER

I'm sure someone will now provide some comment as when generalizations are
usually made, someone has a dissenting opinion (to which, of course, you are
fully entitled!) :)

Sincerely,

Dave Phillips

-Original Message-
From: Matt Quackenbush [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 21, 2008 4:21 PM
To: CF-Talk
Subject: Re: (ot) URL Hack Attempt Leaves Me Scractching My Head...

Did I really just read that?  Please, someone, anyone, tell me that I
didn't.

Claude, you're certainly free to do what you wish to do in your own
applications, so this comment is not directed to you at all.

For those of you who are actually trying to learn and become better
programmers/developers, please, do yourselves, your bosses, your fellow
developers, and your clients a HUGE favor and completely ignore the advice
of anyone that tells you not to use cfqueryparam.  If you have read this
thread, or any thread like it and you're not using it, you deserve what you
get.

Bottom line: ***always*** use cfqueryparam.  Period.  There are no
acceptable exceptions to the rule.

On Mon, Jul 21, 2008 at 3:54 PM, Claude Schneegans wrote:

 CFQUERYPARAM is a nice and powerful feature, but it makes SQL code more
 difficult to read,
 so the best is to use it only when it is really necessary.
 For me, using CFQUERYPARAM systematically for every parameter is as stupid
 as never using it at all.





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309411
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


(ot) cross site publishing system ?

2008-07-19 Thread cf-talk
Hi list, a customer of me came with
the following feature-requests. Is there a ColdFusion-system
doing this ? Or does someone know of any other platform/cross site publishing 
doing this ?

  - A text should be editable via multi-user access (preferably a
  web-browser) but at a single backend (database-storage ?)
  - A change / new making of the above text/document should then be 
availabe in all target-documents
  - these documents can be Powerpoint, Word or Excel
  - the format-template for these documents is unique and not a subject to 
change
  - an upload to other systems is done manually, but an automatic exchange 
desirable (FTP ?)
  - it should be documented, who, when and what has changed the documents
  - the system-languages are: german and english

Thanks for your input !

Uwe




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309298
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


OT: mod_jk + blank .jsp-coding

2008-05-08 Thread cf-talk
Has anybody an idea,
what could be wrong if I see
the blank raw java-coding on a .jsp
page coming from Tomcat5 passed to Apache2
via the module mod_jk ?
Uwe



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304958
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Flex3 and CF 8 connection problem

2008-05-06 Thread cf-talk
Hello Mike and everybody who answered,  I installed it on another
host and there everything works fine.
Thank you.
Uwe
 Regarding the version number, no you don't need to upgrade. Someone
 reported a problem with Flex after upgrading.

 The source of the problem most likely relates to your answer to the
 second question. You should see a blank white page in CF 8.0.0. That
 is what I see.
 Is that a real URL, or did you mask it for purposes of reporting the
 error? Meaning, do you work for abc.com? I'm guessing you don't, so
 I'm hoping you tried that experiment using localhost or whatever your
 dev server is.
 You might want to Google around for flex2gateway 404 or something similar.

 You also might want to start with the Hello World Flex/CF tutorial app
 that is on Adobe.com to make sure that works.

 The remote access level should be an attribute of the functions you
 want to expose that are in the CFC. cffunction access=remote

 -Mike Chabot

 On Sat, May 3, 2008 at 8:20 AM, James Holmes [EMAIL PROTECTED] wrote:
 Can you post the Flex code you're using to connect?


 On Sat, May 3, 2008 at 4:14 PM,  [EMAIL PROTECTED] wrote:
  Hi Mike, thanks for your questions.
   I put the answers down below.
   Uwe
 
 
Quick questions.
1. Are you running CF 8.0.0 or 8.0.1
   CF 8.0.0
   Do you think I should install the updater ?
 
   2. What do you get when you enter that URL in the error message
directly into your Web browser. Do you get a blank white page or
something else?
   I get a 404 error. I also noticed, that I get a 405-error using
   RDS and I also don't know why.
 
   3. Is your CFC set to allow for remote access
   I don't know. Where is this set ?  I enabled remote LC DM on as below.
 
   4. Is Flex Remoting turned on inside of CF Admin?
   Yes.
 
 
What are some of the things you have tried so far that didn't work?
   I also turned Enable Remote Adobe LiveCycle Data Management access on.
   I played around with the file: \WEB-INF\flex\services-config.xml
   without success.
 
 
-Mike Chabot
 
On Fri, May 2, 2008 at 8:22 PM,  [EMAIL PROTECTED] wrote:
Hi list,
I try to get Flex3 to get to be working
with CF8 and I can't figure out, why it is not working.
I get:
   
 faultCode = Client.Error.MessageSend
 faultDetail = Channel.Connect.Failed error
 NetConnection.Call.Failed: HTTP: Failed: url: 
  'http://www.abc.com/flex2gateway/'
 faultString = Send failed
   
I google around tons of hints, but nothing worked.
S.O. who knows how to get it to run under Win2k and IIS 6.x ?
   
Uwe
   
   
   
   
   
   
 
   
 
 

 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304778
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Flex3 and CF 8 connection problem

2008-05-04 Thread cf-talk
Hello Mike, thank you. I will try it and come back to this
list.
Uwe
 Regarding the version number, no you don't need to upgrade. Someone
 reported a problem with Flex after upgrading.

 The source of the problem most likely relates to your answer to the
 second question. You should see a blank white page in CF 8.0.0. That
 is what I see.
 Is that a real URL, or did you mask it for purposes of reporting the
 error? Meaning, do you work for abc.com? I'm guessing you don't, so
 I'm hoping you tried that experiment using localhost or whatever your
 dev server is.
 You might want to Google around for flex2gateway 404 or something similar.

 You also might want to start with the Hello World Flex/CF tutorial app
 that is on Adobe.com to make sure that works.

 The remote access level should be an attribute of the functions you
 want to expose that are in the CFC. cffunction access=remote

 -Mike Chabot

 On Sat, May 3, 2008 at 8:20 AM, James Holmes [EMAIL PROTECTED] wrote:
 Can you post the Flex code you're using to connect?


 On Sat, May 3, 2008 at 4:14 PM,  [EMAIL PROTECTED] wrote:
  Hi Mike, thanks for your questions.
   I put the answers down below.
   Uwe
 
 
Quick questions.
1. Are you running CF 8.0.0 or 8.0.1
   CF 8.0.0
   Do you think I should install the updater ?
 
   2. What do you get when you enter that URL in the error message
directly into your Web browser. Do you get a blank white page or
something else?
   I get a 404 error. I also noticed, that I get a 405-error using
   RDS and I also don't know why.
 
   3. Is your CFC set to allow for remote access
   I don't know. Where is this set ?  I enabled remote LC DM on as below.
 
   4. Is Flex Remoting turned on inside of CF Admin?
   Yes.
 
 
What are some of the things you have tried so far that didn't work?
   I also turned Enable Remote Adobe LiveCycle Data Management access on.
   I played around with the file: \WEB-INF\flex\services-config.xml
   without success.
 
 
-Mike Chabot
 
On Fri, May 2, 2008 at 8:22 PM,  [EMAIL PROTECTED] wrote:
Hi list,
I try to get Flex3 to get to be working
with CF8 and I can't figure out, why it is not working.
I get:
   
 faultCode = Client.Error.MessageSend
 faultDetail = Channel.Connect.Failed error
 NetConnection.Call.Failed: HTTP: Failed: url: 
  'http://www.abc.com/flex2gateway/'
 faultString = Send failed
   
I google around tons of hints, but nothing worked.
S.O. who knows how to get it to run under Win2k and IIS 6.x ?
   
Uwe
   
   
   
   
   
   
 
   
 
 

 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304717
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Flex3 and CF 8 connection problem

2008-05-03 Thread cf-talk
Hi Mike, thanks for your questions.
I put the answers down below.
Uwe

 Quick questions.
 1. Are you running CF 8.0.0 or 8.0.1
CF 8.0.0
Do you think I should install the updater ?
 2. What do you get when you enter that URL in the error message
 directly into your Web browser. Do you get a blank white page or
 something else?
I get a 404 error. I also noticed, that I get a 405-error using
RDS and I also don't know why.
 3. Is your CFC set to allow for remote access
I don't know. Where is this set ?  I enabled remote LC DM on as below.
 4. Is Flex Remoting turned on inside of CF Admin?
Yes.

 What are some of the things you have tried so far that didn't work?
I also turned Enable Remote Adobe LiveCycle Data Management access on.
I played around with the file: \WEB-INF\flex\services-config.xml
without success.

 -Mike Chabot

 On Fri, May 2, 2008 at 8:22 PM,  [EMAIL PROTECTED] wrote:
 Hi list,
 I try to get Flex3 to get to be working
 with CF8 and I can't figure out, why it is not working.
 I get:

  faultCode = Client.Error.MessageSend
  faultDetail = Channel.Connect.Failed error
  NetConnection.Call.Failed: HTTP: Failed: url: 
 'http://www.abc.com/flex2gateway/'
  faultString = Send failed

 I google around tons of hints, but nothing worked.
 S.O. who knows how to get it to run under Win2k and IIS 6.x ?

 Uwe





 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304700
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Flex3 and CF 8 connection problem

2008-05-02 Thread cf-talk
Hi list,
I try to get Flex3 to get to be working
with CF8 and I can't figure out, why it is not working.
I get:

  faultCode = Client.Error.MessageSend
  faultDetail = Channel.Connect.Failed error
  NetConnection.Call.Failed: HTTP: Failed: url: 
'http://www.abc.com/flex2gateway/'
  faultString = Send failed

I google around tons of hints, but nothing worked.
S.O. who knows how to get it to run under Win2k and IIS 6.x ?

Uwe





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304698
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP and NTLM with GoogleMini

2008-03-12 Thread cf user
http://www.cftagstore.com/tags/cfxhttp5.cfm


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301064
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ongoing problem with newsletter-eMail-actions: CF is hanging

2008-03-06 Thread cf-talk
Hi James, nop. The task manager shows 2GB free.
The JVM has 512 MB.
Under load the JVM has still 80-90% free.
Uwe
 Do you mean that FusionReactor or another monitoring tool shows 2GB
 free in your JVM or that the box has 2GB free? These are very
 different things.

 On Thu, Mar 6, 2008 at 4:17 PM,  [EMAIL PROTECTED] wrote:
 Hi Jochem, thank you. CPU and memory is just fine.
  CPU ist under 10-15% and memory is plenty: about 2GB on
  each machine. I guess the newletter coding (and a coding fault inside)
  + the increased access are bringing CF to a halt.
  Uwe





-- 
Mit freundlichen Grüßen
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300623
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ongoing problem with newsletter-eMail-actions: CF is hanging

2008-03-05 Thread cf-talk
Hi list, we have an ongoing
problem with newsletter-eMail-actions.
We use CFMX 7.02 Entperprise on Win 2003 Server.
(between 100.000 and 200.000 receivers).
The deep links into the shops are
of the following structure:

http://www.xyz.com/shop.cfm?ml=171,92560,21,24,1,nhs1381639,03081,nsletter,03081-138163966958-nl-3eb938532a4be8b9e94cb5002154789e

In the highest hours we have between 80 and 200 current users/connections
per second. We are running two HP 380, 3 GB, CF-Servers in a static loadsharing.
From time to time CF gets unresponsive and I don't know why.
We use fusion reactor and there are now long running requests from
what I have seen, when CF is hanging.
There is nothing in the logfiles which is obvious to what it could
be related what is casing it.
Does anybody have any idea what else to look into ?

Uwe




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300575
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ongoing problem with newsletter-eMail-actions: CF is hanging

2008-03-05 Thread cf-talk
Hi Jochem, thank you. CPU and memory is just fine.
CPU ist under 10-15% and memory is plenty: about 2GB on
each machine. I guess the newletter coding (and a coding fault inside)
+ the increased access are bringing CF to a halt.
Uwe
 [EMAIL PROTECTED] wrote:
 Hi list, we have an ongoing
 problem with newsletter-eMail-actions.
 We use CFMX 7.02 Entperprise on Win 2003 Server.
 (between 100.000 and 200.000 receivers).

 In the highest hours we have between 80 and 200 current users/connections
 per second. We are running two HP 380, 3 GB, CF-Servers in a static 
 loadsharing.
 From time to time CF gets unresponsive and I don't know why.

 How much CPU does it use? Memory?

 Are there any w32time entries in your eventlog at the same time the 
 stalls occur?

 Jochem

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300619
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-03-03 Thread cf coder
hello everyody,

Can someone please help? I'm struggling to find a solution to my problem. Any 
help will be greatly appreciated.

Thanks,
cfcoder

 Can you show me an example to demonstrate what you mean? I don't know 
 much about writing RewriteRules or regular expressions.
 
 Regards,
 cfcoder
 
 Would using the end of string character ($) help with limiting 
 things?
 
 Adrian
 
 I already tried that. This is the order:
 
 RewriteRule /offers/books/([a-zA-Z0-9.-]+)(.*) /index.cfm?go=offers\.
 $1 [PT]
 RewriteRule /offers(/books/.*)
 /index.cfm?go=offers.detailsbookid=${mapfile:$1}
 
 I can browse this page (it's working):
 http://mysite/offers/books/all
 
 but when I try to browse this page:
 http://mysite/offers/books/Harry-Potter
 
 I get an error which states:
 
 This is the template
 ../fuseboxShared/ErrorTemplates/fusebox.undefinedFuseaction.cfm
 An Error of type fusebox.undefinedFuseaction has occurred
 undefined Fuseaction
 You specified a Fuseaction of Harry-Potter which is not defined in 
 Circuit
 books.
 
 The first rule is getting executed and this is what's causing the 
 error.
 
 Any ideas?
 
 Put the RewriteRule for books.all first.
 
 Russ 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300299
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-03-03 Thread cf coder
Ok, I think what I'm trying to achieve is possible with a RewriteCond. Can 
someone please show me how to use RewriteCond? The condition should say, if 
there is a bookid query parameter run this rule:
RewriteRule /offers(/books/.*) 
/index.cfm?go=offers.detailsbookid=${mapfile:$1} 


 hello everyody,
 
 Can someone please help? I'm struggling to find a solution to my 
 problem. Any help will be greatly appreciated.
 
 Thanks,
 cfcoder
 
  Can you show me an example to demonstrate what you mean? I don't 
 know 
  much about writing RewriteRules or regular expressions.
  
  Regards,
  cfcoder
  
  Would using the end of string character ($) help with limiting 
  things?
  
  Adrian
  
  I already tried that. This is the order:
  
  RewriteRule /offers/books/([a-zA-Z0-9.-]+)(.*) /index.
 cfm?go=offers\.
  $1 [PT]
  RewriteRule /offers(/books/.*)
  /index.cfm?go=offers.detailsbookid=${mapfile:$1}
  
  I can browse this page (it's working):
  http://mysite/offers/books/all
  
  but when I try to browse this page:
  http://mysite/offers/books/Harry-Potter
  
  I get an error which states:
  
  This is the template
  ../fuseboxShared/ErrorTemplates/fusebox.undefinedFuseaction.cfm
  An Error of type fusebox.undefinedFuseaction has occurred
  undefined Fuseaction
  You specified a Fuseaction of Harry-Potter which is not defined in 
 
  Circuit
  books.
  
  The first rule is getting executed and this is what's causing the 
  error.
  
  Any ideas?
  
  Put the RewriteRule for books.all first.
  
  Russ 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300304
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-03-03 Thread cf coder
Can someone please tell me if this is the write syntax? I want the rule to only 
execute if there is a 'bookid' in the incoming url.

RewriteCond %{QUERY_STRING} bookid
RewriteRule /offers(/books/.*) 
/index.cfm?go=offers.detailsbookid=${mapfile:$1} 

 Ok, I think what I'm trying to achieve is possible with a RewriteCond. 
 Can someone please show me how to use RewriteCond? The condition 
 should say, if there is a bookid query parameter run this rule:
 RewriteRule /offers(/books/.*) /index.cfm?go=offers.
 detailsbookid=${mapfile:$1} 
 
 
  hello everyody,
  
  Can someone please help? I'm struggling to find a solution to my 
  problem. Any help will be greatly appreciated.
  
  Thanks,
  cfcoder
  
   Can you show me an example to demonstrate what you mean? I don't 
  know 
   much about writing RewriteRules or regular expressions.
   
   Regards,
   cfcoder
   
   Would using the end of string character ($) help with limiting 
   things?
   
   Adrian
   
   I already tried that. This is the order:
   
   RewriteRule /offers/books/([a-zA-Z0-9.-]+)(.*) /index.
  cfm?go=offers\.
   $1 [PT]
   RewriteRule /offers(/books/.*)
   /index.cfm?go=offers.detailsbookid=${mapfile:$1}
   
   I can browse this page (it's working):
   http://mysite/offers/books/all
   
   but when I try to browse this page:
   http://mysite/offers/books/Harry-Potter
   
   I get an error which states:
   
   This is the template
   ../fuseboxShared/ErrorTemplates/fusebox.undefinedFuseaction.
 cfm
   An Error of type fusebox.undefinedFuseaction has occurred
   undefined Fuseaction
   You specified a Fuseaction of Harry-Potter which is not defined 
 in 
  
   Circuit
   books.
   
   The first rule is getting executed and this is what's causing the 
 
   error.
   
   Any ideas?
   
   Put the RewriteRule for books.all first.
   
   Russ 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300314
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-03-01 Thread cf coder
Can you show me an example to demonstrate what you mean? I don't know much 
about writing RewriteRules or regular expressions.

Regards,
cfcoder

Would using the end of string character ($) help with limiting things?

Adrian

I already tried that. This is the order:

RewriteRule /offers/books/([a-zA-Z0-9.-]+)(.*) /index.cfm?go=offers\.$1 [PT]
RewriteRule /offers(/books/.*)
/index.cfm?go=offers.detailsbookid=${mapfile:$1}

I can browse this page (it's working):
http://mysite/offers/books/all

but when I try to browse this page:
http://mysite/offers/books/Harry-Potter

I get an error which states:

This is the template
../fuseboxShared/ErrorTemplates/fusebox.undefinedFuseaction.cfm
An Error of type fusebox.undefinedFuseaction has occurred
undefined Fuseaction
You specified a Fuseaction of Harry-Potter which is not defined in Circuit
books.

The first rule is getting executed and this is what's causing the error.

Any ideas?

Put the RewriteRule for books.all first.

Russ 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300239
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-29 Thread cf coder
I already tried that. This is the order:

RewriteRule /offers/books/([a-zA-Z0-9.-]+)(.*) /index.cfm?go=offers\.$1 [PT]
RewriteRule /offers(/books/.*) /index.cfm?go=offers.detailsbookid=${mapfile:$1}

I can browse this page (it's working):
http://mysite/offers/books/all

but when I try to browse this page:
http://mysite/offers/books/Harry-Potter

I get an error which states:

This is the template 
../fuseboxShared/ErrorTemplates/fusebox.undefinedFuseaction.cfm
An Error of type fusebox.undefinedFuseaction has occurred
undefined Fuseaction
You specified a Fuseaction of Harry-Potter which is not defined in Circuit 
books. 

The first rule is getting executed and this is what's causing the error. 

Any ideas?

Put the RewriteRule for books.all first. 

Russ

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300173
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-29 Thread cf coder
Thank you Kay for suggesting this. It has done the trick. I'm really glad I 
don't have to change every single link on the site.

I have another nagging problem and would appreciate anybody's help. I'll try to 
explain as best as I can.

I want to a RewriteRule that can do the following:

I have a rule that translates: 

http://mysite/index.cfm?offers.booksbookid=1 

to:

http://mysite/offers/books/Harry-Potter

And the rule that does this is: 
RewriteRule /offers(/books/.*) /index.cfm?go=offers.detailsbookid=${mapfile:$1}

The mapfile.txt file contains the book keyword and bookid, ex:
/books/Harry-Potter  1

and a rule that translates:

http://mysite/index.cfm?go=books.all

to:

http://mysite/offers/books/all

And the rule that does this is: 
RewriteRule /offers/books/([a-zA-Z0-9.-]+)(.*) /index.cfm?go=offers\.$1 [PT]

Here's the problem: When I try to browse this page: 
http://mysite/offers/books/all; the browser gets confused because the regular 
expression pattern for both the rules have the same pattern i.e 
/offers/books/. I hope this is making sense. I want to change my rule which 
works in both the cases.

Thanks in advance.

Regards,
cfcoder

 On Fri, Feb 29, 2008 at 1:46 AM, cf coder [EMAIL PROTECTED]
 com wrote:
   however none of the images on this page get displayed. I looked at 
 an image property and the src which had the following src: 
 http://mysite/offers/books/images/bookimage/somebook.gif
   I want it to be
   http://mysite/images/bookimage/somebook.gif
 
 Try base href=http://mysite/; / (in the head of your document).
 That will cause all css, js, image and links on the page to use
 http://mysite/ as the base of relative requests.
 
 -- 
 Kay Smoljak
 business: www.cleverstarfish.com
 standards: kay.zombiecoder.com
 coldfusion: kay.smoljak.com
 personal: goatlady.wordpress.
com 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300163
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-29 Thread cf coder
Hi Adrian,

I added the L flag but that didn't make any difference as I'm still getting the 
error.

Also, use the L flag to stop processing rules.

Adrian

Put the RewriteRule for books.all first. 

Russ

 cfcoder 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300181
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-28 Thread cf coder
Hi guys,

I have one more questions on this topic. I've added a handful of rules and they 
work however all of the images on the site are broken. I have a virtual 
directory in IIS for my site called images and all the img tags on my pages 
start with for ex: images/foldername/imagename.gif.

I don't want to change all the img  tags in my site to 
http://domainname/images/etcetc..;

Is there a better solution..

Your help on this matter are much appreciated.

Regards,
cfcoder

Oops... Didn't see Barney's reply... weird that when you click on the
Archive link it only bring up a single message, not the whole thread.  

Russ  

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300054
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-28 Thread cf coder
Here's an example, I have a rule that translates 

http://mysite/index.cfm?offers.booksbookid=1 

to

http://mysite/offers/books/somebook

however none of the images on this page get displayed. I looked at an image 
property and the src which had the following src: 
http://mysite/offers/books/images/bookimage/somebook.gif 

I want it to be 

http://mysite/images/bookimage/somebook.gif 

where images is a virtual directory. Can anybody please suggest how this can 
be done?

Regards,

cfcoder 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300099
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: unoffical ahphosting thread

2008-02-28 Thread CF Developer
I am not going to blame Greg for SWSoft's F-up
 
Is AHP just one guy? What were you guys expecting? Greg chose to use SWSoft 
software. They may be at fault but he is responsible. Also if he makes an 
upgrade and doesn't have enough help if things go wrong, that is also his 
fault. SWSoft isn't to blame for over a week of downtime. That was Greg.
 
 Subject: re: unoffical ahphosting thread From: [EMAIL PROTECTED] To: 
 cf-talk@houseoffusion.com Date: Wed, 27 Feb 2008 11:14:04 -0600  I a have 
 been with them for a while and don't plan on leaving anytime soon. While 
 this is a major ouch...I too have enjoyed the one on one relationship with 
 greg and the speed at which he normally gets things done. My sites are all 
 still down as of last night. He is normally very quick to address problems 
 when they occur. Much like I don't blame MS for hardware manufacturer's 
 failings, I am not going to blame Greg for SWSoft's F-up ;-). THough I do 
 agree with some of theother comments...it would be nice to have emails sent 
 out periodically even if just to say it's still broke, but I am working on 
 it. Doing that would provide a good diversion from trying to fix the 
 code...sometimes that helps get it done faster.  Eric   

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300101
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Help with Rewrite Rule! (circuit.fuseaction)

2008-02-27 Thread cf coder
Hi guys,

I need your help writing rules for my coldfusion/fusebox application. I've 
installed Helicon rewrite engine and am using IIS webserver.


I want to convert the following link:

/index.cfm?payment.home

to a SEO Safe url something like this:

/secure/payment/

(excluding the text home)

However the url should include the fuseaction on all other pages for the 
payment circuit.

So for example, if I had a circuit.fuseaction called payment.creditcard or 
payment.debitcard, I want the url to look like

/secure/payment/creditcard
/secure/payment/debitcard

RewriteRule /secure/payment/([a-zA-Z0-9]+)(.*) /index.cfm?go=payment\.$1 [PT] 
(This  is a basic rule that I have not yet tested, but you get the idea). This 
rule works for /secure/payment/creditcard and /secure/payment/debitcard but not 
for the example where I don't want to include home. I hope this is making 
sense.

Any help on this query will be really appreciated.

Kind regards,
cfcoder




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299941
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Help with Rewrite Rule! (circuit.fuseaction)

2008-02-27 Thread cf coder
Works like a charm. Thank you Russ and Barney.

Thansk and Regards,
cfcoder

Wow, can't believe nobody's answered this yet.  

RewriteRule ^/secure/([^/]+)/*$/index.cfm?$1.home  

Russ
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:23
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: regex help

2008-02-18 Thread cf coder
Thank you Jason, Craig and Bobby for your help which is greatly appreciated. 
However this is not quite what I want. I do apologise for changing my original 
requirement.

I'll try to explain.

I want to read the contents of all the .cfm files in a directory and return all 
the href tags with the productID= text in the query string, ex:
a href=somesite.com/index.cfm?action=getproductID=1test/a

When I did a search in the codebase for productID=, I found there were few 
a tags which looked like this:

a title=Find out more href=somesite.com/index.cfm?action=getproductID=1 
onclick=somefunction()img src=exmaple.gif alt=some alt

I want the regular expression to be able to match the above example as well.

If it is not too much of an inconvenience can you please send me the revised 
code?

Regard,
cfcoder

 EDIT:
 
 The regex should be this one instead.  The one above would not handle 
 any thing between the href= and the closing . 
 
(a[^]*href=[ 
'](([^']*)?([^']ProductID=?([^']*)[^']*))['][^]*([^]*)\/a) 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299255
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


  1   2   3   4   5   6   7   8   9   10   >