Re: oracle database link

2010-08-04 Thread Qasim Rasheed
As someone already indicated, why do you want to run db link command from CF. It should be just a one time thing that your DBA can run. Later you can run query against a table in linked database like this SELECT * FROM On Wed, Aug 4, 2010 at 9:58 AM, Won Lee won...@gmail.com wrote: I assume

Re: oracle database link

2010-08-04 Thread Qasim Rasheed
My last email was incomplete SELECT * FROMyourtableinlinke...@nameofdblink On Wed, Aug 4, 2010 at 8:25 PM, Qasim Rasheed qasim.li...@gmail.com wrote: As someone already indicated, why do you want to run db link command from CF. It should be just a one time thing that your DBA can run

Re: GIT Anyone?

2010-03-26 Thread Qasim Rasheed
Here is a great post by Joel on Distributed version control http://www.joelonsoftware.com/items/2010/03/17.html On Fri, Mar 26, 2010 at 5:38 PM, Ben Alembick benalemb...@gmail.com wrote: Wow guys thats a lot of info, really useful cheers. Ive just had a look at HG and cant even get it

Re: Thinking of a career change.. how does one get into Technical Recruiting..

2009-03-13 Thread Qasim Rasheed
personally. -- Scott Stewart ColdFusion Developer 4405 Oakshyre Way Raleigh, NC 27616 (h) 919.874.6229 (c) 703.220.2835 -Original Message- From: Qasim Rasheed [mailto:qasim.li...@gmail.com] Sent: Friday, March 13, 2009 4:32 PM To: cf-jobs-talk Subject: Re: Thinking of a career

Re: Using Subclipse on Eclipse

2009-02-24 Thread Qasim Rasheed
Here are steps 1. switch your local copy to trunk (Project - Team - Switch) 2. Merge your working copy (trunk) with the version xx On Sun, Feb 22, 2009 at 3:33 PM, Chad McCue c...@advmediaproductions.comwrote: I am confused on how to update my trunk from my working branch. Here are my steps

SOT: Jquery VISTA (IE)

2008-10-14 Thread Qasim Rasheed
Apologies for slightly off topic post but based on number of JQuery guru on this list, I thought someone might be able to shed some light. Here is the message that I posted on jQuery list few moments ago I am having a strange problem with performing a simple AJAX call on a Vista machine using IE

Is this a CF bug or just a Java behavior?

2008-07-25 Thread Qasim Rasheed
One of my fellow developer discovered some weird behaviour with ColdFusion number manipulation. Here is an example cfset a = 26.2 / cfset b = 20 / cfset c = a - b / cfoutput Value of c: #c# br / Is c EQ 6.2: #c EQ 6.2# br / ToString on c: #c.toString()# br / /cfoutput If you run this piece of

Re: (ot) Decent Eclipse plugin for SQL editing?

2008-06-25 Thread Qasim Rasheed
Although I haven't used it myself but MyEclipse comes with a DB plugin which looks nice. On Wed, Jun 25, 2008 at 2:10 PM, Nathan Strutz [EMAIL PROTECTED] wrote: Mark, I tried out the Eclipse Data Tools plugin a while ago and blogged it here:

Re: deploying and using jar files

2008-06-25 Thread Qasim Rasheed
Have you tried putting the jar in this path C:\ColdFusion8\wwwroot\WEB-INF\lib Thanks On Wed, Jun 25, 2008 at 5:56 PM, Doug Boude (rhymes with 'loud') [EMAIL PROTECTED] wrote: Okay, from what I've read thus far, deploying a jar file is so easy that even a monkey could do it. As I

Re: delete duplicates.

2008-05-21 Thread Qasim Rasheed
I am sure there are few udf on cflib.org that can be used. Have you looked there? HTH On Wed, May 21, 2008 at 3:08 PM, morchella [EMAIL PROTECTED] wrote: i have some duplicates in a list i need to delete but am not getting it once again. cfloop From = 1 To = #ListLen(getAce.specs_partnum)#

Re: What's wrong with this query?

2008-05-16 Thread Qasim Rasheed
This is something that I would do on Oracle INSERT INTO t_table (tableid,table_name) SELECT 1 AS tableid , 'Table1' AS tablename FROMdual WHERE NOT EXISTS ( SELECT1 FROMt_user u WHERE u.tableid = 1 ) On Fri, May 16, 2008

Re: What's wrong with this query?

2008-05-16 Thread Qasim Rasheed
I meant this how you can write a similar query in Oracle. On Fri, May 16, 2008 at 11:17 AM, Qasim Rasheed [EMAIL PROTECTED] wrote: This is something that I would do on Oracle INSERT INTO t_table (tableid,table_name) SELECT 1 AS tableid , 'Table1' AS tablename FROMdual WHERE

Re: cfmail won't send

2008-04-25 Thread Qasim Rasheed
If you have access to CF Admin that try verifying the mail server first. On Fri, Apr 25, 2008 at 3:08 PM, Rick Faircloth [EMAIL PROTECTED] wrote: Are you seeing any messages show up in your mail spool folder? Any error messages in the CF Admin logs? Rick -Original Message-

CF8 Web Server Configuration

2008-04-17 Thread Qasim Rasheed
Hello everyone, Here is my OS configuration Windows 2003 Server ColdFusion 8 0 JRun install with multiserver I set up two sites on IIS and was able to configure one of them with one instance of CF8. However now the Web Server Configurator won't start. I clicked the option on Start and it shows

Re: CF8 Web Server Configuration

2008-04-17 Thread Qasim Rasheed
need help manually configuring, I can help you out. - Doug -Original Message- From: Qasim Rasheed [mailto:[EMAIL PROTECTED] Sent: Thursday, April 17, 2008 12:00 PM To: CF-Talk Subject: CF8 Web Server Configuration Hello everyone, Here is my OS configuration Windows 2003 Server

Re: OutofMemoryError

2008-04-15 Thread Qasim Rasheed
I would second Brad's comment about using DB's mechanism to build XML. We use Oracle at work here and with various XML function available in 10g release, most of our XML is generated from SQL queries. Thanks Qasim On Tue, Apr 15, 2008 at 11:24 AM, Joel Watson [EMAIL PROTECTED] wrote: Brian--

Re: Forcing a CFC to refresh...

2008-04-15 Thread Qasim Rasheed
I believe refreshWSDL was added in CF8. For earlier version, this blog post might help you. http://www.bpurcell.org/blog/index.cfm?mode=entryENTRY=965 HTH 2008/4/15 João_Fernandes [EMAIL PROTECTED]: Develop locally but if you want to force to refresh a webservice try cfset ws =

Re: cfform format=flash onload

2008-04-15 Thread Qasim Rasheed
This works for me on CF8 cfform format=flash skin=haloblue onload=password.setFocus() cfformgroup type=horizontal id=myUID cfinput name=UserID width=200 maxlength=50 required=yes value= type=text cfinput name=password width=200 maxlength=50 required=yes value= type=text

Re: Migrating to Application.cfc

2008-04-10 Thread Qasim Rasheed
Barney, I would be interested in knowing what are the weaknesses in Application.cfc based on your expertise. Thanks On Thu, Apr 10, 2008 at 12:47 PM, Barney Boisvert [EMAIL PROTECTED] wrote: As long as you use the same application name, the application has no awareness of an

Re: CF7 and log4j

2008-03-27 Thread Qasim Rasheed
I've a project on riaforge related to log4j. You might want to take a peek at it cflog4j.riaforge.com HTH On Thu, Mar 27, 2008 at 3:58 AM, vishnu prasad [EMAIL PROTECTED] wrote: how to use classloader . can u give me sample code snippet? You will have to use a classloader to use a version

Re: CF7 and log4j

2008-03-27 Thread Qasim Rasheed
The link was on the external i.e. http://code.google.com/p/cflog4j/ I've used the latest version of log4j with this app. On Thu, Mar 27, 2008 at 10:29 PM, vishnu prasad [EMAIL PROTECTED] wrote: There is no download link? r u using the latest version of log4j or using the one shipped with

Reg ex question

2008-03-18 Thread Qasim Rasheed
that will give me everything inside [HEAD} tags without the tags. Thanks -- Qasim Rasheed ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk

Re: Reg ex question

2008-03-18 Thread Qasim Rasheed
On Tue, Mar 18, 2008 at 3:52 PM, Qasim Rasheed [EMAIL PROTECTED] wrote: My regular expression skills are quite limited so before spending hours on this, I thoughy may be someone can help me with this piece. [HEAD] titleMy Home Page/title link href=style.css rel=stylesheet type

Re: cheap CF8 hostings

2008-03-14 Thread Qasim Rasheed
I am running my personal site with GlobalOneHosting which offer CF8 with mySQL at a very reasonable price. http://www.globalonehosting.com/index.cfm HTH Qasim Rasheed On Fri, Mar 14, 2008 at 8:17 AM, Robert Rawlins [EMAIL PROTECTED] wrote: Hi Ali, I've got both shared accounts

Re: Paperthin's Commonspot

2008-01-31 Thread Qasim Rasheed
Scott, I am not sure if it is true that Fed Govt will say no to any open source. We are using FarCry here on one of our largest public website for a Federal Govt Agency. Thanks Qasim On Jan 31, 2008 2:42 PM, Scott Stewart [EMAIL PROTECTED] wrote: The feds general rule on Open Source is no.

Re: Excel to Query

2008-01-28 Thread Qasim Rasheed
Here is a post by Jason (CF Product Manager) discussing the use of JExcel with ColdFusion http://www.cfinsider.com/index.cfm/2008/1/3/Modify-Excel-Spreadsheets-with-ColdFusion-the-easy-way HTH Qasim On Jan 28, 2008 10:26 AM, Marco Antonio C. Santos [EMAIL PROTECTED] wrote: Ben Nadel created

Re: Ant Subversion

2008-01-18 Thread Qasim Rasheed
Dan The error indicate that SVN jar files aren't being located by your build file. I usualy place those under ANTINSTALLATION/lib so that any project can use it. Thanks Qasim On Jan 18, 2008 5:30 PM, Andrew Scott [EMAIL PROTECTED] wrote: If it was me I would use ants built in zipping

Re: SOT: JavaScript version of listContains()

2008-01-18 Thread Qasim Rasheed
sorry, I responded too quick. This will actually be ListFind and not ListContains. On Jan 18, 2008 2:32 PM, Qasim Rasheed [EMAIL PROTECTED] wrote: I am hoping this will work function ListContains(list,item,delim){ var del = (delim == null)? ,: delim; return list.split(del).indexOf

Re: SOT: JavaScript version of listContains()

2008-01-18 Thread Qasim Rasheed
I am hoping this will work function ListContains(list,item,delim){ var del = (delim == null)? ,: delim; return list.split(del).indexOf(item) != -1; } On Jan 18, 2008 12:38 PM, Charlie Griefer [EMAIL PROTECTED] wrote: On Jan 18, 2008 9:35 AM, Claude Schneegans [EMAIL PROTECTED] wrote:

Re: OT: Hosting

2008-01-13 Thread Qasim Rasheed
. Bluedragon works out quite cheap this way and for a higher spend you can get CF7 or CF8. On Jan 13, 2008 11:17 AM, Qasim Rasheed [EMAIL PROTECTED] wrote: I know this topic has been beaten to death but my current host xtreme-host have run out of business. Any recommendation for a cheap host

OT: Hosting

2008-01-12 Thread Qasim Rasheed
I know this topic has been beaten to death but my current host xtreme-host have run out of business. Any recommendation for a cheap host? Does anyone has any experience with efree2net.com? Thanks in advance Qasim ~| Adobe®

CF8 + Apache Virtual host

2008-01-06 Thread Qasim Rasheed
appreciated. Qasim. -- Qasim Rasheed Certified Advance ColdFusion MX Developer (IM qasimrasheed AT yahoo, msn or GTalk) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http

Re: CF8 + Apache Virtual host

2008-01-06 Thread Qasim Rasheed
the IfModule section in the file? On Jan 7, 2008 9:36 AM, Qasim Rasheed [EMAIL PROTECTED] wrote: Hi, I am having a hard time configuring Apache Virtual host with ColdFusion 8. Here is my setup 1. Windows XP. 2. Apache 2.2.6 3. ColdFusion 8 - Multi instance. -- mxAjax / CFAjax docs

Re: 2008 conferences of interest

2008-01-04 Thread Qasim Rasheed
Rick, I cannot find the list of topics and schedule on flex360 website. Is it something that is still unknown? Thanks Qasim On Jan 4, 2008 8:18 AM, Rick Root [EMAIL PROTECTED] wrote: I've been given official permission to attend 360|Flex in Atlanta next month. Booked my room at the Omni

OT:Flex Training

2008-01-03 Thread Qasim Rasheed
Sorry for being slightly OT. Does anyone has recommendations for Flex training with emphasis on using ColdFusion at the back end? Thanks -- Qasim Rasheed (IM qasimrasheed AT yahoo, msn or GTalk) ~| Adobe® ColdFusion® 8

Re: query columnCount

2007-11-13 Thread Qasim Rasheed
ListLen( query.columnlist ) On 11/13/07, Richard White [EMAIL PROTECTED] wrote: Hi, hopefully this is a very simple question. i cant find the answer on google :( how do i count how many columns were returned in a cfquery thanks

Re: Market Dept - Project Management help

2007-11-03 Thread Qasim Rasheed
http://www.pcuf.fi/~pjt/pink/software-architecture.html On 11/2/07, Kevin Aebig [EMAIL PROTECTED] wrote: Here's how I've dealt with that issue and thus far, it's practically not a problem anymore. - Strict Documentation that needs to be signed off. If they wish other features be added, the

Re: Returning and object from a Web Service

2007-10-26 Thread Qasim Rasheed
Dean, A shot in the dark, but do you have cfproperty .. defined for the attributes of your User object that you are trying to return? Thanks Qasim On 10/26/07, Dean Lawrence [EMAIL PROTECTED] wrote: What type of CFC object are you trying to return... More the case is it in the same

Re: column totals

2007-10-15 Thread Qasim Rasheed
I would move this total logic to the actual query i.e. SQL which will be the most efficient IMHO. HTH Qasim On 10/15/07, Ben Doom [EMAIL PROTECTED] wrote: I don't know about actual cycle efficiency, but arraysum(query['row']) is what I use. Very good on typing efficiency. :-) --Ben Doom

Re: CPU spiking, possible bad loop or conditional statement

2007-10-15 Thread Qasim Rasheed
SeeFusion FusionReactor are the one that come to mind if you are looking for a server monitoring utility. HTH Qasim On 10/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: All, Can anyone recommend a server monitoring tools for a CF MX install that all of a sudden is creating the CPU to

Re: Killing a login

2007-10-12 Thread Qasim Rasheed
If you are on CFMX, you can use J2EE session which will expire on browser close. HTH On 10/12/07, Richard Colman [EMAIL PROTECTED] wrote: I am trying to provide a logout function on my site. I have tried various combination like: cfcookie name = UserID value

Re: Null Values

2007-10-08 Thread Qasim Rasheed
Instead of Stored procedure, you can simply do this CASE WHEN col is NULL THEN 'YOURINDICATORFORNULL' ELSE col END AS col HTH On 10/8/07, Richard White [EMAIL PROTECTED] wrote: perfect, thanks very much charlie :) in relation to the issue of null values being different to empty strings in

Re: Dynamic named CFC and method

2007-09-07 Thread Qasim Rasheed
I believe this will work cfset cfc = application.aImage / cfset method = 'updateIm' / cfinvoke component=#cfc# method=#method# .. your arguments here cfinvoke HTH On 9/7/07, Andrew Grosset [EMAIL PROTECTED] wrote: Have you tried using cfinvoke? see where it says This works but I'm

Re: Query speed diference

2007-08-31 Thread Qasim Rasheed
If your DB is Oracle, you can easily use MERGE SQL command for this purpose. HTH Qasim On 8/30/07, Nick de Voil [EMAIL PROTECTED] wrote: Jay Which of these two methods would be faster? - Method 1 - cfquery SELECT * FROM table WHERE someID = #someVar# /cfquery

Re: Forcing a session to end...

2007-08-02 Thread Qasim Rasheed
StructClear( session ) On 8/2/07, James Smith [EMAIL PROTECTED] wrote: Is there any way to end a session when a logout link is clicked? I have tried... cfset temp = onSessionEnd(session,application) cfapplication name=application sessiontimeout=#createTimeSpan(0,0,0,0)# But it leaves

Re: Writing large data files

2007-07-24 Thread Qasim Rasheed
I have released a UDF over at cflib.org, that will convert a ColdFusion query to CSV using JavaString Buffer which is considerably faster. http://www.cflib.org/udf.cfm?ID=1197 Thanks and let me know if you have any problem. Qasim On 7/24/07, Garth Young [EMAIL PROTECTED] wrote: Hi, There

Re: Help with Query

2007-07-22 Thread Qasim Rasheed
First write your sql as SELECT p.photoID, p.photoTitle, c.commentId, c.commentText FROMphotos p LEFT OUTER JOIN comments c ON c.photoid_fk = p.photoid ORDER BY p.photoID, c.commentID Then output the query using cfoutput and group like this ul cfoutput

Re: Help with Query

2007-07-22 Thread Qasim Rasheed
Joe, First of all I am not sure if you need LEFT JOIN for both comments and prices. My first example was based on the assumption that you could have photos without comments and you might want to display those as well. It will help if you can paste the entire query and your output code. Thanks

Re: Incident Tracking

2007-07-20 Thread Qasim Rasheed
shamelessplug http://cfdefect.riaforge.com /shamelessplug I wrote this application based on light house using Fusebox 5, ColdSpring, Reactor etc as a fun exercise. Thanks Qasim On 7/20/07, Steve Good [EMAIL PROTECTED] wrote: Hey Gang, Before I go and put a project together, thought I

Re: accessing log files programatically

2007-07-15 Thread Qasim Rasheed
Jonathon, I wrote a small utility to expand the logging functionality by using log4j. http://cflog4j.riaforge.org/ Hope that helps Qasim On 7/14/07, Jonathon Stierman [EMAIL PROTECTED] wrote: Anyone know of a good way to (1) get data out of the CF log files, and (2) archive the log files

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

2007-06-14 Thread Qasim Rasheed
Use this cfloop from=1 to=#ArrayLen( xmlcontent.message.items.item )# index=x cfif NOT StructKeyExists( stWSSB_Tickler, x ) cfset stWSSB_Tickler[x] = StructNew() / /cfif cfif ( NOT StructKeyExists( stWSSB_Tickler[x], 'tickler' ) ) OR ( StructKeyExists(

Re: Information about pass Java ResultSet(or QueryTable) to Coldfusion QueryTable

2007-06-13 Thread Qasim Rasheed
I think Sean is right on target. Your own class return a QueryTable object and there is no constructor in ColdFusion QueryTable class that matches that argument. I would assume if you can modify your custom class to return a Java ResultSet object instead, it should work. Thanks Qasim On

Re: Large CSV File

2007-06-12 Thread Qasim Rasheed
Another option will be to use ODBC file connection if you are on windows. HTH On 6/12/07, Robert Rawlins - Think Blue [EMAIL PROTECTED] wrote: Eek! A file of that size and complexity needs to be handled by the database, putting it into an array would be a nightmare. It would be fine for

Re: How do you stay up on blogs?

2007-05-24 Thread Qasim Rasheed
I have been using Abilon on Windows for the past few years. HTH Qasim On 5/24/07, Ryan, Terrence [EMAIL PROTECTED] wrote: I'm a big fan of Sharpreader. It's desktop. It treats feeds similar to mail, in that you can read/delete individual entries. It will pop up notification of new feeds.

Re: Escape single quote in Multiple Row Insert Problem

2007-05-21 Thread Qasim Rasheed
You can try using PreserveSingleQuotes function. HTH Qasim On 5/21/07, Les Mizzell [EMAIL PROTECTED] wrote: Doing a multiple row insert cfloop from=1 to=#int(request.numTRAVEL)# index=idx cfquery name=WRITE_ENROLL INSERT INTO mytable ( myNAME ) VALUES (

Re: Fusebox Help

2007-05-15 Thread Qasim Rasheed
you could provide would be greatly appreciated! Thank you for this! Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ BlueDragon Alliance Member [EMAIL PROTECTED] Qasim Rasheed wrote: Jordan, The autogenerated files should be in the parsed

Re: Fusebox Help

2007-05-14 Thread Qasim Rasheed
Jordan, The autogenerated files should be in the parsed directory under your application root. This is where fusebox keeps generated files after it has gone through the compile process. If your site in development mode (i.e. mode parameter in fusebox.xml.cfm file? Thanks Qasim On 5/14/07,

Re: help with java

2007-05-14 Thread Qasim Rasheed
Mike, Can you please explain what exactly is the problem or error you are receiving? Thanks Qasim On 5/14/07, Mik Muller [EMAIL PROTECTED] wrote: Last bump. No help here? --- A few months ago I posted some help requests for using Babylon Chat server and got some suggestions, but I'm just

Bluedragon Installation

2007-05-13 Thread Qasim Rasheed
with a 403 Forbidden error. I am running ColdFusion 5, ColdFusion 6.1, ColdFusion MX 7 (with IIS) and JRun+ColdFusion MX (with Apache) on same machine with no problem. Thanks in advance for your help. -- Qasim Rasheed Certified Advance ColdFusion MX Developer (IM qasimrasheed AT yahoo, msn or GTalk

Re: Bluedragon Installation

2007-05-13 Thread Qasim Rasheed
Andrew, Thanks for the response. How do I set up permission for the directory for the built in web server? Qasim On 5/13/07, Andrew Scott [EMAIL PROTECTED] wrote: Sounds like a permission error for the directory that holds the pages. On 5/14/07, Qasim Rasheed [EMAIL PROTECTED] wrote

Re: Java equivalent of CFHTTP ?

2007-05-11 Thread Qasim Rasheed
I'll sendong HTTPClient. Vey straight forward and easy to implement. On 5/11/07, Mark Drew [EMAIL PROTECTED] wrote: java.net.URL If I recall does most of this. MD On 5/11/07, Barney Boisvert [EMAIL PROTECTED] wrote: I've always used HTTPClient, both from Java and CF apps where CFHTTP

Re: Using .jar file with cfobject

2007-05-08 Thread Qasim Rasheed
Bruce try this cfset fso = CreateObject( 'java', 'java.io.FieOutputStream').init( CreateObject( 'java', 'java.io.File' ).init( 'e:/temp/tempimage.png' ) ) / Although in my opinion you are better off using a BufferedOutputStream as it is suppose to perform better. However I haven't work with

Re: Image Resize Code

2007-05-04 Thread Qasim Rasheed
I released an application for Image cropping, resizing on Adobe Exchange a while back. It uses Java Advance Image (JAI) API. Here is the link *http://tinyurl.com/2ax664 Thanks Qasim * On 5/4/07, Aaron Roberson [EMAIL PROTECTED] wrote: Does anyone know what Costco Photo Center is using for

Re: URL fieldnames

2007-04-19 Thread Qasim Rasheed
You can simply do this StructKeyList( URL ) HTH Qasim On 4/19/07, Richard Cooper [EMAIL PROTECTED] wrote: Cheer Rob, that'll do the trick. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features,

Re: Need help with grouped query and inner cfoutput

2007-04-08 Thread Qasim Rasheed
I beleive your cfoutput group should match the sort order of the query. On 4/8/07, Will Tomlinson [EMAIL PROTECTED] wrote: I usually don't have problems with grouping and outputting data, but this one's got my number so far... With my db schema, a question can be related to more than one

Re: Fusebox 5.1 + J2EE WAR deployment fails with encrypted templates.

2007-03-26 Thread Qasim Rasheed
Tero, It seems that you have encrypted fusebox.xml.cfm and other circuit.xml.cfmfiles. Those are essentially just XML which has a .cfm extension. HTH Qasim On 3/26/07, Tero Pikala [EMAIL PROTECTED] wrote: Hi I'm testing Fusebox 5.1 application deployment as a WAR to JRun 4.0 I have

Re: Need More SQL help - DRIVING ME NUTS!

2007-03-20 Thread Qasim Rasheed
Will, Which DB are you using and if it's not difficult can you also post db scripts to create tables and populate some sample data.? Thanks Qasim On 3/20/07, Will Tomlinson [EMAIL PROTECTED] wrote: Ok, I'm really close on this. I've been workin on it for hours, changing queries, not gettin

Re: Using queryname.columnlist

2007-03-19 Thread Qasim Rasheed
I would modify the code to eliminate evaludate cfscript function sqlValueFormat(field) { if (isNumeric(field)) { field = trim(field); } else { field = ' trim(field) '; } return

Re: udf var

2007-03-06 Thread Qasim Rasheed
You have an argument with the name 'form'. Your var scoped variables cannot be of the same name as your argument variable. Thanks On 3/6/07, Will Tomlinson [EMAIL PROTECTED] wrote: I haven't built a simple udf in forever, but decided to do one for my trimming of formfields. I tried sticking

Re: cfmodule advice...

2007-03-02 Thread Qasim Rasheed
Will, Another approach would be to use cfimport which I personally prefer and it is supposed to be a bit faster (I could be wrong). In addition to Ray's suggestion, you can definitely do something like this if you do not want tag to run twice cfif thisTag.ExecutionMode eq 'start'

Re: Query To Database

2007-03-01 Thread Qasim Rasheed
This might help you although I haven't tested it cfloop query=CSVData cfquery name=insert ... INSERT INTO TableName ( cfloop list=#CSVData.columnlist# index=i #i#, /cfloop ) VALUES ( cfloop list=#CSVData.columnlist# index=i '#i#', /cfloop ) /cfquery /cfquery On 2/28/07, Deepak Gupta [EMAIL

Re: Formatting your SQL Statements

2007-03-01 Thread Qasim Rasheed
Since a query will not be producing any output, I would suggest to put it inside a cfsilent block so eliminate all white space. Thanks On 3/1/07, Mark A Kruger [EMAIL PROTECTED] wrote: Ah... Well I don't use the GUI ... Just query analyzer.. The script generator code is actually quite good..

Re: AJAX back button

2007-02-23 Thread Qasim Rasheed
This is a library without using JQuery http://codinginparadise.org/weblog/2005/08/ajax-tutorial-saving-session-across.html Thanks Qasim On 2/23/07, Rey Bango [EMAIL PROTECTED] wrote: Tackling the back button in Ajax isn't a trivial task and has really frustrated a lot of developers. Several

Re: ColdSpring - What's my DAO do?

2007-02-12 Thread Qasim Rasheed
Adam, this would be my suggestion however some CS guru might have a better idea bean id=DogDAO class=com.DogDAO / bean id=DogGateway class=com.DogGateway / bean id=DogService class=com.DogService property name=DogDAO ref bean=DogDAO / /property property name=DogGateway ref

Re: blogCFC?

2007-01-29 Thread Qasim Rasheed
Doug, By any chance, do you have debugging turned on? Thanks Qasim On 1/29/07, Raymond Camden [EMAIL PROTECTED] wrote: The front page shouldn't be _too_ slow. The caching is mainly meant to make the most viewed page quicker. (Ok, maybe I'm being defensive now ;) On 1/29/07, Russ [EMAIL

Re: hiding url variables

2007-01-27 Thread Qasim Rasheed
Or simply Encrypt and Decrypt using ColdFusion builtin functions. HTH On 1/27/07, Doug Brown [EMAIL PROTECTED] wrote: I do not have a real answer to the question but...maybe disguise it. set it cfset myUrlVar = createUUID() 1 get it cfset myUrlVar = right(myUrlVar,1) Doug B.

Re: dynamic valuelist

2007-01-26 Thread Qasim Rasheed
Micheal, You can easily do something like this cfset myList = ArrayToList( yourQuery[yourColumn].toArray() ) / HTH Qasim On 1/26/07, Michael Dinowitz [EMAIL PROTECTED] wrote: Perfect. And it uses something that I mentioned in my From UDFs to CFCs article in FAQU 2. See what happens when

Re: StructClear and passing in a string...

2007-01-26 Thread Qasim Rasheed
This should work on CFMX AFAIK cfset StructClear( getPageContext().getBuiltinScopes().get( YOURSTRUCT ) ) / HTH On 1/26/07, Andy Matthews [EMAIL PROTECTED] wrote: I have an interesting situation... We have a multi-server configuration and there are times when we need to clear a certain

Re: SQL order by

2007-01-25 Thread Qasim Rasheed
http://db4free.blogspot.com/2006/06/sorting-of-numeric-values-mixed-with.html On 1/25/07, Chad Gray [EMAIL PROTECTED] wrote: You got me pointed in a great new direction. I will figure out the details and if there is a better function then isNumeric for the data I am dealing with. Thanks!

Re: CFEclipse / Eclipse question

2007-01-24 Thread Qasim Rasheed
I have been using MyEclipse (www.myeclipseide.org) for a while now and have found it to be pretty useful with its XML, CSS Javascript and a load of other plugins. This is the plugin that all my team use at work for VSS. http://vssplugin.sourceforge.net/ HTH On 1/24/07, Andrew Scott [EMAIL

Re: Help Needed for fine-tuning CF code

2007-01-23 Thread Qasim Rasheed
As far as I can tell looking at the various suggestion, the most probable bottle neck is in your SQL code and not the CFM. Some stupid questions? 1. DO you have indexes on the table? 2. Which DB are you using? Different DB vendor will let you select only a subset of data i.e. SQL Server (Top 50)

Re: isURL() function on cflib

2007-01-23 Thread Qasim Rasheed
If you are on CFMX, you should be able to use isValid to validate a URL among various others. HTH On 1/23/07, Ben Nadel [EMAIL PROTECTED] wrote: I am writing up a demo for this now... So if no one solves it, I will demonstrate. .. Ben Nadel Certified Advanced

Re: How to dump a sql query to text

2007-01-22 Thread Qasim Rasheed
I am not sure if this solves your problem, but if you have debugging turned on the server, you can get several information from the servicefactory debugging object. Here is a UDF that I wrote a while back which return true if the query ran was a cached one. http://www.cflib.org/udf.cfm?ID=1202

Re: CGI.servername reliability

2006-12-27 Thread Qasim Rasheed
cfdump var=#getPageContext().getRequest()# / will give you an alternative to almost all CGI variables provided you are using CFMX 6 and later. HTH Qasim On 12/27/06, Dave Watts [EMAIL PROTECTED] wrote: Is there a more reliable way to determine the domain name than using CGI.server name?

Re: No, I'll call you...

2006-12-21 Thread Qasim Rasheed
We have a similar architecture at my work where those long reports are sent as an Async request (Async Gateway) and then user is notified via email when reports are complete. Thanks On 12/21/06, Christopher Jordan [EMAIL PROTECTED] wrote: This probably isn't what you want either, but... You

Re: No, I'll call you...

2006-12-21 Thread Qasim Rasheed
Mark Mandel has written an excellent library to perform Aynsc without CF Enterprise. http://www.compoundtheory.com/?action=asynchttp.index HTH On 12/21/06, Brad Wood [EMAIL PROTECTED] wrote: Yes, I believe so. But isn't that limited to CF Enterprise? We only have standard. *sigh* ~Brad

Re: Using arrays in a simple bean

2006-12-21 Thread Qasim Rasheed
Is there are reason you cannot use Structure for meeting sponsors? e.g. cfset variables.instance.sponsors = StructNew() / cfset variable.instance.sponsors[sponser1] = 'Name of Sponsor' / .. HTH On 12/21/06, Everett, Al (NIH/NIGMS) [C] [EMAIL PROTECTED] wrote: I'm using a bean cfc for an

Re: SOT: JavaScript question.

2006-12-20 Thread Qasim Rasheed
Prototype (JS) library has a built in function named $$() for this purpose. You can also use this implementation http://simon.incutio.com/archive/2003/03/25/getElementsBySelector HTH On 12/20/06, Ian Skinner [EMAIL PROTECTED] wrote: Is there any way to restrict a getElementByTag() function

Re: Components Fusebox 5

2006-12-15 Thread Qasim Rasheed
In Fusebox 5, you can place all the above logic in fusebox.appinit.cfm file. HTH On 12/15/06, Greg Luce [EMAIL PROTECTED] wrote: Here's how I did it in FB4.1 and am doing right now in my first FB5 app. Fusebox.init.cfm !--- Initialize application components. --- cflock timeout=30

Re: CFDOCUMENT hell

2006-12-15 Thread Qasim Rasheed
We encountered similar issues along with cfdocument being very slow. We took sometime out and implemented XSL-FO which is really awesome and works seamlessly without any problem and has a lot more feature than cfdocument could offer. HTH Qasim On 12/15/06, Bryan Stevenson [EMAIL PROTECTED]

Re: Datasources case-sensitive?

2006-12-08 Thread Qasim Rasheed
AFAIK if you have server sandboxed than datasource names are case sensitive. Thanks Qasim On 12/8/06, Steven Erat [EMAIL PROTECTED] wrote: This was bug 64046, which in turn was a duplicate of bug 54678. There is a hotfix available if you contact support. I can't verify that it was in an

Re: Source control recommendation

2006-11-12 Thread Qasim Rasheed
Look at. www.cvsdude.com. I believe they provide SVN + Trac with a backup every 10 mins. Thanks, Qasim On 11/12/06, Rob Wilkerson [EMAIL PROTECTED] wrote: On 11/12/06, Nick Gleason [EMAIL PROTECTED] wrote: Hi there. We've been hosting our source code in VSS in the past but are

Re: Validating a form

2006-11-06 Thread Qasim Rasheed
Here is a nice blog entry by Wayne discussing form validation with javascript prototype and ColdFusion. http://swem.wm.edu/blogs/waynegraham/index.cfm/2006/9/21/Form-Validation Pretty useful library and quite extensible. On 11/6/06, Andy Matthews [EMAIL PROTECTED] wrote: I recommend giving

Re: Coldfusion session variables and Flex 2

2006-10-15 Thread Qasim Rasheed
Rick, Here is a blog post from Ben Forta on a similar topic. http://www.forta.com/blog/index.cfm/2006/9/24/Flex-And-Session-State-Management HTH Qasim On 10/14/06, Rick Root [EMAIL PROTECTED] wrote: Ping Rick Root wrote: I have a hybrid application that uses both Flex and coldfusion

Re: Problem displaying CF Debugging Information.

2006-10-15 Thread Qasim Rasheed
I am assuing that pages that do not display debugging info have cfsetting showDebugOutput=false / HTH Qasim On 10/15/06, A Bell [EMAIL PROTECTED] wrote: I have debugging enabled in the CF admin and IP set and most of the pages show the debugging info except of some pages. Can anyone help

Re: Form Validation Custom Tag

2006-10-14 Thread Qasim Rasheed
I have heard good reviews about qForms. Thanks On 10/14/06, Mike Tangorre [EMAIL PROTECTED] wrote: From: Ali Majdzadeh [EMAIL PROTECTED] Hi everybody: Is there any reliable, complete form validation custom tag? Thanks Benign Form validation is pretty generic... what kinds of

Re: jsVal is a nice validation script and very good with my CF pages

2006-10-09 Thread Qasim Rasheed
Here is another library that I have found to be very useful and very easy to extend. http://tetlaw.id.au/view/blog/really-easy-field-validation-with-prototype/ Wayne Grahan has written has written an exellent blog post/article about the same library with particulat emphasis on CF

Re: OT: Resume/CV Writing

2006-09-29 Thread Qasim Rasheed
Guys who are doing these pod cast has a series of excellent casts on the same topic. http://manager-tools.com/ HTH Qasim On 9/29/06, Nathan Strutz [EMAIL PROTECTED] wrote: Yeah, fill it out on monster and download the word doc version. Works really great. -nathan strutz

Re: CFLog4j

2006-09-19 Thread Qasim Rasheed
Dan, Do you have another property file which has this appender 'myAppen' in it? Thanks, Qasim On 9/19/06, Dan Plesse [EMAIL PROTECTED] wrote: Qasim, I am getting this with my app log4j:ERROR The class org.apache.log4j.Appender was loaded by log4j:ERROR [EMAIL

CFLog4j

2006-09-18 Thread Qasim Rasheed
Folks, I had some free time last weekend which prompted me to write a Wrapper CFC to deal with logging with log4j. Here is the url on google project. http://code.google.com/p/cflog4j/ I have tried to include every resource in the links section however I do apologize in advance if I missed any

  1   2   3   4   >