Re: Getting the date next (Saturday)

2014-02-02 Thread Azadi Saryev
This should to the trick: http://cflib.org/udf/NextOccOfDOW On Sun, Feb 2, 2014 at 8:10 PM, Mike K afpwebwo...@gmail.com wrote: I have a schedule function, where i need to display the date and time of hte next occurance of an event, that is scheduled every dayofweek at time for

Re: Best means of setting a library of reusable code

2013-06-25 Thread Azadi Saryev
With AJAX-accessed cfc's you really need them under your web root. CF mappings won't work with those. Creating a virtual dir in your web server pointing to the cfc location will do the trick. On Wed, Jun 26, 2013 at 1:58 AM, Dave Watts dwa...@figleaf.com wrote: In my application.cfc, I've

Re: CFWindow Timing Issue

2012-12-03 Thread Azadi Saryev
maybe a better approach would be to add cfset ajaxonload('name-of-js-function-to-execute') at the bottom of the page loaded in your cfwindow instance. this way it is guaranteed to run after the cfwindow content is loaded - setTimeout() will delay code execution, but does not guarantee that the

Re: Best practice question for Application.cfc

2012-10-15 Thread Azadi Saryev
: CAFcZD6dP9NYjRtW6QVzen=penxrnowx4hw-6brii9jssp0h...@mail.gmail.com Subject: Re: Best practice question for Application.cfc References: 4f9f30b3$2f548fd9$34618e3a$@com Date: Mon, 15 Oct 2012 08:27:46 +0900 Precedence: bulk Reply-To: cf-talk@houseoffusion.com From: Azadi Saryev azadi.sar

Re: Best practice question for Application.cfc

2012-10-14 Thread Azadi Saryev
If it is only applicationname that you need to be unique, then you could just use a hash of template path as app name, or some variation of the below: this.name = hash(getCurrenttTmplatePath()); Azadi On Sat, Oct 13, 2012 at 10:47 PM, Nick Gleason n.glea...@citysoft.com wrote: Hi Folks,

Re: Help with creating a mobile website with CF

2012-09-16 Thread Azadi Saryev
Terry Check out Brad Frost's 'This is Responsive' github pages - it is a great place to start: http://bradfrost.github.com/this-is-responsive/ Azadi On Sun, Sep 16, 2012 at 1:35 PM, terry terry.tro...@gmail.com wrote: Thank you Rick, This is exactly what I was looking for. I have a lot of

Re: cfajaxproxy... not defined return variable.

2012-09-12 Thread Azadi Saryev
Greg please add type=button to your button in your onlline example to prevent it from acting like a submit button and refreshing the page. when i did this in chrome dev tools, i could see the return from proxy.cfc and the arguments dump. Azadi On Thu, Sep 13, 2012 at 4:18 AM, Greg Morphis

Re: Embedding image to a document that is attached to an email

2012-09-12 Thread Azadi Saryev
you use proper img tag and not Russ's mysterious image one, right? On Thu, Sep 13, 2012 at 6:52 AM, Bruce Sorge sor...@gmail.com wrote: That does not work either Bruce On Sep 12, 2012, at 3:16 PM, Russ Michaels r...@michaels.me.uk wrote: you should reference the image locally, e.g.

Re: cfmailparam

2012-08-22 Thread Azadi Saryev
As others have said, non of these headers are 'standard', and their implementation is dependent on mail server and mail client settings on the receiving end. MS uses 'Return-Receipt-To' header to request a DSN from the mail server. Try and see if that one works for you. Alternatively, you can

Re: Question for UK List Members

2012-05-23 Thread Azadi Saryev
www.hostmedia.co.uk On Wed, May 23, 2012 at 4:31 PM, Edward Chanter firew...@cc.uk.com wrote: I'm currently investigating a new UK hosting solution and I was hoping to pick people's brains: 1. Can anyone recommend one or two good, responsive CF hosting companies based in the UK? 2. Do

Re: Coldfusion Hosting

2012-05-21 Thread Azadi Saryev
don't forget to check out HostMedia - http://www.hostmedia.co.uk/web-hosting/coldfusion-hosting/ - CF hosting from as low as GBP1 for life! and yes, they do have servers in the US. They are also CFHour sponsors. Note: I have not hosted with them personally, but they do look good and I am planning

Re: MySQL question

2012-05-07 Thread Azadi Saryev
select day(`timestamp`) as dayOfMonth, count(`timestamp`) as searchesPerDay from mytable where `timestamp` between '2012-05-01 00:00:00' and '2012-05-31 23:59:59') group by dayOfMonth order by dayOfMonth asc iirc, timestamp is a reserved word in MySQL - hence it's enclosed in ticks above (note

Re: Regex for High Ascii Chars

2012-04-17 Thread Azadi Saryev
http://cflib.org/udf/stripExtendedAscii On Wed, Apr 18, 2012 at 01:16, Che Vilnonis ch...@asitv.com wrote: Hello all. I'm dealing with a API where some of the results are populated with certain Ascii characters in order to get higher sorting results. For example, some of the characters I'm

Re: Clean URL's

2012-03-26 Thread Azadi Saryev
these 2 links should help you set up your SES urls: http://jamiekrug.com/blog/index.cfm/2010/8/31/cfml-tomcat-apache-ajp-proxy-redux http://corfield.org/entry/Railo_for_Dummies_Part_V Azadi On Mon, Mar 26, 2012 at 23:05, Rick T rtuinenb...@gmail.com wrote: I am using Apache with Railo and I

Re: Javascript test in ColdFusion

2012-03-26 Thread Azadi Saryev
if i had to do something like this, i would: 1) build a site that works without js (i.e. all links take user to a new page that shows requested data) 2) enhance the site with ajax (i.e. override default link actions and load data via ajax without redirects) there's no one-liner you can put into

Re: Local Dev Environment Troubles w/ Virtual Host- CF Builder

2012-03-20 Thread Azadi Saryev
add a record into your hosts file linking myproject.dev to localhost On Wed, Mar 21, 2012 at 08:03, Dan Kraus dskr...@gmail.com wrote: Hi All, long time reader, first time poster! But I'm beating my head against the wall here... I've been developing locally in CFBuilder on Windows 7. When I

Re: Session variables not working

2012-02-27 Thread Azadi Saryev
In your cflocation tag include addtoken=no attribute to prevent CFID/CFTOKEN vars from being appended to the url. I'll also suggest you set your server to use J2EE sessions in CF Administrator, if you have not done so already. Azadi On Tue, Feb 28, 2012 at 04:36, Rick Faircloth

Re: JQuery .ajax() call posts back to invoking page only on Production

2012-02-22 Thread Azadi Saryev
the usual culprit with page reloading on ajax request is forgetting to prevent the default action (click/submit) of the element that triggers ajax call. if your ajax call is part of a function bound to an anchor's click event, or a submit type input/button element - check that you do have

Re: debugging in cfscript

2012-02-08 Thread Azadi Saryev
you have cf_abort in your code instead of cf_abort() On Thu, Feb 9, 2012 at 04:20, Matt Quackenbush quackfu...@gmail.com wrote: Looks like the issue is that you have the cf_dump() and cf_abort() calls outside of the curly braces. if ( // all those items ) {    // stuff here }    

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Azadi Saryev
have you tried adding config.removePlugins = 'htmldataprocessor'; ? it is not 'recommended', as it will stop validating/fixing invalid html code, but may do the trick in your case. have not tried it, though myself... Azadi On Thu, Jan 12, 2012 at 03:37, Torrent Girl moniqueb...@gmail.com wrote:

Re: CFSELECT - Required

2011-12-16 Thread Azadi Saryev
Robert Try adding 'selected' property to your first option tag: option value= selected=trueMonth/option Azadi On Wed, Dec 14, 2011 at 01:00, Robert Harrison rob...@austin-williams.comwrote: According to the CF documentation you can make a select list required and you can get around the

Re: HTML5 Browser Support

2011-11-16 Thread Azadi Saryev
Paul Irish had a nice post a while ago about IE... and how soon we will have to support 72 (!) versions of IE. IEx is the new IE6. Read here: http://paulirish.com/2011/browser-market-pollution-iex-is-the-new-ie6/ Azadi On Wed, Nov 16, 2011 at 23:28, Jacob ja...@excaliburfilms.com wrote:

Re: Output columns from a query that have been formatted as 2 words

2011-11-06 Thread Azadi Saryev
In your original query give the column an alias like SELECT [First Name] AS FirstName ... then in your QoQ use the alias (FirstName) to refer to the column. Azadi On Sun, Nov 6, 2011 at 13:52, .jonah jonah@creori.com wrote: Query of queries? Doesn't look like you can. Google says:

Re: Generating Thumbnails of file contents

2011-09-20 Thread Azadi Saryev
Convert those to PDFs and generate thumbnails? On Tue, Sep 20, 2011 at 23:11, Robert Rhodes rrhode...@gmail.com wrote: Hello to all. I know we can generate thumbnails of PDFs with cfpdf, but is there a way with CF to generate thumbnails for Word, Excel, Powerpoint, and text files? If not,

Re: Anyone know how to fix this or why this happening?

2011-09-13 Thread Azadi Saryev
Andrew Not sure if you you solved this or not... IIRC, gmail/google apps mail also has a rate limit in addition to daily mails per account limit - if you exceed some number of emails per minute it starts rejecting mail. Some number was sometimes different in my tests, but it hovered around

Re: Can't Delete Sessions Programmatically

2011-08-16 Thread Azadi Saryev
On 17/08/2011 04:25 , Richard Steele wrote: And uncheck either of the other two below it? Enable Application Variables Enable Session Variables (when unchecked, CSRF protection) Only if you want to disable application and/or session scopes :) Azadi

Re: timing software

2011-08-07 Thread Azadi Saryev
wrench - tools - developer tools Azadi On 08/08/2011 09:25 , Ben Conner wrote: How do you access the timing information in Chrome? --Ben On 8/7/2011 5:55 PM, Michael Grant wrote: Chrome has these tools built right in. And, as a bonus, it's a better browser too. On Sun, Aug 7, 2011 at

Re: timing software

2011-08-07 Thread Azadi Saryev
http://neverblog.net/save-and-share-results-from-chromes-developer-tools-network-panel/ Azadi Saryev On 08/08/2011 09:41 , Ben Conner wrote: Wow. Impressive. Is there somewhere I can disable caching? Can this timing report be printed and/or saved? --Ben On 8/7/2011 6:30 PM, Azadi

Re: Query of Queries and GROUP - use CFLOOP?

2011-08-02 Thread Azadi Saryev
use a cfoutput with group attribute instead? cfoutput query=GetStates group=StateID #GetStates.StateName# #GetStates.StateID# - cfoutput group=RegionID #GetStates.StateRegion# #GetStates.RegionID#BR / cfoutput group=CountryID cfoutput A

Re: loop timing out

2011-06-28 Thread Azadi Saryev
Rick, i was under the impression that cfthred always obeyed request timeout setting in cf admin... at least in my experience i could never make a thread run longer than cfadmin setting, no matter which other way i tried to alter the request timeout value (cfsetting, url variable)... am i

Re: Specifying Excel Data Types in CFCONTENT?

2011-06-28 Thread Azadi Saryev
no, there isn't. cfcontent basically just tells the browser which mime type the content being delivered is to help the browser figure out how to display it. if you are on a recent cf version, check out cfspreadsheet group of tags and related functions. Azadi On 28/06/2011 23:26 , Feras

Re: application.cfm

2011-06-22 Thread Azadi Saryev
store your pdf files outside of web root so they are not directly accessible. serve them via an intermediary .cfm page, passing it the name of the pdf file, which checks user's access rights to requested pdf and serves the file or shows an error. Azadi On 22/06/2011 22:33 ,

Re: Web Site not coming up in Firefox

2011-06-05 Thread Azadi Saryev
clear the cache in your browser. you should probably have it disabled permanently in your dev/testing browsers. Azadi On 06/06/2011 10:27 , Peter Donahue wrote: Good evening everyone, Okay here's an interesting one for you. After several months of being down I finally restored a

Re: Fwd: Google Picasaweb API

2011-05-23 Thread Azadi Saryev
I have not worked with Picasaweb API much, but looking at its reference guide, it seems you can provide imgmax=d query parameter to make madia:content elements reference the original uploaded photo. imgmax query param can only be used when retrieving *feeds* in order to get images of

Re: Problem with enctype=multipart/form-data and some browsers

2011-05-19 Thread Azadi Saryev
2 shots in the dark (since it does work in my FF4): 1) malformed html: you seem to be missing the opening table tag 2) try giving your submit button a proper name [both issues above are from inspecting source of your test page] i definitely remember FF having all sorts of fits with invalid

Re: ColdFusion and AJAX choices

2011-05-17 Thread Azadi Saryev
definitely jquery Azadi On 17/05/2011 23:50 , Darius Florczyk wrote: Hi, I need to add AJAX functionality in a new project and wondering if anyone had any recommendations for the most robust, stable choice. I will be using it with CF7 but need for it to be easily portable to Railo. The

Re: ISP blocking port 25

2011-05-09 Thread Azadi Saryev
in the meantime, try port 26 - it usually works fine (unless it is blocked). Azadi On 10/05/2011 08:36 , Al Musella, DPM wrote: So - anyone have any ideas on what I can do from now until it is fixed? I changed the retries on my mail server to 6,12,18,24 hours so hopefully the mail in the

Re: Appending Data into a Table from Another Table in MySQL

2011-04-23 Thread Azadi Saryev
INSERT INTO maintable (col1, col2, ..., colN) SELECT col1, col2, ..., colN FROM table2 Azadi On 23/04/2011 11:51 , Scott Williams wrote: Hello geniuses! I've been largely successful exporting my Access database into MySQL, but have one problem. The SQL dump file for one of my tables is

Re: MySQL Conversion

2011-04-20 Thread Azadi Saryev
how are you migrating your db? mysql used to have a migration toolkit as part of mysql gui tools bundle which handled access-mysql migration very well. the gui tools have now been replaced by mysql workbench, but you can still download them from mysql website. gui tools:

Re: CFQUERY update Firefox wierdness

2011-04-18 Thread Azadi Saryev
cfquery tag has absolutely nothing to do with any browser - it is executed by cf on the server side. i would check your page's html and javascript instead - that's where browser differences can come into play. how do you submit your form to add item to cart - ajax or regular form submit? how

Re: Javascript not working inside of cflayoutarea

2011-04-12 Thread Azadi Saryev
1) in your main page change this: $(document).ready(function() { $(#accordion).accordion(); }); to this: doAccordion = function() { $(#accordion).accordion(); }); 2) make html code in your test.cfm standards-compliant (add doctype, html, head, body, etc tags) and then add this as

Re: Javascript not working inside of cflayoutarea

2011-04-11 Thread Azadi Saryev
Steve cfajaximport scriptsrc=... is only for cf's built-in scripts - you do not use it to load anything else. and you only need to use it if you do not have access to default cf's scripts folder or if you have moved the default cf scripts to another folder. to load jquery or any other js

Re: cfselect selected bug?

2011-04-11 Thread Azadi Saryev
that's a known issue with cf's json implementation. what you can do, is add a leading space to all your ids so cf stops stripping zeros . you will then need to trim that space on the back-end when user selections are submitted. Azadi On 12/04/2011 06:38 , Tim Do wrote: I have two dropdowns

Re: cf jquery mobile

2011-03-14 Thread Azadi Saryev
+1 to Ray Another thing to consider is: do you really want to add 500+Kb of scripts loaded when you use cfform tag (or any other cf's built-in ajax features) to your MOBILE site? Azadi On 15/03/2011 09:07 , Raymond Camden wrote: I would also _strongly_ urge you not to mix CF's built in JS

Re: I'm confused/stumped - cant figure this out

2011-03-03 Thread Azadi Saryev
if you expect your commented out cfif statements to 'run' after a user selects an arrangement type - you are rather confused :) by the time your page is displayed in the browser, those cfif statements have already been evaluated and replaced with resulting html. Azadi On 03/03/2011 17:20 ,

Re: Percentages Form Variables

2011-03-03 Thread Azadi Saryev
Something like this: a) at the top of your action page add: cfset ttlquestions = 5!--- total number of q's in the test --- cfset correctanswers = 0 b) in the table showing answers in your action page add cfset correctanswers = correctanswers+1 to all your cfif blocks like so: cfif Form.Q1 EQ

Re: Percentages Form Variables

2011-03-03 Thread Azadi Saryev
oops, typo in the round() function... it should be: #round( (correctanswers/ttlquestions)*100 ) [i had a comma in there which should not be there...] On 04/03/2011 12:11 , Azadi Saryev wrote: Something like this: a) at the top of your action page add: cfset ttlquestions = 5!--- total

Re: Database Lookup - Possible with CF?

2011-03-02 Thread Azadi Saryev
It is definitely possible and rather easy using CF (or just plain javascript) - all you need to do is make an ajax request to a cfc/cfm on your server passing entered employee number as data/argument, which will return necessary data based on emp number. You then populate necessary fields

Re: DaysInMonth issue

2011-03-01 Thread Azadi Saryev
well, it's March 2nd already here in Hong Kong, but nonetheless: if you had it as daysinmonth(now()), then today being March 1st it would have correctly returned 31... what exactly did you pass as argument to your daysinmonth() ? Azadi On 02/03/2011 00:05 , Jeff Epstein wrote: I just had a

Re: Downloading database tables

2011-02-18 Thread Azadi Saryev
sqlyog or navicat are both great mysql management tools and have free editions. there is of course free mysql admin (part of mysql tools now, i think) downloadable from mysql website. since it is your vps, you can install one of these there as well, and configure remote access to your db, or

Re: cf-talk replies

2011-02-17 Thread Azadi Saryev
Feb 2011 at 15:40, Azadi Saryev wrote: the last (before this one) post from you i see in my mailbox is from Jan 26 to thread session Variables Security if you have posted in-between Jan 26 and today then your posts did not show up in the list... Azadi On 17/02/2011 14:42 , Rob Voyle

Re: SELECT - Option selected

2011-02-16 Thread Azadi Saryev
depends on cfselect... in simple cfselect - one based on an in-page query, for example - you can provide a value in the 'selected' attribute and an option with that value will be pre-selected. advanced cfselect - one with a binding - does not support this functionality. but there are

Re: cf-talk replies

2011-02-16 Thread Azadi Saryev
the last (before this one) post from you i see in my mailbox is from Jan 26 to thread session Variables Security if you have posted in-between Jan 26 and today then your posts did not show up in the list... Azadi On 17/02/2011 14:42 , Rob Voyle wrote: Hi Folks I have noticed recently that

Re: local dev and isapi rewrite

2011-02-10 Thread Azadi Saryev
apache uses mod_rewrite. see apache manuals online for documentation. and apache is built into OS X mbp - you do not need to install xamp at all... Azadi On 10/02/2011 21:22 , Stephane Vantroyen wrote: Hi all, I have a local dev cf9 install on macbookpro (built-in webserver), and would

Re: Form Validation Issue using cfinput AND jquery

2011-02-02 Thread Azadi Saryev
cf forms CAN validate cfselect boxes - you just have to code them properly: the default/invalid option MUST have its value set to a single space ( that is [space] ) a common mistake is to set the value to an empty string, which 'breaks' cf's built-in validation: any value other than a single

Re: Coldfusion webroot and multiple domain names

2011-01-26 Thread Azadi Saryev
you probably have a mapping set up (in cf admin or in your Application.cfc/cfm) for your above-web-root folder that contains your .cfm files - that is why they can be included. that cf mapping however would not apply to any other files - only to cfm/cfc ones. all other files will be served by

Re: cfimage write problems

2011-01-24 Thread Azadi Saryev
just tested it on Railo (don't have ACF at hand) and it worked fine. you should specify a filename in your destination attribute, though... just to test, do a cfimage action=info ... and cfdump the variable. Azadi On 24/01/2011 22:41 , Stefan Richter wrote: Just to follow up on this: adding

Re: Script tags and fckEditor

2011-01-21 Thread Azadi Saryev
also check if you have scriptprotect=all/form/url enabled in your application/cf admin - if you do and you store the content you enter into fckeditor in a db, all script tags will be replaced with [invalid tag]... On 22/01/2011 00:29 , Monique Boea wrote: Is there ANY way to allow script

Re: Dynamically output data

2011-01-13 Thread Azadi Saryev
something like this: cfquery name=getData ... SELECT t1.wkid, t1.name, t2.title FROM Table1 t1 LEFT JOIN Table2 t2 ON t1.wkid = t2.wkid ORDER BY wkid, title /cfquery now output using GROUP attribute of cfoutput tag and nested cfoutput: cfoutput query=getData group=wkid WKID: #wkid#br Name:

Re: CGI.querystring

2011-01-09 Thread Azadi Saryev
Russ, I think you really meant cfset QS = ListAppend(QS, key '=' url[key], ) Azadi On 10/01/2011 07:00 , Russ Michaels wrote: cfset QS = ListAppend(QS,key,) ~| Order the Adobe Coldfusion Anthology now!

Re: Converting JPG/etc to ICO

2011-01-09 Thread Azadi Saryev
found this one... never used it myself though: http://image4j.sourceforge.net/ - allows you to read and write certain image formats (ICO, BMP) in 100% pure Java Azadi On 09/01/2011 09:02 , Rick Root wrote: Hey folks, I'm looking for a tool that can convert JPG, GIF, and other images to

Re: iCal Version 4.0.3/vCalendar Auto Accept Issue

2011-01-07 Thread Azadi Saryev
if you post sample code i can test it with iCal 4.0.4... Azadi On 08/01/2011 01:29 , Matthew Lowrey wrote: HoF iCal Version 4.0.3/vCalendar Experts: We have a tool for our students that will allow them to export an .ics file to import into either their Google calendar, Outlook Calendar, or

Re: cfloop working but not how I want it too:

2011-01-01 Thread Azadi Saryev
if the text users enter into your textarea looks like this: Osram|11324;11324-10;11324-15 Eiko|11224;11225;11226 then this is how you can format the output: cfoutput ul cfloop list=#FORM.crossRefList# delimiters=#chr(13)chr(10)# index=brandGroup lispan style=font-size:1.3em;

Re: mySQL Error

2010-12-27 Thread Azadi Saryev
DECIMAL(4,4) is a bit strange - the (4,4) part means your column can store a value with 4 digits, 4 of which are decimal points - effectively means you can only store a range of values between -. and . in your column. the first 4 in (4,4) denotes total number of digits allowed -

Re: mySQL administration

2010-12-09 Thread Azadi Saryev
SQLYog (http://www.webyog.com/en/) and Navicat (http://navicat.com/) both are great MySQL administration tools and both have very feature-rich free editions. MySQL GUI Tools bundle (http://dev.mysql.com/downloads/gui-tools/5.0.html) is another alternative. Azadi On 10/12/2010 12:07 ,

Re: Split String

2010-12-06 Thread Azadi Saryev
listrest(listlast(thestring, .), /\) should give you 'var1/var2/var3/var4' Azadi On 06/12/2010 23:06 , Robert Harrison wrote: I have a string like this: thislocation/thisdir/thissite/thispage.cfm/var1/var2/var3/var4 I want to split the string to get just that data that follows .cfm/,

Re: Webservice error after CF 8.01 update CF FAILS TO START! Error loading: C:/ColdFusion8/runtime/jre\bin\server\jvm.dll

2010-12-01 Thread Azadi Saryev
when you tried other JVMs, where did you install them? try installing one into C:\Java or some such directory - not into CF8's jre folder and not into Program Files - and changing your java.home in jvm.config to point to the new jre location. (make sure you download and install the JDK, not

Re: How to make a CFSELECT Required

2010-11-29 Thread Azadi Saryev
as per cfml documentation, to make cfselecta required field you have to set the value of the default option (the pre-selected option which user has to change) to a signe space string option value= CFIF get04.CountryCode IS ''selected/cfifPlease select/option Azadi On 30/11/2010 12:23 ,

Re: moving data from sub-window into a form

2010-11-24 Thread Azadi Saryev
edit ray's example code and: - change useridfk input field to type=text - remove the ownerspan span element - remove document.getElementById('ownerspan').innerHTML = label; line from selectUser js function Azadi On 24/11/2010 10:26 , Rick Colman wrote: To answer my own question, I did find

Re: cfselect and autosuggest

2010-11-17 Thread Azadi Saryev
On 17/11/2010 22:13 , fun and learning wrote: without using javascript or javascript libraries without *using* js - no. wihtout *writing any js yourself* - yes, if you are on cf8+: use cfinput with autosuggest attribute. Azadi

Re: index.cfm being hacked

2010-11-15 Thread Azadi Saryev
did you inform your hosting provider about the issue? it could very well be that the whole server is compromised, not just your client's site... and since it is shared hosting, it can also very well be that another hosted website is the culprit, not yours. it sounds to me like the attacker has

Re: Homesite Comment Command

2010-11-14 Thread Azadi Saryev
iirc, the 3-dash cf comment does not trip html validation. the 3rd dash is considered the first character of comment text. i do not ever remember having trouble with cf comments in W3C validator. Azadi On 15/11/2010 07:54 , Terry Troxel wrote: Russ thanks for answering. I guess I wasn't

Re: Ajax + 2 functions = error

2010-11-10 Thread Azadi Saryev
is your component cached in some persistent scope (session/application)? it sounds like you have added the getTest() method after the component has been instantiated - and thus its instance has no idea about the getTest() method added later... Azadi On 10/11/2010 21:50 , Jessica Kennedy

Re: Sanitize input data for SQL

2010-11-09 Thread Azadi Saryev
plenty of ideas, but you unfortunately forgot to mention the condition(s)/validation rule(s) when you want your trap/filter to spring/run... what does the value of your 'start' url var have to be to 'pass'? i.e. a positive integer? an numeric value within a certain range? something else?

Re: Ajax + 2 functions = error

2010-11-09 Thread Azadi Saryev
try replacing your failing line with these 2: var stuctTest = getTest(); structAppend(returnData, structTest); Azadi On 10/11/2010 09:56 , Jessica Kennedy wrote: structAppend(returnData, getTest());//failing here! ~| Order

Re: rereplace for removing repeating characters

2010-11-02 Thread Azadi Saryev
try this: cfset string = rereplace(rereplace(string, ,+$, ), ,+, ,, all) Azadi On 02/11/2010 20:34 , Richard White wrote: Hi, i need to replace all repeating commas in a string with only one comma, plus remove the trailing comma, have tried a few different routes unsuccessfully and would

Re: CFLDAP query attribute with multiple values

2010-11-02 Thread Azadi Saryev
very interesting - somehow i have missed the separator attribute of cfldap tag when checking its syntax... will try it first thing tomorrow morning. thanks for the tip, Mahcsig - i will post results (or more questions) tomorrow. On 02/11/2010 21:10 , Mahcsig wrote: Are you using the separator

Re: What's the MySQL syntax for this query?

2010-11-01 Thread Azadi Saryev
iirc, your last oracle syntax example should work in mysql as well. Azadi On 01/11/2010 21:36 , Dave Merrill wrote: This more straight ahead version also works for Oracle: UPDATE MyTable t1 SET Foo = 1 WHERE Bar = 99 AND NOT EXISTS ( SELECT *

CFLDAP query attribute with multiple values

2010-11-01 Thread Azadi Saryev
does cfldap tag support querying for an attribute with multiple values? it seems no matter what i do, it only returns the first value of an attribute... our school uses mac os x server ldap service (based on openldap), and some user attributes are multivalued, but cfldap only ever returns the

Re: Dynamically resizing a cfwindow?

2010-10-30 Thread Azadi Saryev
try something like this, Pete: cfoutput [script type=text/javascript] var extW = ColdFusion.Window.getWindowObject('albumwin'); extW.setSize({width: #imgInfo.width#, height: #imgInfo.height#}); [/script] /cfoutput you may have to make it into a js function and call it using ajaxonload() from

Re: moveTo on cfwindow no longer working in CF9?

2010-10-22 Thread Azadi Saryev
the version of ExtJS/Sencha (js library behind cfwindow) in cf9 is different than in cf8, so a method name could have easily been changed and is not moveTo() any longer. try using setPagePosition() method instead of moveTo() setPagePosition() is the method to move an Ext.Window object in

Re: Totaling items in a recordet

2010-10-19 Thread Azadi Saryev
a query column IS an array - there is no need to convert column to list, then back to array. all you need to get a sum of column values is use array notation: #arraysum(queryname['columnname'])# Azadi On 20/10/2010 03:35 , Michael Grant wrote: is there a way to display the full array

Re: Totaling items in a recordet

2010-10-19 Thread Azadi Saryev
don't quote me on this, but i think probably since cf was rewritten in java... well, at least since 2006, it seems, whichever cf version that was (7?): http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:46955#247646

Re: Nice slideshow script?

2010-10-17 Thread Azadi Saryev
+1 for Cycle jQuery plugin can also recommend: CrossSlide - http://tobia.github.com/CrossSlide/ - especially if you like Ken Burns effect ColorBox - http://colorpowered.com/colorbox/ - the new thickbox AnythingSlider - http://css-tricks.com/examples/AnythingSlider/ - if it's not just images

Re: JQuery Javascript and Coldfusion Ajax functions

2010-10-14 Thread Azadi Saryev
you can use ajaxonload() built-in cf function to run a specific js function after all cf ajax controls on the page are loaded. you basically add this line before the closing /body tag: cfset ajaxonload('name-of-js-funtion-to-run') one minus of this is you can't pass any arguments to the js

Re: Image button in a cfwindow doesn't pass coordinates

2010-10-10 Thread Azadi Saryev
a CFFORM inside a cf ajax control (like CFWINDOW) submits asynchronously using ajax - that's why button coordinates are not passed along. Azadi On 05/10/2010 23:37 , John Pullam wrote: Normally when you click on an image button inside a CFFORM, the coordinates are passed to the form

Re: Can't figure out a query to accomplish this...

2010-10-10 Thread Azadi Saryev
if you insist on using *, you can do SELECT p.* to select all columns from only one table in a join. but others have already said why selecting * (even from one table) may not be a very good idea. Azadi On 04/10/2010 21:59 , Rick Faircloth wrote: Yes, once I got the query working (except

Re: cfinput 'datefield' always aligns to left?

2010-07-22 Thread Azadi Saryev
are you using cf8 or cf9? iirc, the css classes you need to override are version-specific... Azadi On 22/07/2010 14:02, Jim Eisenhauer wrote: Please help. I cannot get the input field to center in a table cell using 'td align=center' or using CSS. I haven't even been able to put

Re: cfcharts not displaying

2010-07-06 Thread Azadi Saryev
make sure virtual directory/host to /CFIDE folder is configured correctly in production website Azadi On 06/07/2010 10:20, RamaDevi Dobbala wrote: Hi, if anyone know please help me. My cf flash charts are not displaying in production, but displaying in test site,where i can check that.

Re: How can you GetFileInfo for a datasource?

2010-06-24 Thread Azadi Saryev
correct me if i am wrong (i am not a .Net developer in any way), but doesn't your .Net code expect you to provide the path to the db as well? or is Session(DBpath) some variable automatically created by .Net? Azadi On 24/06/2010 05:43, John Pullam wrote: This info is not made readily

Re: cftextarea setValue() and jquery dialog

2010-06-15 Thread Azadi Saryev
). The whole form exists when the page loads. The ajax is just to get data for populating the form field values themselves. So, I don't think that's the issue, unless I'm misunderstanding you. Scott On Mon, Jun 14, 2010 at 10:09 PM, Azadi Saryev azadi.sar...@gmail.comwrote: On 15/06/2010

Re: Check for remote CFC call in CF 8

2010-06-15 Thread Azadi Saryev
specifically for detecting jquery ajax calls to remote cfc functions you can use something like this: cfset headers = getHttpRequestData().headers cfif structKeyExists(headers, X-Requested-With) AND headers[X-Requested-With] eq XMLHttpRequest it's an ajax request using jquery! /cfif more

Re: cftextarea setValue() and jquery dialog

2010-06-15 Thread Azadi Saryev
the ckeditor to be ready. Scott On Tue, Jun 15, 2010 at 9:05 AM, Azadi Saryev azadi.sar...@gmail.comwrote: the textarea element exists on your page, but its ckeditor (richtext) 'incarnation' does not. thus calling ColdFusion.RichText.setValue() at this stage does not produce any results - because

Re: cftextarea setValue() and jquery dialog

2010-06-15 Thread Azadi Saryev
wrote: Hmmm in that case, I may just go with it. Our dev environments are CF9, but production is CF8. It's on an admin page, so I guess I'll just see what happens and make sure it works. Thanks! Scott On Tue, Jun 15, 2010 at 10:43 AM, Azadi Saryev azadi.sar...@gmail.comwrote

Re: cftextarea setValue() and jquery dialog

2010-06-15 Thread Azadi Saryev
re-draws the richtext textarea, it will show the new value in it. however, this will NOT work in cf8... Azadi On 16/06/2010 02:02, Azadi Saryev wrote: yeah, since cf9 uses newer version of ckeditor, some things have changed... i have seen some rather weird stuff in my tests now with cf9. i

Re: cftextarea setValue() and jquery dialog

2010-06-15 Thread Azadi Saryev
/06/2010 02:22, Scott Brady wrote: Thanks! I'll try that. On Tue, Jun 15, 2010 at 12:02 PM, Azadi Saryev azadi.sar...@gmail.comwrote: yeah, since cf9 uses newer version of ckeditor, some things have changed... i have seen some rather weird stuff in my tests now with cf9. i guess it has

Re: cftextarea setValue() and jquery dialog

2010-06-14 Thread Azadi Saryev
On 15/06/2010 10:25, Scott Brady wrote: The success function then populates the form (including the text area) i assume you are talking about $.ajax() [or similar] jquery success callback? that one will fire before the cf's richtext area is fully ready, thus your error. what you can do, is

Re: CF9: How pass cfgrid values to a cfm page?

2010-06-11 Thread Azadi Saryev
On 11/06/2010 23:40, Raymond Camden wrote: You've made your button use CF's navigate function, which is NOT going to pass the form fields along actually, it IS going to pass them if you specify form's name or id as the last parameter of ColdFusion.navigate() function - which Joy did. @Joy -

Re: imageRead plus imagepaste plus imageGetBlob issue

2010-06-01 Thread Azadi Saryev
browser css/images caching? i did see the problem you described on the link you posted... what if you put the css declaration into the page (instead of external stylesheet) and add a random url param to the bg image url? style type=text/css #masthead {background:

Re: Variable Amount of text in a Fixed Size Box

2010-05-31 Thread Azadi Saryev
your css presumably defines default fonts for the text in the box. check in as many browsers+os which one generates the least number of chars that fit in the box (and don;t forget to count [click for more] text you'll be adding!). that's the number of chars you need to work with. after that

  1   2   3   4   5   6   7   8   >