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  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  at
> 
>
> for example,   one event is every Saturday (day='7') at midnight.
> Another event is every Sunday (day="1') at 9pm.
>
> How can i calculate the date of the next occurrence of these events so I
> can display it as :  "coming up at  on "?
>
> --
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month
>
>
> 

~|
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:357560
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  wrote:

>
> > In my application.cfc, I've got a line that sets an application variable:
> >
> > 
> >
> > I need that application.siteShortdomain variable available when
> contact.cfc
> > runs.
> >
> > So, how would I go about this?
>
> From within any file that's part of that application, you can directly
> reference application.siteShortDomain:
>
> #application.siteShortDomain#
>
> Any file within the same directory, or any subdirectories that don't
> have their own Application.cfc or Application.cfm files, are part of
> that application.
>
> 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:356063
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFWindow Timing Issue

2012-12-03 Thread Azadi Saryev

maybe a better approach would be to add

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 code runs after the content is loaded (i.e. due to delay because
of network congestion, etc).

the downside of using ajaxonload() cf function is - it does not accept
any parameters, so you can't pass arguments to the js function it is
set to execute.

Azadi

On Tue, Dec 4, 2012 at 3:44 AM, James Steubing  wrote:
>
>
> > I am incorporating CFWindow and coldfusion.window functions into my
> > site and have them working very well except for one issue.  I would
> > like to execute some javascript after the cfwindow fully opens but
> > everything I am doing appears to execute after the popup appears but
> > before the coldfusion page loads into the window.
> >
> > I have tried ajaxonload(), javascript onload, $('#docload').
> > ready(function(), etc.
> >
> > They all seem to execute before the actual end of the process.
> >
> > Is there a way around this?  Any help on this would be greatly
> > appreciated.
>
> I solved the problem by using setTimeout(function(){ insert_javascript_here 
> },0); from within the page I was loading in the popup.  Calling an external 
> function was executing at the wrong time, but using setTimeout like this with 
> a timeout of 0 milliseconds works like I needed it to.  Hope this helps 
> someone someday.
>
> 

~|
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:353360
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Best practice question for Application.cfc

2012-10-15 Thread Azadi Saryev

I use hash() not for security, but to 'normalize' the value of
application name - to make sure it does not contain any problematic
special characters, which getCurrentTemplatePath() may return (like
'C:\\some path\some.sub.path\my folder\etc etc etc\Application.cfc').

Azadi

On Mon, Oct 15, 2012 at 9:20 PM, Nick Gleason  wrote:
>
> Hello Azadi,
> Thanks for the feedback.  Although I am interested in the extends attribute
> of the cfc for this, that seemed a bit tricky.  Since all I need in the
> short run was to get the applicationname variable into application.cfc, I
> did do something similar to what you suggest.
> One question about the hash function in your example.  Why would that be
> necessary here?  I'm not storing this in a database at this point so I'm
> not sure if it's still necessary.
> Thoughts?
> Best,
> Nick
>
> 
> .
>
> Nick Gleason | CitySoft, Inc. | http://www.citysoft.com
>
> Direct: (617) 899-5395 | Fax: (617) 507-0444
>
> Spend Less >> Do More - Community Enterprise combines great features with
> an affordable price
>
> .
> 
> .
>
>
> 
> Return-Path: 
> Received: from mail.houseoffusion.com [64.118.74.225] by
> mail67.safesecureweb.com with SMTP;
>Sun, 14 Oct 2012 19:28:02 -0400
> To: cf-talk 
> Message-ID:
> 
> 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 
> MIME-Version: 1.0
> Content-Type: text/plain; charset="ISO-8859-1"
> Content-Transfer-Encoding: 7bit
> X-Rcpt-To: 
> X-SmarterMail-Spam: SpamAssassin 0 [raw: 0], SPF_None, DK_None
> X-SmarterMail-TotalSpamWeight: 0
>
> 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  wrote:
>>
>> Hi Folks,
>> We're moving from application.cfm to application.cfc and I had a
> question
>> regarding best practices.
>> We re-use our base code and in the past, we have used a settings page
> that
>> is external from the base code and unique per client to set the
>> applicationname variable (and other variables).  This is called at the
>> beginning of application.cfm and provides  with the unique
>> application name.
>> That same structure seems to work with application.cfc but requires
> calling
>> a file at the top of application.cfc, above setting the application
>> variables in application.cfc, to provide the applicationname.
>> Is that approach (calling a file at the top of application.cfc to provide
> a
>> unique client setting) considered a best practice for this kind of
> thing.
>> Or, is there a more appropriate way?
>> The only other thing I could think of would be to hard code the unique
>> client applicationname in Application.cfc, but that would then require
> that
>> Application.cfc be a unique file per client and thus not part of our
> core
>> base code in the sense that we wouldn't include it in upgrades (so that
> it
>> wouldn't over-write a unique client file with default values).
>> Any thoughts on that?  Let me know if I'm not being clear.
>> Thank you in advance!
>> Nick
>>
>>
>>
>>
>>
>
>
>
> 

~|
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:352911
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  wrote:
>
> Hi Folks,
> We're moving from application.cfm to application.cfc and I had a question
> regarding best practices.
> We re-use our base code and in the past, we have used a settings page that
> is external from the base code and unique per client to set the
> applicationname variable (and other variables).  This is called at the
> beginning of application.cfm and provides  with the unique
> application name.
> That same structure seems to work with application.cfc but requires calling
> a file at the top of application.cfc, above setting the application
> variables in application.cfc, to provide the applicationname.
> Is that approach (calling a file at the top of application.cfc to provide a
> unique client setting) considered a best practice for this kind of thing.
> Or, is there a more appropriate way?
> The only other thing I could think of would be to hard code the unique
> client applicationname in Application.cfc, but that would then require that
> Application.cfc be a unique file per client and thus not part of our core
> base code in the sense that we wouldn't include it in upgrades (so that it
> wouldn't over-write a unique client file with default values).
> Any thoughts on that?  Let me know if I'm not being clear.
> Thank you in advance!
> Nick
>
>
>
>
> 

~|
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:352904
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  wrote:
>
> Thank you Rick, This is exactly what I was looking for.
> I have a lot of reading ahead of me and then a lot of work to put it all in
> play.
>
> Terry Troxel
>
> -Original Message-
> From: Rick Faircloth [mailto:r...@whitestonemedia.com]
> Sent: Saturday, September 15, 2012 11:39 AM
> To: cf-talk
> Subject: RE: Help with creating a mobile website with CF
>
>
> Hi, Terry...
>
> My perspective, after creating a couple of real estate
> mobile sites which make heavy use of ColdFusion, is that ColdFusion
> has little to nothing to do with whether or not a site is mobile.
>
> ColdFusion simply puts content on the page in raw form.
>
> The work of making a site mobile is done mainly in the CSS realm.
> (CSS3 to be more precise...)
>
> I use HTML5, ColdFusion, jQuery, and CSS3 to design and develop my
> mobile sites.
>
> But before you start down the path of making mobile sites (smartphone)
> that are designed separately from their tablet, and desktop brothers
> and sisters, let me encourage you to delve into Responsive and Adaptive
> Site Design.  I think this is the future.  Not only does it make developing
> for multiple sized devices simpler, it allows you to keep all the "sites"
> or should I say "adaptations" of the site under one domain, instead of
> site.com for desktop, site.mobi, for another one of the versions, and
> m.site.com for another.  It becomes very difficult for site owners to
> promote all those domains and subdomains to customers.
>
> Responsive and Adaptive Web Design & Development, again, keeps everything
> under one domain and that also helps a lot with SEO/SEM.
>
> So, do some searching for Responsive Web Design and Adaptive Web Design,
> learn the distinctions (they're not that different), understand them
> and you'll be off to a good start.
>
> Just some thoughts to help you get start on a journey of change that I
> started about a year ago and am still working on getting figured out.
>
> Hope this helps!
>
> Rick
>
> -Original Message-
> From: Terry Troxel [mailto:terry.tro...@gmail.com]
> Sent: Saturday, September 15, 2012 1:57 PM
> To: cf-talk
> Subject: Help with creating a mobile website with CF
>
>
> I could sure use some help getting a grasp of where to start learning how
> to create mobile websites for Iphones and Android using coldfusion.
>
> Terry Troxel
>
>
>
>
>
>
> 

~|
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:352627
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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

2012-09-12 Thread Azadi Saryev

you use proper  tag and not Russ's mysterious  one, right?

On Thu, Sep 13, 2012 at 6:52 AM, Bruce Sorge  wrote:
>
> That does not work either
>
> Bruce
>
>
> On Sep 12, 2012, at 3:16 PM, Russ Michaels  wrote:
>
>>
>> you should reference the image locally, e.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:352568
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  wrote:
>
> Nothing, I clicked the triangle and there's a blank line.
> Here's the file, thanks!
>
> http://dev.fallcomm.com/demo.cfm
>
>
> On Wed, Sep 12, 2012 at 2:10 PM, Raymond Camden 
> wrote:
>
>>
>> Also - when you get arguments[2] in the console, there should be a
>> black triangle you can click to expand it. Do that - let us know what
>> you see.
>>
>>
>> On Wed, Sep 12, 2012 at 2:02 PM, Greg Morphis  wrote:
>> >
>> > I updated the pastebin to include my cfc file too.
>> >
>> > In the console I get:
>> >  Arguments[2]
>> >
>> >
>> > demo.cfm:44 
>> >  why dont you freaking work demo.cfm:45<
>> http://localhost:81/resources/demo.cfm>
>> >
>> > There's no arguments listed below arguments.
>> >
>> > I'll work on getting it online
>> >
>> >
>> >
>> > On Wed, Sep 12, 2012 at 1:50 PM, Raymond Camden > >wrote:
>> >
>> >>
>> >> Hmpth. This seems right. So dumb question. If you remove ALL the logic
>> >> in your callback, just keep in
>> >>
>> >> console.dir(arguments);
>> >>
>> >> and maybe a
>> >>
>> >> console.log("why dont you freaking work");
>> >>
>> >> does it work correctly? Also - can you put this online? It may be a lot
>> >> quicker.
>> >>
>> >> On Wed, Sep 12, 2012 at 1:45 PM, Greg Morphis 
>> wrote:
>> >> >
>> >> > Sure thing Ray, thanks so much for helping.
>> >> >
>> >> > http://pastebin.com/2M04ZFaQ
>> >> >
>> >> > And I'm not sure if this tells you anything, Firebug gives this error:
>> >> >
>> >> > TypeError: presentation is null
>> >> > onreadystatechange()cfajax.js (line 125)
>> >> >
>> >> > $A.callback(req,_407,_408);
>> >> >
>> >> >
>> >> > On Wed, Sep 12, 2012 at 1:29 PM, Raymond Camden <
>> raymondcam...@gmail.com
>> >> >wrote:
>> >> >
>> >> >>
>> >> >> Can you post your entire CFM again? Please use something like
>> pastebin
>> >> >> or gist.github.com so it is "in the clear".
>> >> >>
>> >> >>
>> >>
>> >
>> >
>> >
>>
>>
>
> 

~|
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:352559
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 always specify "failto" cfmail attribute -
delivery failure notifications will be sent to the address you
provide. No failure notice = mail delivered.

Azadi

On Thu, Aug 23, 2012 at 2:29 AM, Robert Harrison
 wrote:
>
>
> I just found out (with no help from the Adobe documentation) that you can get 
> an email generated via CF mail to return a read receipt by adding the 
> following to the mail content.
>
>  value="m...@domain.com">   This is the Message Disposition Notification  -  
> the command that requests the user to confirm they have read the mail.
>
> What I really want to do is confirm that the mail has been delivered.
>
> That should be something like:
>
>  
> or   or  
> 
>
> Does anyone know what the correct attribute is for Delivery Status 
> Notifications?   I can't find that documented anywhere.
>
> Thanks
>
> Robert Harrison
> Director of Interactive Services
>
> Austin & Williams
> Advertising I Branding I Digital I Direct
> 125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
> T 631.231.6600 X 119   F 631.434.7022
> http://www.austin-williams.com
>
> Blog:  http://www.austin-williams.com/blog
> Twitter:  http://www.twitter.com/austin_
>
> 

~|
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:352279
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  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 people have any experiences with running CF hosting on a VM solution,
> how does it compare to a standalone server?
> 3. I tried to convince my boss that "cloud" is just another of those
> meaningless marketing buzz-words but he's insistent I look at "cloud-based"
> CF hosting. Anyone go any recommendations for that in the UK?
>
> Thanks in advance :)
>
> -= Ed
>
>
>
>
> 

~|
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:351305
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 to sign up
with them as soon as I need to host a new domain.

Azadi

On Mon, May 21, 2012 at 10:32 AM, Phillip Vector
 wrote:
>
>
> So I know it's been discussed before, so a link to the relevant past
> article will suffice... But I am in need of moving my webpages to a
> new server and was wondering where I can find some cheap ($20 or
> under) web hosting that will allow me to host 3 or more websites with
> Coldfusion (and Fusebox).
>
> Anyone have any ideas?
>
> 

~|
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:351269
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 that ticks are NOT single quotes). MySQL also allows
you to use column aliases in group by and order by statements.

On Tue, May 8, 2012 at 3:57 AM, Che Vilnonis  wrote:
>
> Should be a simple one for a mysql guru. What is the mysql equivalent of the
> following?
>
> select datePart(dd,timestamp) as dayOfMonth, count(timestamp) as
> searchesPerDay
> from mytable
> where (timestamp between '5/1/2012 00:00:00' and '5/31/2012 23:59:59')
> group by datePart(dd,timestamp)
> order by datePart(dd,timestamp) asc
>
> Thanks, Che
>
>
>
> 

~|
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:351035
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  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 finding are: &8635 or &9606 or &9658 or
> &9668 or &9734 or &9835
>
> Is there a regex that could remove all of these characters at once w/o
> having to maintain an ever growing list of them?
>
> TIA, Che
>
>
>
> 

~|
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:350772
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 your Application.cfc/cfm that
will tell you if your user has js enabled or not.

Azadi

On Tue, Mar 27, 2012 at 00:59, Robert Rhodes  wrote:
>
> Hello again.
>
> I have a site that loads all the content in ajax.  I also have a version of
> the site that does not use ajax.
>
> I am looking for some code I can put in the application.cfm to test to see
> if the visitor's browser supports javascipt or not, so I can load the right
> version of the site.
>
> Any ideas?
>
> Thanks.
>
> --RR
>
>
> 

~|
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:350547
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  wrote:
>
> I am using Apache with Railo and I am in need to having my URL's looking 
> something like this:
>
> www.somedomain.com/new/cool
>
> I want all request to use Railo, and all variables hidden.
>
> Any help on this is appreciated.
>
> 

~|
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:350540
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  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 installed
> CFBuilder I used the "Built-In Webserver" option rather than local IIS or
> Apache or something else.
>
> Things have been working fine - I could access my server at
> http://localhost:8300, set up databases, and do the typical things one
> would expect.
>
> I have a few different projects in the root server each in their own
> folder. However, this required browsing to
> http://localhost:8300/myProjectFolder but to simulate the production sites,
> this couldn't continue. I wanted to set it up so I could do
> http://myproject.dev or some variation but the problem is I can't quite
> figure out how, or at least how to do it correctly.
>
> In my local server aptly named LocalDev configuration from CFBuilder, I
> added a Virtual Host named myproject.dev, Host name, myproject.dev, Port
> 8300 (same as the server) over http and pointed at my document root which
> lives in the cf server root folder. I had a multi-instance install so the
> path is C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\myProject
>
> I then right clicked on my project >Properties>Coldfusion Server Settings
> and selected my server with the virtual host. "LocalDev-myproject.dev" and
> see a Sample Url of http://myproject.dev:8300/
>
> Now it looks like all systems go but when I try to browse there to a basic
> txt file right in the root http://myproject.dev:8300/readme.txt
>
> Chrome says "Oops! Google Chrome could not connect to myproject.dev:8300"
> Firefox equivalent is "The connection has timed out The server at
> myproject.dev is taking too long to respond."
>
> What am I doing wrong!? I'm going nuts over here!
>
> 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:350491
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Session variables not working

2012-02-27 Thread Azadi Saryev

In your  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  wrote:
>
> Well, after quickly throwing together an application.cfc,
> I can see that it is necessary.  It attached the CFID
> and CFTOKEN to the URL.
>
>
> -Original Message-
> From: Rick Faircloth [mailto:r...@whitestonemedia.com]
> Sent: Monday, February 27, 2012 3:29 PM
> To: cf-talk
> Subject: RE: Session variables not working
>
>
> There's no application.cfc at this point...the only
> two pages involved are what's in this email.
>
> Is enabling session management in an application.cfc
> necessary for session management to work?
>
> As you can see below when I use:
>
> 
>
> and then output that with:
>
> #session.name#
>
> I get 'rick'...
>
> But that's on the same page.
>
> Would that work but not session variables between pages
> with session management being enabled in application.cfc?
>
> Rick
>
> -Original Message-
> From: Steve Milburn [mailto:scmilb...@gmail.com]
> Sent: Monday, February 27, 2012 3:18 PM
> To: cf-talk
> Subject: Re: Session variables not working
>
>
> Have you enabled session management in the application.cfc?
>
> On Mon, Feb 27, 2012 at 3:14 PM, Rick Faircloth
> wrote:
>
>>
>> It's been awhile since I used session variables,
>> but this is simple.  Why won't this work?
>>
>> session-test.cfm
>> 
>>
>> 
>>
>> #session.name#
>>
>> 
>>
>>
>> session-test-2.cfm
>> --
>>
>> #session.name#
>>
>>
>> I get the error 'Element NAME is undefined in SESSION.'
>>
>> ???
>>
>> Session variables are specified for use in CFADMIN.
>> Am I missing something REALLY simple or obvious?
>>
>> Rick
>>
>>
>>
>>
>
>
>
>
>
> 

~|
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:350120
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 e.preventDefault() in your function to cancel the
default click/submit action.

another thing i would check is to make sure your codebase is exactly
the same, including your Application.cfc/cfm contents. if you are
using Application.cfc, check if you have onRequest() method defined on
your prod server - it may interfere with remote calls to cfc's.

as Claude said, seeing the actual live page may help shed more light
on the issue...

Azadi

On Wed, Feb 22, 2012 at 06:02, Brent Shaub  wrote:
>
> Hello, thank you for any assistance with this puzzler.
>
> On my local Windows Vista development machine, I'm using CF 9.  Here I have a 
> JavaScript call JQuery's $.ajax() method to write some text to a database 
> using a web service in a CFC.  On my machine, it works as expected: writes 
> the values, screen stays put.
>
> On production, a leased webserver with Hostek.com, something different 
> happens.  The .ajax() call accesses the CFC which writes to the database, 
> then after about five seconds, refreshes the screen with the data passed into 
> the CFC as querystring parameters.  This page refresh is mucking up the 
> purpose of using ajax.
>
> I haven't a clue why this behavior is server-specific nor if the area of 
> research is Cold Fusion or the CF Admin settings or something else related to 
> JQuery.  I have debugging IPs turned off on both environments.  Why does an 
> ajax post turn into a get and refresh the URL after it's successful on 
> production and not development?
>
> Thanks and hope it's an easy one
> Brent
>
> 

~|
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:350025
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  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
> }
>    cf_dump(dbResult);
>    cf_abort();
> else
>    // other stuff
>
> You need to move those two items inside of the }.
>
> HTH
>
>
> On Wed, Feb 8, 2012 at 2:05 PM, daniel kessler  wrote:
>
>>
>> >The error code mentions Line 63 as the start of an if () statement, and
>> >Line 52 as the start of the  tag. We'll need probably the entire
>> >if () block at the least, as it would seem the issue lies in there.
>> >
>> >Hard to speculate based solely upon the error message, as CF is notorious
>> >for providing rather cryptic error messages which often send one off
>> >chasing ghosts.
>>
>> In this case, it is reporting loosely.  If I comment out the cf_abort,
>> there is no error.  So it has a problem with the cf_abort.  That being a
>> problem, messes with the next line, the "else".  Since the else is part of
>> the IF, it complains about the whole IF.  Really, it's complaining about
>> the cf_abort, like it doesn't know what it is.
>>
>> However, the IF is several hundred lines long.  Here's the relevant part
>> up to the 'else' that works fine with the cf_abort commented out:
>>
>> if (len(arguments.inStruct.a_agent_first_name) gt 0 OR
>> len(arguments.inStruct.a_agent_middle_initial) gt 0 OR
>> len(arguments.inStruct.a_agent_last_name) gt 0 OR
>>                                   len(arguments.inStruct.a_agent_firm_ein)
>> gt 0 OR len(arguments.inStruct.a_agent_firm_name) gt 0 OR
>> len(arguments.inStruct.a_agent_phone) gt 0 OR
>>
>> len(arguments.inStruct.a_agent_phone_ext) gt 0 OR
>> len(arguments.inStruct.a_agent_address_1) gt 0 OR
>> len(arguments.inStruct.a_agent_address_2) gt 0 OR
>>                                   len(arguments.inStruct.a_agent_city) gt
>> 0 OR len(arguments.inStruct.a_agent_state_id) gt 0 OR
>> len(arguments.inStruct.a_agent_province) gt 0 OR
>>
>> len(arguments.inStruct.a_agent_country_id) gt 0 OR
>> len(arguments.inStruct.a_agent_postal_code) gt 0 OR
>> len(arguments.inStruct.a_agent_email) gt 0)
>>                                        {
>>                                        dbResult =
>> request.oEmployer.Ins_Agent_Tbl(arguments.inStruct);
>>                                        if (dbResult eq "0,")
>>                                                request.inStruct.l_agent_id
>> = listGetAt(dbResult,2);
>>                                        else
>>                                                request.inStruct.l_agent_id
>> = "";
>>                                        }
>>                                         //cf_dump(dbResult);
>>                                           cf_abort;
>>                                else
>>                                        request.inStruct.l_agent_id = "";
>>
>>
>>
>
> 

~|
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:349844
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  wrote:
>
>
> Thank you. But once again, the proper syntax is not included.
>
> I added the following and it doesn't work. I'm sure I have the wrong context 
> tho
>
>  
>       CKEDITOR.replace( '#content.englishText#', {
>          on : {
>             instanceReady : function( ev ) {
>                this.dataProcessor.writer.setRules( 'cfoutput', {
>                      indent : false,
>                      breakBeforeOpen : false,
>                      breakAfterOpen : false,
>                      breakBeforeClose : false,
>                      breakAfterClose : true
>                   });
>             }
>          },
>          customConfig : '../ckeditor/ckeditor/ckeditor.js',
>       });
>    
>
>  name="editor1">#content.englishText#
>
>
> 

~|
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:349421
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFSELECT - Required

2011-12-16 Thread Azadi Saryev

Robert

Try adding 'selected' property to your first option tag:
Month

Azadi

On Wed, Dec 14, 2011 at 01:00, Robert Harrison
wrote:

>
> According to the CF documentation you can make a select list required and
> you can get around the need to set the size gt 1 by entering " " as the
> value of the first option.
>
> This is the documentation:
>
> REQUIRED... Note: This attribute has no effect if you omit the size
> attribute or set it to 1, because the browser always submits the displayed
> item. You can work around this issue: format forms by having an initial
> option tag with value=" " (notice the space character between the quotation
> marks).
>
> This is the code:
>
> required="yes" message="Please enter your date of birth">
>Month
>January
>February
>March
>More
>
>
>
> What am I doing wrong? I just want to get the message when the users
> selects the  "Month"  option.
>
> Thanks
>
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy Drive, Suite 100
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119
> F : 631.434.7022
> http://www.austin-williams.com
>
> Great advertising can't be either/or.  It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
> 

~|
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:349196
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  wrote:
>
> Looking at my analytics, IE6 has dropped off quite a bit over the past six
> months. IE makes up 36% of our visitors. Of that, less than 1% from IE 6.
>
> -Original Message-
> From: Raymond Camden [mailto:raymondcam...@gmail.com]
> Sent: Wednesday, November 16, 2011 3:40 AM
> To: cf-talk
> Subject: Re: HTML5 Browser Support
>
>
> While it is still a problem, I think it is improving rather quickly.
> IE6 continues to decline,and the major browser vendors are spewing out
> updates faster than ever, especially Chrome. Even MS followed up IE9 with
> their IE10 beta rather quickly.
>
>
> On Wed, Nov 16, 2011 at 5:03 AM, Steve 'Cutter' Blades
>  wrote:
>>
>> On 11/15/2011 4:03 PM, Gerald Guido wrote:
>>> Right now, according to my (extremely unscientific) estimates about
>>> 40-60% of the browser market supports at least some of the HTML5 spec
>>> (Basically everything except IE8 and below).
>> I was lucky enough to watch Douglas Crockford give a keynote at the
>> first Ext JS conference a few years back. He gave this awesome
>> presentation on the future of HTML and JS, then burst everyone's
>> bubble when he pointed out that it would be well over a decade before
>> developer's could truly take advantage of any of it (with the
>> exception of mobile). His reasoning was browser life cycle. Today
>> there are developers who must continue to support IE 6 because a
>> company (or govt) won't/can't move past it. How long do you think it
>> will take before 85%
>> + are up to, or past, IE 10? (sad fact: users still use MS)
>>
>> Steve 'Cutter' Blades
>> Adobe Community Professional
>> Adobe Certified Expert
>> Advanced Macromedia ColdFusion MX 7 Developer 
>> http://cutterscrossing.com
>>
>>
>> Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
>> https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desk
>> top-style-user-interfaces/book
>>
>> "The best way to predict the future is to help create it"
>>
>>
>>
>>
>
>
>
> 

~|
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:348758
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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

2011-11-05 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  wrote:
>
> Query of queries?
>
> Doesn't look like you can.
>
> Google says:
> http://www.dreamincode.net/forums/topic/156610-query-of-queries-column-names-with-spaces/
>
> On 11/5/11 10:41 PM, Torrent Girl wrote:
> >> queryName["Column Name"][rowNumber]
> >>
> >> On 11/5/11 9:38 PM, Torrent Girl wrote:
> >>> Hi All
> >>>
> >>> How do you output columns from a query that have been formatted as 2
> >> words i.e. First Name?
> >>> The query is returned by a stored proc that can't be edited.
> >>>
> >>>
> > How would I select these 2 word columns in a sub query?
>
> 

~|
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:348482
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  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, is there some service some where that I can hook into for realtime
> conversion?
>
> Thanks.
>
> RR
>
>
> 

~|
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:347547
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 60-80 emails per minute.
I had to add sleep() timeouts to "throttle" the sending - I think I
ended up with 2 seconds of sleep after each email and that seemed to
work.

Azadi

On Wed, Aug 31, 2011 at 05:41, Andrew Scott  wrote:
>
> This is a ColdFusion 8 server, and not all mail is having this problem, as
> it appears that any email that is sent without the from or to address
> contains the name of the email account it is being sent from.
>
> I am sort of think it is a relay issue, or something but can't seem to find
> anything that is leading me in the right direction. Google has been of no
> help in finding an answer either.
>
> This is what is showing up in the logs
>
> "Error","scheduler-1","08/31/11","07:32:14",,"Exception reading response"
> javax.mail.MessagingException: Exception reading response;
>  nested exception is:
> java.net.SocketTimeoutException: Read timed out
> at
> com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)
>  at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
> at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
>  at javax.mail.Service.connect(Service.java:275)
> at coldfusion.mail.MailSpooler.getConnection(MailSpooler.java:994)
>  at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:832)
> at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:753)
>  at coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:1070)
> at coldfusion.mail.MailSpooler.run(MailSpooler.java:1035)
>  at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
> at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
> Caused by: java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:129)
>  at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>  at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
> at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
>  at
> com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)
>
>
>
>
> --
> Regards,
> Andrew Scott
> WebSite: http://www.andyscott.id.au/
> Google+: http://plus.google.com/108193156965451149543
>
>
> 

~|
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:347428
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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

~|
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:346806
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 Saryev wrote:
>> wrench - tools - developer tools
>>
>> Azadi

~|
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:346583
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 8:50 PM, Kevin Pepperman   wrote:
>>
>>> Firebug for Firefox has tools for this type of thing.
>>>
>>> http://getfirebug.com/network
>>>
>>>
>>>
>>> --
>>> /Kevin Pepperman
>>>
>>> "*Never memorize what you can look up in books*."
>>> --Albert_Einstein
>>>
>>>
>>>
> 

~|
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:346578
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Query of Queries and GROUP - use CFLOOP?

2011-08-02 Thread Azadi Saryev

use a cfoutput with group attribute instead?


#GetStates.StateName# #GetStates.StateID# -

   #GetStates.StateRegion# #GetStates.RegionID#


#GetStates.PropertyLocationName#





Azadi

On 03/08/2011 09:59 , Chris Sizemore wrote:
> I am using a cfloop condition approach to perform a standard branched tree 
> operation. I have four tables and my query is pretty straight forward.  The 
> output is not working though. It is returning the correct amount of results 
> and is organizing them properly but the values displayed are repeating. I've 
> looked over it again and again. It returns the proper fields and order in 
> MSSQL Server Management Studio Express...  Any ideas?
>

~|
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:346473
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  group of 
tags and related functions.

Azadi

On 28/06/2011 23:26 , Feras Nabulsi wrote:
> Hello,
>
> I am using CFContent to create an excel spreadsheet. The type of data is 
> different, some are currency and some are integers, ...etc. Each of these 
> fields once put into Excel should be specified in order to properly format 
> the spreadsheet.
>
> Is there a way to specify a data type for each column in Excel when created 
> using CFContent?
>
> 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:345884
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 wrong? is my experience skewed somehow?

Azadi


On 28/06/2011 22:16 , Rick Faircloth wrote:
> Bummer... cfthread really helped with long-running scheduled tasks.
>
>
> -Original Message-
> From: daniel kessler [mailto:dani...@umd.edu]
> Sent: Tuesday, June 28, 2011 7:32 AM
> To: cf-talk
> Subject: Re: loop timing out
>
>
>> What about running the task in a cfthread?
>>
>> I have some tasks that run on a schedule (or manually triggered)
>> for an hour or two without issue...
> It sounds interesting, but from my checking, it doesn't appear to be a CF7
> tag.
>
>
>
> 

~|
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:345829
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 , =?ISO-8859-1?Q?Claude_Schn=E9egans wrote:
> Hi,
>
> I've noticed that application.cfm is indeed run before the template called in 
> the url, but the template itself is compiled BEFORE application.cfm is called.
> I need to have the ability in application.cfm to run some code and NOT 
> compile the template.
>
> Is it possible ?
> CF 9
>
> 

~|
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:345534
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 client's Web site to operation on my virtual
> private server. The site comes up in IE 6 and 8 but I receive an "Under
> Construction" page if I attempt to view it in Mozilla Firefox 3.0.19. Can
> any Firefox users tell me what's going on here? The URL is:
> http://www.shellbells.net
>
>  If I type in: www.shellbells.net/index.cfm in Firefox the site loads
> fine. Otherwise I'm getting that "Under Construction" page. A friend who
> uses Firefox tried it using www.shellbells.net and the site loaded fine for
> him. Is this a Firefox issue, a ColdFusion issue or something else. Is there
> a CF add-on I need to install for CF sites to load  correctly in my version
> of Firefox? Is there something I need to change in the CF Administrator so
> Web sites load properly in all browsers?
>
>  Your assistance in troubleshooting this one will make for a very happy
> Webmaster and client. Thanks again for your help.
>
> Peter Donahue
>
> "Will you come and awake our lost land from its slumber
>And her fetters we'll break, links that long are encumbered.
>And the air will resound with hosannas to greet you
>On the shore will be found gallant Irishmen to greet you."
> Will You Come to the Bower
> Traditional Irish Folk Song
>
> "Will you come and awake our lost land from its slumber
>And her fetters we'll break, links that long are encumbered.
>And the air will resound with hosannas to greet you
>On the shore will be found gallant Irishmen to greet you."
> Will You Come to the Bower
> Traditional Irish Folk Song
>
>
> 

~|
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:345102
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 
 elements reference the original uploaded photo.
imgmax query param can only be used when retrieving *feeds* in order to 
get images of appropriate size - it CAN NOT be used when retrieving the 
actual images.

example url: 
https://picasaweb.google.com/data/feed/api/user/userID/album/albumName?imgmax=d

's URL attribute in the response to above request will 
contain the url of the original photo.

more info: 
http://code.google.com/apis/picasaweb/docs/2.0/reference.html#Parameters

Azadi

On 24/05/2011 08:39 , Guru wrote:
> Thank you so much for the API link that really helped.
>
> I am almost done with it.
>
> Quick question: i do have a albumid and photoid, now I need to download the
> image from picasa (high res) how do I do that?
>
> I digged the api docs and seems like couldn't find anything.
>
> The album is not public and use authkey.
>
> I did modify your cfc and add functions to get the albums and photos with
> authkey.
> But now I need to get the high res image which was originally uploaded. and
> have no clue how do I get that through api.
>
> thanks once again for your help. really appreciate that.
>
> Regards,
>
>
> 

~|
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:344855
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  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 html 
(missing tags, improper tag nesting, etc) - so see if the above helps.

Azadi

On 20/05/2011 01:13 , Al Musella, DPM wrote:
> Hi
>I have an urgent problem..
>
> I created a website for a fundraising event that is going on all
> month.. one function is to create fundraising teams, where people can
> create a team and upload a photo.
> I wrote the code, tested it on the current version of chrome and
> firefox and it worked perfectly.
>
> However, on version 3.6.13 of firefox and IE, when you submit the
> form, it returns a blank page and the team doesn't get created so the
> action page isn't running...
>
> I set up a test page with the minimal required stuff:
>
> http://walktoendbraintumors.org/testform.cfm
>
> Here is the contents of that page:
>
>
>
> 
>  
>   Upload Photo
>    
> 
> 
>    
> 
> 
> 
>  
>
>
> 
> and here is testform2.cfm
>
> Success!
>   
>   destination="#destination#" filefield="teamphoto"
> nameConflict="makeunique" result="upload">
>
>
> What am I doing wrong?
>
>
> 

~|
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:344739
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 need is to 
> easily load CMS content in to DIV layers depending on the users selection and 
> posting of form submits with confirmation alerts.
>
> So far I was looking at ajaxCFC, Prototype, maAjax, CFAjax, JSMX,
>
> Any recommendations?
>
> Thanks
> Darius
>
> 

~|
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:344578
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 queue will go out when it is fixed and I
> won't lose anything... but of course this is for a brain cancer
> charity and we are in the middle of the national walk to end brain
> tumors for brain tumor awareness month and were getting a lot of
> action on the server.
>
>

~|
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:344392
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 just a smidge too 
> large to import (the host limits the size to 2048, and my sql file is 2137).
>
> Anyway, I just broke the table into two, Table1 and Table2. I intended to 
> just just append Table 2 onto Table1, but now that I'm trying to do it, I 
> realize that I don't know how.
>
> Any suggestions?
>
>   
> Scott
>
> 

~|
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:343908
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: MySQL Conversion

2011-04-19 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: http://dev.mysql.com/downloads/gui-tools/5.0.html
workbench: http://dev.mysql.com/downloads/workbench/5.2.html

mysql equivalent of access's autonumber type is an Integer column with 
auto_increment attribute. 
http://dev.mysql.com/doc/refman/5.5/en/numeric-types.html (bottom of 
page for auto_increment attr info)
you can also set/change the next auto_increment value to use on mysql 
column: ALTER TABLE t2 AUTO_INCREMENT = value (from 
http://dev.mysql.com/doc/refman/5.5/en/alter-table.html)

all this and much much more is covered in mysql reference manual on 
mysql website: http://dev.mysql.com/doc/

another point to keep in mind: if you cfqueries used any access-specific 
syntax you will have to re-write them to use proper sql to work with 
mysql db.

Azadi

On 20/04/2011 13:46 , Scott Williams wrote:
> Oy -- I shouldn't have started this one until the weekend.
>
> I'm converting from MS Access to MySQL on one of my ColdFusion sites, and 
> having problems converting my Autonumbered Access tables to MySQL format. 
> They just won't import at all. If I remove the primary key and change the 
> format to Integer instead of Autonumber, the tables import.
>
> The real problem is when I try to add data to these tables later. It will 
> take one additional record (numbering it 0), then won't take anymore because 
> then there would be two 0s.
>
> How can I get a MySQL table to autonumber like Access?
>
> Scott
>
>
> 

~|
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:343863
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFQUERY update Firefox wierdness

2011-04-18 Thread Azadi Saryev

 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 do you display updated cart info on the page - ajax or page refresh?
is your html correctly formed and does it validate properly? ff is 
pickier than ie when it comes to malformed html and this may cause it to 
submit other data to your cart update script than what you expect.
use firebug to check what form data really gets submitted in ff.

Azadi

On 19/04/2011 06:55 , Dan Blickensderfer wrote:
> Hi Everyone,
>
> I have a really strange issue that I can not figure out how to fix it.  I
> have a simple shopping cart and everything works exactly the way it should
> in ie7&  ie8 but firefox not so much.
> This is the issue.  When customer clicks on the item to add to cart it first
> checks to see if the item is already in the cart.  If not, insert new
> record.  If found, update the record and add 1 to the qty. Within IE this
> works just as it should, Firefox runs the update query regardless of new
> insert or not.  example.  item ABC new to cart with qty 1  if I look at the
> database table I see the qty is 2.  If the item is already in database with
> qty 1 and item is added to cart the qty is now 3.  I've turned on debug and
> looked at all queries ran and the the correct queries do show.
>
> It's like there is another update query someplace but there isn't.  I tested
> this by removing the query named "updatecart" and tried the process again
> and new records do get added and the qty is correct with 1 not 2.  With it
> being removed and item is updated to cart. it doesn't get updated like it
> should be.
>
> This is very very weird!
>
> The code that I'm having strange is the following.  I just copied the bit
> that I need to show.
> Anybody seen this before?
>
> Thanks,
> Dan Blickensderfer
>
>
>  username="#application.username#" password="#application.password#">
> select rec_id
> from order_items
> where rec_status = 'T' and session_uuid = cfsqltype="cf_sql_varchar" maxlength="36" value="#session.cartid#">  and
> products_rec_id = value="#variables.recid#">
>
>
>  username="#application.username#" password="#application.password#">
>  insert into order_items (rec_status, session_uuid, products_rec_id,
> product_name, qty, orders_rec_id, ip_address)
> values ('T', value="#session.cartid#">,
> ,
>  value="#getproduct.product_name#" maxlength="150">,
> ,
>  value="#lookuporder.rec_id#">,
>  value="#trim(cgi.REMOTE_ADDR)#" maxlength="17">)
> 
>
>  username="#application.username#" password="#application.password#">
>  update order_items
>  set qty = qty + 1
>  where rec_status = 'T' and rec_id = cfsqltype="cf_sql_integer" value="#lookupcart.rec_id#">
> 
>
>
>
> Here is the debug info
>
> lookupcart (Datasource=XYX, Time=0ms, Records=0) in
> templates\includes\cart-add.cfm @ 18:50:44.044
>
>   select *
>   from order_items
>   where rec_status = 'T' and session_uuid = ? and 
> products_rec_id = ? Query
> Parameter Value(s) -
> Parameter #1(cf_sql_varchar) = 69B9132F-943D-2A28-E56878FCFEA4A5B6
> Parameter #2(cf_sql_integer) = 17
>
> addcart (Datasource=XYX, Time=0ms, Records=1) in
> templates\includes\cart-add.cfm @ 18:50:44.044
>
>   insert into order_items (rec_status, 
> session_uuid, products_rec_id,
> product_name, qty, orders_rec_id, ip_address)
>   values ('T', ?,
>   ?,
>   ?,
>   ?,
>   ?,
>   ?)
>   Query Parameter Value(s) -
> Parameter #1(cf_sql_varchar) = 69B9132F-943D-2A28-E56878FCFEA4A5B6
> Parameter #2(cf_sql_integer) = 17
> Parameter #3(cf_sql_varchar) = Green, Yellow&  Orange
> Parameter #4(cf_sql_integer) = 1
> Parameter #5(cf_sql_integer) = 5014
> Parameter #6(cf_sql_varchar) = 192.168.10.159
>
>
>
>
> 

~|
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:343835
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 the last line before 
the closing  tag:



Azadi

On 13/04/2011 11:09 , Steve Sequenzia wrote:
> Thanks guys. Any idea how to make this jquery work in cflayout?
>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml";>
> 
> 
> MAMBA - Martial Arts Management&  Business Automation
> 
>
> href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css";
>  rel="stylesheet" type="text/css"/>
> src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js";>
> src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js";>
>
>
>$(document).ready(function() {
>  $("#accordion").accordion();
>});
>
>
> 
>
> 
>
> 
>
> 
>   
>   
>splitter="false" collapsible="false" source="test.cfm">
>  
>
> 
>
>
> 
> 
>
>
> Test.cfm
>
> 
>   Section 1
>   
>   
>   
>   
>   Section 2
>   
>   
>   
>   
>   
>   Section 3
>   
>   
>   
>  
>   
>   List item one
>   List item two
>   List item three
>   
>   
>
> 
>
>
>
>
>
>> Steve
>>
>>   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 scripts, you just use your regular
>> 

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 that I've made related using cfselect and bind.  The 
> problem I'm having is the default for the second drop down.  It seems to work 
> fine when the value of the second dropdown is a number that doesn't start 
> with a zero, but I have IDs that start w/ 3-4 zeros.  Somehow the leading 
> zeros are getting stripped out during comparison?  Anybody else run into this 
> issue?
>
> Thanks,
> Tim
>
>
>
>
> 

~|
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:343666
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Javascript not working inside of cflayoutarea

2011-04-11 Thread Azadi Saryev

Steve

 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 scripts, you just use your regular 

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 stuff
> with any other JS framework. You can do it - but most of the time it
> leads to trouble. If you are experienced enough to be working with
> JQM, you probably do not need the built-in CF client side form
> validation. Use a good jQuery plugin for that instead.
>
> On Mon, Mar 14, 2011 at 7:25 PM, andy matthews  
> wrote:
>> Without seeing code I couldn't be sure what was wrong, but jQuery Mobile is
>> quite particular about pathing. My guess is that some of the script files
>> aren't loading. Hit your site with Firefox (with Firebug turned on) and see
>> if the javascript files needed for cfform are loading.
>>
>>
>>
>> andy
>>
>> -Original Message-
>> From: Tim Do [mailto:t...@wng.com]
>> Sent: Monday, March 14, 2011 10:51 AM
>> To: cf-talk
>> Subject: cf&  jquery mobile
>>
>>
>> I'm playing around w/ jquery mobile and am struggling with how to get
>> certain features of cf to work within jquery mobile.  For instance, within
>> my cfform the form validation and my related dropdown which I use cfselect
>> and bind no long work.  Why is this and is there a way to get this to work
>> together?  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:343018
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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:
> 
> 
>
> b) in the table showing answers in your action page add  correctanswers = correctanswers+1> to all your  blocks like so:
> 
> 
> 
> 
> ...[your current code as is here]...
> 
>
> c) at the bottom of your action page show the score:
> Your Score: #round( (correctanswers/ttlquestions)*100,  
> )#%
>
> Azadi
>
> On 04/03/2011 11:48 , John Eubanks wrote:
>> Anyone know how to calculate a percentage from form variables.  I 
>> have a simple quiz (five questions) with multiple choice answers.  I 
>> have the correct answers set using cfset on the processing page.  
>> However, I need to run a percentage so the display shows something 
>> like:  Score:  80%.
>>
>>

~|
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:342743
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Percentages & Form Variables

2011-03-03 Thread Azadi Saryev

Something like this:

a) at the top of your action page add:



b) in the table showing answers in your action page add  to all your  blocks like so:




...[your current code as is here]...


c) at the bottom of your action page show the score:
Your Score: #round( (correctanswers/ttlquestions)*100,  
)#%

Azadi

On 04/03/2011 11:48 , John Eubanks wrote:
> Anyone know how to calculate a percentage from form variables.  I have a 
> simple quiz (five questions) with multiple choice answers.  I have the 
> correct answers set using cfset on the processing page.  However, I need to 
> run a percentage so the display shows something like:  Score:  80%.
>
>

~|
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:342742
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 , Toby King wrote:
> Over the last couple of days have been fiddling with a website that I worked 
> on a few years ago.  Have converted the site from essentially a static site 
> to a dynamic site - running under Mura CMS - using Mura gives the site owners 
> the ability to make most changes themselves.
>
> I'm trying to include a simple shopping cart system, but have 1 small problem 
> - wondering if you could have a quick look at the code and maybe suggest what 
> I could do to get around the error.
>
> Here is the code
>
>
> 

~|
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:342713
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 with returned data.
CF's built-in ajax functionality will come in handy here (i.e. cfinput 
fields with bind attribute pointing to your cfc method), but not 
required - same is easily achieved with a regular js ajax request; 
jQuery will even make it fun.
If you are not very familiar with javascript, and you are running CF8+, 
then use the built-in cf functionality. All you need is well described 
in CF Developer's Guide (download pdf from adobe.com) and numerous blogs.

Azadi

On 02/03/2011 17:37 , Ian Vaughan wrote:
> Hi
>
> I have created a web form, but what I would like it to do (and I'm not
> sure if this is possible with Coldfusion?) is when a user enters their
> employee number into a text field without a page refresh it runs a
> database lookup and populates other fields in the form with that
> employees information (name, address etc)
>
> Is this possible and is anybody willing to share any code snippets on
> how to do this.
>
> I am getting pushed toward ASP.net for this but I am trying to fight the
> corner of Coldfusion - so if I can deliver this app in Coldfusion it
> would certainly help it's case so it would still be a viable development
> option here.
>
> Many 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:342666
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 failure of the DaysInMonth function. For a report running on 
> February data, "from" 2010-02-("01" hardcoded), "to" being DaysInMonth, the 
> date result was "2010-02-31"!!
>
> I had to hard-code "2010-02-28" as "to" to make the report work.
>
> Anybody else having February problems today with DaysInMonth?
>
>
>
> 

~|
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:342652
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 just manually do a sql dump on 
the vps and download the .sql file it to your desktop and execute it to 
update your local db copy. beats phpmyadmin by a 1000 miles...

in all cases make sure you back everything (database-wise) first before 
doing dumps/restoring.

Azadi

On 19/02/2011 04:58 , Rob Voyle wrote:
> Hi Nathan
>
> I am using mySQL. On the VPS i have php based myadmin. Doesn't do a lot for
> me and then I tried to download that to my local machine. After dowloading and
> supposedly installing it I wasted a day scouring the web trying to configure 
> it. I
> gave up in utter disgust at my inability to get it to run. Even cursed the
> existence of whoever wrote the %$#%^ thing.
>
> On my local machine I use mySQL workbench. While it was easy to install and
> runs well I have not found it intuitively easy to use (I am a real newbie to
> mySQL and databases in general)
> I actually find it easier to use the windows command line to create and alter
> tables.
>
> My basic tables are not going to be large I am just looking for a way in CF to
> export the data in the web table and include it into the local table. possibly
> exporting as a CSV file or creating a cfinclude on my local machine that 
> access
> the web file.
>
> I don't think I need anything as extensive as your project, I just want to 
> access
> the data in already formed tables. Yes it will take some time, but after the 
> time I
> have wasted on propriety stuff like php I would rather create something that I
> know how it works and meets my needs. And once it is done can be applied to
> several other projects I have in the works.
>
> 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
>
>
>
> On 18 Feb 2011 at 13:16, Nathan Strutz wrote:
>
>> This one comes up from time to time. The best way to do it is with
>> you
>> chosen database's own development and management tools. If you use
>> MS SQL
>> Server Management Studio, they have integrated tools to copy a
>> database. If
>> you use Toad, they have something too. I have always had... let's
>> say
>> "limited" luck with those, but if you can get by with that, you
>> should
>>
>> Now, if you wanted to do this in CF, it probably means work. I
>> actually have
>> a semi-functioning model of downloading one database and applying it
>> to
>> another, even works across database engines (e.g. download from
>> oracle and
>> apply to derby). Plus it takes snapshots so you can save versions of
>> the
>> database, including basic schema snapshots that you can import into
>> another
>> database, too. Then I got distracted, lost interest and have a 75%
>> finished
>> program. I'd open source it, but like I said it's not fully
>> functional (not
>> even fully baked), and I don't know that there's a real market for
>> it.
>>
>> Umm, I can probably hook you up with a copy, no promises that it
>> will even
>> compile.
>>
>> nathan strutz
>> [http://www.dopefly.com/] [http://hi.im/nathanstrutz]
>>
>>
>> On Fri, Feb 18, 2011 at 12:32 PM, Rob Voyle
>> wrote:
>>
>>> Hi folks
>>>
>>> What is the best way of downloading web database to a local
>> desktop
>>> machine.
>>>
>>> clients register for programs and the information is on the web
>> database.
>>> I want to use coldfusion to update my local desktop database
>>>
>>> Thanks
>>> Rob
>>>
>>>
>>>
>> 
>> ~|
>> 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:34
>> 2443
>> Subscription:
>> http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
>> Unsubscribe:
>> http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
>>
>
>
>
> 

~|
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:342448
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cf-talk replies

2011-02-17 Thread Azadi Saryev

yes, like Bobby said, send replies only to cf-talk@ - the poster will 
get it as well (or see it in the thread if not subscribed to list)

Azadi

On 18/02/2011 04:13 , Bobby Hartsfield wrote:
> First? Are you hitting reply to all? Cf-talk@houseoffusion.com should be the
> only TO as far as I know.
>
> .:.:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
>
> -Original Message-
> From: Rob Voyle [mailto:robvo...@voyle.com]
> Sent: Thursday, February 17, 2011 11:37 AM
> To: cf-talk
> Subject: Re: cf-talk replies
>
>
> For some weird reason the replies come thru to the group if I put cf-
> talk@coldfusion first in the To: line but not if the first address is the
> original
> sender.
>
> Rob
>
> On 17 Feb 2011 at 8:28, Rob Voyle wrote:
>
>> Hi Azadi
>>
>> I have replied to several emails since then. The original sender has
>> received the
>> reply but not the entire group.
>>
>> Thanks
>> Rob
>>
>> On 17 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 wrote:
>>>> Hi Folks
>>>>
>>>> I have noticed recently that when I reply to a cf-talk email
>>>> My email is not showing up in my email box.
>>>> For example I recently replied to: Pete Ruckelhaus' email
>>>>
>>>> Here are my mail headers:
>>>>
>>>> From:Rob Voyle
>>>> To: Pete Ruckelshaus,
>>> cf-talk@houseoffusion.com
>>>> Subject:Re: Using Google Apps/Gmail for CFMail - limitations?
>>>> Date sent: Wed, 16 Feb 2011 18:23:01 -0800
>>>>
>>>> I know Pete got my response because we have corresponded but I
>>> haven't seen
>>>> my original response in the cf-talk.
>>>>
>>>> I have had this happen on several of my reply emails to the
>>> group.
>>>> Did the group get my reply and is it only not being sent to
>> me?
>>>> Rob
>>>>
>>>>
>>>>
>>>>
>>>
>> 
>>> ~|
>>> 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:34
>>> 2366
>>> Subscription:
>>> http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
>>> Unsubscribe:
>>> http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
>>>
>>
>>
>>
>> 
>> ~|
>> 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:34
>> 2385
>> Subscription:
>> http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
>> Unsubscribe:
>> http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
>>
>
>
>
>
>
> 

~|
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:342409
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 when I reply to a cf-talk email
> My email is not showing up in my email box.
> For example I recently replied to: Pete Ruckelhaus' email
>
> Here are my mail headers:
>
> From:Rob Voyle
> To: Pete Ruckelshaus, cf-talk@houseoffusion.com
> Subject:Re: Using Google Apps/Gmail for CFMail - limitations?
> Date sent:Wed, 16 Feb 2011 18:23:01 -0800
>
> I know Pete got my response because we have corresponded but I haven't seen
> my original response in the cf-talk.
>
> I have had this happen on several of my reply emails to the group.
> Did the group get my reply and is it only not being sent to me?
>
> Rob
>
>
>
> 

~|
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:342366
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  with 
that value will be pre-selected.

advanced cfselect - one with a binding - does not support this 
functionality. but there are javascript work-arounds for that: google 
'cfselect binding selected' and you will find them

Azadi

On 16/02/2011 21:34 , Torrent Girl wrote:
> Does this not work on cfselect?
>
>
>> If you are talking the HTML select element it is selected="selected"
>>
>> Sent from my iPhone
>>
>> On Feb 15, 2011, at 4:47 PM, Torrent Girl  wrote:
>>
> 

~|
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:342331
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 
> like to try isapi rewrite (lite, for dev) for my devs.
> I think I need to install apache to be able to use isapi, so I've installed 
> xamp too, but don't know how to 'link' apache to jrun to be able to use cf 
> via the apache webserver (instead of the built-in one).
> That was question  1 :-)
> And then, supposedly it's working, how do I install isapi to make it work 
> with the apache webserver config?
>
> Thanks in advance,
>
> 

~|
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:342112
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 space passes the 
validation.

Azadi

On 02/02/2011 01:02 , Kelly Matthews wrote:
> Sorry if this ends up being a dupe post.
>
> I'm working on a client site that already had a CF Form in place using 
> cfinput and validation via required="yes"
>
> We added some select boxes that are required and as most of you know CF forms 
> don't really validate those. So, I am using jquery to validate the select 
> boxes when the form is submitted.
>
> The problem I am running into is this: The jquery portion works AND the CF 
> validation errors are thrown as well. But if I fill in all the selects that 
> are validated via jquery and do not to fill in the fields that are being 
> required via cfinput required="yes", the error is thrown but the form still 
> submits.  Is this because of the jquery on submit validation?  Has anyone run 
> into this before, is there an easy fix, outside of moving the cfinput 
> validation into the jquery validation?
>
> Kelly Matthews
> Web Developer
> http://www.cfwebtools.com
> blog: http://kellymatthews.wordpress.com
> Twitter: @webdiva
>
>
> 

~|
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:341811
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 your web server directly.
you thus need to set up a virtual directory 'images' in each of your 
sites and point it to that 'images' folder above your of web root.

Azadi

On 27/01/2011 09:54 , fun and learning wrote:
>>> The client said that using one IP address, several domain names can
>> be used- "multiple sites using host
>>> header names". I am not sure what that means
>> It means that you'll probably have to create virtual directories for
>> both sites, as several people have mentioned.
>>
>> 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.
> Thanks for replying. Everything is set up and I am able to access individual 
> sites. The problem is with the images folder. I am not able to get the images 
> to be displayed. Any ideas on this. I gave my directory structure in my 
> initial question. There is another folder at the same level as images and it 
> contains all cfm files. Am able to include cfm files from that folder but not 
> any images.
>
> 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:341481
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  and cfdump the variable.

Azadi

On 24/01/2011 22:41 , Stefan Richter wrote:
> Just to follow up on this:
> adding something like&ext=.gif did *not* work. Sorry Ray ;-)
>
> If I try this:
>
>  
>
>
>  action = "write"
>destination = "#thisFolder#"
>source = 
> "http://www4b.wolframalpha.com/Calculate/MSP/MSP602219e3e3996gh5hbc15fea4b2e9h4g4ccc?MSPStoreType=image/gif&s=16&ext=.gif";
>>
>
> then CF still complains:
>
> The /calculate/msp/msp602219e3e3996gh5hbc15fea4b2e9h4g4ccc image format 
> is not supported on this operating system.
>
>
> CF seems to ignore anything after the ?
>
> As mentioned before I managed to work around this by fetching the image over 
> cfhttp but cfimage would have been a lot more convenient.
>
> Cheers
>
> Stefan
>
>
>
>
>
> On 17 Jan 2011, at 15:20, Raymond Camden wrote:
>
>> Yeah I seem to remember that trick working in the past. You have to
>> assume your remote service doesn't care about a url param called ext.
>>
>> To be safe, I'd use:
>>
>> &rayrules=.gif
>>
>>
>>
>> On Mon, Jan 17, 2011 at 9:13 AM, Stefan Richter  
>> wrote:
>>> Ah I see. Guess I could try this by appending&ext=.gif to the URL then...
>>>
>>> Thanks.
>>>
>>>
>>> On 17 Jan 2011, at 14:41, Raymond Camden wrote:
>>>
 I think - stress think - CF handles the result based on the file name
 in the URL. So if CF had seen foo.gif at the end, it would have
 assumed a gif. In your case there is no obvious extension so maybe CF
 didn't know what to assume.
>
>
>
>
>
>
> 

~|
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:341125
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 

Re: Dynamically output data

2011-01-13 Thread Azadi Saryev

something like this:


SELECT t1.wkid, t1.name, t2.title
FROM Table1 t1 LEFT JOIN Table2 t2 ON t1.wkid = t2.wkid
ORDER BY wkid, title


now output using GROUP attribute of  tag and nested :

WKID: #wkid#
Name: #name#
Title:

   #title#



Azadi

On 14/01/2011 09:15 , Frank Liu wrote:
> Hello
> I am new to coldfusion. Please help
>
> In Table1, I have something like this:
>
> WKID Name
> 1002 High School
>
> In Table2, I have something like this:
> WKIDTitle
> 1002Math Tecaher
> 1002Science Teacher
> 1002English Teacher
> (more)  (more)
>
> I need output to be like this:
>
> WKID:  1002
> Name:  High School
> Title:
> Math Teacher
> Science Teacher
> English Teacher
>  (more)
>
> I have problem with output table2.
> 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:340830
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 true .ICO files.
>
> We currently use cfx_imagecr3 for most of our image conversion (it
> works better than cfimage) but neither actually support writing of ICO
> files.
>
> Rick
>
> 

~|
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:340600
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CGI.querystring

2011-01-09 Thread Azadi Saryev

Russ, I think you really meant



Azadi

On 10/01/2011 07:00 , Russ Michaels wrote:
> 

~|
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:340599
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 
> iCal/Entourage for Mac/Macbook.  Recently we had a student that after 
> importing the .ics file into a MacBook iCal program had to manually 
> accept/deny every event in her calendar.  Is there a way to add in an auto 
> accept in our vCalendar code that will make that change?
>
> We have tested our code against the iCal Version 3.0.8 (1287) and it works 
> fine.  Then we tested Version 4.0.3 (1388) and the problem showed up here.
>
> I did find some documentation that I thought would work/help me find what I 
> needed (Ref: https://datatracker.ietf.org/doc/rfc5545/?include_text=1) and it 
> had the option of participate accept/deny so I tried that and it didn't seem 
> to work.
>
> If any of you have experience working with this I would love any advice in 
> this matter.
>
> Thank you!
>
> Matt...
>
> 

~|
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:340589
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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:



#listfirst(brandgroup, '|')#


#productgroup#







Azadi

On 30/12/2010 23:10 , Teed Younger wrote:
>> Shouldn't that be listLast(brandGroup,";") ? Otherwise, where is
>> productGroup defined above this?
>>
>>>   #listLast(productGroup,";")#
>>> 
>>>
> ok here is what I have now. I had this originally just like this. As you 
> suggested, the second cfloop should have listLast(brandGroup, ";") in it. So 
> here it is now:
>
> 
>   delimiters="#chr(13)##chr(10)#">
>
> #listFirst(brandGroup,"#chr(13)##chr(10)#")#
>  
>#listLast(brandGroup,":")#
>   
>
>  
>
>
>
> So now what happens is, each item I type in the form field gets repeated 
> twice, with the first item of each repeat being displayed in the heading 3 
> tag. I dont see a way to format text here so not sure I can copy and paste 
> the results to show the heading style applied. but here is the results anyway:
>
>Cross Reference
>  * Cross Reference
>
>cross
>  * cross
>
>lists
>  * lists
> DOnt know where the asteriks came from, but again, the first item of each 
> repeat should be a heading 3 style which would be a bolder and larger font.
>
> I have tried every combination of reworked code, commenting out one loop or 
> another, and every delimiter I can try. The closest I have been to being 
> correct is commenting out the first cfloop. Then at least each item gets 
> displayed in a list only once, but that will not differentiate the first item 
> as being a heading.
>
> Can anyone see whats going on? I really dont want to rework my entire page 
> builder app for just this issue..lol I dont want to scrap a months worth of 
> work to use another canned application. Thanks again for any help!
>
> 

~|
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:340343
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 - integers 
and decimals - not the length of integer part of column value.

Azadi

On 28/12/2010 08:46 , Monique Boea wrote:
> I have created a table that needed decimal columns.
>
> Here is my script:
>
> CREATE TABLE `goals` (
>`enrollments` DECIMAL(4,4) DEFAULT NULL ,
>`followups` DECIMAL(4,4) DEFAULT NULL ,
>`outcomes` DECIMAL(4,4) DEFAULT NULL ,
>`productivityPoints` DECIMAL(4,4) DEFAULT NULL ,
>`hoursWorked` DECIMAL(4,4) DEFAULT NULL ,
>`extrabreakACW` DECIMAL(4,4) DEFAULT NULL ,
>`productiveHours` DECIMAL(4,4) DEFAULT NULL ,
>`totalCalls` DECIMAL(4,4) DEFAULT NULL ,
>`callsPerhour` DECIMAL(4,4) DEFAULT NULL ,
>`datelastUpdated` timestamp NOT NULL default CURRENT_TIMESTAMP,
>   `lastUpdatedBy` varchar(200));
>
>
>
> When I try to insert a record I get the following error:
>
> 1264: Out of range value adjusted for column 'enrollments' at row 1i've 
> googled the error and most resources say that the occurs when INSERT query 
> makes try to insert an empty value into a NOT NULL field, but I know this is 
> not the case here.Any suggestions?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:340291
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-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 , Michael Grant wrote:
> mySQL Workbench is good for a freebie. mySQL Yog is good but costs a few
> bucks.
>
>
>
> On Thu, Dec 9, 2010 at 10:52 PM, Rob Voyle  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:339963
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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/", which 
> would be var1/var2/var3/var4.
>
> Tried all the list function I can think of, but that's not the right 
> approach.  How can all get only the data that follows the literal ".cfm/"?
>
> Thanks
>
>
> Robert B. Harrison
> Director of Interactive Services
> Austin&  Williams
> 125 Kennedy Drive, Suite 100
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119
> F : 631.434.7022
> http://www.austin-williams.com
>
> Great advertising can't be either/or.  It must be&.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>
>
>
> 

~|
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:339812
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.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 just JRE - jdk includes 
the /server directory; jre only has /client)

and, as has been suggested already, triple-check that all the parts (OS, 
CF and JVM) run in same bit mode (all 32-bit or all 64-bit)

Azadi

On 01/12/2010 18:34 , Brook Davies wrote:
> Well, its 2am and I am still trying to figure this one out. I've reinstalled
> CF now about 5 times, I get the same error (with zero details!) everytime.
> I've tried installing to a new partition - same error. I've logged on with a
> new admin account and installed from there, same error. I've tried multiple
> JVMs, same thing.
>
> If I open a command prompt and go to 'c:\coldfusion8\runtime\bin\' and run
> any of executables directly (like sniffer.exe or xmlscript.exe - I get the
> same error "Error loading: C:/ColdFusion8/runtime/jre\bin\server\jvm.dll".
>
> Theres nothing in any logs. I don't know what else to do. How can I get a
> more detailed error message or insight into what is happening?
>
> Could this permissions related? I've tried giving 'everyone' full access to
> the CF directory. Running the service under an admin account - all with no
> luck...
>
> Brook
>
>
>
> -Original Message-
> From: Brook Davies [mailto:cft...@logiforms.com]
> Sent: November-30-10 8:59 PM
> To: cf-talk
> Subject: RE: Webservice error after CF 8.01 update CF FAILS TO START! Error
> loading: C:/ColdFusion8/runtime/jre\bin\server\jvm.dll
>
>
> chkDsk says there are no bad blocks.. I'm doing a defrag aswell
>
> -Original Message-
> From: Brook Davies [mailto:cft...@logiforms.com]
> Sent: November-30-10 8:52 PM
> To: cf-talk
> Subject: RE: Webservice error after CF 8.01 update CF FAILS TO START! Error
> loading: C:/ColdFusion8/runtime/jre\bin\server\jvm.dll
>
>
> No I/O errors in the logs. The duplicate class file issue also happened on
> two servers (after the 8.01 update) so I don't think thats I/O related. I am
> leaning that way aswell though, since this is just a bit to bizarre...
>
> I'll run chkdsk and report back..
>
> Brook
>
>
>
>
>
>
> 

~|
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:339676
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: How to make a CFSELECT Required

2010-11-29 Thread Azadi Saryev

as per cfml documentation, to make a 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 " "

selected>Please 
select

Azadi

On 30/11/2010 12:23 , Rick Colman wrote:
> I want to force the user to select a country code when submitting a form.
>
> The select box looks like:
>
> 
> selected>Please
> select
> selected
>   >Australia
>
> etc.
>
> I do not want them to be able to select the "value=""" option.
>
> How to do this?
>
> Rick.
>
> 

~|
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:339617
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 this link for using Ajax in CF8:
>
> http://www.coldfusionjedi.com/index.cfm/2008/12/25/Using-CF8-Ajax-features-to-solve-the-pick-one-of-thousands-issue
>
> however, I need to be able to EITHER select from a sub-window OR type in
> some data directly into the form field.
>
> On 11/23/2010 5:41 PM, Rick Colman wrote:
>> Here is what I am trying to do:
>>
>> a) open a form - several form fields will have an IMPORT button
>>
>> b) IMPORT button opens a sub-window (cfwindow) which runs a query and
>> displays the query results in a table
>>
>> c) select one of the rows in the sub-window with another button. Take
>> the data from the sub-window row and punch it into the correct form
>> field in the main window. close the sub-window
>>
>> d) maybe do this several times for different form fields.
>>
>> e) submit the main form
>>
>> WHEW!
>>
>> I have a) and b) working OK with CFWindow. c) d) and e) are a little
>> mysterious.
>>
>> Can someone point out a resource that might provide some insights?
>>
>> TNX.
>>
>> Rick
>>
>>
> 

~|
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:339493
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 
 with autosuggest attribute.

Azadi

~|
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:339314
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 managed to install scripts on the 
server that keep executing and adding stuff to index.cfm - i remember 
this kind of attack happening a while ago... iirc the script also 
altered the logs, so you could not see it executing... or something like 
that...

Azadi

On 16/11/2010 11:45 , Mike Little wrote:
> hi guys,
>
> for the last few weeks one of my clients websites is being hacked. currently 
> hosted on a shared server at hostek.
>
> the index.cfm is in the root and appears to be the only templated affected. 
> basically they are appending a long list of url's in a hidden div to the 
> existing code.
>
> we immediately changed ftp logins and also removed any cffile functions from 
> the site. unfortunately within a couple of days it happened again.
>
> has anyone experienced this happening recenty or may know of where i should 
> checking for vulnerabilities?
>
> cheers
> mike
>
> 

~|
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:339273
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 specific enough.
> Is there a keyboard shortcut command to do the html comment in Homesite?
> I use Coldfusion in my Site Admin for my clients to design their pages and
> then
> When they update it writes all the pages to plain html for SEO as well as
> speed.
> If there is a command it would save me a bunch of time programming instead
> of
> Deleting the extra dashes by hand.
>
> Terry
>
> -Original Message-
> From: Russ Michaels [mailto:r...@michaels.me.uk]
> Sent: Sunday, November 14, 2010 2:36 PM
> To: cf-talk
> Subject: RE: Homesite Comment Command
>
>
> Terry,
>
> 
> 
>
> If you put an HTML comment around CFML it will do nothing and the code will
> still execute.
> CFML comments do not appear in the source code so any HTML validation will
> not see it, if you are running the validation on the CFML source then just
> ignore the comments.
>
> Russ
>
> -Original Message-
> From: Terry Troxel [mailto:terry.tro...@gmail.com]
> Sent: 14 November 2010 22:21
> To: cf-talk
> Subject: Homesite Comment Command
>
>
> I don't know if this is OT or not.
> I Homesite 5+ in CFML Basic the --->
> Where can I change that to output:  as W3C doesn't validate with
> the 3 dashes?
>
> Terry
>
>
>
>
>
>
> 

~|
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:339219
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 wrote:
> ok, tried this, it failed on the var scoped line instead of the structAppend 
> line... same error message though.
>
> I have an ajax handler method which instantiates all of my ajax calls-- also 
> with an access="public".  very strange.  I am able to call other methods, but 
> I have to create an object for the cfc and then call the method within it.  
> seems ridiculous to do this for the component my code is already in.
>
>
>> 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 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:339090
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 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:339069
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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?

assuming url.start must be a positive integer, something like this 
should work:





Azadi

On 09/11/2010 01:00 , Paul Smith wrote:
>> I need a cffunction similar to PHP's mysql_escape_string that
>> sanitizes input data, that is - escapes invalid code so as to prevent
>> SQL injection and the like.
> I've have been unable to trap/filter the following:
>
> www.MyWebsite.com\index.cfm?start=-1%27
>
> to keep it from emailing me an error message, and instead CFABORT or 
> CFLOCATION to Home Page or some such.
>
> Any ideas?
>
> 

~|
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:338983
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 attribute? I use it to query active directory
> for user groups and it returns a list of all memberOf entries. I haven't
> tried it without the separator though.
>
> ~Mahcsig
>
>
>
> On Mon, Nov 1, 2010 at 7:38 PM, Azadi Saryev  wrote:
>
>> 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
>> first value.
>> browsing the directory using server's Workgroup Manager or LDAPManager
>> (3rd party app) returns all attribute's values.
>>
>> anyone has any ideas how to make cfldap return all values?
>>
>> thanks!
>>
>> Azadi
>>
>>
> 

~|
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:338755
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: rereplace for removing repeating characters

2010-11-02 Thread Azadi Saryev

try this:


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 appreciate any input:
>
> for example i would the the string: 'Genns,,DrBish Stratford,,,'
> to become: 'Genns,Dr,Bish Stratford'
>
> 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:338751
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 
first value.
browsing the directory using server's Workgroup Manager or LDAPManager 
(3rd party app) returns all attribute's values.

anyone has any ideas how to make cfldap return all values?

thanks!

Azadi

~|
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:338739
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 *
> FROM MyOtherTable t2
>WHERE t2.SomeColumn   = t1.SomeColumn
>  AND t2.SomeOtherColumn = t1.SomeOtherColumn
>  AND t2.YetAnotherColumn   = 42
> )
>
> Still no ideas for MySQL.
> Dave
>
> 

~|
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:338716
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Dynamically resizing a cfwindow?

2010-10-30 Thread Azadi Saryev

try something like this, Pete:

[script type="text/javascript"]
var extW = ColdFusion.Window.getWindowObject('albumwin');
extW.setSize({width: #imgInfo.width#, height: #imgInfo.height#});
[/script]


you may have to make it into a js function and call it using 
ajaxonload() from within the page loaded inside your cfwindow

Azadi

On 18/10/2010 09:08 , Pete Ruckelshaus wrote:
> I'd like to be able to dynamically resize a ColdFusion window created with
> cfwindow.  I haven't found anything definitive as to whether this is
> possible; I did try the following:
>
> [script language="javascript">
>
> ColdFusion.Window.getWindowObject('albumwin').resizeTo(#imgInfo.width#,#imgInfo.height#);
> [/script>
>
> (script tags broken intentionally).  This doesn't seem to work.  Is there a
> way to do this?
>
> Thanks,
>
> Pete
>
>
> 

~|
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:338690
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 current 
version of ExtJS (and hopefully is in cf9's implementation of Ext.Window 
too)

Azadi

On 23/10/2010 05:07 , Mike wrote:
> I recently upgraded to CF9 and have noticed that the moveTo function no
> longer seems to work to reposition a cfwindow.
>
> I still have a CF8 server running and the same code works perfectly in
> CF8, but throws the following JS error in CF9:
>
> Mywindow.moveTo is not a function
>
> Here's the JS code:
>
> rePositionWindow = function(windowName,x,y){
>
> //Get window object
> myWindow = ColdFusion.Window.getWindowObject(windowName);
> winEl = myWindow.getEl();
> //move the window
> myWindow.moveTo(x,y);
> }
>
> Anyone got any ideas? Or another way to position a cfwindow where the
> user clicks?
>
> Thanks,
>
> Mike
>
>
> 

~|
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:338490
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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
http://www.bennadel.com/blog/167-Calling-Array-Functions-on-ColdFusion-Query-Columns.htm

Azadi


On 20/10/2010 07:44 , Michael Grant wrote:
> Has this always been so in CF?
>
> On Tue, Oct 19, 2010 at 7:40 PM, Azadi Saryevwrote:
>
>>   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
>>> 
>>> 
>>>
>>>
 and have the totaled column as well?

>>> 
>>> 
>>>
>>>
>>>
>>
> 

~|
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:338349
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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
>
> 
> 
>
>
>> and have the totaled column as well?
>>
> 
> 
>
>
> 

~|
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:338347
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 you need to slide...

and of course http://slidesix.com/ for your presentation slides...

Azadi


On 18/10/2010 01:32 , Pete Ruckelshaus wrote:
> I'm looking for suggestions on a nice, elegant, straightforward-to-implement
> slideshow script.  I don't want to use cfpresentation for a myriad of
> reasons.  Is there anything that hooks into CF9's built-in AJAX stuff?
>
> Thanks
>
> Pete
>
>
> 

~|
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:338274
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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  tag:


one minus of this is you can't pass any arguments to the js function you 
execute in ajaxonload()...

more details are in cfml reference manual.

Azadi

On 15/10/2010 05:21 , Daniel Heighton wrote:
> I am trying to get a JQuery addon (asmSelect) to work on my page. The addon 
> will load and work, but the multiselect boxes it works on are dynamically 
> loading using a cfc:ajax function. This measns right when the page is loaded, 
> the asmSelect box is empty.
>
> I was able to work around this in a fashion by putting a hyperlink that runs 
> a JQuery function that runs a change event on the multiselect box. When this 
> is run, it then populates the select dropdown created by asmselect. The 
> contents of this multiselect box changes depending on other options that are 
> selected, and when I run the .change function manually, it then fixes the 
> asmSelect box.
>
> Basically, I need a way to get the Coldfusion ajax function to run a change 
> function everytime it runs and I'm unsure how to do this.
>
> 

~|
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:338214
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 for the duplicate fields)
> I swapped to "select *" to avoid having to type the 50 or so fields
> involved.  It works elsewhere, so I figured it should here.
>
> But as soon as I starting specifically naming the fields, the
> duplication cleared up.
>
> I would love to know why, but I guess that's just the way MySQL
> works with that particular query.  Perhaps it's the way it has
> to be done with a left join.
>
> Anyway, all is well!
>
> Thanks, James!
>
> Rick
>
> -Original Message-
> From: James Holmes [mailto:james.hol...@gmail.com]
> Sent: Monday, October 04, 2010 9:12 AM
> To: cf-talk
> Subject: Re: Can't figure out a query to accomplish this...
>
>
> Are you using select * to get the records? If so, get rid of that and
> name the select columns from p.
>
> select p.area, p.bedrooms, p.bathrooms
> from ...
> etc
>
> --
> WSS4CF - WS-Security framework for CF
> http://wss4cf.riaforge.org/
>
>
>
> On 4 October 2010 11:28, Rick Faircloth  wrote:
>> Spoke (wrote) too soon...
>>
>> I'm getting the correct records, but I just realized
>> I'm getting two of every field returned. �I tried
>> other joins, but can't affect the fields so that I get
>> just one field.
>>
>> How do I modify the query to return just one field
>
>
> 

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


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 processor. This is a simple way to support multiple 
> buttons from a single form because you can use the presence of a coordinate 
> to tell you which button was pressed.
>
> I couldn't figure out why this wasn't working inside a CFWINDOW and 
> eventually I stripped out all the extraneous code until I discovered that 
> when the CFFORM is inside a CFWINDOW, it no longer passes the coordinates. Is 
> that documented? Can anyone comment on that situation?
>
> If anyone wants to play around with it, my test program is in 2 pieces below, 
> the page that opens the CFWINDOW followed by the CFWINDOW code which dumps 
> the FORM fields.
>
> TestImageButton.cfm:
>
>  "http://www.w3.org/TR/html4/strict.dtd";>
> 
> 
> 
> Untitled Document
> 
> 
>  href="javascript:ColdFusion.Window.show('EventUpdate');ColdFusion.navigate('TestImageButton2.cfm','EventUpdate');">
> Click here to open the window
>
>   width="550" height="550" x="500" y="150"
>   bodyStyle="font-size:12px; font-family: verdana; background-color: 
> ##dcefd2; color: black; text-align: left;"
>  headerStyle="font-size:13px; font-weight:bold; font-family:Verdana; 
> color: white; text-align:left;">
>  
>  
>
> 
> 
>
>
> TestImageButton2.cfm:
>
> 
> 
>  
>  
>  
>  
>
>
>
> 

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


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 something in front of the field in the same 
> cell either without the field forcing itself onto a new line and aligning 
> itself left. 
>
> Here is a snippet of code...
>
> Date Authorized
>   
>  type="datefield"
>   name="DT_AUTH"
>   value="#DA#"
>   mask="mm/dd/"
>   validate="date"
>   disabled="#disabled#">
>
>
>
> 

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


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.
>
> Thanks®ards,
> Rama 
>
> 

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


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 available unless you unlock it.
>>
>> You need access to the database...
>>
>> Open the database
>> Go to tools-->Options
>> Check the box under *show* that says *system Objects*. You will notice that
>> several new tables appear in table view with the prefix MSys -
>> MSysAccessObjects, MSysAces, MSysObjects, MSysQueries, MSysRelationships,
>> and there may be a few others depending on your version of Access.
>> Now Go to Tools-->Security-->User and Group Permissions
>> Select the MSysObjects table and check the box that says "Read Data"
>>
>> Then...
>>
> The database is created in a 3rd party application and a copy is sent to my 
> website every 15 minutes, so it isn't practical to change the database itself.
>
> I dislike .Net but it certainly was simple there. It took 3 lines:
>
>   db = Session("DBpath") & "myDB.mdb"
>   Dim myFile as FileInfo = New FileInfo(db)
>   Dim ModDate as Date = myFile.LastWriteTime
>
>>   SELECT UpdateDate FROM MSysObjects
>>
>>
>>   
>>
>>
>>
>>
>> Jim Eisenhauer 
> 

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


Re: cftextarea setValue() and jquery dialog

2010-06-15 Thread Azadi Saryev

 ...and the winner is (works in both cf8 and cf9):

var ta = $("#f1 textarea[name='socialEventDescription']");
ColdFusion.RichText.setValue(ta.attr('id'),
responseData.socialEventDescription);
ta.val(responseData.socialEventDescription);
$("#dialog").dialog("open");

hth

Azadi


On 16/06/2010 02:22, Scott Brady wrote:
> Thanks! I'll try that.
>
>
> On Tue, Jun 15, 2010 at 12:02 PM, 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 guess it has something to do with the textarea being initially hidden,
>> and then displayed when the dialog is displayed. this must be causing
>> some event chain to fire, which happens to make the ckeditor instance
>> associated with the textarea temporarily unavailable. i _think_ that
>> maybe the textarea instance is re-drawn (or maybe even drawn for the
>> first time) only after the dialog is visible (you may have noticed that
>> fckstyles.xml file is requested only after the dialog is shown), and
>> that causes the instance to not be defined for a moment.
>>
>> in any case - if you are still interested - firing the setValue() with a
>> delay of 1000 ms after the dialog is opened seems to solve the problem
>> in cf9:
>>
>> var ta = ColdFusion.RichText.getEditorObject('socialEventDescription');
>> if (ta) {
>>  ColdFusion.RichText.setValue(ta.Name, str);
>> } else {
>>
>>
>> setTimeout(function(){ColdFusion.RichText.setValue(ColdFusion.RichText.getEditorObject('socialEventDescription').Name,
>> responseData.socialEventDescription);}, 1000);
>> }
>>
>> Azadi
>>
>>
>>
>>

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


Re: cftextarea setValue() and jquery dialog

2010-06-15 Thread Azadi Saryev

 actually, in your case (cf9 + richtext textarea inside jquery dialog)
it is as easy as setting the value of actual textarea element using
jquery before the dialog is opened!

$("textarea[name='socialEventDescription']").val(responseData.socialEventDescription);
$("#dialog").dialog("open");

since cf9 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 guess it has something to do with the textarea being initially hidden,
> and then displayed when the dialog is displayed. this must be causing
> some event chain to fire, which happens to make the ckeditor instance
> associated with the textarea temporarily unavailable. i _think_ that
> maybe the textarea instance is re-drawn (or maybe even drawn for the
> first time) only after the dialog is visible (you may have noticed that
> fckstyles.xml file is requested only after the dialog is shown), and
> that causes the instance to not be defined for a moment.
>
> in any case - if you are still interested - firing the setValue() with a
> delay of 1000 ms after the dialog is opened seems to solve the problem
> in cf9:
>
> var ta = ColdFusion.RichText.getEditorObject('socialEventDescription');
> if (ta) {
>   ColdFusion.RichText.setValue(ta.Name, str);
> } else {
>  
> setTimeout(function(){ColdFusion.RichText.setValue(ColdFusion.RichText.getEditorObject('socialEventDescription').Name,
> responseData.socialEventDescription);}, 1000);
> }
>
> Azadi
>
>
>
> On 16/06/2010 00:59, Scott Brady 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 wrote:
>>
>>>  it was actually me who was misunderstanding things!
>>> i have misread your question and assumed that you were loading an
>>> external page which contained richtext textarea into a dialog...
>>> not that i see what exactly you are doing, i have run some tests, and,
>>> as you said, in cf9 the textarea does not get the new value...
>>> cf8 does not have this problem and works correctly, though...
>>>
>>> i will play with it some more and post here.
>>>
>>> Azadi
>>>
>>> On 15/06/2010 23:49, Scott Brady wrote:
>>>> Ok, I'm still having issues following this.
>>>>
>>>> Your suggestion is to run the function when the page loads (ajaxonload).
>>>> But, the problem occurs long after the page loads (I can wait 5 minutes
>>>> after the page is done loading to try it, and I still get the issue).
>>>  And,
>>>> putting in an onload handler (either with CF's ajaxonload or using jQuery
>>> to
>>>> append the handler) has it run when the page has loaded -- before I've
>>>> clicked the "edit" button that does the ajax request to get the form's
>>>> values.
>>>>
>>>> Maybe I'm not explaining it well enough.
>>>>
>>>> The dialog that contains the form is part of the initial page load (i.e.,
>>>> it's a hidden div that, upon the document being loaded, is converted into
>>> a
>>>> jquery dialog.  Why would that affect when the ckeditor instance is ready
>>> or
>>>> not?  Even if I wait until the dialog is displayed before populating the
>>>> fields, it throws the error, so it's not just because the dialog is
>>> hidden
>>>> when I try to populate the field.
>>>>
>>>> Alternatively, maybe I don't understand what causes the ckeditor to be
>>>> "ready".
>>>>
>>>> Scott
>>>>
>>>> On Tue, Jun 15, 2010 at 9:05 AM, Azadi Saryev >>> wrote:
>>>>
>>>>>  the  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 it uses ckeditor-specific javascript
>>>>> functions to populate the ckeditor instance of the textarea (which is
>>>>> actually an ifame, iirc) with content, not the 

Re: cftextarea setValue() and jquery dialog

2010-06-15 Thread Azadi Saryev

 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 something to do with the textarea being initially hidden,
and then displayed when the dialog is displayed. this must be causing
some event chain to fire, which happens to make the ckeditor instance
associated with the textarea temporarily unavailable. i _think_ that
maybe the textarea instance is re-drawn (or maybe even drawn for the
first time) only after the dialog is visible (you may have noticed that
fckstyles.xml file is requested only after the dialog is shown), and
that causes the instance to not be defined for a moment.

in any case - if you are still interested - firing the setValue() with a
delay of 1000 ms after the dialog is opened seems to solve the problem
in cf9:

var ta = ColdFusion.RichText.getEditorObject('socialEventDescription');
if (ta) {
  ColdFusion.RichText.setValue(ta.Name, str);
} else {
 
setTimeout(function(){ColdFusion.RichText.setValue(ColdFusion.RichText.getEditorObject('socialEventDescription').Name,
responseData.socialEventDescription);}, 1000);
}

Azadi



On 16/06/2010 00:59, Scott Brady 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 wrote:
>
>>  it was actually me who was misunderstanding things!
>> i have misread your question and assumed that you were loading an
>> external page which contained richtext textarea into a dialog...
>> not that i see what exactly you are doing, i have run some tests, and,
>> as you said, in cf9 the textarea does not get the new value...
>> cf8 does not have this problem and works correctly, though...
>>
>> i will play with it some more and post here.
>>
>> Azadi
>>
>> On 15/06/2010 23:49, Scott Brady wrote:
>>> Ok, I'm still having issues following this.
>>>
>>> Your suggestion is to run the function when the page loads (ajaxonload).
>>> But, the problem occurs long after the page loads (I can wait 5 minutes
>>> after the page is done loading to try it, and I still get the issue).
>>  And,
>>> putting in an onload handler (either with CF's ajaxonload or using jQuery
>> to
>>> append the handler) has it run when the page has loaded -- before I've
>>> clicked the "edit" button that does the ajax request to get the form's
>>> values.
>>>
>>> Maybe I'm not explaining it well enough.
>>>
>>> The dialog that contains the form is part of the initial page load (i.e.,
>>> it's a hidden div that, upon the document being loaded, is converted into
>> a
>>> jquery dialog.  Why would that affect when the ckeditor instance is ready
>> or
>>> not?  Even if I wait until the dialog is displayed before populating the
>>> fields, it throws the error, so it's not just because the dialog is
>> hidden
>>> when I try to populate the field.
>>>
>>> Alternatively, maybe I don't understand what causes the ckeditor to be
>>> "ready".
>>>
>>> Scott
>>>
>>> On Tue, Jun 15, 2010 at 9:05 AM, Azadi Saryev >> wrote:
>>>
>>>>  the  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 it uses ckeditor-specific javascript
>>>> functions to populate the ckeditor instance of the textarea (which is
>>>> actually an ifame, iirc) with content, not the actual 
>> element.
>>>> Azadi
>>>>
>>>> On 15/06/2010 22:14, Scott Brady wrote:
>>>>> But the text area exists on the page already.  The empty cftextarea
>> would
>>>> be
>>>>> available by the time the page loads (and the div isn't made a "dialog"
>>>>> until after the page loads).  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 >>>> wrote:
>>>>>
&

Re: cftextarea setValue() and jquery dialog

2010-06-15 Thread Azadi Saryev

 it was actually me who was misunderstanding things!
i have misread your question and assumed that you were loading an
external page which contained richtext textarea into a dialog...
not that i see what exactly you are doing, i have run some tests, and,
as you said, in cf9 the textarea does not get the new value...
cf8 does not have this problem and works correctly, though...

i will play with it some more and post here.

Azadi

On 15/06/2010 23:49, Scott Brady wrote:
> Ok, I'm still having issues following this.
>
> Your suggestion is to run the function when the page loads (ajaxonload).
> But, the problem occurs long after the page loads (I can wait 5 minutes
> after the page is done loading to try it, and I still get the issue).  And,
> putting in an onload handler (either with CF's ajaxonload or using jQuery to
> append the handler) has it run when the page has loaded -- before I've
> clicked the "edit" button that does the ajax request to get the form's
> values.
>
> Maybe I'm not explaining it well enough.
>
> The dialog that contains the form is part of the initial page load (i.e.,
> it's a hidden div that, upon the document being loaded, is converted into a
> jquery dialog.  Why would that affect when the ckeditor instance is ready or
> not?  Even if I wait until the dialog is displayed before populating the
> fields, it throws the error, so it's not just because the dialog is hidden
> when I try to populate the field.
>
> Alternatively, maybe I don't understand what causes the ckeditor to be
> "ready".
>
> Scott
>
> On Tue, Jun 15, 2010 at 9:05 AM, Azadi Saryev wrote:
>
>>  the  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 it uses ckeditor-specific javascript
>> functions to populate the ckeditor instance of the textarea (which is
>> actually an ifame, iirc) with content, not the actual  element.
>>
>> Azadi
>>
>> On 15/06/2010 22:14, Scott Brady wrote:
>>> But the text area exists on the page already.  The empty cftextarea would
>> be
>>> available by the time the page loads (and the div isn't made a "dialog"
>>> until after the page loads).  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 >> wrote:
>>>
>>>>  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 move the success callback into a separate named
>>>> function (if you have it defined in-line in success: property of
>>>> $.ajax()), and then call it using ajaxonload() cf function by putting
>>>> 
>>>> as the last line before the closing  tag in your page that loads
>>>> inside dialog.
>>>>
>>>> another option is to create a 'listener' that checks if cf richtext area
>>>> is ready for use, and only then fire your function that populates the
>>>> form. i don;t have code for this as i have never done it this way, but i
>>>> think it can be done with setInterval() ...
>>>>
>>>> Azadi
>>>>
>>>>
>>
> 

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


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:



it's an ajax request using jquery!


more reading:
http://www.insideria.com/2009/04/jqueryserver-side-tip-on-detec.html
http://blog.pengoworks.com/index.cfm/2009/4/9/ColdFusion-UDF-for-detecting-jQuery-AJAX-operations

unfortunately, cf's built-in functions performing ajax requests do not
append any headers, so you can't detect those... well, without hacking
the cfajax.js file... which is not a very good idea...

Azadi


On 15/06/2010 22:18, Eric Cobb wrote:
> Is there a way, in CF 8, to determine if the current request is calling 
> a CFC that has access="remote"?  Basically, I'd like to mimic CF 9's 
> onCFCRequest() method, but only for remote methods. 
>
> I spent a good portion of yesterday afternoon trying to figure out why 
> my jQuery AJAX call would work for me locally, but break on our staging 
> site.  All code was identical in every comparison, and both sites were 
> using the same database so the data was identical as well.  Long story 
> short, our staging server had CF debugging turned on, and it was 
> appending the debug info to the end of the json being returned from my 
> CFC call, which then threw errors in jQuery.  Locally I have debugging 
> going to ColdFire/Firebug, so I never saw the problem.  Anyway, a simple 
> "cfsetting showdebugoutput="false"" fixed the issue. 
>
> So, rather than having to remember to use cfsetting for every remote 
> method, is there a way I can programmatically figure out if the current 
> request is calling a remote method in CF 8?
>

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


Re: cftextarea setValue() and jquery dialog

2010-06-15 Thread Azadi Saryev

 the  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 it uses ckeditor-specific javascript
functions to populate the ckeditor instance of the textarea (which is
actually an ifame, iirc) with content, not the actual  element.

Azadi

On 15/06/2010 22:14, Scott Brady wrote:
> But the text area exists on the page already.  The empty cftextarea would be
> available by the time the page loads (and the div isn't made a "dialog"
> until after the page loads).  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 wrote:
>
>>  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 move the success callback into a separate named
>> function (if you have it defined in-line in success: property of
>> $.ajax()), and then call it using ajaxonload() cf function by putting
>> 
>> as the last line before the closing  tag in your page that loads
>> inside dialog.
>>
>> another option is to create a 'listener' that checks if cf richtext area
>> is ready for use, and only then fire your function that populates the
>> form. i don;t have code for this as i have never done it this way, but i
>> think it can be done with setInterval() ...
>>
>> Azadi
>>
>>
> 

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


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 move the success callback into a separate named
function (if you have it defined in-line in success: property of
$.ajax()), and then call it using ajaxonload() cf function by putting

as the last line before the closing  tag in your page that loads
inside dialog.

another option is to create a 'listener' that checks if cf richtext area
is ready for use, and only then fire your function that populates the
form. i don;t have code for this as i have never done it this way, but i
think it can be done with setInterval() ...

Azadi

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


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 - you have set http method parameter of ColdFusion.navigate()
function to 'GET' - thus your form values will be in URL scope, not in
FORM scope. so to get RCP_ID use #url.rcp_id#

Azadi


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


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?

#masthead {background:
url(/images/masthead.cfm?x=#createuuid()#) no-repeat;}


i did a very similar thing on a a couple of site, but i had random url
params added to img urls and never saw the problem you see...
i also served the images using a script like this instead of 
tag:


oImg = toBinary(toBase64(objImage)); // can probably use oImg =
imagegetblob(objImage); in your case
context = getPageContext();
context.setFlushOutput(false);
response = context.getResponse().getResponse();
out = response.getOutputStream();
response.setContentType("image/jpeg");
response.setContentLength(arrayLen(oImg));
out.write(oImg);
out.flush();
//response.reset(); //optional for problems
out.close();


hth

Azadi


On 02/06/2010 11:02, Bobby Hartsfield wrote:
> I've got this issue that is driving me batty.
>
> ... 
> ...
> ...
>
> 

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


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 download Abbreviate udf from http://cflib.org/abbreviate and
use it to truncate the text.

Azadi

On 01/06/2010 05:19, Les Mizzell wrote:
> Sean Corfield wrote:
>> If you know how many characters will fit in the box (which may be font
>> dependent?), then start there and work back to the next space and
>> truncate there. That way you'll always have complete words and the
>> number of words will vary depending on the total number of characters.
> That's the problem. I can make a "best guess" as to the number of 
> characters, but it's font dependent, so no exact number is ever going to 
> work.
>
> The graphic designers I work with need to get out of their "print mode" 
> when doing layouts!!! ... and they get the darned designs approved by 
> the client *before* sending to me and going "see any issues here".
>
>
> __ Information from ESET NOD32 Antivirus, version of virus signature 
> database 5159 (20100531) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> 

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


  1   2   3   4   5   6   7   8   >