Re: Flat File as a Database?

2009-01-26 Thread Brian Love
Not sure if this got mentioned already, but there are DBs that run off a single 
file, such as sqlite.  I found sqlite incredibly fast and easy to use with 
Adobe Air.  There is also a jdbc sqlite connection, so talking to it with CF is 
cake.  Not sure if that will qualify in your case (as a flat? file) but thought 
I would mention it.

-Brian 

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

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


Re: cfmail + gmail

2008-09-30 Thread Brian Love
Adrian:

Direct from Google's config instructions:

17. Enter smtp.gmail.com as the Server Name and set the Port to 587.
18. Select User name and password and enter your full email address (including 
@gmail.com or @your_domain.com) in the User Name field.
19. Select TLS from the Use secure connection radio buttons and click OK.

You need to use TLS - only CF8 or above I think.  Can authenticate to 
smtp.gmail.com without it?  I don't think you need SSL, as that is only if you 
are connecting to imap.gmail.com (again, according to config instructions).

We use cfmail with Google Apps, works great except sometimes we get connection 
issues.


Can anyone say whether useTLS=true and/or useSSL=true are needed in
cfmail to send via a Google hosted email account?

The following works for me:

cfmail
   server=smtp.gmail.com
   port=465
   username=#VARIABLES.username#
   password=#VARIABLES.password#
   useSSL=true
Message/cfmail

But blog posts I've read say useTLS is needed.

Does specifying the port change anything?

Adrian Lynch
http://www.halestorm.co.uk/
http://www.adrianlynch.co.uk/ 

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

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


Re: JavaScript cftextarea with rich text

2008-04-23 Thread Brian Love
Steve:
  The rich text editor that CF8 uses is FCKEditor.  You should read up on the 
JavaScript API to determine how to get the value located here:

http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/JavaScript_API

  You will of course first need to obtain the underlying FCKEditor instance 
using ColdFusion.RichText.getEditorObject(textareaname).  I am pretty sure this 
was added in CF 8.0.1, so you will most likely need to have the update to use 
this.

Brian


 I am trying to check whether or not a rich text textarea has a value 
 in JavaScript. On a normal textarea box I can just use the elementname.
 value == '' but that is not working when I have rich text turned on.
 
 Anyone have any ideas how to check it when rich text is on?
 
 Thanks! 


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

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


Re: cfdocument not working with CF 8.0.1 update

2008-04-08 Thread Brian Love
Dave:
  Here is the stack trace, thanks!

java.lang.AbstractMethodError: 
coldfusion.document.DocumentExporter.export([Lice/storm/Viewport;Lcoldfusion/document/spi/DocumentProperties;Lcoldfusion/document/spi/HeaderFooterContentProvider;Lcoldfusion/document/spi/HeaderFooterContentProvider;Lcoldfusion/document/spi/PageNoCallbackHandler;Ljava/net/URL;)V
at 
coldfusion.document.DocumentFrame.exportContent(DocumentFrame.java:162)
at 
coldfusion.document.DocumentProcessor.processContent(DocumentProcessor.java:276)
at 
coldfusion.document.DocumentProcessor.processContent(DocumentProcessor.java:163)
at 
coldfusion.tagext.lang.DocumentTag.processContent(DocumentTag.java:1479)
at 
coldfusion.tagext.lang.DocumentTag._processContent(DocumentTag.java:1382)
at coldfusion.tagext.lang.DocumentTag.doAfterBody(DocumentTag.java:1340)
at 
cftoc2ecfm1498671522.runPage(/home/brian/domains/brianflove.com/public_html/public/cfpdf/toc.cfm:8)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at 
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273)
at 
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at 
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:175)
at 
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at 
coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at 
coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at 
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Brian



  Hello:

 
  I am attempting to create a PDF document on a server that was 
  recently updated to CF 8.0.1, and cannot create a basic pdf.
  
  Code:
  
  cfdocument format=PDF filename=test.pdf 
  overwrite=truetest/cfdocument
  
  Error:
  
  An exception occurred when performing document processing.
  The cause of this exception was that: java.lang.AbstractMethodError: 
 
  coldfusion.document.DocumentExporter.
export([Lice/storm/Viewport;Lcoldfusion/document/spi/DocumentProperties;Lcoldfusion/document/spi/Heade
 rFooterContentProvider;Lcoldfusion/document/spi/HeaderFooterContentPr 
 ovider;Lcoldfusion/document/spi/PageNoCallbackHandler;Ljava/net/URL;)V.
 
  
  (I can provide stack trace if that helps)
  
  Environment:
  
  Server Product   ColdFusion
  Version 8,0,1,195765 
  Edition Standard
  Operating System UNIX 
  OS Version 2.6.9-67.0.1.ELsmp (CentOs)
  
  Unfortunately, I have never attempting using cfdocument before on 
 
  this 
  server, so I cannot confirm/deny that this error is due to CF 8.0.1 
 
  updater.  I have checked permissions, and everything looks good.
  
  Any help would be appreciated!
 Brian
 
 Post the stack trace.
 
 ~D 


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

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


Re: cfdocument not working with CF 8.0.1 update

2008-04-08 Thread Brian Love
Folks:
  Just to confirm this for anyone else interested on the list.  Yes, this did 
resolve the issues I was having with cfdocument.  After removing the hotfix 
lib, everything worked great.  Thanks for all the help, I would have never even 
thought about this

Thanks,
Brian



 Rupesh,
 To confirm, you not saying he should un-install the 8.01 
 updater, but instead another ColdFusion Hotfix he had 
 manually applied before the updater was released.  Is that correct?

I'm not Rupesh, but yes, that's what he's saying. You simply have to delete
the JAR file containing the hotfix from the /lib directory.

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

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/ 

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

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


cfdocument not working with CF 8.0.1 update

2008-04-07 Thread Brian Love
Hello:
I am attempting to create a PDF document on a server that was 
recently updated to CF 8.0.1, and cannot create a basic pdf.

Code:

cfdocument format=PDF filename=test.pdf 
overwrite=truetest/cfdocument

Error:

An exception occurred when performing document processing.
The cause of this exception was that: java.lang.AbstractMethodError: 
coldfusion.document.DocumentExporter.export([Lice/storm/Viewport;Lcoldfusion/document/spi/DocumentProperties;Lcoldfusion/document/spi/HeaderFooterContentProvider;Lcoldfusion/document/spi/HeaderFooterContentProvider;Lcoldfusion/document/spi/PageNoCallbackHandler;Ljava/net/URL;)V.
(I can provide stack trace if that helps)

Environment:

Server Product   ColdFusion
Version 8,0,1,195765 
Edition Standard
Operating System UNIX 
OS Version 2.6.9-67.0.1.ELsmp (CentOs)

Unfortunately, I have never attempting using cfdocument before on this 
server, so I cannot confirm/deny that this error is due to CF 8.0.1 
updater.  I have checked permissions, and everything looks good.

Any help would be appreciated!
Brian

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

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


Re: Open Source RIA mail client needed

2008-04-04 Thread Brian Love
Dave:
  I use roundcube for my email client (yes, its PHP) and love it.  It uses a 
similar interface to Thunderbird (including drag-drop of emails into folders, 
etc..); however, does not include calendaring.

-Brian

PHP is fine as well. Actually PHP would be perfect. 

Does it have to be programmed in CF, or will PHP be acceptable?

-Mike Chabot

On Fri, Apr 4, 2008 at 10:23 AM, Bosky, Dave [EMAIL PROTECTED]
wrote:
privileged and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you
are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited.  If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer.  Thank you.
 **


 

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

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


ColdFusion 8.0.1 updater ZIP file

2008-04-04 Thread Brian Love
I have downloaded the CF 8.0.1 updater zip file for Linux several times, and it 
appears that the zip file is corrupt.  Anyone else having trouble extracting 
the zip archive? 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302752
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 8.0.1 updater ZIP file

2008-04-04 Thread Brian Love
Kris:
Thanks for the suggestion, I will have to try this as well.  Of 
course, I first attempted this on my server using the unzip command, and 
get the following message:

Archive:  coldfusion-801-lin_updater.zip
warning [coldfusion-801-lin_updater.zip]:  69730304 extra bytes at 
beginning or within zipfile
  (attempting to process anyway)

Appears to me that there is something wrong with the file.  I also 
ran md5sum against the zip file, and it matched perfectly, so the 
downloaded file is not corrupted.

-Brian

Kris Jones wrote:
 On windows, try using pkzip instead of the built-in windows unpacking.
 Long path/filenames will mess with the windows implementation.
 As for linux... ??

   
 I just downloaded the CF8 'Developer Edition' and had problems
  uncompressing it.  When I double clicked it, I was immediately prompted
  to select another location to unpack it to.  It doesn't matter to which
  directory I point it, I can't get past that alert.
 

 

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

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


Re: Variable problems

2008-04-02 Thread Brian Love
Brian:

  Thanks for posting this here, I had never heard of it before.  I'm not 
positive, but this should help out with using  Sortable.serialize() from the 
script.aculo.us library, which posts data using array notations:

key[]=value pairs separated by 

  I'm def going to try this out!  Its amazing how many great resources are out 
there that I just don't know about.  Thanks for sharing!

Brian


 RIAForge has this link but it might be useful to post it here so what 
 this
 does is totally clear:
 
 http://www.briankotek.com/blog/index.
cfm /2007/9/4/Implicit-Creation-of-Arrays-and-Structures-from-Form-Fields
 
 On Wed, Apr 2, 2008 at 11:58 AM, Brian Kotek [EMAIL PROTECTED] 
 wrote:
 
  Or he could use my FormUtils library which automatically converts 
 any
  arbitrary collection of form fields into corresponding structures, 
 arrays,
  arrays of structs, etc. I created it for exactly this reason. :-)
 
  http://formutils.riaforge.org/index.cfm
 
 
 
 


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

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


Anyone using a Web Application Firewall (WAF)??

2008-03-31 Thread Brian Love
Hello:
  I am just trying to poll the CF community to determine if anyone else has 
implemented a Web Application Firewall before.  We are currently looking into 
purchasing one, perhaps from Breach, Barracuda, or Imperva.  I am looking for 
any suggestions or comments on:

- Brand or product that was purchased and installed
- Ease of implementation
- Maintenance
- Any other experience or suggestions.

  Also, feel free to comment on any other solutions you might be using, such as 
the open source projects: mod_security for Apache or AQTronix for IIS

TIA,
Brian 

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

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


Re: many JS libraries are out there, which one for CF8 is the question.

2008-03-20 Thread Brian Love
Sorry I meant GUI. Something like what spry extnesions do in DW. Do we have
something like that for JQuery?
Thanks
Ali

On Thu, Mar 20, 2008 at 11:25 PM, Claude Schneegans 
[EMAIL PROTECTED] wrote:



Im not sure exactly what you're looking for here - but I do know that most of 
your JS libraries have some form of an IDE to work with, mostly within Eclipse. 
 Obviously Aptana has a JS editor that works with a majority of the JS 
libraries out there.  The only problem with Aptana is some are out-of-date; 
i.e. the Ext library in Aptana is still on 1.1.  However, you can read about 
some other options for Ext on Jack's blog at: 
http://jackslocum.com/blog/2008/02/07/ides-plugins-and-tools-for-extjs-20/ 

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

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


Re: many JS libraries are out there, which one for CF8 is the question.

2008-03-20 Thread Brian Love
I can't believe that no one has mentioned Prototype and scriptaculous yet - 
especially since they have the largest market share, and arguably the largest 
backing by communities such as the RoR community.  These libraries are great, 
there are lots of documentation and tutorials for using them, and tons of 
additional projects and plugins that work with them.  If you are just getting 
started in the world of JS - start with Prototype and Script.aculo.us - you'll 
love the power and syntactical sugar =) 

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

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


Re: Website Statistics Recommendations

2008-03-13 Thread Brian Love
I use mint and really like it, plus it has a plugin interface, so you can write 
your own plugin (PHP) or download any of the third-party plugins.  You can get 
it at haveamint.com

-Brian

All:

 

Can anyone recommend a website statistics (log analyzer or otherwise)
package that can work with dynamic content and URLs?  That is, it should be
able to differentiate between page.cfm?id=123 and page.cfm?id=456 and,
ideally, even allow you to assign titles to each of the pages.

 

Thanks.

 

--

Mosh Teitelbaum

evoch, LLC

Tel: (301) 942-5378

Fax: (301) 933-3651

Email: [EMAIL PROTECTED]

WWW: http://www.evoch.com/ 

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

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


Re: universal data retention laws

2008-02-11 Thread Brian Love
Richard:
  the only law I can think of would be SOX (Sarbanes-Oxley) or HIPPA.  However, 
these apply to public and health care companies.  My guess is if you don't know 
of any of these guidelines or laws, then they don't apply to you - another 
words, you'd probably know if you had to..

Brian

 Hi 
 
 just wondering if anyone knows of any 'universal' data rentention 
 guidelines or laws for us to make sure our sites are compliant with 
 them. 
 
 or does anyone have any good practice guidelines we could follow.
 
 also for anyone in Europe, is there any EU directives on data 
 retention - i have heard there are but i cannot find anything. i have 
 found EU directives on data renention for communication companies but 
 not general guidelines or laws
 
 thanks very much for your help with this
 
 richard 


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

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


Re: CFFTP list folder with leading numbers issue

2007-11-08 Thread Brian Love
Todd:
  Thanks for the reply.  Yep, I'm doing just a straight list, and then dumping 
the query object.  If I change the name to 2006_budgets instead of 2006 
budgets it works just fine, meaning it returns 2006_budgets.

  It appears that this problem is only when there is a space between the 
leading numbers and the text characters.  Also, I have tried all sorts of 
combinations with different leading numbers and the output is the same.  There 
doesn't appear to be an issue with trailing numbers or any other combination, 
including a folder whose name is just numbers.  The problem seems to only be 
effected by a folder whose name begins with numbers, followed by a space, 
followed by text.

Thanks,
Brian


You're 100% sure you're just doing a straight list and you're not doing any
preprocessing the name?

What happens when you change the folder to 2006_budgets?

On Nov 7, 2007 2:23 PM, Brian Love [EMAIL PROTECTED] wrote: 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Re: CFFTP list folder with leading numbers issue

2007-11-08 Thread Brian Love
Todd:
  Yep, forwarded this on to Damon... we'll see what happens next.

Thanks,
Brian


I'd report it to Adobe then.

On Nov 8, 2007 8:17 AM, Brian Love [EMAIL PROTECTED] wrote: 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Re: greying out part of a form

2007-11-08 Thread Brian Love
Toby:
  You can do this using the disabled property of the form elements, which can 
be set on page load using the disabled attribute of the form element tag or 
programmatically using JavaScript to set the value to true or false.

Hope this helps,
Brian

 Hi there
 
 I have a form which I am getting users to complete.
 
 Based on the result of choosing various options on the form I would 
 like somehow to grey out sections on the form (basically so that if a 
 user selects on option they then go on to fill the appropriate section 
 of the form and the other area is greyed out and cant be used).
 
 Thanks in advance 


~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Ajax and ColdFusion

2007-11-08 Thread Brian Love
You should look at the Sortable class as part of script.aculo.us - definitely a 
much better approach than the old up/down arrows!

Best,
Brian

 In my form I am trying to implement Up/Down movement and store the 
 changes into 
 database without refreshing the page. In order to accomplish this I 
 would like 
 tio use Ajax . 
 So that what I came up with 
 Hidden variable: 
 
 cfoutput input type=hidden Name=FieldsSave 
 id=FieldsSave/cfoutput
 2 buttons 
 
 input type=button id=moveUp name=moveUp value=MoveUp 
 onclick=javascript:Field_up(document.category.categorylist,document.
 category.FieldsSave)
 
 input type=button id=moveDown name=moveDown value=moveDown 
 onclick=javascript:Field_down(document.category.categorylist,document.
 category.FieldsSave)
  
 
 The functions assosiated withing the function 
 function Field_up(lst,lstSave) {
 var i = lst.selectedIndex;
 if (i0) Field_swap(lst,i,i-1);
 SetFields(lst,lstSave);
 }
 function Field_down(lst,lstSave) {
 var i = lst.selectedIndex;
 if (ilst.length-1) Field_swap(lst,i+1,i);
 SetFields(lst,lstSave);
 
 }
 function Field_swap(lst,i,j) {
 var t = '';
 t = lst.options[i].text; lst.options[i].text = lst.options[j].text; 
 lst.options[j].text = t;
 t = lst.options[i].value; lst.options[i].value = lst.options[j].value; 
 
 lst.options[j].value = t;
 t = lst.options[i].selected; lst.options[i].selected = lst.options[j].
 selected; 
 lst.options[j].selected = t;
 t = lst.options[i].defaultSelected; lst.options[i].defaultSelected = 
 lst.options[j].defaultSelected; lst.options[j].defaultSelected = t;
 //lst.focus();
 
 } 
 
 function SetFields(lst,lstSave) {
 var t;
 lstSave.value=;
 for (t=0;t=lst.length-1;t++)
 lstSave.value+=String(lst.options[t].value)+,;
 //lst.focus();
 if (lstSave.value.length0)
 lstSave.value=lstSave.value.slice(0,-1);
 } 
 
 The CF server file:
 cfparam name=form.FieldsSave default=
 cfif isDefined(form.moveUp) or isDefined(form.moveDown)
 cfset Order=1
 cfloop list=#Form.FieldsSave# index=field
 cfquery name=SetOrder datasource=XXX
 UPDATE trnAcademicProgramCategory
 SET categorySort = #Order#
 WHERE  categoryId=#field# and schoolCode='#session.schoolcode#'
 /cfquery
 cfset Order = Order + 1
 /cfloop
 /cfif 


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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


CFFTP list folder with leading numbers issue

2007-11-07 Thread Brian Love
I have been using CFFTP to successfully implement a file browser that easily 
enforces local file/folder permissions because the CFFTP client connects and 
authenticates as the user that is logged in.  It was really quite simple and 
straightforward (thanks CF!).  However... I have run into a small issue with 
folders whose name begins with a number.

For example, lets say you have folder named 2006 budgets and query the parent 
folder using cfftp action=list ... to obtain a query of all files and 
folders.  The 2006 budgets folder will be returned by CF as just budgets - 
it strips off the leading numbers.

Has anyone ever run into this problem before?  We didn't notice this until just 
now, and we are running CF8.  Not sure if this is also true for CF7 and 
earlier.  Is this a known issue of CFFTP?  TIA for any help/suggestions... 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

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