Re: SOT: Problems with CF9 Mac Install W/Mamp

2010-12-17 Thread Stefan Richter

FWIW I am running CF9 on OSX with MAMP so maybe my post will help:

http://www.flashcomguru.com/index.cfm/2009/11/2/cf9-mamp-snowleopard

Cheers 

Stefan





 
 On Dec 16, 2010, at 9:15 PM, Gerald Guido gerald.gu...@gmail.com wrote:
 
 
 I have a nice shiny Mac Pro and CF9 and/or Apache is being difficult. The
 web connector ran fine but I am DL'ing index.cfm as a file when I try to hit
 http://localhost/cfide/administrator/index.cfm. I am also getting a 403
 message when I hit the root with out specifying index.cfm if that is of any
 matter. Everything else (php and html files) works fine. The apache error
 log did to show anything.
 
 On linux a reboot usually fixes the problem with DL'ing index.cfm but I have
 tried restarting CF, Apache and rebooting to no avail. I Googled  it and
 could not find anything that helped.
 
 I am 2 days into being a Mac owner so I am a total noob. Though I do know my
 way around Linux/LAMP if that helps any.
 
 Fresh patched OSX 10.6 install
 Mamp 1.9.4
 
 Any suggestions would be greatly appreciated
 
 Thanx
 G!

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


SOT: FireFTP - Upload appends files instead of overwrites?

2010-12-17 Thread Will Tomlinson

I ran into a bizarre issue last night where FireFTP wouldn't overwrite my 
Application.cfc. The site started erroring with invalid tokens. 

When I viewed the code on the live server, I noticed the Application.cfc had 
been appended to with as many cfcomponent tags as I had uploaded the files. I 
had like six cfcomponent tags in my Application.cfc. hehehe I was tipped 
off when I saw that the file sizes kept growing as I made my uploads. 

I checked my FireFTP settings and didn't see anything that jumped out. Has 
anyone seen this behavior before?

Thanks,
Will 

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


Database query - match 1 or more zeros

2010-12-17 Thread Ian Skinner

  I have a varchar field that can (shouldn't, but can) contain a 
variable number of zero[0] characters.

I want to return all rows where this field only contains zeros, no 
matter how many zeros it may contain.

Due to too much holiday potluck, my lethargic brain can not produce even 
a glimmer of an idea of a concept for this.

TIA for any suggestions or guidance.

Ian


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


Re: CF to Salesforce.com API?

2010-12-17 Thread greg h

Hi Dave,

I am following up on your post from May
2009http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:59366where
you wrote:

Code samples will follow soon

Is there a link where code samples can be downloaded?

Thank you for the
slideshttp://figleaf.acrobat.com/cfobjective2009/cfsalesforce
!

I am starting a project for user group communities using ColdFusion with
Salesforce (integrating with data from groups.adobe.com).  Thank you for
highlighting stumbling blocks in your slides from cf.Objective.  I hope we
can get off to a much faster start knowing what you have highlighted.  And
also thanks to Tom de Manincor's
Salesforce.cfchttp://salesforcecfc.riaforge.org/(which your slides
also highlight).

Best regards,

g


On Thu, May 14, 2009 at 11:43 AM, Dave Watts dwa...@figleaf.com wrote:


  I'm guessing that the API is technology neutral (Java, PHP, CF, etc.)
 since
  it accepts WSDL/SOAP requests. Is this accurate?

 Yes, although CF's default web services interface is a little too
 simple to do everything you need directly. That said, you can do it
 all from CF; I'm giving a presentation on how to do this in about five
 minutes here at cf.Objective. The URL for the presentation is here:

 http://figleaf.mmalliance.acrobat.com/cfobjective2009/cfsalesforce/

 Code samples will follow soon.

 Basically, the big problems are:
 - you have to use SOAP headers (not really a big problem),
 - you have to dynamically change the endpoint (this isn't a big
 problem once you figure out how to do it,
 - you have to use the Java stub classes to create new records, etc

  I'm also weighing a build or buy decision with regard to a data connector
  between Salesforce and our ERP system (Pervasive SQL database). If I have
 a
  working knowledge of SSIS, do I really need to spend the money for a
  connector?

 Probably not, but it's a question of how much time you want to sink
 into it as well.

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



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


Installing CF9

2010-12-17 Thread Chad Baloga

We are upgrading our web servers with new 64bit Win2k8 Machines.  We only run 1 
instance of Coldfusion.  Is it best to stay with the standard install or 
install CF with the multi instance install.  We have no plans to have multiple 
instances but was wondering if there were any advantages.  Thanks 

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


Re: Database query - match 1 or more zeros

2010-12-17 Thread David McGraw

Can you cast is as a numeric value, all entries with '' should turn into
0, while anything with number becomes Null?  then you simply check WHERE
CAST() = 0

Regards,
David McGraw
Oyova Software, LLC - http://www.oyova.com


On Fri, Dec 17, 2010 at 2:18 PM, Ian Skinner h...@ilsweb.com wrote:


  I have a varchar field that can (shouldn't, but can) contain a
 variable number of zero[0] characters.

 I want to return all rows where this field only contains zeros, no
 matter how many zeros it may contain.

 Due to too much holiday potluck, my lethargic brain can not produce even
 a glimmer of an idea of a concept for this.

 TIA for any suggestions or guidance.

 Ian


 

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


Re: The INSERT statement conflicted with the FOREIGN KEY constraint

2010-12-17 Thread Pete Freitag

This error probably means that the value you are trying to insert into
a  foreign key column does not correspond to an actual row, I am
guessing that it is this line:

cfprocparam
   type=In
   cfsqltype=CF_SQL_INTEGER
   dbvarname=intMemberIDUpdate
   value=0

Since the value of 0 does not correspond to a valid memberID.

If you have a foreign key constraint setup the proper way to handle
such as case would be to use a null value instead of a zero.  Or
remove the constraint if you really need to store a zero in there.

--
Pete Freitag
http://foundeo.com/ - ColdFusion Consulting  Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure?



On Thu, Dec 16, 2010 at 2:16 PM, Monique Boea moniqueb...@gmail.com wrote:

 Hello All.

 I have a stored proc that when I execute it from SQL server mgmt studio, it
 works fine. But when I try to execute it in CF, I get the following error:

 *Error Executing Database Query. [Macromedia][SQLServer JDBC
 Driver][SQLServer]The INSERT statement conflicted with the FOREIGN KEY
 constraint*

 Here is my code:

 cfstoredproc procedure=spmembersII_savegroups datasource=#request.dsn#
 returncode=yes
          cfprocparam
                type=In
                cfsqltype=CF_SQL_INTEGER
                dbvarname=intInstitutionID
                value=541
          cfprocparam
                    type=In
                    cfsqltype=CF_SQL_INTEGER
                    dbvarname=intMemberID
                    value=10008
          cfprocparam
            type=In
            cfsqltype=CF_SQL_VARCHAR
            dbvarname=strStages
            value=
                      cfprocparam
            type=In
            cfsqltype=CF_SQL_INTEGER
            dbvarname=intMemberIDUpdate
            value=0
          cfprocresult name=enrollmentquestions
        /cfstoredproc

 Any suggestions?


 

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


Re: Database query - match 1 or more zeros

2010-12-17 Thread Michael Grant

I think regex is the way to go for you.
WHERE field = [0]* I think would work.

On Fri, Dec 17, 2010 at 2:18 PM, Ian Skinner h...@ilsweb.com wrote:


  I have a varchar field that can (shouldn't, but can) contain a
 variable number of zero[0] characters.

 I want to return all rows where this field only contains zeros, no
 matter how many zeros it may contain.

 Due to too much holiday potluck, my lethargic brain can not produce even
 a glimmer of an idea of a concept for this.

 TIA for any suggestions or guidance.

 Ian


 

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


Re: Database query - match 1 or more zeros

2010-12-17 Thread Ian Skinner

  On 12/17/2010 11:41 AM, Michael Grant wrote:
 I think regex is the way to go for you.
 WHERE field = [0]* I think would work.

Thanks, that was the seed of the idea I needed.
WHERE REGEXP_LIKE(grower_id, '0+')

I just changed it to 0+ because I wanted to match one or more zeros
NOT zero or more zeros, which I expect would have matched ALL rows.




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


Re: Database query - match 1 or more zeros

2010-12-17 Thread Michael Grant

Perfect!
Yeah I suck at regex.

On Fri, Dec 17, 2010 at 2:55 PM, Ian Skinner h...@ilsweb.com wrote:


  On 12/17/2010 11:41 AM, Michael Grant wrote:
  I think regex is the way to go for you.
  WHERE field = [0]* I think would work.

 Thanks, that was the seed of the idea I needed.
 WHERE REGEXP_LIKE(grower_id, '0+')

 I just changed it to 0+ because I wanted to match one or more zeros
 NOT zero or more zeros, which I expect would have matched ALL rows.




 

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


question for jquery experts here

2010-12-17 Thread fun and learning

hi All -

I am using the following jquery script to hover and click on table rows:

$(.simplehighlight).click(function() {
$(this).children().addClass('clicked');

$(this).siblings().children().removeClass('clicked');
});

$(.simplehighlight).hover(function() {
$(this).children().css('backgroundColor', '#ffdc87');
}, function() {
$(this).children().css('backgroundColor', '');
});

'simplehighlight' is the class name of a tr. The script works fine in 
Firefox, but the problem comes with IE8. I have around 20 to 25 columns, and 
For hover, it takes some milliseconds to catch up with the cursor, and with 
click, it takes around two seconds. Any suggestions on this?

I am asking this question in this forum, because lot of Coldfusion developers 
use jquery. So trying my luck here too.


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


Re: mySQL administration

2010-12-17 Thread Russ Michaels

Well you can of course us the free mysql admin tools provided by mysql, or
there arenumerous alternatives.

Navicat is very good
Sqlyog is very popular but quite basic
Numerous others if you google the subject

Russ

On 10 Dec 2010 03:53, Rob Voyle robvo...@voyle.com wrote:


Hi Folks

I have mySQL running on my website and want to run it on Windows Vista
desktop computer to pilot and test web pages.

Any recommendations on a way to create and administer databases without
having to use the command line. On my website I have phpMyAdmin.

Can that be run on a local computer?

Rob
Robert J. Voyle, Psy.D.
Director, Clergy Leadership Institute
For Coaching and Training in Appreciative Inquiry
Author: Restoring Hope: Appreciative Strategies
to Resolve Grief and Resentment
http://www.appreciativeway.com/
503-647-2378 or 503-647-2382







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


Re: CFDOCUMENT and Images

2010-12-17 Thread Russ Michaels

The problem often is so many other people using cfdocument or cfimage on a
shared host and it causes problems. Too much memory gets used and cf never
seems to recover, maybe a gc problem, who knows, but it is a common problem
and the host cannot tune cf or java to any specific app as there are many.
Basically if you are doing a lot of image or document generation then you
are better off with your own vps.

On 10 Dec 2010 01:35, Michael Grant mgr...@modus.bz wrote:


This happens all to one of my cf8 apps a shared server we're on. It uses
cfdocument to create a few hundred invoices with images a day. It will be
working fine for about a week then all of a sudden it won't finish creating
the pdf's. I've tried all the fixes that have been listed for the problem
and it's always just come down to calling up the host and pleading with them
to restart the cf service. They do, and then we're good for another week.




On Thu, Dec 9, 2010 at 11:25 AM, Monique Boea moniqueb...@gmail.com wrote:


 Hi All.

 The...
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339957

Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.hous...


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


Re: Files Management Question

2010-12-17 Thread Russ Michaels

That looks very nice, good find

On 9 Dec 2010 19:14, Rick Root rick.r...@gmail.com wrote:


What about this?

http://coldfusionfilemanager.riaforge.org/

http://coldfusionfilemanager.riaforge.org/Again, you'd probably have to
make some mods, I'm not familiar with this project.

Rick



On Thu, Dec 9, 2010 at 12:46 PM, Kamru Miah k.m...@csl.gov.uk wrote:


 Thanks
 It would be n...
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339941

Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.hous...


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


Re: CF8 / Windows 7 - ODBC services not starting

2010-12-17 Thread David Moore

Mathew,

Did uninstalling and reinstalling the ODBC Drivers fix the issue? I am having 
the same problem. 

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


Re: ColdFusion 8 ODBC Server Errors

2010-12-17 Thread David Moore

Meghna,

I am getting the same error message and CF is locking up so badly all I can do 
is reboot my server. What did you find, if any, is the solution? 

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


Re: ColdFusion 8 ODBC Server Errors

2010-12-17 Thread David Moore

Meghna,

I am getting the same error message and CF is locking up so badly all I can do 
is reboot my server. What did you find, if any, is the solution? 

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


Re: Installing CF9

2010-12-17 Thread Wil Genovese

As long as you have the Enterprise version you are best off installing in 
multi-instance mode.  This leaves you the most flexible for future needs.


Wil Genovese
Sr. Web Application Developer/
Systems Administrator
651-894-4238
wilg...@trunkful.com
www.trunkful.com

On Dec 17, 2010, at 9:57 AM, Chad Baloga wrote:

 
 We are upgrading our web servers with new 64bit Win2k8 Machines.  We only run 
 1 instance of Coldfusion.  Is it best to stay with the standard install or 
 install CF with the multi instance install.  We have no plans to have 
 multiple instances but was wondering if there were any advantages.  Thanks 
 
 

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


Re: Tutorial on creating this pagination?

2010-12-17 Thread Adam Parker

Please excuse my ignorance as I've never used a CFC either.

My cfm page is:

!---Get poems---
cfquery name=qGetPoems datasource=myDSN
SELECT id, poemTitle, average FROM PoetryContest2010 order by id asc
/cfquery

cfset pagination = createObject(component, Pagination).init() /
cfset pagination.setQueryToPaginate(qGetPoems) /
cfset pagination.setItemsPerPage(25) /
cfset pagination.setUrlPageIndicator(page) /
cfset pagination.setShowNumericLinks(true) /

#pagination.getRenderedHTML()#
cfoutput query=qGetPoems startrow=#pagination.getStartRow()# 
maxrows=#pagination.getMaxRows()#
   li#id# - #poemTitle#/li
/cfoutput
#pagination.getRenderedHTML()#



The Pagination.cfc is located in a directory one level deep in the root 
directory in a folder called components.  The above code is on a cfm page two 
levels deep in the root directory.

The ids and poem titles show, but #pagination.getRenderedHTML()# literally 
shows and is not interpreted by CF.  What am I doing wrong?

Thank you. 

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


Re: Tutorial on creating this pagination?

2010-12-17 Thread Michael Grant

You need to wrap this #pagination.getRenderedHTML()# in this
cfoutput/cfoutput

On Fri, Dec 17, 2010 at 3:54 PM, Adam Parker adgpa...@iupui.edu wrote:


 Please excuse my ignorance as I've never used a CFC either.

 My cfm page is:

 !---Get poems---
 cfquery name=qGetPoems datasource=myDSN
SELECT id, poemTitle, average FROM PoetryContest2010 order by id asc
 /cfquery

 cfset pagination = createObject(component, Pagination).init() /
 cfset pagination.setQueryToPaginate(qGetPoems) /
 cfset pagination.setItemsPerPage(25) /
 cfset pagination.setUrlPageIndicator(page) /
 cfset pagination.setShowNumericLinks(true) /

 #pagination.getRenderedHTML()#
 cfoutput query=qGetPoems startrow=#pagination.getStartRow()#
 maxrows=#pagination.getMaxRows()#
   li#id# - #poemTitle#/li
 /cfoutput
 #pagination.getRenderedHTML()#



 The Pagination.cfc is located in a directory one level deep in the root
 directory in a folder called components.  The above code is on a cfm page
 two levels deep in the root directory.

 The ids and poem titles show, but #pagination.getRenderedHTML()# literally
 shows and is not interpreted by CF.  What am I doing wrong?

 Thank you.

 

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


Re: Tutorial on creating this pagination?

2010-12-17 Thread Ian Skinner

  On 12/17/2010 12:54 PM, Adam Parker wrote:
   What am I doing wrong?


You need to put them inside of foutput blocks.

cfoutput#pagination.getRenderedHTML()#/cfoutput
...
cfoutput#pagination.getRenderedHTML()#/cfoutput


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


RE: question for jquery experts here

2010-12-17 Thread Rick Faircloth

Send some of your table over, so I can set up a test...

Rick

-Original Message-
From: fun and learning [mailto:funandlrnn...@gmail.com] 
Sent: Friday, December 17, 2010 3:00 PM
To: cf-talk
Subject: question for jquery experts here


hi All -

I am using the following jquery script to hover and click on table rows:

$(.simplehighlight).click(function() {
$(this).children().addClass('clicked');

$(this).siblings().children().removeClass('clicked');
});

$(.simplehighlight).hover(function() {
$(this).children().css('backgroundColor', '#ffdc87');
}, function() {
$(this).children().css('backgroundColor', '');
});

'simplehighlight' is the class name of a tr. The script works fine in
Firefox, but the problem comes with IE8. I have around 20 to 25 columns, and
For hover, it takes some milliseconds to catch up with the cursor, and with
click, it takes around two seconds. Any suggestions on this?

I am asking this question in this forum, because lot of Coldfusion
developers use jquery. So trying my luck here too.




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


Re: ColdFusion 8 ODBC Server Errors

2010-12-17 Thread Dave Watts

 I am getting the same error message and CF is locking up so badly all I can 
 do is reboot my server. What did you find, if any, is the solution?

It's quite possible that these things are completely unrelated. Did
you check your older logs to see if you have the same error?

Are you actually using ODBC? If not, you can disable the two ODBC services.

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

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

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


Re: question for jquery experts here

2010-12-17 Thread Lists

Without seeing your code I'd wager that the problem is you're assigning too 
many event handlers with your selector. Rather than putting a class on every 
row of a table, put an I'd on the table and use this instead.

$('#myTable tr')

I'll bet that you'll get better performance. 


On Dec 17, 2010, at 1:59 PM, fun and learning funandlrnn...@gmail.com wrote:

 
 hi All -
 
 I am using the following jquery script to hover and click on table rows:
 
 $(.simplehighlight).click(function() {
$(this).children().addClass('clicked');
 
$(this).siblings().children().removeClass('clicked');
 });
 
 $(.simplehighlight).hover(function() {
$(this).children().css('backgroundColor', '#ffdc87');
 }, function() {
$(this).children().css('backgroundColor', '');
 });
 
 'simplehighlight' is the class name of a tr. The script works fine in 
 Firefox, but the problem comes with IE8. I have around 20 to 25 columns, and 
 For hover, it takes some milliseconds to catch up with the cursor, and with 
 click, it takes around two seconds. Any suggestions on this?
 
 I am asking this question in this forum, because lot of Coldfusion developers 
 use jquery. So trying my luck here too.
 
 
 

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


Re: Database query - match 1 or more zeros

2010-12-17 Thread Lists

Consider adding a caret to the start of the regex or you'll match multiple 
zeros anywhere in the cell.

Would match

00
000
123000
12345670

On Dec 17, 2010, at 1:55 PM, Ian Skinner h...@ilsweb.com wrote:

 
  On 12/17/2010 11:41 AM, Michael Grant wrote:
 I think regex is the way to go for you.
 WHERE field = [0]* I think would work.
 
 Thanks, that was the seed of the idea I needed.
 WHERE REGEXP_LIKE(grower_id, '0+')
 
 I just changed it to 0+ because I wanted to match one or more zeros
 NOT zero or more zeros, which I expect would have matched ALL rows.
 
 
 
 
 

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


Re: Database query - match 1 or more zeros

2010-12-17 Thread Michael Grant


  you'll match multiple zeros anywhere in the cell.


I don't think that's what Ian's looking for though.


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