Tough nuts! (setCallbackHandler)

2008-03-28 Thread Don L
goal: pass cfc's simple result value back to caller page and set the page's hidden field of 'uid' with this value. method: cfajaxproxy, cfc and js class library js code snip: function Save(frm){ var d = new doSave(); d.setForm(frm); d.setHTTPMethod('POST')

Re: Tough nuts! (setCallbackHandler)

2008-03-28 Thread Don L
Have you looked in Firebug? Have you checked the Firebug console, to watch the call being made, and the result being returned? In FF, did you place a console.log(id) as the first line of your passIdOn() method, to see if it was being called and what it was being passed? Steve Cutter Blades

Re: Tough nuts! (setCallbackHandler)

2008-03-28 Thread Don L
function passIdOn(id) { document.getElementById('uid').innertHTML = id; } A typo? Should be innerHTML instead of innertHTML? Phillip oh, my lord! thanks, Phillip, for your sharp eyes, and yet still to no avail... ~|

Re: Tough nuts! (setCallbackHandler)

2008-03-28 Thread Don L
OK, you have part of the battle. That tells you what the cfc is doing, what the server is returning. The callback wouldn't be a part of this information. Setting the callback function registers it within your browser client, as a listener action to take when a return value is received. In

Re: Tough nuts! (setCallbackHandler)

2008-03-28 Thread Don L
OK, you have part of the battle. That tells you what the cfc is doing, Yes, now the js code looks like this: function passIdOn(id) { // if (id) { console.log(id); document.getElementById('testId').innerHTML = id; // testId is not a hidden field document.getElementById('userId').innerHTML

Re: sending entire Form back on a url string

2008-03-27 Thread Don L
Morning, Having a brain freeze. I want to send an entire set of form variables back to the previous page on the url string. Obviously previous_page.cfm?formStructure=#Form# doesn't work. I can't for the life of me remember how to do this. Cheers Will Will, the following technique

Re: test (ignore) -- read at your peril (spelling?)

2008-03-27 Thread Don L
Mail server jam. Its better now. Thanks for the update. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive:

Re: Variables scope within cold fusion 8 context

2008-03-27 Thread Don L
If you use onRequestStart(), you'll set those variables on every page request. That's a lot of unnecessary overhead no matter how small it is. If you used onApplicationStart(), you'd set the two application variables once and then reference them from memory. The application variables

Re: Variables scope within cold fusion 8 context

2008-03-27 Thread Don L
There is no built-in function onVariablesStart() in Application.cfc. yeap, thks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: Variables scope within cold fusion 8 context

2008-03-27 Thread Don L
I guess with cf8, it simply does not support Variables Scop at global level. True or False? If I'm understanding correctly, I don't think any version has supported a global variables scope. The variables scope is reset every request. Setting a couple of variables on each request in

I need to steal a DDL for generic contact info for MS SQL Server 2000

2008-03-27 Thread Don L
got it handy? it would save me ~15/20 minutes. tks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive:

Re: Variables scope within cold fusion 8 context

2008-03-27 Thread Don L
If you use onRequestStart(), you'll set those variables on every page request. That's a lot of unnecessary overhead no matter how small it is. No, it's not a significant amount of overhead to set variables from literal values on each page request. Dave Watts, CTO, Fig Leaf Software

test (ignore) -- read at your peril (spelling?)

2008-03-26 Thread Don L
hey, forum, you don't want to talk to me today? I posted one @ 1 ish pm, still not showing up yet ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Variables scope within cold fusion 8 context

2008-03-26 Thread Don L
Hi guys, I have an old app that has the following line in the application.cfm file cfscript meatDS = goMeatDB; nutsDS = goNutsDB; /cfscript which are referenced many times in about 15 to 22 templates. Now, I'd like to upgrade the app to application.cfc, and from what I read about

Re: Need help

2008-03-24 Thread Don L
Sorry I am not sure what you actual problem is. But can I ask why you are using IFrames? Cfdiv maybe just as good for your needs:-) Hey Andrew, I have to use IFrames inside a CFWINDOW because I need to allow multiple instances of a WYSIWYG editor (which I've created and is working

Re: Using CFWindow getting the parent page to refresh

2008-03-24 Thread Don L
I have a report that when called pops up a separate instance of the browser. I have a link on that report that calls a cfwindow containing a cfform that lets you change filters and sort order on the report. In the past I have successfully used location.refresh() to refresh the page reflecting

Re: Using CFWindow getting the parent page to refresh

2008-03-24 Thread Don L
Don, OK. On the home page of a portal users click on an icon and launch a report in a separate browser instance. At the top of the report there's a link that launches a cfwindow that allows them to filter the report and select how they want it sorted. Their choices are saved to the database

Re: Need help

2008-03-23 Thread Don L
when you are working with cf8 ajax ui controls, you should either have all your js in an external file, or, if you have js in the same file, your js functions must be declared as functionname = function(arguments) { ... } not function functionname(arguments) { ... } hth Azadi Saryev

Re: CFWINDOW Problem

2008-03-23 Thread Don L
A related note: Holly mother of Lord! I just love those corporate Frankenstein style solutions. refering to zillions of open source js code, Ext, YUI, among others... + add nice presentation and very handy for better Use Experience. - hard to debug // Adobe got the upper hand (more money in their

Re: Need help

2008-03-23 Thread Don L
when you are working with cf8 ajax ui controls, you should either have all your js in an external file, or, if you have js in the same file, your js functions must be declared as functionname = function(arguments) { ... } not function functionname(arguments) { ... } hth Azadi Saryev

Need help

2008-03-22 Thread Don L
Ok, my attempt of wrestling with dynamically setting iframe attributes inside a CFWINDOW has been in vain, some of you may have a solution, Andrew Scott? Terry Schmitt? and more... a CFWINDOW-launched template looks like this: (Please note the template would run just fine if not launched via

Re: Totally OT - Joel On Software - Browsers, Standards and Compatibility

2008-03-21 Thread Don L
This is a good read on browser compatibility issues, standards and the like. http://www.joelonsoftware.com/items/2008/03/17.html If you have ever wrestled with getting designs to work cross browser you will be able to appreciate the article. -- I am always doing that which I can not do, in

Your thoughts even opinion would be appreciated

2008-03-21 Thread Don L
What's your opinion in terms of value to an organization and its members, which of the following would produce more for similar cost? http://24.254.1.94:8000/technology4business/generation2.htm http://24.254.1.94:8000/technology4business/generation3.cfm Thanks.

iFrame inside cfwindow question

2008-03-20 Thread Don L
Hi, Inside a cfwindow, I have a javascript that creates/references iframes dynamically from a query (so, can't place the js at the root level). The following js line would fail, window.frames['iframe1'].document.designMode = On; any workaround for iFrame inside cfwindow? Thanks.

Voodoo programming case one

2008-03-19 Thread Don L
Hi, I got this a table with multiple rows, one column contained lengthy data, so, it is assigned td width=40%. Now, I want to give users the flexibility to temporarily close a column or two by a simple click (very trival js to implement) but I'd like all the TDs for this BIG column to expand

Re: Voodoo programming case one

2008-03-19 Thread Don L
Thanks. You're right, using class is a standard approach, however, the new CFWINDOW tag is nice but quite picky and I have more than one cfwindow on the same page, so, inline js tends to work better for my case... Since we're at it, I was wondering if there are other techniques to achieve the

Re: Voodoo programming case one

2008-03-19 Thread Don L
Thanks. You're right, using class is a standard approach, however, the new CFWINDOW tag is nice but quite picky and I have more than one cfwindow on the same page, so, inline js tends to work better for my case... Well... you can change just the width property of the column as easily as you

Re: Voodoo programming case one

2008-03-19 Thread Don L
Thanks. As I indicated in my very first post, it was working (at that point I did not test it with IE6 though). Later I tested with IE6, and it seems fine as well. I was curious to know if there's a better approach... It's good to know you endorse this approach as well. Well... I guess it's

Logging Setting with Cold Fusion 8 (Standard)

2008-03-18 Thread Don L
I intend to disable cf logging. The cf administrator does not seem to offer this function of [disabiling], browsed through the jrun-web.xml and web.xml did not seem to offer a way to manually disable them neither. First question, is there a way to disable cf logging? If so, then how? I know

Weired Error

2008-03-17 Thread Don L
Hi, My cf8-based app runs fine with me and most beta users (the app uses multiple cfwindows for one page), however, one important beta user often encounters errors like Error retrieving markup for element {xyzwindow_body}: Access Forbidden and he reported that it's consistent. It bothers me.

Re: Weired Error

2008-03-17 Thread Don L
Hi, My cf8-based app runs fine with me and most beta users (the app uses multiple cfwindows for one page), however, one important beta user often encounters errors like Error retrieving markup for element {xyzwindow_body}: Access Forbidden and he reported that it's consistent. It

Re: Weired Error

2008-03-17 Thread Don L
Did you read that the app works perfectly FINE with all other users CONSISTENTLY save some tiny harmless js error from js libraries like Ext but that particular user's organization, and that organization is important to me, the 'design' is put to me continuously in disadvantageous situation,

Re: Weired Error

2008-03-17 Thread Don L
Hi Don, Do you have a url that you can post? Let some of us test it and see what happens. Usually an Access Denied is a 403.1 error and that would lead directly to your server configuration. But. a lot of organizations are using blocking software, to keep their employees off of

Totally OT: Do you see what I see

2008-03-16 Thread Don L
Go to the following URL, http://www.nytimes.com/pages/business/index.html?adxnnl=1adxnnlx=1205702297-fQQvcu4oQALgFskrYAVixw Look at the center area of the page, Multimedia, do you see a clear 'flaw'? To the purists, I'm sorry.

Quick question on presentation

2008-03-14 Thread Don L
Hi, I have a small cfwindow in my app. Currently this window displays a) bla bla... b) blaB blaB... c) blaC blaC... What is more desirable presentation-wise (for clarity, non cluttered overall presentation) would be: Display a) only and upon mouse over to this window, display b) and c) as

Re: Quick question on presentation

2008-03-14 Thread Don L
Hi William, short version - 1. run a qry 2. display data table cfoutput query=getStuff trtd valign=top colspan=3b#title#/bbr/ #ParagraphFormat(description)#/td /tr /cfoutput /table

Re: Quick question on presentation

2008-03-14 Thread Don L
William, Would the intent of the following code extract each paragraph from ONE/SAME row, hence, show/display the First Paragraph by default, then use OnMouseOver, OnMouseOut event handlers to show the rest paragraph as well? trtd valign=top colspan=3div id=row#currentrow#

Re: Quick question on presentation

2008-03-14 Thread Don L
Sorry, William, your interpretation wasn't in 'snyc' with me. The intent was, extract each paragraph from ONE/SAME row, hence, show/display the First Paragraph by default, then use OnMouseOver, OnMouseOut event handlers to show the rest paragraph and all the rest. There might be p tag within

Re: Quick question on presentation

2008-03-14 Thread Don L
Very much appreciate it, William, it's not on my priority list for now... let's deal with it another day... the window is not slow (but I'm a speed/efficiency maniac...) for instance, since you are using the paragraphformat function, you can have a 2nd function that checks to see if there is

Any accumulated bug reports for cold fusion 8?

2008-03-14 Thread Don L
Most recently I caught another cf8 bug, corrupt table, a quick search revealed that it's related to cfqueryparam/cache and an updater seems to have fixed it. But the question, is what else cf8 bugs out there? Would prefer to prevent them rather than having them showing up on user's screen.

Re: Any accumulated bug reports for cold fusion 8?

2008-03-14 Thread Don L
Ha, that's an excellent sample, cfset numberNumber10 = 10 One could easily code like that with the assumption that white space is ignored without causing problem. Thanks, Adam. Don P.S. I'll check my code spaces infront or behind numbers will cause comparisons to fail in many instances. cfset

Re: Any accumulated bug reports for cold fusion 8?

2008-03-14 Thread Don L
Are you suggesting there's some tool called CF8 handy, ran a quick lookup within this forum to no avail. I have the propensity to write like cfset x = 10 instead of cfset x=10 for readibility... but won't code like cfset x = 10, and I'm not responsible for others' code, so, for the question

Help Adobe plan the future of ColdFusion (along that line)

2008-03-12 Thread Don L
I think File Upload is an important feature. Non-intranet apps (and maybe even intranet apps as well) would definitely need security check for uploaded file, so, if Adobe could build such security check upon file upload capability I think it would be a great service. Also it's very desirable

Re: Help Adobe plan the future of ColdFusion (along that line)

2008-03-12 Thread Don L
check that attachment for you before download... No, I'm not a security maniac but it's now part of life... what exactly do you mean by security check? check for what? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Don L wrote: I think File Upload is an important feature. Non

Re: Help Adobe plan the future of ColdFusion (along that line)

2008-03-12 Thread Don L
Hey Mark, I'm just tossing an idea around, absolutely no pressure on Adobe. But I do hope Adobe would come up with fix/patch for their FckEditor integration very quickly, my beta users like its WYSIWG feature but are getting mad with me for its slow rendering and some times it fails (cf8

Re: Help Adobe plan the future of ColdFusion (along that line)

2008-03-12 Thread Don L
re security - definitely not Adobe's job... but maybe they could 'integrate' a server-side virus checker? That's my POINT. Not reventing wheels. But making integration elegant, flexible and efficient NOT food on the table is good enough mentality... Sorry if it sounds ranting... yes +1 to

Is there a way to find a CFcookie's age?

2008-03-11 Thread Don L
I've being using CFCOOKIE for years, and yet just find out I need to know a cfcookie's age like how many days since the cookie was last created (not session only type), not aware of a way to do that, just double check the livedoc as well. If it can't no big deal. Thanks.

Re: Is there a way to find a CFcookie's age?

2008-03-11 Thread Don L
Thank you, Gerald. Don If you enable client variables there is a time created variable. timecreated={ts '2008-03-10 18:33:03'} On Tue, Mar 11, 2008 at 7:24 PM, D ~| Adobe® ColdFusion® 8 software 8 is the most important

Re: FW: Help Adobe plan the future of Flex or ColdFusion

2008-03-11 Thread Don L
Half way through, the survey app had a show-stopper, namely, for future features including faster server performance and rules etc. (weight range from 1 to 3). I picked server performance as 1 and 3 for everything else but the app complained about Duplicated answers; select each number only

Lean server, jrun server etc... (cf8 standard edition)

2008-03-05 Thread Don L
Hi all, A bunch of questions on performance techniques (save cf coding, sql db design and query construction part, time of access is actually also a factor -- the info highway could be clogged at times... due to the popularity of videos etc...), pls help me to chew on them... a) Precompile

OT: Microsoft Live Office

2008-03-04 Thread Don L
Has anyone tried that? And what's your experience with it? Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w

Re: Microsoft Live Office

2008-03-04 Thread Don L
I feel it's very stupid and confusing, looks like someone in charge may actually work for Google... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: Microsoft Live Office

2008-03-04 Thread Don L
I feel it's very stupid and confusing, looks like someone in charge may actually work for Google... Oops, slip of tongue, I may have only seen a tiny part of a big elephant. ~| Adobe® ColdFusion® 8 software 8 is the most

Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-03-03 Thread Don L
I thought she was mocking, that ticked me off, if my bad I'll take back the 'annoying' thing... Claude, EXT is a javascript library that Adobe incorporated into CF-8. http://extjs.com/ Note version 1.0 is in CF-8 even though they're shipping version 2.0 now. Rick Mason On Sat, Mar 1, 2008

Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-03-02 Thread Don L
I have been using the EXT 2.0 stuff along with jQuery and it has been really really nice. I have control over when I load the JS files and how they are cached. Do you happen to have some sort write-up or quick guide on getting started with the 8k ish light-weight Ext htmleditor? Thanks.

Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-03-02 Thread Don L
=1B3GGGL_enUS233US233 First page got me two EXT ports CF. http://www.danvega.org/blog/index.cfm/2008/1/31/Ext-Forms-Using-cfExt http://www.madfellas.com/blog/index. cfm/2008/1/16/ColdExt--an-Ext-JS-tag-library On Sun, Mar 2, 2008 at 6:19 PM, Don L [EMAIL PROTECTED] wrote: I have

Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-03-01 Thread Don L
(Again, my opinion) Now, with these new CF8 Ajax components, developers are using cfform again, to get the fancy grids and auto-suggest. Right on. Ajax is BIG deal, also, I love ColdFusion, and I don't want people to get wrong idea... Ok, I've cracked some core text editing js code, now,

Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-02-29 Thread Don L
Dave, Rick, Russ, John and Gerald, Thank you all for your thoughts. To Gerald, you were probably referring to IIS6. My opinion still is, if feasible, the best option is, not to have/load unnecessary heavy-duty javascripts in the first place, and to make things/features more configurable by

Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-02-29 Thread Don L
Thank you for your time, inputs, Dave, and some of your points seem reasonable..., I'm very lousy in spelling among many other shortcomings :) Don First, perhaps you shouldn't call it FukEditor. The actual name is problematic enough. Second, I love CF a lot, but it's not Adobe's flagship

Does Java version matter with cf8 (standard) performance?

2008-02-28 Thread Don L
Per Mark Mandel's following piece, http://www.compoundtheory.com/?action=displayPostID=270 Your thoughts/experience? Thks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free

Re: Does Java version matter with cf8 (standard) performance?

2008-02-28 Thread Don L
Thank you for your thoughtful follow-up, Tom. Don Don, Unfortunately, the answer is the usual: it depends. Certainly, it depends on your application(s). And to some extent, it may depend on who you talk to. So how much of a problem the Java bug is -- or whether it's a problem for you at

An effort to make cold fusion 8 standard edition more efficient

2008-02-28 Thread Don L
Sam Farmer got me started with YSlow (performance tool), thanks, Sam. With this tool, one can tell, some of the major memory hoggers include: ext-core.js (77k) grid.js (53k) -- when one looks at all the amenties, needed or not, one would know this thing is going to cost ya, now, if I may, it

Re: An effort to make cold fusion 8 standard edition more efficient

2008-02-28 Thread Don L
Yes, I meant, client/browser side memory. Ok, so, show me some trick on trimming down ext-core.js (repackaging vs ?) , and how not to load fukEditor-gecko.js. Wny? I want it to speed up. Thanks. So, use the CF8 components for rapid prototyping. Refactor with straight Ext for final app,

Re: An effort to make cold fusion 8 standard edition more efficient

2008-02-28 Thread Don L
Tom, thanks for the pointer... after scanning the relevant doc a bit more... Particuarly the following on the CFAJAXIMPORT tag, You can have only ONE scriptsrc attribute on a page, in a cfajaximport tag or a cfform tag. You can use a scriptsrc attribute in a cfajaximport tag to apply its value

Re: An effort to make cold fusion 8 standard edition more efficient

2008-02-28 Thread Don L
Thank you for sharing your insights, Gerald, option one of redoing the design for optimal performance gain on the part of the inadequacy of some of the core js compoments within the cf8 context would be very time-consuming... option two of nudging/pleading with Adobe to add more best

Re: An effort to make cold fusion 8 standard edition more efficie nt

2008-02-28 Thread Don L
Thanks for the idea, Dave, unfortunately my version of the web server does not seem to support compression, oddly it has a dll for compression... I'll probably need to do more research... Don Yes, if your web server is configured to gzip static files, these files will be gzipped. All CF does

Re: Adobe, please improve FckEditor integration w/ Cold Fusion 8

2008-02-27 Thread Don L
Thanks, Holton, I like YUIEditor, much faster than the FukEditor, however, for simple form no prob, but to make it fit into my app it needs some twisting... Care to share some tip on using tinyMCE? Don P.S. I've made the FukEditor kind of workdable... Hi Don On rolling out my own, ... I

Adobe, please improve FckEditor integration w/ Cold Fusion 8

2008-02-26 Thread Don L
Here I have three problems with FckEditor in the context of CF8. a) Reliability problem For instance, cross browser problem, it disables FF2's built-in spell checker (are you nuts?). For another instance, for a same app, sometimes the FckEditor loads while other time not. Possible culprit

Re: Adobe, please improve FckEditor integration w/ Cold Fusion 8

2008-02-26 Thread Don L
Brad, Thanks for the note. I haven't. And I remember, many years ago, still Allair days probably, in my wish list, I submitted, to the effect of if Cold Fusion could allow developers to develop some basic Desktop app how nice that would be... if they still have a database to look it up,

Re: Adobe, please improve FckEditor integration w/ Cold Fusion 8

2008-02-26 Thread Don L
Hi Chris, On your some things already in the pipeline., I don't get it. I simply want a lean (hey, not mean :) text editor that would work well with cf8, core editing features, Bold, List (ordered unordered), TextColor, Link, that's it, On rolling out my own, I got B and L working for IE (but

Re: Adobe, please improve FckEditor integration w/ Cold Fusion 8

2008-02-26 Thread Don L
Brad, I can't beat anybody, it takes many factors... LOL. You should have just patented the idea back then and ran with it. You would have beat Adobe to the punch. ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most

A specific FckEditor and/or CF problem

2008-02-26 Thread Don L
Have you come cross something similar? CF code in question cfoutput query=myQRY div id=show#currentrow# bind={fancyExtra#currentrow#}#dataset[currentrow]/div div id=fancyExtra#currentrow#.../div /cfoutput FckEditor in question cfrichtexteditor.js (Line 63 -- 71) var _14=function(){

Re: Adobe, please improve FckEditor integration w/ Cold Fusion 8

2008-02-26 Thread Don L
You may want to visit Rakshith's blog on http://rakshith.net/blog/ He has got some interesting posts on FCKEditor with CF The FukEditor related blogs were irrelevant to the question in hand. ~| Adobe® ColdFusion® 8 software

Re: FckEditor kills FF2's built-in speller

2008-02-24 Thread Don L
Hi Roger, Thank you for the idea. I tried it from FF2 on a laptop with same result, that is, the built-in spell checker was disabled by FckEditor. My attempt of commenting out the block of code about speller and added the following line: FCKConfig.FirefoxSpellChecker = true; with the

Re: Reporting system too heavy

2008-02-24 Thread Don L
hundreds of complex queries ... I'm not exactly sure if a business function has to go that route... And I agree with Warrent that Stored Procedure, be it MS SQL Server or Oracle or IBM DB2, would help with performance substantially (for one thing, sql exeuction plan has been precompiled...),

Re: FckEditor kills FF2's built-in speller

2008-02-23 Thread Don L
Good thought, cleared FF2 cache still to no avail. Will find another box that has FF2 to try again. Thanks. Have you cleared your browsers cache? Any changes to the FCKEditor config file require browswer cache flush to take effect... Dominic -- Blog it up: http://fusion.dominicwatson.co.uk

Re: FckEditor kills FF2's built-in speller

2008-02-22 Thread Don L
Looks like there's an option, FCKConfig.FirefoxSpellChecker, in the fckconfig.js file that *should* control that. Hmm, no luck for me, searched for it with fckconfig.js to no avail (the editor came with CF8 standard), commented out the following block for default IE speller /*

FckEditor kills FF2's built-in speller

2008-02-21 Thread Don L
I just found out that FckEditor somehow 'manages' to disable FF2's neat built-in speller (I'm using its simple functions like Bold, List etc.). Has anyone encountered similar experience? Thanks. ~| Adobe® ColdFusion® 8

Re: Bomber, headerStyle attribute of CFWINDOW

2008-02-20 Thread Don L
Guys, I'd appreciate your feedback on this. tks./ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive:

Re: Bomber, headerStyle attribute of CFWINDOW

2008-02-20 Thread Don L
Steve, what you said makes sense, thanks. Don Code looks like this: cfwindow name=do something title=do something for you or me :) source=dosomething.cfm draggable=true resizable=true initshow=true height=385 width=360 x=10 y=40

Re: Bomber, headerStyle attribute of CFWINDOW

2008-02-20 Thread Don L
Awesome, Mr. genius, it works with IE7/6 and FF2 and I like the bg/fg contrast. Also, since we're at it, have you played with bg/fg for tabs within cfwindow? Many thanks. Don Just a thought, and you'll have to try this, but I thought all of those 'style' attributes operated in much the same

Re: The GetTimeZoneInfo() function

2008-02-20 Thread Don L
you *cannot* get the client's tz via js. Really? I just did. I'm interested. William Seiter's js code works fine, but don't know how to convert js var into CF var (key to this thing). thanks. Don ~| Adobe® ColdFusion® 8

Re: The GetTimeZoneInfo() function

2008-02-20 Thread Don L
Gerald, I've solved the problem, thank you though. Best, Don Don, I will get with you on this tomorrow. Our requirements were very different, but I know more than I want to on the matter of syncing time zones, server time, local times and JS. Regards Gerald On Wed, Feb 20, 2008 at 4:45 PM, D

Re: The GetTimeZoneInfo() function

2008-02-20 Thread Don L
How interesting! Late this afternoon I played around your initial js code for tz, I attempted to send this js tz value to a form hidden field, then, have another js function to auto submit the form, then, have cf get its value, within the same template, tried it for about 15/20 minutes to no

Bomber, headerStyle attribute of CFWINDOW

2008-02-19 Thread Don L
This attribute works with IE7 (probably IE6 too) but won't work with FF2. Could anyone reproduce the bug? Thanks. P.S. Though one can first detect browser then decide to use this attibute or not, it slows down the process... workaround is workaround...

The GetTimeZoneInfo() function

2008-02-19 Thread Don L
Personally I didn't find this function of any use, it tells offset from GMT, however, it does not indicate whether it's to the east (+) or to west (-). Am I missing something here (yes I've checked the livedocs about it). Thks.

Re: The GetTimeZoneInfo() function

2008-02-19 Thread Don L
Indeed, I missed it, thanks. But, I do know my server's timezone, what I'd like to know is user/UA 's timezone, currently I'm using sql to do that... yes you're missing somethings, from the cf8 docs: Returns Structure that contains these elements and keys: * utcTotalOffset: offset of

Re: The GetTimeZoneInfo() function

2008-02-19 Thread Don L
Thank you both about the JS option, I looked into that as well... but I'll stick to my sql solution for it (it's working fine and seem efficient). The app is not pre-released yet but it's consumer-oriented, not exactly intended for int'l but more for N. America... I believe you can use JS to

Re: The GetTimeZoneInfo() function

2008-02-19 Thread Don L
That's neat, it also works with IE7. Now, I'm a bit scare of script kitty, not this one or the like. That is correct, the querant only asked about timezone, however, if we limit our responses to just 'what the querant asked about' there may be a world of solutions that the querant had not

Same inline javascript works and not working

2008-02-18 Thread Don L
The following cf and js code works fine with both IE7 and FF2 (as you can see it does auto expand of textarea so that the user can view all the data input) cfparam name=rowNum default=3 cfform name=cap id=auto action=#CGI.script_name#? method=post cftextarea name=yourWords id=noteid2 cols=70

Re: Same inline javascript works and not working

2008-02-18 Thread Don L
Jeff, I clearly forgot to copy over the cftextarea end tag. tks for your time. You don't have your cftextarea closed. You also don't need the javascript: at the start of the onKeyDown event. Take out those two and it should work like a charm. -jeff

Re: Same inline javascript works and not working

2008-02-18 Thread Don L
William, Great ideas, many thanks. The 'this' replacement for 'document.getElementById('noteid2')' technique alone does not seem to solve the problem. BUT BUT, it's a right step... Yes, my FF2 has Firebug installed, I did not see any error, previously if there were CFC or JSON problem it

Lean cf8 standard for windows?

2008-02-18 Thread Don L
I'm curious to know, if we are able to not load some of the stuff that a given cf server does not need, for instance, in my case, I don't need the FCKeditor. So, the idea is similar to enable/disable certain CF tags via its admin function (for security) or even via some XML config file but

Re: Lean cf8 standard for windows?

2008-02-18 Thread Don L
ok, let's try some {Big Areas} first and then try to nail down each branch. I type as I think... * cf coding... e.g. a)technique one, cfif cond1 ... AND cond2 AND cond3... ... /cfif vs. cfparam name=c default=0 cfif cond1 ... cfset c = c + 1 /cfif cfif cond2 ... cfset c = c + 1

Re: Lean cf8 standard for windows?

2008-02-18 Thread Don L
Interestingly enough, on your reduce the load on the database and shrink the amount of data being sent back and forth., that's where I started to look at late this morning, I was investigating on the possibility of using the new SerializeJSON family tag for data query, was wondering about the

Re: OT - Box has been attacked by cowboy

2008-02-16 Thread Don L
Simply put, I use it as a wake-up call. Thanks for your thoughts. In that case, your insurer would likely require you to meet specific security standards. If you didn't meet them - and I feel confident that you wouldn't have in this case - they would refuse your claim. Dave Watts, CTO, Fig Leaf

OT - Box has been attacked by cowboy

2008-02-15 Thread Don L
Yesterday around 7pm EST my box has been ruthlessly attacked (port scan and then data/schema alternation) by 75.126.166.15, which traced to SoftLayer Technologies, Inc. in TX. My course of actions: a) prepare a law suit; b) inform FBI. On b), I don't know if I should inform FBI branch in TX or

Re: OT - Box has been attacked by cowboy

2008-02-15 Thread Don L
I'd like to thank those who put forward thoughtful notes rather than put up a firwall, so, you think when you're being attacked you didn't have a firewall? this kind of 'move on' nonsense does not help anything, pay attention when you follow up, the attention should be of help/value. To Hatton,

Re: OT - Box has been attacked by cowboy

2008-02-15 Thread Don L
Your techniques are appreciated. From what I understand, you can't disable the admin account. I think you mean rename the administrator acct. Changing things from default ports would go a long way too. You can change the ports of RDP and SQL without really affecting functionality, and it

Re: OT - Box has been attacked by cowboy

2008-02-15 Thread Don L
On the contrary, it's the only useful answer. If you have a known vulnerability, you have to fix it. The answer may not be as simple as put up a firewall, but if someone from Texas was able to get to your database server directly to change your schema, that indicates a clear problem. Dave

<    1   2   3   4   5   6   7   >