Re: CFMX 7.0.2 and enterprise manager

2006-08-29 Thread Andy Allan
Something the docs never made clear, but the default cfusion instance is NOT supposed to be used in production. It's there as a mechanism to create/control your other instances/clusters. Of course, that's not to say you can't use it, but that isn't it's purpose. (I had a discussion with a member

Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-29 Thread Dan Plesse
I would not replace Oracle or SQL Server and pink slip the DBA's just yet and I would not use it to store 9 GB. However I think developers should have to access to all available solutions. Right now I am doing things off the web with coldfusion that would not be possible if I did not break the

Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-29 Thread Robertson-Ravo, Neil (RX)
Isn't there a limit on the DB size it can use anyway?! This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also

How to find out which methods are in use?

2006-08-29 Thread Mike Kear
I have quite a lot of CFCs now on some of my sites, since I'm using OO techniques nearly exclusively nowdays. One of the problems I've discovered as I tinker around with methods is that every once in a while I'll change a method, only to find there is an unexpected consequence somewhere else,

Re: regex help

2006-08-29 Thread Dan Plesse
Just get the word or words and leave the rest alone. Never remove things you don't need if you can get at the good stuff. Like would you remove the bank to get the money :) I made a funny. ~| Introducing the Fusion Authority

Re: How to find out which methods are in use?

2006-08-29 Thread Mark Stanton
Mike - unit tests protect you against exactly this sort of thing. There isn't really any other option or shortcut. On 8/29/06, Mike Kear [EMAIL PROTECTED] wrote: I have quite a lot of CFCs now on some of my sites, since I'm using OO techniques nearly exclusively nowdays. One of the problems

Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-29 Thread James Holmes
Likewise, I'm just talking horses for courses. Our DB infrastructure is used across: 1) Our entire web apps environment, which hosts hundreds of CF sites 2) Our Student (hundreds of thousands of people), Staff (thousands of people) and Finance (billions of dollars of transactions) systems. 3)

Re: How to find out which methods are in use?

2006-08-29 Thread James Holmes
You might need to look into unit testing, with something like CFUnit. On 8/29/06, Mike Kear [EMAIL PROTECTED] wrote: I have quite a lot of CFCs now on some of my sites, since I'm using OO techniques nearly exclusively nowdays. One of the problems I've discovered as I tinker around with

Re: How to find out which methods are in use?

2006-08-29 Thread Neil Middleton
documentation. On 8/29/06, James Holmes [EMAIL PROTECTED] wrote: You might need to look into unit testing, with something like CFUnit. On 8/29/06, Mike Kear [EMAIL PROTECTED] wrote: I have quite a lot of CFCs now on some of my sites, since I'm using OO techniques nearly exclusively

Re: Coldfusion and Java

2006-08-29 Thread Dan Plesse
Well my next project is to make a java decompiler or just a method viewer. I have one online at cfide.org it gives a nice view of args! It uses classViewer and coldfusion's default classloader together to make a online java decompiler. Cool. http://www.cfide.org/classViewer.cfm The interesting

Re: How to find out which methods are in use?

2006-08-29 Thread James Holmes
Yes, good documentation also helps. This also reminded me of another tactic to use in conjunction with the others; you could use Coldspring to explicitly state the relationships between these CFCs so you don't get caught out so easily: http://www.coldspringframework.org/ On 8/29/06, Neil

=?iso-8859-1?Q?Re: =A3 symbol displayed as ? (FF) or sq uare (IE)?=

2006-08-29 Thread Darren Adams
?? means the data is garbaged. a square means the browser can't render that char using the requested fonts, it's usually not the case to see both on the same page. in any case what encoding is your page? what ver of cf? what encoding is the config file? have upgraded from pre-mx to mx?

Re: noob - installing CF on apache

2006-08-29 Thread Tom Chiverton
On Sunday 27 August 2006 00:26, Matt Williams wrote: My problem is I've downloaded a more recent version and there is no Apache.exe file. Does httpd.exe replace that? Something else? Why doesn't httpd.exe sttart ? Have you looked in the logs, or run it by hand from the console ? -- Tom

Re: noob - installing CF on apache

2006-08-29 Thread Matt Williams
Hey Tom, I ended up uninstalling and getting version 2.059 which still had Apache.exe. CF installed without a hitch on this version. Thanks though. Matt On 8/29/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Sunday 27 August 2006 00:26, Matt Williams wrote: My problem is I've downloaded a more

Re: Users getting wrong information

2006-08-29 Thread Web Master
I have a website that people can login, take a quiz, view their status, etc...I use cookies to keep track of the users. There is one company that when people from there login, they are seeing other peoples information from that company. Does this have something to do with a proxy server being

RE: Users getting wrong information

2006-08-29 Thread Kelly Tetterton
Definitely a proxy problem. We have run into this intermittently in the past. Any real permanent fix has to be done at the proxy level (ie, changing settings there), which we've never had any success with. Two possible quick fixes (that, to be clear, don't totally solve the problem): 1) Dump

Re: Users getting wrong information

2006-08-29 Thread Neil Middleton
I think we had this in the past on CF4.5. It basically came down to people not using CFLOCK. Neil On 8/29/06, Kelly Tetterton [EMAIL PROTECTED] wrote: Definitely a proxy problem. We have run into this intermittently in the past. Any real permanent fix has to be done at the proxy level (ie,

Re: noob - installing CF on apache

2006-08-29 Thread Greg Luce
I like the Acme install for workstations, but how do you administrators feel about that sort of setup for a dev server? I'm just in the process of setting one up today so I thought I'd ask for input. WinO3/CF7/MSSQL/MySQL... On 8/29/06, Matt Williams [EMAIL PROTECTED] wrote: Hey Tom, I ended

Re: Users getting wrong information

2006-08-29 Thread Web Master
I think we had this in the past on CF4.5. It basically came down to people not using CFLOCK. Neil On 8/29/06, Kelly Tetterton [EMAIL PROTECTED] wrote: I am using cfmx 7.0.0.9 Is this still the issue? ~| Introducing the

Re: CF and SQL or just SQL?

2006-08-29 Thread RichL
D I'm not sure if I 100% understand what you need to do but I think that based on an id of a variable you need to: - find the 10 integer range that it is in and calculate the start and end values for that range - based on the range you need to work out a current page number in a set of pages and

Re: noob - installing CF on apache

2006-08-29 Thread Tom Chiverton
On Tuesday 29 August 2006 14:20, Greg Luce wrote: feel about that sort of setup for a dev server? In what way ? It's fairly common for dev. to just shove all the stuff you need onto the one box. -- Tom Chiverton Helping to seamlessly grow strategic synergies

Re: cfdirectory - Security: The requested template has been denied access to

2006-08-29 Thread RichL
Brett I do something similar to this and encountered a similar problem I have a non CF based host where I upload any media files. I wanted to be able to dynamically supply (e.g. URL variable) a folder name within the media folder and have CF find all the file names within that folder, then loop

Re: CFCONTENT and CFHEADER to download a file on CF 5

2006-08-29 Thread jim collins
How To Raise a File Download Dialog Box for a Known MIME Type http://support.microsoft.com/default.aspx?scid=kb;EN-US;q260519 cfheader name=Content-Type value=application/powerpoint cfheader name=Content-Disposition value=attachment; filename=test.ppt Try that. I've got a .mht (multipart

Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-29 Thread Teddy Payne
Well, rebellion creates new ideas. As I said before, I would need to see more information on how to implement other database approaches. If 9GB is a threshold, that covers a lot of applications that are very specific tool sets that do not have to have 10,000 concurrent users using it. A lot of

Re: Users getting wrong information

2006-08-29 Thread James Holmes
No. Also, you are way behind on patches - you need to update to CFMX 7.02 On 8/29/06, Web Master [EMAIL PROTECTED] wrote: I think we had this in the past on CF4.5. It basically came down to people not using CFLOCK. Neil On 8/29/06, Kelly Tetterton [EMAIL PROTECTED] wrote: I am using

RE: noob - installing CF on apache

2006-08-29 Thread Russ
In order to get version 2.2 to connect to CF, you need cf 7 (maybe 7.0.2) and the hotfix for wsconfig that has the proper connector module. Russ -Original Message- From: Matt Williams [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 8:20 AM To: CF-Talk Subject: Re: noob -

Re: Users getting wrong information

2006-08-29 Thread Neil Middleton
Well, you're best bet is to append the CFID and CFTOKEN on all of your URL's, that should beat any proxies that are caching content (and that evil google web accelerator thingy). On 8/29/06, James Holmes [EMAIL PROTECTED] wrote: No. Also, you are way behind on patches - you need to update to

COM and CF...

2006-08-29 Thread Robertson-Ravo, Neil (RX)
All, I have a COM component but a method call seems to hang CF/Page any idea what CF object type I need to pass to a VARIANT in order for it to work? ServerExecuteXml([in]VARIANT, [out,in,optional]VARIANT, [out,in,optional]VARIANT, [out, retval]VARIANT) What object type does CF need to

select control

2006-08-29 Thread Rusty Owens
OK, this is strange question because I know I have done this in the past. I have a standard html select control. I wrap the a query around the options to pull values from a query. The values are numeric and I have them sorted in ascending order. If there is a value in the record that I want to get

RE: COM and CF...

2006-08-29 Thread Ben Nadel
I was looking up VARIANT stuff when I was trying to mimic sending ASP response objects... From what I remember (and I never figured it out successfully) is that VARIANT data types can be many things. I don't think there is any one VARIANT type... But I have never used it and could be wy off

RE: select control

2006-08-29 Thread Ben Nadel
Wait, are you trying to narrow it down in CF or in the interface once the page has been generated... If it's in the interface, then FireFox should allow you to do this. IE 6 and earlier will only allow you to use the first letter... But I hear that IE 7 will allow you to type in a whole value.

Re: select control

2006-08-29 Thread Charlie Griefer
that's not the way an HTML select element works. you can do it by typing the first character of the option...but not drilling down by using multiple characters. i think there are some javascripts that will do it...possibly some sort of AJAX...but it's not a behavior that's native to an HTML

RE: COM and CF...

2006-08-29 Thread Russ
In visual basic Variant is the data type that can hold anything (basically poor man's version of coldfusion variables). So theoretically it can take any CF variable... (at least any simple cf variable, string, int, etc). russ -Original Message- From: Ben Nadel [mailto:[EMAIL

RE: select control

2006-08-29 Thread Ben Nadel
I think maybe he is thinking about a COMBO box (as seen in standard desktop applications)... There are hacks for this, but it is not built into HTML Yet :) ... Ben Nadel www.bennadel.com Certified Advanced ColdFusion Developer Need Help? www.bennadel.com/ask-ben/

RE: select control

2006-08-29 Thread Andy Matthews
That's got to do with the browser itself. When you say the value is 28506, do you mean the value=28506 or the display text is 28506? Browsers use the display text as your choice when you type. But IE only takes you to type the first character you type. So you type 2 it'll take you to the first 2,

Re: COM and CF...

2006-08-29 Thread Robertson-Ravo, Neil (RX)
XML? I think it is working I am just getting a COM error now... This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential

Re: select control

2006-08-29 Thread James Holmes
Yes, CFAJAX and others have suggest or autocomplete functionality that does this very well e.g: http://www.indiankey.com/mxajax/examples/mxAutocomplete1.cfm On 8/29/06, Charlie Griefer [EMAIL PROTECTED] wrote: that's not the way an HTML select element works. you can do it by typing the first

Re: select control

2006-08-29 Thread Rusty Owens
Correct, I am not drilling down. just trying to get closer. The application is conversion from an Access database and they are used to being able to do this in Access. ~| Introducing the Fusion Authority Quarterly Update. 80

Re: select control

2006-08-29 Thread Rusty Owens
In this case both, but I meant the display, not the value. That's got to do with the browser itself. When you say the value is 28506, do you mean the value=28506 or the display text is 28506? Browsers use the display text as your choice when you type. But IE only takes you to type the first

RE: select control

2006-08-29 Thread loathe
In access you are talking about a VB combo box. Not something available in html. Although you could write a JS that could mimic the behavior. -Original Message- From: Rusty Owens [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 11:50 AM To: CF-Talk Subject: Re: select

RE: COM and CF...

2006-08-29 Thread Russ
If it doesn't take the xml object, try converting it to a string before passing it in. Russ -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:Neil.Robertson- [EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 11:55 AM To: CF-Talk Subject: Re: COM and CF... XML? I think

RE: COM and CF...

2006-08-29 Thread Dave Watts
I have a COM component but a method call seems to hang CF/Page any idea what CF object type I need to pass to a VARIANT in order for it to work? ServerExecuteXml([in]VARIANT, [out,in,optional]VARIANT, [out,in,optional]VARIANT, [out, retval]VARIANT) What object type does CF need

Re: select control

2006-08-29 Thread Teddy Payne
I have seen this handled by JavaScript detecting for onKeyUp events of a text input field to search for a value inside of a select drop down. You just have to eb careful to detect for certain key strokes. Also, avoid using the createTextRange to make this easier. createTextRange has some

performance and CFC gateways

2006-08-29 Thread Douglas Knudsen
Ok, working on some Flex apps here using CF on the backside. Got the usual cadre of bean, gateway, and DAO cfcs. I have a table with 1100 rows in it I want returned via the gateway. So, in the gateway I have a method that grabs all 1100 rows, loops over them creating a bean from the row, and

RE: performance and CFC gateways

2006-08-29 Thread Peterson, Chris
Well, how are you assigning the variables into the bean, using evaluate() or query[column] notation? Evaluate could be killing your speed possibly? Chris -Original Message- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 1:18 PM To: CF-Talk Subject:

RE: performance and CFC gateways

2006-08-29 Thread Russ
I think we've decided that Evaluate no longer has a noticeable performance hit. Russ -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 1:33 PM To: CF-Talk Subject: RE: performance and CFC gateways Well, how are you assigning the

Re: performance and CFC gateways

2006-08-29 Thread Douglas Knudsen
obj = createObject( ) obj.setfoo(qRead.foo) obj.setgoo(qRead.goo) .. .. .. then array append. DK On 8/29/06, Peterson, Chris [EMAIL PROTECTED] wrote: Well, how are you assigning the variables into the bean, using evaluate() or query[column] notation? Evaluate could be killing your speed

RE: performance and CFC gateways

2006-08-29 Thread Ryan, Terrence
I have a feeling that it will take a couple passes to improve the performance of the operation. Are you using ArrayResize to allocate the size of the array before hand? This helps the performance of Large Arrays. Are you a CFC function to assign the results to a bean, and repeating all

Re: performance and CFC gateways

2006-08-29 Thread Douglas Knudsen
arrayresize didn't matter really, but a good point for sure. With debugging on, times increased by about 4 to 5 fold, already caught that one! danke DK On 8/29/06, Ryan, Terrence [EMAIL PROTECTED] wrote: I have a feeling that it will take a couple passes to improve the performance of the

Re: performance and CFC gateways

2006-08-29 Thread Kris Jones
So, in the gateway I have a method that grabs all 1100 rows, loops over them creating a bean from the row, and adding the bean to a array which is eventually returned. Performance absolutely sucks. It takes about 15 seconds to do this. Any ideas on how to speed this up? Unless you are

RE: performance and CFC gateways

2006-08-29 Thread Ryan, Terrence
The next step I would do would be to add cfflush to the mix. Then append periods (.) and some other output indicators throughout your loops. See if the process experiences a slowdown at any point. Terrence Ryan Senior Systems Programmer Wharton Computing and Information Technology

cftransaction stored procs

2006-08-29 Thread Konopka, David
Hi, I was wondering if anyone had any experience executing cfstoredproc calls within cftransaction's. The livedocs for cftransaction focus on cfquery operations. Though, using a MS Sql Server 2000 database, cftransaction seems to fully support rollback of cfstoredproc calls. I know it would

Re: performance and CFC gateways

2006-08-29 Thread Douglas Knudsen
exactamundo! Going with XML, generated in the SQL even, returned to the view. Use the 'bean force' for manipulating the data. shazzam! DK On 8/29/06, Kris Jones [EMAIL PROTECTED] wrote: So, in the gateway I have a method that grabs all 1100 rows, loops over them creating a bean from the

Re: Stored procs (was Top 100 ColdFusion Programmers)

2006-08-29 Thread Denny Valliant
On 8/29/06, Teddy Payne [EMAIL PROTECTED] wrote: Well, rebellion creates new ideas. As I said before, I would need to see more information on how to implement other database approaches. If 9GB is a I was hoping Reactor would be a silver bullet... Ranging from an embedded db to oracle is

Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Will Tomlinson
Could some of you folks hit my site and initialize my umpteen million cfc's so I can see if it brings down my CrystalTech CF server? Add stuff to your cart, click around... just don't actually BUY anything cause it's for real. :) I don't know how else to load test this app other than a real

RE: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread loathe
https://www947.ssldomain.com/wtomlinson/Store/contact.cfm 404 -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 3:25 PM To: CF-Talk Subject: Peoples of the list. arise and bring down my server! Could some of you folks hit my site

RE: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Ben Nadel
File not found: /wtomlinson/Store/contact.cfm ... Ben Nadel www.bennadel.com Certified Advanced ColdFusion Developer Need Help? www.bennadel.com/ask-ben/ -Original Message- From: loathe [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 3:37 PM To:

RE: cftransaction stored procs

2006-08-29 Thread Dave Watts
I was wondering if anyone had any experience executing cfstoredproc calls within cftransaction's. The livedocs for cftransaction focus on cfquery operations. Though, using a MS Sql Server 2000 database, cftransaction seems to fully support rollback of cfstoredproc calls. I know it

RE: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Che Vilnonis
Contact page busted. All else seems well. You need more SKUs :) Good luck, ~Che -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 3:25 PM To: CF-Talk Subject: Peoples of the list. arise and bring down my server! Could some of you

Re: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Aaron Rouse
I'd run it through a few different resolutions. I do not keep my browser maximized so not sure what res it would be at but when I would go to view a product the layout was all out of wack unless I widen the browser by a good margin. On 8/29/06, Will Tomlinson [EMAIL PROTECTED] wrote: Could

Re: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Will Tomlinson
Contact page busted. All else seems well. You need more SKUs :) Oops! That was supposed to be an email link instead of a page. It's fixed. Thanks much, Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of

Re: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Jochem van Dieten
Will Tomlinson wrote: Could some of you folks hit my site and initialize my umpteen million cfc's so I can see if it brings down my CrystalTech CF server? Add stuff to your cart, click around... just don't actually BUY anything cause it's for real. :) I tried to buy some stuff but that

Re: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Will Tomlinson
Why does clicking small option images, such as 'Royal', 'Red', etc. on the Mizuno Low Rider Volleyball Shorts, bring up a DHTML popup image, but clicking on the large, main image brings up a new browser window? I would think you would want to be consistent one way or the other. I just

Re: A Continue Shopping button should take you to...

2006-08-29 Thread Paul Giesenhagen
In our latest version of SiteDirector, we dumped the crumbtrail into a dropdown list so the user could select their returning point .. homepage is always there, then each department and product is there too. This way they can navigate back to where they came from at any point along the way or

Re: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Cameron Childress
Tampering with the add to cart form breaks the app, shows expanded error information (source code), and then appears to make the entire site stop working my session. But them, I *was* tampering with the form a bit. -Cameron On 8/29/06, Will Tomlinson [EMAIL PROTECTED] wrote: Could some of you

Re: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Jerry Johnson
I guess my question is: why is the whole cart and catalog https? why not just the checkout page? On 8/29/06, Will Tomlinson [EMAIL PROTECTED] wrote: Could some of you folks hit my site and initialize my umpteen million cfc's so I can see if it brings down my CrystalTech CF server? Add stuff

Re: A Continue Shopping button should take you to...

2006-08-29 Thread Paul Giesenhagen
Heck yeah ... things like that make it great ;) (couldn't resist) Paul Giesenhagen QuillDesign 417-885-1375 http://www.quilldesign.com - Original Message - From: Che Vilnonis [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, August 29, 2006 3:09 PM Subject: RE: A

Re: OT: A Continue Shopping button should take you to...

2006-08-29 Thread Cameron Childress
On 8/29/06, Che Vilnonis [EMAIL PROTECTED] wrote: Looking for some opnions here. On an e-commerce site whose products are simply structured with categories, sub-categories and detail/purchase pages, a Continue Shopping button on the shopping cart page should take you to: 1. The main category

RE: A Continue Shopping button should take you to...

2006-08-29 Thread Che Vilnonis
Just saw it in action. That's effing cool! -Original Message- From: Paul Giesenhagen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 29, 2006 4:06 PM To: CF-Talk Subject: Re: A Continue Shopping button should take you to... In our latest version of SiteDirector, we dumped the

RE: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Jenny Gavin-Wear
Nice clean site design Will, but the page loads weren't all that fast, how will it be when all of the products are loaded up? I couldn't get anything to fall over, though I didn't try all that hard :-) Good luck with the site ... (still waiting for feedback on mine, lol

Handling empty values in tab delimited file.

2006-08-29 Thread Jeff Vaught
Developers, In regards to the same question asked by rowbeast here: http://www.experts-exchange.com/Web/WebDevSoftware/ColdFusion/Q_21742253.html?qid=21742253 , the accepted answer states to use the ListFix function from: http://www.cflib.org/library.cfm?ID=1 . My question is, where do you

RE: CFChart Breaks in IE6

2006-08-29 Thread Mark Leder
It's actually a bug in the updater - confirmed by Adobe Engineering. The updater changed the path of CFIDE inside IIS. They were able to recreate the problem. I'll provide more details shortly. Thanks, Mark -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent:

Re: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Nathan Strutz
And it's down. Server Error The server encountered an internal error and was unable to complete your request. JRun closed connection. Good work, team. -nathan strutz http://www.dopefly.com/ On 8/29/06, Will Tomlinson [EMAIL PROTECTED] wrote: Could some of you folks hit my site and

Re: A Continue Shopping button should take you to...

2006-08-29 Thread Paul Giesenhagen
Thanks ... just storing the values from the session and dumping them out into a select list. Simple things sometimes have great impact. Paul Giesenhagen QuillDesign 417-885-1375 http://www.quilldesign.com - Original Message - From: Che Vilnonis [EMAIL PROTECTED] To: CF-Talk

RE: How to tell what template called a function?

2006-08-29 Thread Ben Nadel
I haven't done too much with this, but you could potentially use the ServiceFactory to figure out which was the last template called. You would have to call the code within your function, then query it to figure out which was last... Not sure how they are ordered off hand. !--- Create ColdFusion

Re: How to tell what template called a function?

2006-08-29 Thread Per Djurner
Thanks, it only works when debugging is enabled though. Is there not a way to get this kind of info with debugging off? On 8/29/06, Ben Nadel [EMAIL PROTECTED] wrote: I haven't done too much with this, but you could potentially use the ServiceFactory to figure out which was the last template

Re: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Robertson-Ravo, Neil (RX)
I have to say, this was an awesome move in order to get some user acceptance, cheap, quick and it worked! Hats off to you... :-) This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in

RE: How to tell what template called a function?

2006-08-29 Thread Ben Nadel
There is always GetBaseTemplatePath() and GetCurrentTemplatePath()... But those are limited... ... Ben Nadel www.bennadel.com Certified Advanced ColdFusion Developer Need Help? www.bennadel.com/ask-ben/ -Original Message- From: Per Djurner [mailto:[EMAIL

calling Java static method

2006-08-29 Thread Kris Jones
Calling on all you CF-Java-knowledgeable folks out there. I'm trying to follow some of the examples in the iText tutorial, and I've hit a mental wall. When trying to instance a file output stream, the java example I see looks like this: Document document = new Document(); try {

Re: calling Java static method

2006-08-29 Thread Jake Churchill
While I don't know a lot about using java objects in CF, I know more about java itself. A static method is called on the class itself, not the object that gets instantiated. This is useful for tracking the number of times an object gets instantiated and obviously for other reasons as well.

Re: select control

2006-08-29 Thread Denny Valliant
On 8/29/06, Teddy Payne [EMAIL PROTECTED] wrote:... The question is though, 30,000 options to a drop down? This seems a bit large. IMHO, the best feature of AJAX is the ability to dynamically populate a select. It' always bugs me when I have to download a 1 meg html file because there's 10

Re: select control

2006-08-29 Thread Robertson-Ravo, Neil (RX)
Wank out, you do realise what this means outside the US? LOL. This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential

Re: How to tell what template called a function?

2006-08-29 Thread Michael Dinowitz
I was asked that question a few weeks back by a friend and the answer was to take the debug template that sits in the cfusionmx/wwwroot/web-inf/debug and play with it some. There is an undocumented factory call there that gives access to all the page info. It is possible to rewrite the whole

Re: Handling empty values in tab delimited file.

2006-08-29 Thread Denny Valliant
Well, it's not what you asked, but have you tried using cfhttp to import that CSV file as a query? Sometimes it's easier, if the cvs is well formatted. Also, there is a UDF out there for importing CSV files, which I assume handles empty elements. I think someone posted some java to do this too,

Re: How to tell what template called a function?

2006-08-29 Thread Per Djurner
Michael, is the code that Ben posted the undocumented factory call you are referring to? Ie, this code: cfset objFactory = CreateObject( java, coldfusion.server.ServiceFactory) cfset objDebugging = objFactory.GetDebuggingService() That code will only work when debugging is enabled unfortunately.

Re: calling Java static method

2006-08-29 Thread Dan Plesse
With iText you have to do a bunch of stupid things to each object before you use it and leaving it blank or the defaults will cause errors. It's a big pain to debug. Just keep saying fill all the buckets or the bucket with break, over and over like a nut while you code iText. Here is some code to

Re: calling Java static method

2006-08-29 Thread Dante Orlando
You don't need to call init() before calling the static method. For example: cfset sysObj = createObject(java, java.lang.System) / cfoutput#sysObj.currentTimeMillis()#/cfoutput System.currentTimeMillis() is a static method... -dante

Re: calling Java static method

2006-08-29 Thread Mark Mandel
Kris, When accessing a static method, all you need to do is do the createObject() call - this gives you access to the class (per se), if you want an actual instance of the object, that would be when you call init(). So in your case it would be: fso =

Re: calling Java static method

2006-08-29 Thread Robertson-Ravo, Neil (RX)
What?! Your stuff?!? Isn't iText and it's instantiation etc in the public domain? Do you work with Bruno etc on iText? I'm aghast. This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered

Insert question

2006-08-29 Thread Doug Brown
Sorry for the lame question...I am inserting a comma delimeted list and the list itself has commas seperating different items IE: cars,trucks other vehicles, antiques, baby items, How do I insert the commas that seperate the names without sql thinking it is a seperate item for insert?

Re: calling Java static method

2006-08-29 Thread Dan Plesse
Dear Rob the miss reader, You miss read as per normal. You have to click on the .txt to understand. I was talking about TTS On 8/29/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: What?! Your stuff?!? Isn't iText and it's instantiation etc in the public domain? Do you work with

Re: calling Java static method

2006-08-29 Thread Dan Plesse
Dear Rob the miss reader, You miss read as per normal. You have to click on the .txt to understand. I was talking about TTS ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion

Re: Insert question

2006-08-29 Thread Doug Brown
duuuh...Never mind!!! How bout using a different delimeter Doug - Original Message - From: Doug Brown [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, August 29, 2006 5:37 PM Subject: Insert question Sorry for the lame question...I am inserting a comma

Re: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Will Tomlinson
And it's down. Nah... it usually goes down about that time anyway. lmao! I'll bet YOUR visit put the final nail in the coffin. :) Thanks nathan, Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of

Re: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Will Tomlinson
Nice clean site design Will, but the page loads weren't all that fast, how will it be when all of the products are loaded up? Page loads are slow because of the combo of https/cfc's for output I think. Thanks Jen! I've been slammed here as of late. I haven't forgotten about checking out

=?iso-8859-1?Q?Re: Re: =A3 symbol displayed as ? (FF) or sq uare (IE)?=

2006-08-29 Thread Paul Hastings
Darren Adams wrote: Encoding is UTF-8 CF is bang up to date. No the site was rewritten last year so definately post-MX. i've lost the thread on this, is there a public site i can see what's happening? or if not can you *zip* up an example send it along. send off-list.

Re: database collate for site that has to support multiple languages

2006-08-29 Thread Paul Hastings
Victor Moore wrote: Sorry, I should have mentioned that the db is MS-SQL Server 2005. I thought about Unicode but there is no entry in the drop down with that name. i'm not up to speed on sql 2005 quite yet but try this: SELECT * FROM ::fn_helpcollations() WHERE description LIKE '%unicode%'

Re: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Phillip Senn
It seemed to load really well for me :-) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year.

RE: Peoples of the list..... arise and bring down my server!

2006-08-29 Thread Mark Henderson
From: Aaron Rouse [mailto:[EMAIL PROTECTED] I'd run it through a few different resolutions. I do not keep my browser maximized so not sure what res it would be at but when I would go to view a product the layout was all out of wack unless I widen the browser by a good margin. It's fine

Re: Insert question

2006-08-29 Thread Crow T. Robot
This may spark a huge debate, but shouldn't you be using a seaprate cross-join table for this? On 8/29/06, Doug Brown [EMAIL PROTECTED] wrote: duuuh...Never mind!!! How bout using a different delimeter Doug - Original Message - From: Doug Brown [EMAIL PROTECTED] To: CF-Talk

  1   2   >