Re: CFGRID Format Flash, Adding a new row with a hidden record.

2007-06-14 Thread Peter Tilbrook
Use display="no" to support a hidden field. Haven't tried the "edit" for CFGrid 
but here is an example I use to display a list and select a record:





















~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Error Executing Database Query

2007-06-14 Thread alex poyaoan
need help for this message.. the object db.soc is existing below is my query 
and the error it throws: I'm using mssql server 2005 express edition 


SELECT  TOP (100) PERCENT SocID, Pr, 
FROM  dbo.soc
ORDER BY Pr

Error Executing Database Query.  
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC SQL Server 
Driver][SQL Server]Invalid object name 'dbo.Soc'.  


thanks a lot for any help

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Updated Broadband Stats

2007-06-14 Thread Mike Kear
whether you should or not depends on your audience.  For some sites,
the modem users are part of their target audience.  For others they
arent interested in those people.

It's like everything else on the internet.   The users of the internet
arent a huge homogenous group of identical people - they're like the
overall population -  made up of a wide range of ages, economic
circumstances and technical knowledge amongst other factors.  And who
you target depends on what you have your web site for.

For one example, i'd suggest if you sell broadband modems, the 56k
group are the precise lot you want to attract.

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



On 6/15/07, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> What do you mean "building their sites accordingly"?
>
> Do you think you should still be targetting modem speeds of 56k?
>
>
>
>
> "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
> Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
> Registered in England, Number 678540.  It contains information which is
> confidential and may also be privileged.  It is for the exclusive use of the
> intended recipient(s).  If you are not the intended recipient(s) please note
> that any form of distribution, copying or use of this communication or the
> information in it is strictly prohibited and may be unlawful.  If you have
> received this communication in error please return it to the sender or call
> our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
> communication are not necessarily those expressed by Reed Exhibitions."
> Visit our website at http://www.reedexpo.com
>
> --

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: Updated Broadband Stats

2007-06-14 Thread Robertson-Ravo, Neil (RX)
What do you mean "building their sites accordingly"?

Do you think you should still be targetting modem speeds of 56k?




"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Rey Bango
To: CF-Talk
Sent: Fri Jun 15 00:23:00 2007
Subject: Updated Broadband Stats

Some interesting stats for all of those that think that every US 
household has broadband and is building their sites accordingly:

"According to research done by the consultancy firm Point Topic, the US 
has fallen to 24th place in terms of broadband penetration, with only 
53% of households connected. South Korea led the pack, with 90% of 
households having highspeed connections. The US remains the largest 
broadband country in the world with more than 60.4 million subscribers 
in the quarter with 2.9 million new broadband additions, but China is 
fast catching up and has cut the gap to the US from 5.8 million at the 
end of 2006 to 4.1 million at end of March 2007. The firm's research 
also pointed out the disparity between the connectivity of first world 
nations and other places throughout the world. 'Many Sub-Saharan African 
states do not register in the figures at all: only South Africa, Sudan, 
Senegal and Gabon make it onto the list, with household broadband 
penetration running from 1.79% in South Africa - with 215,000 users at 
the end of March - to just 0.05% in Sudan - with a mere 3,000. North 
African states fare slightly better with Morocco scoring 6.78% 
penetration with 418,000 users and Egypt at 1.55% or 240,000.'"

I guess the other 57% of US households are your target. ;)

Rey...



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


CFGRID Format Flash, Adding a new row with a hidden record.

2007-06-14 Thread Michael Grove
 
Hello, I am new to the CFGRID and Flash forms.
I have created a grid that the following columns from a table...

mfg, itemid, onhand, avgcost, category, loc, entry(primary key)

The loc and entry column should be hidden.
Update and delete functions work fine.

When adding the loc (location) field needs to automatically prefill with a
predefined variable such as AZ. 

Basically when you add the new row the loc should have AZ as the default
value.
Is this possible.

This is what I am using













Any help would be appreciated.
Thanks


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: [Macromedia][Oracle JDBC Driver]Object has been closed.

2007-06-14 Thread Aaron Rouse
I ran into a very similar problem back in January of this year and could not
find a solution at the time.  I do not have the best of notes on it but I do
have down that at the time I tried installing some updated drivers via a
link on Adobe's site and also tried some from Oracle neither of which solved
the problem.  I ended up ultimately just replacing the SP with CFQUERIES due
to being under a time crunch.

On 6/14/07, AJ Mercer <[EMAIL PROTECTED]> wrote:
>
> Have you seen this article?
>
>
> http://kb.adobe.com/selfservice/viewContent.do?externalId=42dcb10a&sliceId=1
>
>
> On 6/15/07, Justin Mundy <[EMAIL PROTECTED]> wrote:
> >
> > Hi folks,
> >
> > Has anyone ever encountered the following non-descriptive error message?
> >
> > [Macromedia][Oracle JDBC Driver]Object has been closed.
> >
> > We recently updated to CF 7.0.2 and are connecting with an Oracle 9i
> > Database.
> > The Oracle JDBC Driver is 3.50.
> >
> > The issue we are experiencing occurs consistently when we try to run a
> > stored procedure that then calls some oracle functions that process some
> > data before insertion into a table and then nearly imediately re-run the
> > same batch of code.
> >
> > We suspect that the Oracle tables are not being released by ColdFusion
> > after the first successful run of the code.
> >
> > Any ideas? We updated to 7.0.2 about 2 weeks ago, and now applications
> > that have been behaving have suddenly began acting up.
> >
> > Thanks,
> >
> > Justin Mundy
> >
> >
>
> 

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Memory leak in CF7-based app, still trying to track it down

2007-06-14 Thread Dov Katz
I'm not sure if these are being sent to the list. Please let me know. Could
really use help in figuring out the memory leak caused by caching my CFC's
in application scope.   Thanks - Dov

 

http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:52111#281118





~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Translation WebService

2007-06-14 Thread Paul Hastings
Michael Eger wrote:
> database for use in a prototype. Some websites such as Google language tools
> or Babel Fish allow for free translation of a small amount of text via a

mxna seems to handle this (using google's machine translation tools) w/out the 
form, etc.

might have a look at this site whihc aggregates a bunch of translation 
services: 
http://www.humanitas-international.org/newstran/more-trans.htm googling turns 
up 
plenty more.

i also hope you're not going to be translating anything worthwhile/serious, 
even 
w/google's tools. you could get somebody killed. see this site for an example: 
http://www.tashian.com/multibabel/ you're always better off working w/a human 
being.

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


cfmail error - anyone know what to do about this one?

2007-06-14 Thread Mike Kear
I'm getting this error from an action page that sends a "thank you"
email to the customer.  I've googled around and can find quite a few
people asking what to do about it, but no one with an answer.

As far as i can see, some of the people experiencing the problem think
its to do with a large attachment causing a timeout, but i'm not
attaching anything to this email.  Can anyone cast any light on the
issue?

The error message i'm getting is:

coldfusion.mail.MailSessionException: An exception occurred when
setting up mail server parameters

The email is a html email with nothing very complex in it.

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

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Memory leak in CF7-based app, still trying to track it down

2007-06-14 Thread Dov Katz
I've done some more profiling.   Does anyone know what the 
"Coldfusion.runtime.NeoPageContext" class does?  It seems awefully similar to a 
"Souped-Up HttpServletRequest" based on methods outlined here: 
http://www.bennadel.com/blog/758-ColdFusion-GetPageContext-Massive-Exploration.htm

Seems like everything in coldfusion (internal classes, like CustomTag, 
SettingTag, OutputTag, and CFVariablesScopeFilter, etc have a reference to it).


** What Worries Me** is that in my JRockit Memleak Detector I also found 2 of 
my CFC's referencing it.  Do you think this is the leak, if my CFC's are being 
cached?  To me it looks like a circular reference between the CFC and a 
NeoPageContext, and if my CFC is cached, I'm in trouble.   Can someone verify?

Here's the graph with the relevant objects:
http://staging.onlysimchas.com/profiler2.jpg



> I've written a MVC-style CF app with alot of CFC's.
> I've upgraded to 7.02, to get the latest fixes re: memory leak.
> 
> I am using OpenSymphony's oscache to cache CFC's and the oscache 
> "manager" object is stored in the application scope. I have other 
> cfc's also storing things in the application scope.
> 
> I've tried varscoper, and made sure all member methods in my cfc's are 
> properly var'd.
> 
> I've added the "hack" workaround as suggested on a blog, to do a 
> structClear(variables) in the OnRequestEnd.cfm page. 
> 
> Still running out of memory in a 12-24 hour period, despite giving it 
> a generous 1gb of ram. (it doesnt need even close to that much, ...)  
> My JVM was sun 1.4.2_14
> 
> I then went on a QA machine, switched the JVM to JRocket 1.5.0_06 and 
> fired up memleak.
> 
> What I'm finding is that when my cache (oscache, a java library) 
> caches a copy of my CFC, the actual object being passed to the cache 
> is an instance of "coldfusion.runtime.TemplateProxy".
> 
> That in turn points to my CFC instances. That's all fine, I presume.
> 
> What bothers me, is what i see next.
> 
> MY CFC instance (which is in the cache at this point) is pointing to a 
> "coldfusion.runtime.NeoPageContext".  That has me worried, since it 
> would seem that I'm basically not letting go to "PageContext"s which I 
> presume are the environment for running a request.  The 
> "NeoPageContext" points to  a "coldfusion.runtime.LocalScope"  which 
> points to a HashMap, which points to Variables, which points back to 
> my CFC!
> 
> That seem to imply i have a circular reference of some sort.
> 
> Here's a copy of the object map.  The "widest" portion is the fully 
> expanded trace of what I believe to be the source (or one of them) of 
> my issues.
> http://staging.onlysimchas.com/profiler.jpg 
> 
> Is this something to worry about, or am I on the wrong path?
> 
> 
> Is there something I 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


Re: ColdFusion MX 7.0.2 and MySQL 4.1.12

2007-06-14 Thread James Holmes
Turn off the Windows firewall and try again...

On 6/15/07, [Sunshine Tech Solutions] Ravi Gehlot
<[EMAIL PROTECTED]> wrote:
> I ran telnet localhost 3360 and got connection failed.
>
> Ravi.
>
> Jochem van Dieten wrote:
> > [Sunshine Tech Solutions] Ravi Gehlot wrote:
> >
> >> That WindowsXP firewall is for the outsiders not for locals.
> >>
> >
> > That does not answer the question. Can you telnet to it?

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: [Macromedia][Oracle JDBC Driver]Object has been closed.

2007-06-14 Thread AJ Mercer
Have you seen this article?

http://kb.adobe.com/selfservice/viewContent.do?externalId=42dcb10a&sliceId=1


On 6/15/07, Justin Mundy <[EMAIL PROTECTED]> wrote:
>
> Hi folks,
>
> Has anyone ever encountered the following non-descriptive error message?
>
> [Macromedia][Oracle JDBC Driver]Object has been closed.
>
> We recently updated to CF 7.0.2 and are connecting with an Oracle 9i
> Database.
> The Oracle JDBC Driver is 3.50.
>
> The issue we are experiencing occurs consistently when we try to run a
> stored procedure that then calls some oracle functions that process some
> data before insertion into a table and then nearly imediately re-run the
> same batch of code.
>
> We suspect that the Oracle tables are not being released by ColdFusion
> after the first successful run of the code.
>
> Any ideas? We updated to 7.0.2 about 2 weeks ago, and now applications
> that have been behaving have suddenly began acting up.
>
> Thanks,
>
> Justin Mundy
>
> 

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281216
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 MX 7.0.2 and MySQL 4.1.12

2007-06-14 Thread [Sunshine Tech Solutions] Ravi Gehlot
I ran telnet localhost 3360 and got connection failed.

Ravi.

Jochem van Dieten wrote:
> [Sunshine Tech Solutions] Ravi Gehlot wrote:
>   
>> That WindowsXP firewall is for the outsiders not for locals.
>> 
>
> That does not answer the question. Can you telnet to it?
>
> Jochem
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


[Macromedia][Oracle JDBC Driver]Object has been closed.

2007-06-14 Thread Justin Mundy
Hi folks,

Has anyone ever encountered the following non-descriptive error message?

[Macromedia][Oracle JDBC Driver]Object has been closed.

We recently updated to CF 7.0.2 and are connecting with an Oracle 9i Database. 
The Oracle JDBC Driver is 3.50. 

The issue we are experiencing occurs consistently when we try to run a stored 
procedure that then calls some oracle functions that process some data before 
insertion into a table and then nearly imediately re-run the same batch of code.

We suspect that the Oracle tables are not being released by ColdFusion after 
the first successful run of the code. 

Any ideas? We updated to 7.0.2 about 2 weeks ago, and now applications that 
have been behaving have suddenly began acting up.

Thanks,

Justin Mundy

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281214
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 MX 7.0.2 and MySQL 4.1.12

2007-06-14 Thread Jochem van Dieten
[Sunshine Tech Solutions] Ravi Gehlot wrote:
> That WindowsXP firewall is for the outsiders not for locals.

That does not answer the question. Can you telnet to it?

Jochem

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281213
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 MX 7.0.2 and MySQL 4.1.12

2007-06-14 Thread [Sunshine Tech Solutions] Ravi Gehlot
That WindowsXP firewall is for the outsiders not for locals.

Ravi.

Jordan Michaels wrote:
> XP has a built-in firewall, could XP's firewall be blocking that port?
>
> Can you telnet to it?
>
> Warm regards,
> Jordan Michaels
> Vivio Technologies
> http://www.viviotech.net/
> BlueDragon Alliance Member
> [EMAIL PROTECTED]
>
>
> [Sunshine Tech Solutions] Ravi Gehlot wrote:
>   
>> netstat -a returns: TCP 3306 LISTENING
>>
>> Ravi.
>>
>>
>>
>> Dave Watts wrote:
>> 
 I am getting errors trying to connect to the DB even after 
 following these instructions:

 http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_1
 9170&sliceId=2

 The OS is Windows XP

 Connection verification failed for data source: aisg
 java.sql.SQLException: Cannot connect to MySQL server on 
 locahost:3306. 
 Is there a MySQL server running on the machine/port you are 
 trying to connect to? (java.net.UnknownHostException) The 
 root cause was that: java.sql.SQLException: Cannot connect to 
 MySQL server on locahost:3306. Is there a MySQL server 
 running on the machine/port you are trying to connect to? 
 (java.net.UnknownHostException)
 
 
>>> Have you confirmed that the database server is listening on that port?
>>>
>>> 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!
>>>
>>> This email has been processed by SmoothZap - www.smoothwall.net
>>>
>>>
>>>
>>>   
>> 
>
> 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Spry AutoSuggest Issue

2007-06-14 Thread Chad McCue
I am trying to run spry autosuggest function but when my page loads I
get this JS error.
 
Spry.$ is not a function
AutoSuggest("SchoolSuggest", "SuggestResults",
"dsSchools")SpryAutoSuggest.j... (line 35)
 this.textElement = Spry.$(textElement); 
 


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281211
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 MX 7.0.2 and MySQL 4.1.12

2007-06-14 Thread Jordan Michaels
XP has a built-in firewall, could XP's firewall be blocking that port?

Can you telnet to it?

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
BlueDragon Alliance Member
[EMAIL PROTECTED]


[Sunshine Tech Solutions] Ravi Gehlot wrote:
> netstat -a returns: TCP 3306 LISTENING
> 
> Ravi.
> 
> 
> 
> Dave Watts wrote:
>>> I am getting errors trying to connect to the DB even after 
>>> following these instructions:
>>>
>>> http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_1
>>> 9170&sliceId=2
>>>
>>> The OS is Windows XP
>>>
>>> Connection verification failed for data source: aisg
>>> java.sql.SQLException: Cannot connect to MySQL server on 
>>> locahost:3306. 
>>> Is there a MySQL server running on the machine/port you are 
>>> trying to connect to? (java.net.UnknownHostException) The 
>>> root cause was that: java.sql.SQLException: Cannot connect to 
>>> MySQL server on locahost:3306. Is there a MySQL server 
>>> running on the machine/port you are trying to connect to? 
>>> (java.net.UnknownHostException)
>>> 
>> Have you confirmed that the database server is listening on that port?
>>
>> 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!
>>
>> This email has been processed by SmoothZap - www.smoothwall.net
>>
>>
>>
> 
> 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: ColdFusion MX 7.0.2 and MySQL 4.1.12

2007-06-14 Thread [Sunshine Tech Solutions] Ravi Gehlot
netstat -a returns: TCP 3306 LISTENING

Ravi.



Dave Watts wrote:
>> I am getting errors trying to connect to the DB even after 
>> following these instructions:
>>
>> http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_1
>> 9170&sliceId=2
>>
>> The OS is Windows XP
>>
>> Connection verification failed for data source: aisg
>> java.sql.SQLException: Cannot connect to MySQL server on 
>> locahost:3306. 
>> Is there a MySQL server running on the machine/port you are 
>> trying to connect to? (java.net.UnknownHostException) The 
>> root cause was that: java.sql.SQLException: Cannot connect to 
>> MySQL server on locahost:3306. Is there a MySQL server 
>> running on the machine/port you are trying to connect to? 
>> (java.net.UnknownHostException)
>> 
>
> Have you confirmed that the database server is listening on that port?
>
> 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!
>
> This email has been processed by SmoothZap - www.smoothwall.net
>
>
> 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


RE: setting xml encoding

2007-06-14 Thread Brad Wood
Using cfsavecontent is a possibility but I want to use the variable on
the CF side to do some xmlsearches on and I need it in the form of an
XML object.  It seemed to make more sense to generate the xml object
first and then tostring it when I was finished.  I guess it is 6 of one
half a dozen of the other.

> You can't encode part of an HTTP response as UTF-16, and the rest as
> something else. That's unpossible. 

Well, luckily for me the xml string only contains standard ASCII
characters so I think I can just put utf-16 at the top of the XML and
not worry about ACTUALLY encoding it that way.

> That is a fair interpretation of how whitespace should be handled. 

Maybe so, but I still think it is retarded.  :)
If for no other reason than the inconsistency between IE and Mozilla...
 And the fact that I can't think of any good reason why white space
should be treated as significant when in between nodes.  That's like
stopping to read one those "this page intentionally left blank" pages in
a book.

~Brad

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


RE: ColdFusion MX 7.0.2 and MySQL 4.1.12

2007-06-14 Thread Dave Watts
> I am getting errors trying to connect to the DB even after 
> following these instructions:
> 
> http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_1
> 9170&sliceId=2
> 
> The OS is Windows XP
> 
> Connection verification failed for data source: aisg
> java.sql.SQLException: Cannot connect to MySQL server on 
> locahost:3306. 
> Is there a MySQL server running on the machine/port you are 
> trying to connect to? (java.net.UnknownHostException) The 
> root cause was that: java.sql.SQLException: Cannot connect to 
> MySQL server on locahost:3306. Is there a MySQL server 
> running on the machine/port you are trying to connect to? 
> (java.net.UnknownHostException)

Have you confirmed that the database server is listening on that port?

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


ColdFusion MX 7.0.2 and MySQL 4.1.12

2007-06-14 Thread [Sunshine Tech Solutions] Ravi Gehlot
I am getting errors trying to connect to the DB even after following 
these instructions:

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19170&sliceId=2

The OS is Windows XP

Connection verification failed for data source: aisg
java.sql.SQLException: Cannot connect to MySQL server on locahost:3306. 
Is there a MySQL server running on the machine/port you are trying to 
connect to? (java.net.UnknownHostException)
The root cause was that: java.sql.SQLException: Cannot connect to MySQL 
server on locahost:3306. Is there a MySQL server running on the 
machine/port you are trying to connect to? (java.net.UnknownHostException)


-- 
---
Ravi Gehlot.
Sr. Management
Sunshine Technology Solutions, LLC
http://www.sunshinetechsolutions.com/
[EMAIL PROTECTED]
Cell Phone: (407) 860-3775
Business Line: (407) 745-1433
---

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



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Updated Broadband Stats

2007-06-14 Thread Rey Bango
Correction:

I guess the other 57% of US households are not your targets.  ;)


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Updated Broadband Stats

2007-06-14 Thread Rey Bango
Some interesting stats for all of those that think that every US 
household has broadband and is building their sites accordingly:

"According to research done by the consultancy firm Point Topic, the US 
has fallen to 24th place in terms of broadband penetration, with only 
53% of households connected. South Korea led the pack, with 90% of 
households having highspeed connections. The US remains the largest 
broadband country in the world with more than 60.4 million subscribers 
in the quarter with 2.9 million new broadband additions, but China is 
fast catching up and has cut the gap to the US from 5.8 million at the 
end of 2006 to 4.1 million at end of March 2007. The firm's research 
also pointed out the disparity between the connectivity of first world 
nations and other places throughout the world. 'Many Sub-Saharan African 
states do not register in the figures at all: only South Africa, Sudan, 
Senegal and Gabon make it onto the list, with household broadband 
penetration running from 1.79% in South Africa - with 215,000 users at 
the end of March - to just 0.05% in Sudan - with a mere 3,000. North 
African states fare slightly better with Morocco scoring 6.78% 
penetration with 418,000 users and Egypt at 1.55% or 240,000.'"

I guess the other 57% of US households are your target. ;)

Rey...

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Re: OO style - dynamic set & get methods

2007-06-14 Thread Andrew Scott
Coldspring only searches to see if the setters exist, not create them.

That's how DI works on any programming language.


On 6/15/07, Jonathon Stierman <[EMAIL PROTECTED]> wrote:
>
> Why code by hand when computers can do it for you? :)
>
> http://rooibos.maestropublishing.com/
>
> It seems to be standard to be using the full method sets.  I believe
> ColdSpring searches your CFCs for getters and setters. So if you wanted to
> use ColdSpring (and probably some other frameworks), you should either
> have
> those getters/setters or have the attributes able to be passed in the
> constructor.
>
> Jonathon
>
>
> -Original Message-
> From: Rob O'Brien [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 14, 2007 1:51 PM
> To: CF-Talk
> Subject: OO style - dynamic set & get methods
>
> So, I'm just starting to go into OO-style CF development and I have a
> quick
> theory question... Mind you, this is brand new to me, so be gentle.
>
> When setting up my Location Bean, I started to go through each of the
> individual variables and created a get() and set() method for each of
> them.
> I got about halfway through and decided that I was tired of creating
> repetitive functions. I thought to myself, why can't I just create simple,
> dynamic get() and set() functions to handle all of these variables
> dynamically?
>
> Rather than setName(value), why not setVar("Name",value)?
>
> Since these methods are inherently dumb (nothing but a cfset and a
> cfreturn
> as I've seen implemented), why does it matter that I have an individual
> method for each? Validation would come in an additional business layer
> anyway.
>
> I guess I'm looking for pros/cons. This seems like a more dynamic, elegant
> way to set/get, but I'd like to know where the pitfalls are.
>
> Thanks!
> Rob
>
>
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281203
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 var in javascript

2007-06-14 Thread Andrew Scott
Well I am not going to say what the others have said.

First of all, currentRow is not the problem due to the fact that it is being
passed into the function. However the problem is that you have used a
coldfusion query and have expected it to be available on the client (not a
good idea).



On 6/15/07, Ben S <[EMAIL PROTECTED]> wrote:
>
> I'm trying to make the following work but CF complains about not having
> variable when it's loading the page. Is there a way to write it so that it
> won't complain?
>
> Thanks in advance.
>
> This is the code that's erroring out:
>
> function itemDetails(currentRow)
> {document.iDetails.title.value =
> ""#getItems.title[currentRow]#";";
> }
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


RE: setting xml encoding

2007-06-14 Thread Dave Watts
> Secondly, forget that I typed cfsavecontent.  That was a 
> typo.  I meant cfcontent as was exampled in the live docs 
> link I included.  I am using cfxml to create the XML object, 
> and tostring to create a string representation of that object 
> to pass along to JavaScript.  
> According to Adobe UTF-8 is the ONLY encoding that tostring 
> will produce for xml documents. 

While that might have been a typo on your part, it wasn't on mine. I'm
suggesting that you use CFSAVECONTENT instead of CFXML, which will let you
set the XML declaration however you like, and will avoid any requirement to
use ToString, as the variable you create with CFSAVECONTENT will already be
a string instead of an XML document object.

> Also, I am a little confused on exactly how the  type="text/xml; charset=utf-16"> will work.  You see, I don't 
> want to encode the entire output of my page as utf-16-- JUST 
> the xml string.  It is my impression that using the cfcontent 
> tag will reset the ENTIRE page to use that encoding.  All I 
> want is a single coldfusion string variable to contain utf-16 
> encoded xml.

You can't encode part of an HTTP response as UTF-16, and the rest as
something else. That's unpossible. Even if you can get a browser to
recognize a multipart MIME HTTP response, you couldn't generate it with CF,
since response encoding is a characteristic of your page. If you want to
encode your XML as UTF-16, have your browser fetch it separately. In these
modern times, this is easy enough to do using AJAX.

>   

That is a fair interpretation of how whitespace should be handled. An XML
processor cannot simply ignore whitespace within elements, unless your
application tells it that the whitespace isn't significant:

http://xml.silmaril.ie/authors/whitespace/

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281201
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 sessions with Flash Remoting

2007-06-14 Thread Dinner
On 6/14/07, John Robinson wrote:

> Actually in this case, I do need to kill the session. I'm building a
> chat app. When a user leaves, I need to let the other users still
> active in the chat know that this user has left. Essentially I'm

You can always do something like if they click the logout button,
it logs them out, and if they're inactive for 5 minutes, it says
something like "away", and then after 10 (or whatever) you just
log them out and mark them as logged out (or not, of course-
away seems to work pretty good on it's own).

Gives the other users useful information and takes care of the
problem of the open looped system.

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281200
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 sessions with Flash Remoting

2007-06-14 Thread John Robinson
You're right, it is onSessionEnd. I have that working. I'm going to  
try to see what errors I can get later tonight.

And yes, you're right in that I *should* be using FMS (I'd much  
rather be!) but my client wants this in CF. The chat actually works  
pretty well so far aside from this one issue. We're working on a sort  
of 'long-polling' solution that is pretty snappy for the end user,  
which might explain why I'm making the call every minute. I might  
just have to live with a short timeout on the session and handle it  
that way (which is what I'm doing now).

Either way, thanks for your help!

john

On Jun 14, 2007, at 5:31 PM, Dave Watts wrote:

>> Actually in this case, I do need to kill the session. I'm
>> building a chat app. When a user leaves, I need to let the
>> other users still active in the chat know that this user has
>> left. Essentially I'm deleting them from a temp table in a
>> db. Make sense? The only indication I've found so far is
>> onEndSession. I'm thinking if I get an error, I will know the
>> user isn't around and can force the session to close, which
>> should trigger my onEndSession event.
>
> I think you're looking for onSessionEnd, but that's not going to  
> help you
> anyway. In an HTTP application, the server never knows when the  
> browser
> won't make a future request. And honestly, I don't think you're  
> going to see
> that error. You need frequent polling in a synchronous environment to
> determine when a session should end, or you need to use an  
> asynchronous
> environment like Flash Media Server.
>
> 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!
>


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: OO style - dynamic set & get methods

2007-06-14 Thread Dinner
On 6/14/07, Nathan Strutz wrote:

> Of course there arguments the other way. For instance a config object with
> an unknown or ever-changing number of params it reads from a database or xml
> file would not be as helpful to you if you had to constantly add and remove
> getters and setters every time you needed to add and remove parameters from
> your evolving application. For this case alone I think I would use the
> universal set()/get() methods, or maybe just a plain old struct ;)

"An unknown or ever-changing number of params" Sounds like development. =]

It's all a mix anyways.  Be clear and use patterns and whatnot, and what
difference does it really make?  Drop down a level, pop up a level... consistent
doesn't mean everything is the same--  Well, sorta it does, but I like the def
that means "coherent" (ironic, neh? ;).

It's all "processed" anyways, I don't see what one process offers that you
couldn't implement in another process.  Want to validate the input?  You
have to do that if you use setValue(someThing,else) or setSomeThing(else),
either way.

At least the case maches with setValue(someThing, else), neh?

Yeah, FWIW, I'm liking the setValue() a whole lot more than setName(), etc..

But I do use both.  Bad myself, bad!  Eh.
That's life, especially when you don't Control Everything (or in my
case, just cuz).

I know, this is one of those religious types arguments, been 'round, be 'round,
etc..  Please take these comments in that context.  I'm spiritual, not
religious. ;)

Guess I could be coding for someone who can't read source, right?  Yeah...
but how far do you go?  I've gone far enough, here.

(Opinions Subject to change, of course & BTW =])

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


RE: setting xml encoding

2007-06-14 Thread Brad Wood
OK, first of all I am outputting an xml representation of a string as
part of a javascript declaration which will define that string on the
client where it can then be parsed into an xml object that the browser
can work with.

The reason why I care about the encoding of the string is because
apparently quite a few computers have an old version of msxml.dll
registered as their xml parser for IE and according to the MS knowledge
base article I posted the other day
(http://support.microsoft.com/kb/275883) msxml.dll is ONLY COMPATIBLE
with UTF-16 and UCS-2.  "Any attempt to load XML data that is encoded
with another encoding format results in the following error: Switch from
current encoding to specified encoding not supported."

Secondly, forget that I typed cfsavecontent.  That was a typo.  I meant
cfcontent as was exampled in the live docs link I included.  I am using
cfxml to create the XML object, and tostring to create a string
representation of that object to pass along to JavaScript.  
According to Adobe UTF-8 is the ONLY encoding that tostring will produce
for xml documents.  

Now we have our problem.  Tostring forces my xml to be encoded as utf-8,
but everyone's computer with IE who is running "MSXML parser versions
2.5, 2.5 SP1 and 2.6" CANNOT parse that string. 

My only choices are to
1) Run "regsvr32 /s %WINDIR%\system32\msxml3.dll" to upgrade them to
MSXML 3.0 
2) Encode my XML as UTF-16 or UCS-2 so everyone's browser can handle it.

My frustration is with the back-door sort of kludgy way I am supposed to
"convert" my xml string-- by finding and replacing the encoding value.
That just seems kind of lame.  I will suggest it to Adobe.  I would like
to note that the tostring function already accepts an encoding parameter
but apparently it only applies to binary data.

Also, I am a little confused on exactly how the  will work.  You see, I don't want to
encode the entire output of my page as utf-16-- JUST the xml string.  It
is my impression that using the cfcontent tag will reset the ENTIRE page
to use that encoding.  All I want is a single coldfusion string variable
to contain utf-16 encoded xml.  

Here is code for those interested:


...SNIP...







)(\s*)(<)","\1\3","all")>


var string_all_tabs =
'#jsstringformat(string_all_tabs)#';
// code for IE
if (window.ActiveXObject)
  {
  var doc=new ActiveXObject("Microsoft.XMLDOM");
  doc.async="false";
  doc.loadXML(string_all_tabs);
var objParseError = doc.parseError;
if ( objParseError.errorCode != 0 )
{
// TODO: Log error with JS error
logging.
alert('Error: Your computer needs to be
updated to be able to display this page correctly.  We apologize for the
inconvenience.\nPlease call the helpdesk at
#jsstringformat(request.helpdesk_number)# so they
can register a new XML parser.\n\n\n'+'Error Code:
'+objParseError.errorCode+'\nError Message: '+ objParseError.reason);
//alert(objParseError.errorCode);
//alert(objParseError.reason);
}
  }
// code for Mozilla, Firefox, Opera, etc.
else
  {
  var parser=new DOMParser();
  var doc=parser.parseFromString(string_all_tabs,"text/xml");
  }// documentElement always represents the root node
var xml_all_tabs = doc.documentElement;


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Re: OO style - dynamic set & get methods

2007-06-14 Thread Dinner
On 6/14/07, Jonathon Stierman wrote:
> Why code by hand when computers can do it for you? :)

Indeed!  I know /my/ fingers get pretty tired...

all those ones and zeros...

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Securing Datasources

2007-06-14 Thread Dinner
On 6/14/07, Dave Watts wrote:
> The only way to protect the database server from being vulnerable to
> successful exploits against your web server is to put it on a separate
> machine.

And even then it's not really "protected". /Maybe/ it's more protected,
but man, there are a million links in the chain, gang!

If you want to be really secure, you lock the hard-drive (just the hard
drive, no network) in a fire/water "proof" safe, with a good alarm system,
somewhere secret, within one of those cages that protect from electro/
magnetic stuff.

And you know that you're /still/ not "secure" or 100% "proof" protected.

I can see it now... Joe Blow says "hey, they're on different boxes, we're
good to go!", which just ain't the case.  If it's connected (electronically,
physically), it's vulnerable.

And the only way to disconnect, is to cease to exist.
All copies, all memory-- everything.

And even then, you're still vulnerable to time bandits...

Um... e-yeah.  I stop typing now.  :-)

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


RE: setting xml encoding

2007-06-14 Thread Dave Watts
> It appears that cfprocessingdirective only applies if I am 
> returning an entire page of nothing but xml and want the 
> encoding of the whole page to be modified.  I am just 
> creating a variable with cfxml.

If you're going to output that variable to the browser as an HTTP response,
you'll need to use CFPROCESSINGDIRECTIVE if you want to use an alternate
character encoding. If you're going to output that variable to the
filesystem, you'll need to use the appropriate CHARSET attribute value with
CFFILE. If you're not going to output the variable, why do you care about
the encoding?

> They also show using cfsavecontent, but I'm a but confused, 
> because even if you do that it appears you can't get away 
> from using the replace function to replace UTF-8 with 
> whatever you want, which to me is about the lamest thing I 
> could imagine. Here is what is says:
> 
> "To convert an XML document object back into a string, use 
> the ToString function, at which time ColdFusion automatically 
> prepends the  
> XML declaration"

If you're using CFSAVECONTENT, and not CFXML, to create a string that
contains XML, you will be responsible for adding the XML declaration (and
the appropriate encoding) yourself. You won't have to do the Replace then.

>  So apparently I have NO CHOICE OR CONTROL over the 
> encoding of my xml doc at the time of its creation.  (Why 
> can't you just do http://www.adobe.com/go/wish/

>  WTF, over?  What if my xml string happens to contain the 
> name of an encoding type within it and I DON'T want it to be 
> replaced?

An XML string is not the same as an XML document object. If you just build a
string with CFSAVECONTENT, you can put in whatever XML declaration you want.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


RE: CFCDOC Location?

2007-06-14 Thread Dave Watts
> Can anyone tell me where to get Spike's CFCDOC? The site 
> doesn't seem to be there anymore and I'd like to check it 
> out. If anyone that feels like sending me a copy (assuming 
> it's free) should send it to jbvenable aht kennedy-center.org

It doesn't seem to be available any more. Perhaps this would do instead?

http://philcruz.com/cfcdoc/

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281193
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 sessions with Flash Remoting

2007-06-14 Thread Dave Watts
> Actually in this case, I do need to kill the session. I'm 
> building a chat app. When a user leaves, I need to let the 
> other users still active in the chat know that this user has 
> left. Essentially I'm deleting them from a temp table in a 
> db. Make sense? The only indication I've found so far is 
> onEndSession. I'm thinking if I get an error, I will know the 
> user isn't around and can force the session to close, which 
> should trigger my onEndSession event.

I think you're looking for onSessionEnd, but that's not going to help you
anyway. In an HTTP application, the server never knows when the browser
won't make a future request. And honestly, I don't think you're going to see
that error. You need frequent polling in a synchronous environment to
determine when a session should end, or you need to use an asynchronous
environment like Flash Media Server.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281192
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 sessions with Flash Remoting

2007-06-14 Thread Kevin Aebig
How are you doing the actual chat communication? If you're using either XML 
sockets or FMS, than you can trigger the notification from there... 

!k

-Original Message-
From: John Robinson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 14, 2007 2:01 PM
To: CF-Talk
Subject: Re: Using sessions with Flash Remoting

On Jun 14, 2007, at 3:47 PM, Dave Watts wrote:

>> Given that that is the case and I have no way of knowing the
>> browser closed, I have a function (defined in a .cfc) called
>> by flash that basically loops for a while and returns some
>> data (or it times out and then returns an empty record set).
>> As soon as I get this response, I send out a new request from
>> flash. So I'm thinking that whenever a client closes their
>> browser that they will be in the middle of this call, waiting
>> for a response. Make sense? I'm also guessing that there may
>> be an error thrown here when CF tries to return the results
>> to a client that doesn't exist anymore. Can I catch this error
>> in Application.onError and tell CF to end the session?
>
> I don't think you'll get an error here, actually. But even if you  
> did, you
> don't really need to worry about killing the session, since the  
> client won't
> make any subsequent requests. If you're calling this function  
> frequently,
> you can set the session timeout to be very short, say five minutes.

Actually in this case, I do need to kill the session. I'm building a  
chat app. When a user leaves, I need to let the other users still  
active in the chat know that this user has left. Essentially I'm  
deleting them from a temp table in a db. Make sense? The only  
indication I've found so far is onEndSession. I'm thinking if I get  
an error, I will know the user isn't around and can force the session  
to close, which should trigger my onEndSession event.

>
>> This could probably be a new post, but what I'd really like
>> to learn is a decent way to monitor the events in
>> Application.cfc. As it stands, the browser window is closed,
>> so how do I view any trace/ debug statements coming from
>> those events?
>
> Use CFLOG to write them to a file.

Great! Thanks!
>
> 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!
>
> This email has been processed by SmoothZap - www.smoothwall.net
>
>
> 



~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281191
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 var in javascript

2007-06-14 Thread benjamin schwartz
Awesome :) Thank you very much - i'm going to try that out.


Ben

On 6/14/07, Charlie Griefer <[EMAIL PROTECTED]> wrote:
>
> #getItems.title[currentRow]#
>
> unless you're looping over the query data using  query="getItems">, i don't believe the 'currentrow' variable will be
> available.
>
> but i'm not sure you're trying to use *that* currentrow variable.
> looks like you're trying to use an argument passed in to the
> javascript function... which CF won't recognize.  JS doesn't do "its
> thing" until CF is long since done.
>
> if i understand correctly what you are looking to do... you could
> create a javascript array using CF, and reference the array in your
> function.
>
> 
>  var myJSArray = new
> Array(#listQualify(valueList(getItems.title),
> "'")#);
>
>  function itemDetails(currentRow) {
>   document.iDetails.title.value = myJSArray[currentRow];
>  }
> 
>
> ?
>
>
> On 6/14/07, Ben S <[EMAIL PROTECTED]> wrote:
> > I'm trying to make the following work but CF complains about not having
> variable when it's loading the page. Is there a way to write it so that it
> won't complain?
> >
> > Thanks in advance.
> >
> > This is the code that's erroring out:
> >
> > function itemDetails(currentRow)
> > {document.iDetails.title.value =
> > ""#getItems.title[currentRow]#";";
> > }
> >
> >
>
> 

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281190
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 var in javascript

2007-06-14 Thread Scott Weikert
Your CF code has already executed by the time the JS code executes - so 
using 'currentrow' for both won't work.

You might consider building a JS array based on your 'getItems' query, 
outside of your JS function, and then reference that array inside your 
JS function. Since JS array positioning starts with position 0, you'll 
either have to add in a dummy var at the start of your array to make the 
positions match up numerically, or tap 'currentrow -1' as the position 
in the JS array. *shrug*

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281189
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 sessions with Flash Remoting

2007-06-14 Thread John Robinson
On Jun 14, 2007, at 3:47 PM, Dave Watts wrote:

>> Given that that is the case and I have no way of knowing the
>> browser closed, I have a function (defined in a .cfc) called
>> by flash that basically loops for a while and returns some
>> data (or it times out and then returns an empty record set).
>> As soon as I get this response, I send out a new request from
>> flash. So I'm thinking that whenever a client closes their
>> browser that they will be in the middle of this call, waiting
>> for a response. Make sense? I'm also guessing that there may
>> be an error thrown here when CF tries to return the results
>> to a client that doesn't exist anymore. Can I catch this error
>> in Application.onError and tell CF to end the session?
>
> I don't think you'll get an error here, actually. But even if you  
> did, you
> don't really need to worry about killing the session, since the  
> client won't
> make any subsequent requests. If you're calling this function  
> frequently,
> you can set the session timeout to be very short, say five minutes.

Actually in this case, I do need to kill the session. I'm building a  
chat app. When a user leaves, I need to let the other users still  
active in the chat know that this user has left. Essentially I'm  
deleting them from a temp table in a db. Make sense? The only  
indication I've found so far is onEndSession. I'm thinking if I get  
an error, I will know the user isn't around and can force the session  
to close, which should trigger my onEndSession event.

>
>> This could probably be a new post, but what I'd really like
>> to learn is a decent way to monitor the events in
>> Application.cfc. As it stands, the browser window is closed,
>> so how do I view any trace/ debug statements coming from
>> those events?
>
> Use CFLOG to write them to a file.

Great! Thanks!
>
> 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!
>
> This email has been processed by SmoothZap - www.smoothwall.net
>
>
> 

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281188
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 var in javascript

2007-06-14 Thread Charlie Griefer
#getItems.title[currentRow]#

unless you're looping over the query data using , i don't believe the 'currentrow' variable will be
available.

but i'm not sure you're trying to use *that* currentrow variable.
looks like you're trying to use an argument passed in to the
javascript function... which CF won't recognize.  JS doesn't do "its
thing" until CF is long since done.

if i understand correctly what you are looking to do... you could
create a javascript array using CF, and reference the array in your
function.


 var myJSArray = new
Array(#listQualify(valueList(getItems.title),
"'")#);

 function itemDetails(currentRow) {
  document.iDetails.title.value = myJSArray[currentRow];
 }


?


On 6/14/07, Ben S <[EMAIL PROTECTED]> wrote:
> I'm trying to make the following work but CF complains about not having 
> variable when it's loading the page. Is there a way to write it so that it 
> won't complain?
>
> Thanks in advance.
>
> This is the code that's erroring out:
>
> function itemDetails(currentRow)
> {document.iDetails.title.value =
> ""#getItems.title[currentRow]#";";
> }
>
> 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


CF var in javascript

2007-06-14 Thread Ben S
I'm trying to make the following work but CF complains about not having 
variable when it's loading the page. Is there a way to write it so that it 
won't complain?

Thanks in advance.

This is the code that's erroring out:

function itemDetails(currentRow)
{document.iDetails.title.value =
""#getItems.title[currentRow]#";";
}

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Is &lt;noscript&gt; the answer??

2007-06-14 Thread Will Tomlinson
Thanks Rey!


~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


CFCDOC Location?

2007-06-14 Thread john venable
Can anyone tell me where to get Spike's CFCDOC? The site doesn't seem to be 
there anymore and I'd like to check it out. If anyone that feels like sending 
me a copy (assuming it's free) should send it to jbvenable aht 
kennedy-center.org

Thanks.

john

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Re: Ajax - beating head on wall...

2007-06-14 Thread Will Tomlinson
>Yeah, that's essentially it, but if it's "course.."
>
>param:"course=#FORM.course#,T7=" +

This did the trick James. 

param:"eval=" + #FORM.eval# + ",course=" + "#FORM.course#" + ",T7=" + t7sel.. 
etc..

Thanks!

Will

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


RE: setting xml encoding

2007-06-14 Thread Brad Wood
Thanks Dinner.  
I found this page:
http://livedocs.adobe.com/coldfusion/7/htmldocs/0352.htm

Which confirms some of what you said.

It appears that cfprocessingdirective only applies if I am returning an
entire page of nothing but xml and want the encoding of the whole page
to be modified.  I am just creating a variable with cfxml.

They also show using cfsavecontent, but I'm a but confused, because even
if you do that it appears you can't get away from using the replace
function to replace UTF-8 with whatever you want, which to me is about
the lamest thing I could imagine.  
Here is what is says:

"To convert an XML document object back into a string, use the ToString
function, at which time ColdFusion automatically prepends the  XML declaration"

 So apparently I have NO CHOICE OR CONTROL over the encoding of my
xml doc at the time of its creation.  (Why can't you just do "  

 WTF, over?  What if my xml string happens to contain the name of an
encoding type within it and I DON'T want it to be replaced?

Even in their example using cfxml wrapped in a cfsavecontent, they STILL
do the replace().  That just doesn't seem right.  

I want my money back.

~Brad


-Original Message-
From: Dinner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 13, 2007 7:19 PM
To: CF-Talk
Subject: Re: setting xml encoding



Or 

I think.

See (cf 6):
 http://preview.tinyurl.com/yuqgva

Or more recent docs

On 6/13/07, Brad Wood wrote:
> Hey, this ties back to my post the other day



~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: OO style - dynamic set & get methods

2007-06-14 Thread Nathan Strutz
Rob,

This is a great question, and one to ponder for a while, no doubt.

Programmatically, there's nothing wrong with this approach. It works just
how you want it to.

Now let's think about what that's doing. Your CFC is just acting like a
collection in this case. This is basically how a map object works, a basic
collection in Java. put(), get(), size(), etc. If you're going to do that,
why not just use a collection object. There's a great one you can leech from
Model-Glue's CFCs, or you can literally use a java collection object (they
have a wide selection). However, think a little deeper - this is just a
coldfusion Struct. struct.key = value, #struct.key#, structCount(), etc. Why
don't you just have a public struct on your CFC? Well because that breaks
encapsulation.

Aha, encapsulation. If your CFC has a get() and set() function, and you
, you (or another developer, and hopefully
not the end user), can put any kind of odd value in your CFC's local
storage. Even if you limit it to strings only, you can still be surprised by
an odd string (abc123xyz=nathan, who knows?). Explicit getters and setters
keep the peace here.

The only other thing I can think of is keeping with your convention. If you
have some objects with, say, exactly 3 fields always, or objects that do
something when you get or set a value, you'll want to use a getter/setter
like getName() or something. If your application is 50% getters & setters
and 50% get(key), set(key,value), you've lost your standard convention, and
you have to introspect (or view the source on) every CFC to make sure you're
doing it right.

Of course there arguments the other way. For instance a config object with
an unknown or ever-changing number of params it reads from a database or xml
file would not be as helpful to you if you had to constantly add and remove
getters and setters every time you needed to add and remove parameters from
your evolving application. For this case alone I think I would use the
universal set()/get() methods, or maybe just a plain old struct ;)


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


On 6/14/07, Rob O'Brien <[EMAIL PROTECTED]> wrote:
>
> So, I'm just starting to go into OO-style CF development and I have a
> quick
> theory question... Mind you, this is brand new to me, so be gentle.
>
> When setting up my Location Bean, I started to go through each of the
> individual variables and created a get() and set() method for each of
> them.
> I got about halfway through and decided that I was tired of creating
> repetitive functions. I thought to myself, why can't I just create simple,
> dynamic get() and set() functions to handle all of these variables
> dynamically?
>
> Rather than setName(value), why not setVar("Name",value)?
>
> Since these methods are inherently dumb (nothing but a cfset and a
> cfreturn
> as I've seen implemented), why does it matter that I have an individual
> method for each? Validation would come in an additional business layer
> anyway.
>
> I guess I'm looking for pros/cons. This seems like a more dynamic, elegant
> way to set/get, but I'd like to know where the pitfalls are.
>
> Thanks!
> Rob
>
>
> 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


RE: OO style - dynamic set & get methods

2007-06-14 Thread Jonathon Stierman
Why code by hand when computers can do it for you? :)

http://rooibos.maestropublishing.com/

It seems to be standard to be using the full method sets.  I believe
ColdSpring searches your CFCs for getters and setters. So if you wanted to
use ColdSpring (and probably some other frameworks), you should either have
those getters/setters or have the attributes able to be passed in the
constructor.

Jonathon


-Original Message-
From: Rob O'Brien [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 14, 2007 1:51 PM
To: CF-Talk
Subject: OO style - dynamic set & get methods

So, I'm just starting to go into OO-style CF development and I have a quick
theory question... Mind you, this is brand new to me, so be gentle.

When setting up my Location Bean, I started to go through each of the
individual variables and created a get() and set() method for each of them.
I got about halfway through and decided that I was tired of creating
repetitive functions. I thought to myself, why can't I just create simple,
dynamic get() and set() functions to handle all of these variables
dynamically?

Rather than setName(value), why not setVar("Name",value)?

Since these methods are inherently dumb (nothing but a cfset and a cfreturn
as I've seen implemented), why does it matter that I have an individual
method for each? Validation would come in an additional business layer
anyway. 

I guess I'm looking for pros/cons. This seems like a more dynamic, elegant
way to set/get, but I'd like to know where the pitfalls are.

Thanks! 
Rob




~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Translation WebService

2007-06-14 Thread Michael Eger
Can anyone recommend a translation web site (preferable free), which can be 
called as a web service or by cfhttp calls? The goal would be to pass in text 
to the service and get translated text back, which could then be stored in a 
database for use in a prototype. Some websites such as Google language tools or 
Babel Fish allow for free translation of a small amount of text via a form, but 
limit the number of times you can use them and do not appear to support remote 
calls. There used to be a web service available from www.xmethods.net called 
BabelFish, which essentially accomplished exactly what I am hoping to achieve, 
but this is no longer supported. Ben Forta even used this web service as an 
example in an article he wrote about calling remote web services.

Any links or ideas would be appreciated.
-- Mike

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


CFJS 1.1.6 Released

2007-06-14 Thread Christopher Jordan
Just wanted to let any interested folks know that CFJS 1.1.6 has been 
released. As always, the latest version is available from the SVN 
repository on RIAForge.org. I've also blogged about the changes 
.

Cheers everyone!
Chris

-- 
http://www.cjordan.us



~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281179
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 sessions with Flash Remoting

2007-06-14 Thread Dave Watts
> Given that that is the case and I have no way of knowing the 
> browser closed, I have a function (defined in a .cfc) called 
> by flash that basically loops for a while and returns some 
> data (or it times out and then returns an empty record set). 
> As soon as I get this response, I send out a new request from 
> flash. So I'm thinking that whenever a client closes their 
> browser that they will be in the middle of this call, waiting 
> for a response. Make sense? I'm also guessing that there may 
> be an error thrown here when CF tries to return the results 
> to a client that doesn't exist anymore. Can I catch this error 
> in Application.onError and tell CF to end the session?

I don't think you'll get an error here, actually. But even if you did, you
don't really need to worry about killing the session, since the client won't
make any subsequent requests. If you're calling this function frequently,
you can set the session timeout to be very short, say five minutes.

> This could probably be a new post, but what I'd really like 
> to learn is a decent way to monitor the events in 
> Application.cfc. As it stands, the browser window is closed, 
> so how do I view any trace/ debug statements coming from 
> those events?

Use CFLOG to write them to a file.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


RE: Dynamically populate a select box within a PDF form.

2007-06-14 Thread Dave Watts
> I'm not sure if this is possible, and have been looking for 
> examples without luck. One of my clients have requested the 
> ability to post products to their website via a PDF form. My 
> question is, can I dynamically populate a select box on the 
> PDF form from the websites database. Would this be possible 
> by creating a web service and linking the PDF form to it? If 
> any one has had experience of this, I would greatly 
> appreciate your help.

Yes, you can. You will have to create your PDF using LiveCycle Designer,
which is bundled with Acrobat Professional. You can invoke web services from
XFA-compliant PDFs (LiveCycle Designer creates these). If you're writing the
web service in ColdFusion, you will need to publish your service as
document/literal rather than rpc/encoded. I think this requires CF 7 or
7.0.1, I forget which:



Within your PDF, you will have to create a data binding to the WSDL file of
your service, then bind the drop-down box field to the response object
corresponding to your web service call. To initiate the request, you can use
a button and hook the request to it, then set the button to control type
"Execute". Alternatively, you can execute your web service request using
JavaScript and the appropriate XFA DOM event handler - off the top of my
head, I have no idea what that would be. You'll want to read the topic
"Executing a web service operation" in the Adobe LiveCycle Designer Help.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Is <noscript> the answer??

2007-06-14 Thread Rey Bango
Gotcha. While I'll still advocate the progressive enhancment technique, 
if you have control over your environment, you should be fine using 
NOSCRIPT.

But honestly Will, try to avoid inline JS as much as possible a consider 
binding events dynamically. It will increase your apps maintainability. 
There's a great book called BulletProof Ajax which has an excellent 
chapter on progressive enhancement. Its by the writer of this post:

http://adactio.com/journal/959

Some other good reads are:

http://vanderwal.net/random/entrysel.php?blog=1770
http://www.domscripting.com/blog/display/41

Hope that helps man. Any questions, please don't hesitate to ask.

Rey...

Will Tomlinson wrote:
> I should've elaborated more in my post Rey. 
> 
> It's in an administration area and I know exactly the type of users that'll 
> be working with my system.
> 
> My AJAX selects will never be seen by anyone else using the site. 
> 
> Thanks much,
> Will
> 
>  
> 
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


RE: Server Cluster

2007-06-14 Thread Peterson, Chris
 To chime in on this:  I don't believe you would need to purchase
multiple copies of CF for virtualized servers, only one per *physical*
server, with up to 2 max CPU's.

Since the license for CF is for 1-2 CPU's, running it on an unlimited
number of VM's residing on a single physical server (dual CPU dual or
quad core) would still conform to the license.
Of course, you would need to go beefy to properly support anything more
than 2 - 3 instances of windows / CF, but 8 gigs of ram would be cheaper
than 4 copies of CF Enterprise =)

With your example, run 4 virtual servers on a dual CPU quad core system,
and software licensing would be (4) windows at $2000 and 1 CF enterprise
at $6000.  Also, I believe the next version of Windows server will
support 'virtualized' instances right out of the box, and would share
the same OS code for each virtual machine.  This would remove the
necessity for multiple windows instances. I really think virtual servers
sharing a license would be the way to go for CF hosting I think, have a
beefy machine with relatively small VM's so each user has a 'dedicated'
server to play with, and pay for only 1 CF license =)

Chris Peterson


Nathan Strutz wrote:
> First off, licensing - windows 2003 web edition costs around $500 last
I
> checked, though I don't track the virtualization pricing schemes.
ColdFusion
> Standard edition is about $1300 and ColdFusion Enterprise weighs in at
> $6000. CF is always licensed to physical CPU pairs (dual cores count
as 1
> CPU).
> 
> To go the CF Enterprise way, If you have 4 servers, 2 processors each,
> you'll buy 4 Windows licenses, and 4 CF enterprise licenses. - cost:
> $26,000.

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


Re: Is <noscript> the answer??

2007-06-14 Thread Will Tomlinson
>That should be the solution, you can also add a  tag within the
>no-script that will redirect you to another page, very useful.
>
>MD

Excellent idea Mark! thanks!

Will

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Is <noscript> the answer??

2007-06-14 Thread Will Tomlinson
I should've elaborated more in my post Rey. 

It's in an administration area and I know exactly the type of users that'll be 
working with my system.

My AJAX selects will never be seen by anyone else using the site. 

Thanks much,
Will

 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


OO style - dynamic set & get methods

2007-06-14 Thread Rob O'Brien
So, I'm just starting to go into OO-style CF development and I have a quick
theory question... Mind you, this is brand new to me, so be gentle.

When setting up my Location Bean, I started to go through each of the
individual variables and created a get() and set() method for each of them.
I got about halfway through and decided that I was tired of creating
repetitive functions. I thought to myself, why can't I just create simple,
dynamic get() and set() functions to handle all of these variables
dynamically?

Rather than setName(value), why not setVar("Name",value)?

Since these methods are inherently dumb (nothing but a cfset and a cfreturn
as I've seen implemented), why does it matter that I have an individual
method for each? Validation would come in an additional business layer
anyway. 

I guess I'm looking for pros/cons. This seems like a more dynamic, elegant
way to set/get, but I'd like to know where the pitfalls are.

Thanks! 
Rob


~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: Is <noscript> the answer??

2007-06-14 Thread Will Tomlinson
>Will - is this an internal type system, where you know exactly who will be 
>using it, and can help them enable JS if they need it?  

Exactly. I know the users, it's in an administration area. That's the main 
reason I was thinking noscript would be good nuff. 

I probably should've elaborated a bit more in my post. 

Thanks,
Will

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: cfqueryparam error in cfmx 6.01

2007-06-14 Thread Jochem van Dieten
[EMAIL PROTECTED] wrote:
> 
> This is on RHE with CFMX 6.01 and an Oracle 10g DB

> and rms.mrkt_sctr_id in (#variables.mrkt_sctr#)

This should not work for a varchar, only for a numeric or date datatype.

> If I do this:
> 
> and rms.mrkt_sctr_id in ( list="yes" separator="," value="#variables.mrkt_sctr#">)

But here you use a varchar.

What datatype is mrkt_sctr_id?
Are there any empty list elements?

Jochem

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


cfqueryparam error in cfmx 6.01

2007-06-14 Thread owner
I get an error in the result set when using cfqueryparam in a SQL "IN"
statement.

This is on RHE with CFMX 6.01 and an Oracle 10g DB

In this instance, the query should have returned 8 records...as confirmed
using SQL Navigator

This works fine regardless of the number of prameters inthe list contained
in variables.mrkt_sctr:

and rms.mrkt_sctr_id in (#variables.mrkt_sctr#)

If I do this:

and rms.mrkt_sctr_id in ()

I only get 7 results(debug info says seven and there are only 7 records
listed)...the results that would have been generated by the second
parameter in the list of market sectors is ignored int he results. If a
3rd market sector is added, I see the results of the 1st 2 market sector
id's...but the 3rd is ignored. If I put the query (as output by the CF
debug info) into SQL Navigator and replace the ?'s withthe actual
values...I get the appropriate number of results. IF you look at the
results on the webpage, the results that would have been generated by the
3rd parameter are missing.

There is nothing else in the code that would limit the number of rows
rerturned by the query.

Any Ideas?

Thanks
Eric Roberts
Owner/ColdFusion Developer
Three Ravens Consutling
http://www.threeravensconsulting.com


~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: Is the answer??

2007-06-14 Thread Jochem van Dieten
Will Tomlinson wrote:
> Since I'm using AJAX for a dropdown menu system, is the best way to deal with 
> js-disabled browsers to just use:
> 
> Please enable Javascript to view this page properly blah 
> blah
> 
> I tested and it seems to work. Just wonderin' if I'm missin' somethin'. 

How about users that can not use Javascript? Mobile devices, perhaps 
people with screen readers or braille displays.

Jochem

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Is the answer??

2007-06-14 Thread Josh Nathanson
> Please enable Javascript to view this page properly blah 
> blah

Will - is this an internal type system, where you know exactly who will be 
using it, and can help them enable JS if they need it?  It seems from your 
other postings that this is the case, and that you've designed the system to 
be dependent on JS/Ajax - using the multiple selects related type stuff.

If this is not the case, and you can't depend on them having JS, then you'll 
have to do a fair bit of refactoring to make the system work ok in case of 
JS disabled.  In other words, js disabled users would have to do a form 
submit/page refresh to populate each successive select menu, rather than 
using ajax to do it without page refresh.

-- Josh 


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Error converting data type varchar to int.

2007-06-14 Thread Jochem van Dieten
Robert Rawlins - Think Blue wrote:
> 
> [Macromedia][SQLServer JDBC Driver][SQLServer]Error converting data type
> varchar to int.
> 
> This is a snippet of the query details thrown back in the error, it simple
> takes 3 parameters, the first is an integer and the second 2 are
> strings/varchar.
> 
> (param 1) = [type='IN', class='java.lang.Integer', value='1',
> sqltype='cf_sql_integer'] , (param 2) = [type='IN',
> class='java.lang.String', value='07C67BA421500B791090E92F4C3D7032',
> sqltype='cf_sql_varchar'] , (param 3) = [type='IN',
> class='java.lang.String', value='D5534BDE55CAB29E3932D6CE4F211C34',
> sqltype='cf_sql_varchar']
> 
> The param java types appear to match the cf_sql_type. These types also match
> those defined inside the stored proc and the table columns, I can't see
> what's causing this issue.

If you don't include the stored procedure and CFML code neither can we :)

Jochem

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Error converting data type varchar to int.

2007-06-14 Thread Robert Rawlins - Think Blue
Hello guys,

 

I've got a stored proc that enters information into a table on my SQL Server
database, and I'm getting the following error message when trying to run it.

 

[Macromedia][SQLServer JDBC Driver][SQLServer]Error converting data type
varchar to int.

 

This is a snippet of the query details thrown back in the error, it simple
takes 3 parameters, the first is an integer and the second 2 are
strings/varchar.

 

(param 1) = [type='IN', class='java.lang.Integer', value='1',
sqltype='cf_sql_integer'] , (param 2) = [type='IN',
class='java.lang.String', value='07C67BA421500B791090E92F4C3D7032',
sqltype='cf_sql_varchar'] , (param 3) = [type='IN',
class='java.lang.String', value='D5534BDE55CAB29E3932D6CE4F211C34',
sqltype='cf_sql_varchar']

 

The param java types appear to match the cf_sql_type. These types also match
those defined inside the stored proc and the table columns, I can't see
what's causing this issue.

 

Any ideas?

 

Thanks,

 

Rob



~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: Is the answer??

2007-06-14 Thread Rey Bango
I agree with Steve on this. Writing unobtrusive JS that degrades 
gracefully is the way to go.

Rey

Cutter (CFRelated) wrote:
> I personally would prefer to provide for graceful degradation in some 
> way. In the noscript use a nested unordered list to layout your entire 
> menu structure. If JS is disabled, or you have a blind user using a text 
> based browser, the that user can still navigate through the site.
> 
> Steve "Cutter" Blades
> Adobe Certified Professional
> Advanced Macromedia ColdFusion MX 7 Developer
> _
> http://blog.cutterscrossing.com
> 
> Will Tomlinson wrote:
>> Since I'm using AJAX for a dropdown menu system, is the best way to deal 
>> with js-disabled browsers to just use:
>>
>> Please enable Javascript to view this page properly blah 
>> blah
>>
>> I tested and it seems to work. Just wonderin' if I'm missin' somethin'. 
>>
>> Thanks,
>> Will
>>
>>
> 
> 

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Is the answer??

2007-06-14 Thread Mark Drew
That should be the solution, you can also add a  tag within the
no-script that will redirect you to another page, very useful.

MD

On 6/14/07, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> Since I'm using AJAX for a dropdown menu system, is the best way to deal with 
> js-disabled browsers to just use:
>
> Please enable Javascript to view this page properly blah 
> blah
>
> I tested and it seems to work. Just wonderin' if I'm missin' somethin'.
>
> Thanks,
> Will
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Is the answer??

2007-06-14 Thread Cutter (CFRelated)
I personally would prefer to provide for graceful degradation in some 
way. In the noscript use a nested unordered list to layout your entire 
menu structure. If JS is disabled, or you have a blind user using a text 
based browser, the that user can still navigate through the site.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Will Tomlinson wrote:
> Since I'm using AJAX for a dropdown menu system, is the best way to deal with 
> js-disabled browsers to just use:
> 
> Please enable Javascript to view this page properly blah 
> blah
> 
> I tested and it seems to work. Just wonderin' if I'm missin' somethin'. 
> 
> Thanks,
> Will
> 
> 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Is the answer??

2007-06-14 Thread Will Tomlinson
Since I'm using AJAX for a dropdown menu system, is the best way to deal with 
js-disabled browsers to just use:

Please enable Javascript to view this page properly blah 
blah

I tested and it seems to work. Just wonderin' if I'm missin' somethin'. 

Thanks,
Will

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Error with Attempt to Consume Web Service

2007-06-14 Thread Anne Porosoff
I've encountered a rather maddening error while attempting to consume a web 
service.  The error is as follows:

Could not perform web service invocation "login". Here is the fault returned 
when invoking the web service operation:  
org.apache.xerces.parsers.ObjectFactory$ConfigurationError: Provider 
org.apache.xerces.parsers.XML11Configuration could not be instantiated: 
org.apache.xerces.impl.dv.DVFactoryException: DTD factory class 
org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from 
DTDDVFactory. The error occurred on line 13.

I have tried calling the web service straight up by doing the following:

http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl";>

http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: reReplaceNoCase() problem from a newbie, please help

2007-06-14 Thread Jide Aliu
No you understood perferctly thanks very much. The second bit of your iteration 
actually saved the day as I was messing about with CFSavecontent. I've actually 
tweaked the code a bit because I am actually only after the file name. See 
below;


]*>", 
"hardcoded 
 ", "all")>

That's me done for now many thanks.

Jide

>Unless I misunderstand...
>
>rereplace(dataContent, "", "Href=""\1"">hardcoded FormalName=""hardcoded""/> />", "all")
>
>.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
>Bobby Hartsfield
>http://acoderslife.com
>
>
>-Original Message-
>From: Jide Aliu [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, June 14, 2007 10:44 AM
>To: CF-Talk
>Subject: Re: reReplaceNoCase() problem from a newbie, please help
>
>Thanks Bobby for taking time out for the solution, that did the trick. It's
>the start of my problem on the solution though how would you go about
>reReplacing the same item with the tags below in a body of text/string. Is
>it at all possible or should I be looking at something different from Regex?
>
>
>hardcoded  FormalName="hard coded"/>
>
>So instead of isolating the the image name like I did below REReplaceNoCase(dataContent,
>"]*>", "\4", "ALL")>
>I want to take the image name and insert it into the Href="BlissStarWars_15.jpg"> with all the accompanying tags
>
>
>> Try this one out.
>> 
>> rereplace(dataContent, "", "\1",
>> "all")
>> 
>..

>Unless I misunderstand...
>
>rereplace(dataContent, "", "Href=""\1"">hardcoded FormalName=""hardcoded""/> />", "all")
>
>.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
>Bobby Hartsfield
>http://acoderslife.com
>
>
>-Original Message-
>From: Jide Aliu [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, June 14, 2007 10:44 AM
>To: CF-Talk
>Subject: Re: reReplaceNoCase() problem from a newbie, please help
>
>Thanks Bobby for taking time out for the solution, that did the trick. It's
>the start of my problem on the solution though how would you go about
>reReplacing the same item with the tags below in a body of text/string. Is
>it at all possible or should I be looking at something different from Regex?
>
>
>hardcoded  FormalName="hard coded"/>
>
>So instead of isolating the the image name like I did below REReplaceNoCase(dataContent,
>"]*>", "\4", "ALL")>
>I want to take the image name and insert it into the Href="BlissStarWars_15.jpg"> with all the accompanying tags
>
>
>> Try this one out.
>> 
>> rereplace(dataContent, "", "\1",
>> "all")
>> 
>..

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: reReplaceNoCase() problem from a newbie, please help

2007-06-14 Thread Jide Aliu
No you understood perferctly thanks very much. The second bit of your iteration 
actually saved the day as I was messing about with CFSavecontent. I've actually 
tweaked the code a bit because I am actually only after the file name. See 
below;


]*>", 
"hardcoded 
 ", "all")>

That's me done for now many thanks.

Jide

>Unless I misunderstand...
>
>rereplace(dataContent, "", "Href=""\1"">hardcoded FormalName=""hardcoded""/> />", "all")
>
>.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
>Bobby Hartsfield
>http://acoderslife.com
>
>
>-Original Message-
>From: Jide Aliu [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, June 14, 2007 10:44 AM
>To: CF-Talk
>Subject: Re: reReplaceNoCase() problem from a newbie, please help
>
>Thanks Bobby for taking time out for the solution, that did the trick. It's
>the start of my problem on the solution though how would you go about
>reReplacing the same item with the tags below in a body of text/string. Is
>it at all possible or should I be looking at something different from Regex?
>
>
>hardcoded  FormalName="hard coded"/>
>
>So instead of isolating the the image name like I did below REReplaceNoCase(dataContent,
>"]*>", "\4", "ALL")>
>I want to take the image name and insert it into the Href="BlissStarWars_15.jpg"> with all the accompanying tags
>
>
>> Try this one out.
>> 
>> rereplace(dataContent, "", "\1",
>> "all")
>> 
>..

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Dynamically populate a select box within a PDF form.

2007-06-14 Thread Jason Congerton
Hi

I'm not sure if this is possible, and have been looking for examples without 
luck. One of my clients have requested the ability to post products to their 
website via a PDF form. My question is, can I dynamically populate a select box 
on the PDF form from the websites database. Would this be possible by creating 
a web service and linking the PDF form to it? If any one has had experience of 
this, I would greatly appreciate your help.

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


RE: Invalid Parser Construct

2007-06-14 Thread Dave Watts
> I have been using CF (pretty sporadically) for anout 5 years 
> now and I am embarrassed to admit to never quite getting my 
> head around when to use the hash signs.

If you're using a ColdFusion expression within a string, and you want to
output the value of the expression, use hashes. Otherwise, don't.




Or


This is also a string, of course, so if I want to output an
expression, I'll need hashes: #thisvar#

The one exception I can think of to this is the CFDUMP tag.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


RE: reReplaceNoCase() problem from a newbie, please help

2007-06-14 Thread Bobby Hartsfield
Unless I misunderstand...

rereplace(dataContent, "", "hardcoded  ", "all")

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-Original Message-
From: Jide Aliu [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 14, 2007 10:44 AM
To: CF-Talk
Subject: Re: reReplaceNoCase() problem from a newbie, please help

Thanks Bobby for taking time out for the solution, that did the trick. It's
the start of my problem on the solution though how would you go about
reReplacing the same item with the tags below in a body of text/string. Is
it at all possible or should I be looking at something different from Regex?


hardcoded  

So instead of isolating the the image name like I did below ]*>", "\4", "ALL")>
I want to take the image name and insert it into the  with all the accompanying tags


> Try this one out.
> 
> rereplace(dataContent, "", "\1",
> "all")
> 
...
> :.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
> 
> -Original Message-
> From: Jide Aliu [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 14, 2007 5:46 AM
> To: CF-Talk
> Subject: reReplaceNoCase() problem from a newbie, please help
> 
> I have a body of text, in the body of text I want to replace all image 
> tags with the value of the src attribute, so for example below
> 
> "This is the body it can be as long as 8,000 character but within the 
> body here is the image tag  src="/uploads/allfiles/Image/BlissStarWars_15.jpg" width="200"/> and 
> here I go blah blah another image tag with a different value in the 
> src attribute  src="/uploads/allfiles/Image/245.jpg" width="200"/>"
> 
> All I want to do is to replace the  tags with the src value which 
> is BlissStarWars_15.jpg for the first image tag encountered and 245.
> jpg for the second image tag. I have tried using the code below 
> without any joy at all.
> 
>  *?)['|"].*?>','\1','ALL')>
> 



~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: Invalid Parser Construct

2007-06-14 Thread Martin Carroll
Hi Tom

I have been using CF (pretty sporadically) for anout 5 years now and I am 
embarrassed to admit to never quite getting my head around when to use the hash 
signs.  I seem to remember when I first starting using CF reading an article by 
Ben Forta on this subject, I really should try and look that article up again.

Cheers

Martin


> On Thursday 14 Jun 2007, Martin Carroll wrote:
> > 
> > worked in both versions of CF.
> 
> Just a style point, but you don't need the hash signs.
> 
> -- 
> Tom Chiverton
> Helping to adaptively harness error-free markets
> on: http://thefalken.livejournal.com
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in 
> England and Wales under registered number OC307980 whose registered 
> office address is at St James's Court Brown Street Manchester M2 2JF.  
> A list of members is available for inspection at the registered office. 
> Any reference to a partner in relation to Halliwells LLP means a 
> member of Halliwells LLP. Regulated by the Law Society.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above 
> and may be confidential or legally privileged.  If you are not the 
> addressee you must not read it and must not use any information 
> contained in nor copy it nor inform any person other than Halliwells 
> LLP or the addressee of its existence or contents.  If you have 
> received this email in error please delete it and notify Halliwells 
> LLP IT Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.

~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Invalid Parser Construct

2007-06-14 Thread Tom Chiverton
On Thursday 14 Jun 2007, Martin Carroll wrote:
> 
> worked in both versions of CF.

Just a style point, but you don't need the hash signs.

-- 
Tom Chiverton
Helping to adaptively harness error-free markets
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread Tom Chiverton
On Thursday 14 Jun 2007, LHWH Interactive wrote:
> related) Eclipse "projects" are somewhat analogous to Dreamweaver's
> "sites"?

Yup.

-- 
Tom Chiverton
Helping to evangelistically implement plug-and-play designs
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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


~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


RE: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread Dave Watts
> Awesome Dave. Thanks for the reply. That's what I was hoping 
> to be able to do. Then, when I get Eclipse running, I'll just 
> point my "New Projects" to the "ColdFusion8/wwwroot" folder, 
> right?

Yes, I think that should work. Honestly, I don't use Eclipse for CF
generally, although I'll probably start doing so more since I'm using
Eclipse for LiveCycle and Flex.

> If I'm understanding this correctly (and I'm sorry to drift 
> from "IIS on Vista" over to "How to start with Eclipse" but 
> for me this is all related) Eclipse "projects" are somewhat 
> analogous to Dreamweaver's "sites"?

Yes, they're somewhat analogous. 

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281150
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 sessions with Flash Remoting

2007-06-14 Thread John Robinson
On Jun 14, 2007, at 11:12 AM, Dave Watts wrote:

>> onRequest... mine looks like this, but if I leave it in
>> Application.cfc, remoting fails altogether:
>>
>> 
>>
>> 
>
> You can't use onRequest with Flash Remoting or SOAP.

Ok! I won't ask why, but it's one for the archives I guess :)

>
>> I'm also using J2EE sessions, which somewhere in the docs I
>> thought it said "the session will end when the user closes
>> the window" but that's not what I'm seeing. It always waits
>> until the session has timed-out before ending. Am I missing
>> something?
>
> The session ends when it times out, period. When the user closes  
> the window,
> the session cookie which is used to associate that browser with a  
> session is
> deleted, but the session itself still exists - the server has no  
> way of
> knowing that the browser won't make another request.

This makes perfect sense. Sadly I was reading the docs that get  
installed with CF, and not looking at the comments on livedocs, which  
explain exactly what you said.

Given that that is the case and I have no way of knowing the browser  
closed, I have a function (defined in a .cfc) called by flash that  
basically loops for a while and returns some data (or it times out   
and then returns an empty record set). As soon as I get this  
response, I send out a new request from flash. So I'm thinking that  
whenever a client closes their browser that they will be in the  
middle of this call, waiting for a response. Make sense? I'm also  
guessing that there may be an error thrown here when CF tries to  
return the results to a client that doesn't exist anymore. Can I  
catch this error in Application.onError and tell CF to end the session?

This could probably be a new post, but what I'd really like to learn  
is a decent way to monitor the events in Application.cfc. As it  
stands, the browser window is closed, so how do I view any trace/ 
debug statements coming from those events?

Thanks,
John



> 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!
>


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


Re: Structures... How Do I properly write this?

2007-06-14 Thread Qasim Rasheed
Use this












HTH

On 6/14/07, Che Vilnonis <[EMAIL PROTECTED]> wrote:
>
> I fixed my typo but I'm still getting errors with the code below. The
> error
> I now get reads: "Element 1 is undefined in a CFML structure referenced as
> part of an expression."
>
> I'm sure this is a simple fix... What am I missing?
>
>
> -Original Message-
> Basically, I have nested structures. I want to check if the nested
> structure
> exists first. If it does not exist, then I'll create it. Then I want to
> check if the nested structure's "tickler" value is "Y". Obviously, my cfif
> logic is not correct. Thanks!
>
> 
> 
> 
>
> 
>
> 
> 
>
> 
>  xmlcontent.message.items.item[x].ord_qty.xmlText />
>  xmlcontent.message.items.item[x].unit_price.xmlText />
> 
>
> 
>
> 
>
> 
>
>
> 

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread LHWH Interactive
On 6/14/07, Dave Watts <[EMAIL PROTECTED]> wrote:
> There's no reason you have to use IIS for CF 8. The easiest thing would be
> to install CF 8 with the built-in JRun web server. Alternatively, you could
> create another IIS virtual server and hook CF 8 up to that. Ideally, if
> you're running CF 7 and 8 on the same machine, you'd install them as two
> JRun instances within the same JRun server configuration, but that frankly
> would be somewhat painful if you didn't already have the multiserver version
> installed.

Awesome Dave. Thanks for the reply. That's what I was hoping to be
able to do. Then, when I get Eclipse running, I'll just point my "New
Projects" to the "ColdFusion8/wwwroot" folder, right?

If I'm understanding this correctly (and I'm sorry to drift from "IIS
on Vista" over to "How to start with Eclipse" but for me this is all
related) Eclipse "projects" are somewhat analogous to Dreamweaver's
"sites"?

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Invalid Parser Construct

2007-06-14 Thread Martin Carroll
Hi Adrian

Thanks for the input.

Your response got me thinking and the problem was that the "#Target1 * 
multiplyBy#" was in quotes.  I had been making changes to the system and 
previously it wasn't a calculation just an assignment (i.e. ="#Target1#"). 

So changing it to 



worked in both versions of CF.

I now have to see what (if anything) the other changes I have made throw up 
with regard to the CFMX7 v CF5 differences.

Thanks again.

Martin


>I'm not sure you could do evaluations like that in CF5...
>
>#Target1 * multiplyBy#
>
>Try...
>
>
>
>Adrian
>
>-Original Message-
>From: Martin Carroll [mailto:[EMAIL PROTECTED]
>Sent: 14 June 2007 14:21
>To: CF-Talk
>Subject: Re: Invalid Parser Construct
>
>
>I have just found out that they are running CF Version 5!
>
>Martin
>
>> Martin

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


RE: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread Dave Watts
> Is it the same sort of convoluted setup to run CF8 on Vista 
> as well?

I would imagine so, but haven't tried yet myself.

> Only reason I ask is because I was considering trying to get 
> the beta running on the same machine

There's no reason you have to use IIS for CF 8. The easiest thing would be
to install CF 8 with the built-in JRun web server. Alternatively, you could
create another IIS virtual server and hook CF 8 up to that. Ideally, if
you're running CF 7 and 8 on the same machine, you'd install them as two
JRun instances within the same JRun server configuration, but that frankly
would be somewhat painful if you didn't already have the multiserver version
installed.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread Tom Chiverton
On Thursday 14 Jun 2007, LHWH Interactive wrote:
> Is it the same sort of convoluted setup to run CF8 on Vista as well?

Check the support matrix, but I think it is supported.
-- 
Tom Chiverton
Helping to paradigmatically coordinate enterprise models
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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


~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281144
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 sessions with Flash Remoting

2007-06-14 Thread Dave Watts
> onRequest... mine looks like this, but if I leave it in 
> Application.cfc, remoting fails altogether:
> 
> 
>
> 

You can't use onRequest with Flash Remoting or SOAP.

> I'm also using J2EE sessions, which somewhere in the docs I 
> thought it said "the session will end when the user closes 
> the window" but that's not what I'm seeing. It always waits 
> until the session has timed-out before ending. Am I missing 
> something?

The session ends when it times out, period. When the user closes the window,
the session cookie which is used to associate that browser with a session is
deleted, but the session itself still exists - the server has no way of
knowing that the browser won't make another request.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Re: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread LHWH Interactive
On 6/14/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> On Thursday 14 Jun 2007, LHWH Interactive wrote:
> > It's odd that there's no mention of this on Adobe's web site... that
> > was the first place I went, but there was nothing I could find on IIS7
> > and Vista in the CF Support knowledgebase...
>
> As I understand it, it's not officially supported.

Well, that certainly would explain it.

Dave, it worked like a charm. Got it up and running. You're a life saver.

Is it the same sort of convoluted setup to run CF8 on Vista as well?
Or would you just set that up as a standalone server? Am I correct in
assuming that this series of steps was really because I was running CF
under IIS, and if I installed CF8 using the standalone server setting,
using the wwwroot in the ColdFusionMX folder instead of the
Inetpub/wwwroot I wouldn't have to go thru these steps?

Only reason I ask is because I was considering trying to get the beta
running on the same machine, and try to set up Eclipse to give myself
an opportunity to try and move from DW to Eclipse with CF8, and now
I'm a little gunshy about trying it. I was thinking it'd be a nice
time to try and move from CF7 with Dreamweaver to CF8 with Eclipse,
but I wanted to maintain my ability to quickly work and deploy pages
for sites that I currently have to maintain on a daily basis. So I was
hoping for a little "overlap" for the next month or two...

Is that possible?

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281142
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 sessions with Flash Remoting

2007-06-14 Thread John Robinson
Woot! I finally got it working, thanks to Sean's insight. There are a  
few issues still that I'm not sure about.. namely:

onRequest... mine looks like this, but if I leave it in  
Application.cfc, remoting fails altogether:


   
   


I'm also using J2EE sessions, which somewhere in the docs I thought  
it said "the session will end when the user closes the window" but  
that's not what I'm seeing. It always waits until the session has  
timed-out before ending. Am I missing something?

Thanks for all the help so far!
john




~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


Re: Conditional SQL

2007-06-14 Thread Jochem van Dieten
James Smith wrote:
>> I don't think that is a very good solution. Not only can this not use 
>> any indexes, it will also not match "Friends Season 7 - Complete Series" 
>> because the order of the words doesn't match.
> 
> I was originally breaking the string and doing several 'and's. I do need to
> look into "Full Text Indexing" but I haven't used it before, any good
> reference sites as a starting point?

Full text searching is so implementation specific that you might as well 
start with the manual.

Jochem

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: reReplaceNoCase() problem from a newbie, please help

2007-06-14 Thread Jide Aliu
Thanks Bobby for taking time out for the solution, that did the trick. It's the 
start of my problem on the solution though how would you go about reReplacing 
the same item with the tags below in a body of text/string. Is it at all 
possible or should I be looking at something different from Regex?


hardcoded



So instead of isolating the the image name like I did below 
]*>", "\4", "ALL")> I 
want to take the image name and insert it into the  with all the accompanying tags


> Try this one out.
> 
> rereplace(dataContent, "", "\1", 
> "all")
> 
..
> :.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
> 
> -Original Message-
> From: Jide Aliu [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 14, 2007 5:46 AM
> To: CF-Talk
> Subject: reReplaceNoCase() problem from a newbie, please help
> 
> I have a body of text, in the body of text I want to replace all image 
> tags with the value of the src attribute, so for example below
> 
> "This is the body it can be as long as 8,000 character but within the 
> body here is the image tag  src="/uploads/allfiles/Image/BlissStarWars_15.jpg" width="200"/> and 
> here I go blah blah another image tag with a different value in the 
> src attribute  src="/uploads/allfiles/Image/245.jpg" width="200"/>"
> 
> All I want to do is to replace the  tags with the src value which 
> is BlissStarWars_15.jpg for the first image tag encountered and 245.
> jpg for the second image tag. I have tried using the code below 
> without any joy at all.
> 
>  *?)['|"].*?>','\1','ALL')>
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


RE: Securing Datasources

2007-06-14 Thread Dave Watts
> Ok well that's well worth know Dave, thanks. How can I best 
> protect my shell? The server has a pretty tidy firewall on 
> it, albeit a shared one, the server also isn’t used for 
> anything other than the db and serving my ColdFusion apps 
> and email.

The only way to protect the database server from being vulnerable to
successful exploits against your web server is to put it on a separate
machine.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread Tom Chiverton
On Thursday 14 Jun 2007, LHWH Interactive wrote:
> It's odd that there's no mention of this on Adobe's web site... that
> was the first place I went, but there was nothing I could find on IIS7
> and Vista in the CF Support knowledgebase...

As I understand it, it's not officially supported.

-- 
Tom Chiverton
Helping to globally seize world-class markets
on: http://thefalken.livejournal.com



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

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

CONFIDENTIALITY

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

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


~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread LHWH Interactive
On 6/14/07, Dave Watts <[EMAIL PROTECTED]> wrote:
> You don't want to add a MIME type. From your error message:
>
> "Warning: Do not create a MIME map for content
> that users should not download, such as .ASPX pages or
> ..config files."

Ahh... thanks for pointing that out...

> You don't want CFML pages to be downloaded directly. Instead, you want IIS 7
> to know to send requests for CF pages to the CF server for handling.
>
> http://thefalken.livejournal.com/45759.html

Perfect Dave, thank you so much. I'll give this a try. If I have any
problems or questions, I'll let you know.

It's odd that there's no mention of this on Adobe's web site... that
was the first place I went, but there was nothing I could find on IIS7
and Vista in the CF Support knowledgebase... Again, thanks much.

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


RE: Securing Datasources

2007-06-14 Thread Robert Rawlins - Think Blue
Ok well that's well worth know Dave, thanks. How can I best protect my shell? 
The server has a pretty tidy firewall on it, albeit a shared one, the server 
also isn’t used for anything other than the db and serving my ColdFusion apps 
and email.

Thanks,

Rob

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: 14 June 2007 14:58
To: CF-Talk
Subject: RE: Securing Datasources

> Lol, Hilarious analogy, is it really -THAT- bad having them 
> on the same box?

Yes. Your database can be directly accessed from the shell. The database
files can be accessed directly.

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!

This email has been processed by SmoothZap - www.smoothwall.net




~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


BUMP: Nested CFQuery calls - breaks why?

2007-06-14 Thread Ian Skinner
This is a follow up to my post on why one SQL statement works and
another one did not.

 

This issue seems to be that the main  tag included a call
to an UDF to create some of the values in the statement.  Depending on
the parameter passed into this UDF, it sometimes also made a  call.  This apparently confuses the Cold Fusion server and it
throws a database error about not finding the table or view of the main
query, even though it returns a completely syntacatally correct SQL
statement in the error message.

 

Is this a know issues?  Is it something I should not expect to be able
to do?  

 

The work around was not to onerous, I just had to call the UDF before
the main  and set its return value to a local variable that
I then used in the following  tag.  But I do like to
understand the whys and wherefores and not just rely on, "Because that
is the way it is ..."


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



~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


RE: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread Dave Watts
> In the IIS admin, I can clearly see that it's relatively easy 
> to add a MIME type, and it's pretty self explanatory, but the 
> part I'm lacking is the actual MIME type string. I tried 
> "application/octet-stream" but that just prompted me to 
> download the page.

You don't want to add a MIME type. From your error message:

"Warning: Do not create a MIME map for content 
that users should not download, such as .ASPX pages or 
..config files."

You don't want CFML pages to be downloaded directly. Instead, you want IIS 7
to know to send requests for CF pages to the CF server for handling.

http://thefalken.livejournal.com/45759.html

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


RE: Securing Datasources

2007-06-14 Thread Dave Watts
> I disagree a little on that. Since if you store the password 
> in the CF admin, every application on the server can access 
> the datasource with the necessary rights. Whereas when you 
> use username and password inside cfquery, at least the 
> different web applications can not access all datasources 
> except if the proper username and password is used. And here 
> also lie the benefits of the attributecollection attribute in 
> CF8 and Railo 2 that allow you to define general username and 
> password for i.e. cfquery tags.

If all the applications on the machine belong to the same
organization/person/whatever, it doesn't matter. If the username and
password are embedded within your code, they can likely easily be retrieved
from that code.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


RE: Securing Datasources

2007-06-14 Thread Dave Watts
> Lol, Hilarious analogy, is it really -THAT- bad having them 
> on the same box?

Yes. Your database can be directly accessed from the shell. The database
files can be accessed directly.

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!

This email has been processed by SmoothZap - www.smoothwall.net


~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


RE: Invalid Parser Construct

2007-06-14 Thread Adrian Lynch
I'm not sure you could do evaluations like that in CF5...

#Target1 * multiplyBy#

Try...



Adrian

-Original Message-
From: Martin Carroll [mailto:[EMAIL PROTECTED]
Sent: 14 June 2007 14:21
To: CF-Talk
Subject: Re: Invalid Parser Construct


I have just found out that they are running CF Version 5!

Martin

> Hi 
> 
> I have a problem running some CF on a hosted system.  It works OK 
> locally (CFMX 7, I am trying to find out exactly what version the 
> hosting company is using).
> 
> The code that works locally is
> 
> 
> 
> This gets the 'Invalid Parser Construct' message .
> 
> Any suggestions as to what the problem is.
> 
> Cheers
> 
> Martin

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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


RE: reReplaceNoCase() problem from a newbie, please help

2007-06-14 Thread Bobby Hartsfield
Try this one out.

rereplace(dataContent, "", "\1", "all")

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: Jide Aliu [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 14, 2007 5:46 AM
To: CF-Talk
Subject: reReplaceNoCase() problem from a newbie, please help

I have a body of text, in the body of text I want to replace all image tags 
with the value of the src attribute, so for example below

"This is the body it can be as long as 8,000 character but within the body here 
is the image tag  and here I go 
blah blah another image tag with a different value in the src attribute "

All I want to do is to replace the  tags with the src value which is 
BlissStarWars_15.jpg for the first image tag encountered and 245.jpg for the 
second image tag. I have tried using the code below without any joy at all.

','\1','ALL')>



~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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


RE: Structures... How Do I properly write this?

2007-06-14 Thread Che Vilnonis
I fixed my typo but I'm still getting errors with the code below. The error
I now get reads: "Element 1 is undefined in a CFML structure referenced as
part of an expression."

I'm sure this is a simple fix... What am I missing?


-Original Message-
Basically, I have nested structures. I want to check if the nested structure
exists first. If it does not exist, then I'll create it. Then I want to
check if the nested structure's "tickler" value is "Y". Obviously, my cfif
logic is not correct. Thanks!






















~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


  1   2   >