RE: CFMX affected by Win XP SP2?

2004-08-16 Thread Micha Schopman
This happens when you use the builtin webserver and not opening ports in the Windows Firewall. Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 AL  Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message]

Re: keeping form data during server-side validation

2004-08-16 Thread Barney Boisvert
The simplest approach is to use a CFPARAM for every form field at the top of your form, and then use the VALUE attribute of the INPUT tag to load the value.  Default everything to the empty string, so the form will be blank by default, but when you submit the form, the CFPARAM's won't fire (because

Re: keeping form data during server-side validation

2004-08-16 Thread dave
flash baby flash!!! ;) can set them as variables rather boring to code all that cfif stuff though -- Original Message -- From: Roberto Perez <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date:  Mon, 16 Aug 2004 02:30:03 -0400 >Hi all, > >Maybe this topic

Re: Best way to redirect .htm pages to .cfm?

2004-08-16 Thread Bob Haroche
Jim McAtee wrote: > I was able to get a custom 404 page pointed at a CF template. > Problem now > is that no matter what I do in the template using CFHEADER, IIS > always > morphs my 301 HTTP status code into a 302 code, with its own page > output. This is very interesting and may answer why my si

keeping form data during server-side validation

2004-08-16 Thread Roberto Perez
Hi all, Maybe this topic has been covered before, but I'm not sure what keywords I'd use in Google or in the list archives to find related messages. I want to validate data from a form (missing fields, password field and re-enter password field, etc.), and reload the form page with an error me

Re: Removing bad words from forum input fields

2004-08-16 Thread Nathan Strutz
S. Isaac Dealey wrote: > If you have the source, change the replace() statement to a > rereplace() statement and use "(^|[[:space:]])(#word#)([[:space:]]|$)" > with "\1#repeatstring('*',len(word))#\3" as the replace string. That This is good, but I can help a bit. instead of [:space:], I recommen

Re: Removing bad words from forum input fields

2004-08-16 Thread Dick Applebaum
This is a difficult problem to resolve! WHA TH EFU CK? There are also Ethnic slurs... Salmon Crunchers (Eskimos) language differences: puta, merde scheise... and then there is slang... The best way is to: 1) get the identity (email address, verified) of the poster/ 2) delay posting 3) human r

Re: BLACKSTONE: Software Development Times Article

2004-08-16 Thread Dick Applebaum
It is a lot more that JMS! The article says that  you can set up a hot folder -- any time something is saved/changes in the folder it can fire a gateway event that triggers a CFC. ... no JMS there Dick On Aug 16, 2004, at 7:31 PM, Chris Johnston wrote: > On Mon, 16 Aug 2004 22:15:36 -0400, Sa

RE: reducing number of queries

2004-08-16 Thread Mark Henderson
hi Matthew, yep I hear you on the usability front. I'm already doing a query of a query once the administrator has selected the team name to edit, so no problems there either.  As far as caching queries goes, I already use the extremeQueryCache from time to time so that's another fallback option. T

RE: Removing bad words from forum input fields

2004-08-16 Thread Matthew Walker
> is Tim Dick... or " Cheney". Although to be honest, even if you > fix the problem you have now, you still won't get the vice president's > name on your site. It all just seems rather asinine to me. :) Could be useful for flagging content for moderation though. [Todays Threads] [This Messa

RE: Removing bad words from forum input fields

2004-08-16 Thread S . Isaac Dealey
He said tweak... hehe... hehe ... > Can you show us the tag markup? It's probably very easy to > tweak. >   _ > From: Mark Leder [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 17 August 2004 2:49 p.m. > To: CF-Talk > Subject: Removing bad words from forum input fields > Hi all, > I'm using a c

Re: Removing bad words from forum input fields

2004-08-16 Thread S . Isaac Dealey
> Hi all, > I'm using a custom tag, which does a db > lookup on an input > field to remove inappropriate language.  However, it works > too well.  A > company called Asset Management, when they type in their > name, it comes out > as "***et Management".  Same thing happens if someone keys > in "p

Re: Removing bad words from forum input fields

2004-08-16 Thread Don
Off head, I don't think you really need other's custom tag for it, if I were you, I would simply creat such a tag myself, in it, have a list of undesirable words (so, you can do whatever you like with such a list) ... >Hi all, > >I'm using a custom tag, which does a db lookup on an input >field t

Re: ot: javascript follow (this one should be easy)

2004-08-16 Thread Tony Weeg
nothing, man this is GHOST likethose numbers just trip right the fu** out?? strange my friend.. .tw On Mon, 16 Aug 2004 20:10:04 -0700, Dick Applebaum <[EMAIL PROTECTED]> wrote: > And what is the significant difference between 9 & 10 (as compared to > any other 2 contiguous numbers in your se

Re: ot: javascript follow (this one should be easy)

2004-08-16 Thread Dick Applebaum
And what is the significant difference between 9 & 10 (as compared to any other 2 contiguous numbers in your set)? Dick On Aug 16, 2004, at 7:42 PM, Tony Weeg wrote: > another test, change 7 to 11, and watch what happens to 9 and 10??? > >  strange isnt it?  9/10 seem to be the problems...? > >

RE: reducing number of queries

2004-08-16 Thread Matthew Walker
You could cache the query then use query of query to extract the appropriate line from the previous query. However caching in an admin context is probably a bad idea. You could pass all the form field data through to the form when you click the edit link, but that would slow down the page, be a pai

Re: Best way to redirect .htm pages to .cfm?

2004-08-16 Thread Jim McAtee
- Original Message - From: "Bob Haroche" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, August 16, 2004 6:40 PM Subject: Re: Best way to redirect .htm pages to .cfm? > Adrian Lynch wrote: > > Meta redirect or JS, not sure which is better for search engines > > though,

RE: Removing bad words from forum input fields

2004-08-16 Thread Matthew Walker
Can you show us the tag markup? It's probably very easy to tweak.   _   From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 August 2004 2:49 p.m. To: CF-Talk Subject: Removing bad words from forum input fields Hi all, I'm using a custom tag, which does a db lookup on an input fie

reducing number of queries

2004-08-16 Thread Mark Henderson
I'm using fuseQ for most of this project and I only have one question that will (hopefully) cut down on the use extranneous switches (which I'm sure have and I don't need). So heres the relevant part of my switch..                

Re: OpenJMS was JMS provider in anticipation of Blackstone

2004-08-16 Thread Sean Corfield
On Sun, 15 Aug 2004 23:08:39 -0700, Dick Applebaum <[EMAIL PROTECTED]> wrote: > You could have a single box with. > 1) JRun > 2) One or more CFMX Server instances > 3) JMS server (JRun built-in or another) Yes, true, you could. > Being able to do this (decouple the data input from the data > proc

Removing bad words from forum input fields

2004-08-16 Thread Mark Leder
Hi all, I'm using a custom tag, which does a db lookup on an input field to remove inappropriate language.  However, it works too well.  A company called Asset Management, when they type in their name, it comes out as "***et Management".  Same thing happens if someone keys in "password" (displays

Re: ot: javascript follow (this one should be easy)

2004-08-16 Thread Tony Weeg
another test, change 7 to 11, and watch what happens to 9 and 10??? strange isnt it?  9/10 seem to be the problems...? -- tony Tony Weeg human. email: tonyweeg [at] gmail [dot] com blog: http://www.revolutionwebdesign.com/blog/ Check out http://www.antiwrap.com to send websites to your friends

Re: BLACKSTONE: Software Development Times Article

2004-08-16 Thread Chris Johnston
On Mon, 16 Aug 2004 22:15:36 -0400, Samuel R. Neff <[EMAIL PROTECTED]> wrote: > Huh?  The article is primarily about the Event Gateway architecture and > doesn't even mention JMS once.  The Event Gateway stuff is about SMS and IM > integration, listening on sockets, and asynchronous CFC calls.  All

Re: BLACKSTONE: Software Development Times Article

2004-08-16 Thread Dick Applebaum
Matt I am with Sam here.  It's about the Event Gateway.  Presumably, anything that can create an event can initiate a CFC that need not be coupled with a browser (or anything, for that matter).  JMS is only one (of many) ways to create an event. I, personally, am very jazzed about this! Dick

RE: BLACKSTONE: Software Development Times Article

2004-08-16 Thread Samuel R. Neff
Huh?  The article is primarily about the Event Gateway architecture and doesn't even mention JMS once.  The Event Gateway stuff is about SMS and IM integration, listening on sockets, and asynchronous CFC calls.  All great stuff that I'd use a lot in my CF development (particularly async calls). Sa

RE: BLACKSTONE: Software Development Times Article

2004-08-16 Thread Matt Liotta
> Seriously, IMO, the gateway is one of the most significant (sleaper) > features of Blackstone. > It will probably be a sleeper feature in that not many people use it. The amount of JMS use in J2EE web applications is rather low. Why would CFML web applications need this kind of functionality mor

Re: javascript question

2004-08-16 Thread Tony Weeg
ok, if you take this code, and run it in a browser, change the value of the first one to 10 and see you get two 9's any idea why??? im sooo close with this... thanks! tw "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Untitled
/* ***

Re: SUSPECT: Re: slow Java call - Determining physical length of string - Pt 2

2004-08-16 Thread Peter Farrell
I wrote a quick and dirty CFC of the fontmetrics stuff.  I can do 100 calls including the dynamic generation of strings to send to fontmetrics at around 300-330 ms total for the 100 calls to the method.  FYI, this also includes dynamic string generation (i.e. each call doesn't send in the same stri

Re: javascript question

2004-08-16 Thread Dick Applebaum
On Aug 16, 2004, at 6:18 PM, Tony Weeg wrote: >  what a slut i am !!! damn. > > That's your appeal! Dick (contacting the lawyers as we speak) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: BLACKSTONE: Software Development Times Article

2004-08-16 Thread Dick Applebaum
M Maybe we'll have distributed computing of CFML apps and CFCs across multiple CPUs on one of those supercomputers they construct by networking thousands of PC (Preferably MAcs). Anybody up for calculating pi to n+1 significant decimals?  Using CFML? Seriously, IMO, the gateway is one

Re: javascript question

2004-08-16 Thread Tony Weeg
i remember... http://www.antiwrap.com/?155 what a slut i am !!! damn. tw On Mon, 16 Aug 2004 21:15:58 -0400, Tony Weeg <[EMAIL PROTECTED]> wrote: > pldged, pouting? what dost thou speaketh of... > > (pardon the stm, thc sometimes gets in the way ;) > > tw > > > > On Mon, 16 Aug 2004 18:07

Re: javascript question

2004-08-16 Thread Tony Weeg
pldged, pouting? what dost thou speaketh of... (pardon the stm, thc sometimes gets in the way ;) tw On Mon, 16 Aug 2004 18:07:29 -0700, Dick Applebaum <[EMAIL PROTECTED]> wrote: > Tony > > You pledged yourself to me, on this very list, several months ago > > Pouting... > > Dick > > > > On

Re: javascript question

2004-08-16 Thread Dick Applebaum
Tony You pledged yourself to me, on this very list, several months ago Pouting... Dick On Aug 16, 2004, at 5:10 PM, Tony Weeg wrote: > charlie... > >  like they always say...if you had t*ts id kiss ya! > >  thanks. perfect.  no need to make it any easier! > [Todays Threads] [This Message]

RE: Best way to redirect .htm pages to .cfm?

2004-08-16 Thread Adrian Lynch
That's good to know, thanks Bob :O) Ade -Original Message- From: Bob Haroche [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 01:41 To: CF-Talk Subject: Re: Best way to redirect .htm pages to .cfm? Adrian Lynch wrote: > Meta redirect or JS, not sure which is better for search engines > tho

Re: javascript question

2004-08-16 Thread Dick Applebaum
Hey Tony -- Gonna' Share the app? Stealers will have a good year, but Detroit may be a surprise (Ram fan from 1951-2004) Dick On Aug 16, 2004, at 4:36 PM, Tony Weeg wrote: > >  a weekend you can only assign 1-15, well 15 times :)  make sense?  its >  almost football season (well..american foot

Re: [ iis / mozilla-firefox ] setting up a testing machine

2004-08-16 Thread Chris Johnston
On Sun, 15 Aug 2004 23:08:50 -0400, Daniel Farmer <[EMAIL PROTECTED]> wrote: > I'm using my laptop as a development machine and I'm testing applications through the localhost. ( using IIS5 configured for cfm, asp, .net, php ) > > Mozilla ( Firefox ) - keeps asking for username and password credent

Re: Best way to redirect .htm pages to .cfm?

2004-08-16 Thread Bob Haroche
Adrian Lynch wrote: > Meta redirect or JS, not sure which is better for search engines > though, I'd > guess meta. I believe both will give you a pretty decent chance of getting banned from search engines. They don't like client side re-directs. To answer the original post, might you configure th

Re: Best way to redirect .htm pages to .cfm?

2004-08-16 Thread Barney Boisvert
How about a server-side redirect, a la mod_rewrite.  I know there's an IIS-port of mod_rewrite, though I've never used it. The directive is a snap: RewriteRule (*).htm $1.cfm [L] Bam, the web servier thinks any request to an HTM is actually a request to the corresponding CFM. cheers, barneyb O

RE: javascript question

2004-08-16 Thread Jim Davis
I may be missing something but I think you can do this much simpler. If you create your options up front - all 15 in a collection.  You can then loop over that collection 15 times to create your 15 select boxes. I've got a collection object available on my site with an example of how to do this (

Re: javascript question

2004-08-16 Thread Tony Weeg
ADE, Mattthank you GENTS as well. this one from charlie is the money shot. later! tw On Mon, 16 Aug 2004 20:10:26 -0400, Tony Weeg <[EMAIL PROTECTED]> wrote: > charlie... > > like they always say...if you had t*ts id kiss ya! > > thanks. perfect.  no need to make it any easier! > > wow, p

Re: javascript question

2004-08-16 Thread Tony Weeg
charlie... like they always say...if you had t*ts id kiss ya! thanks. perfect.  no need to make it any easier! wow, perfect, and it REPLACES the value with the other VALUE, PERFECT later. On Mon, 16 Aug 2004 16:56:58 -0700, Charlie Griefer <[EMAIL PROTECTED]> wrote: > somebody was asking t

Re: Deleting a numbered struct

2004-08-16 Thread S . Isaac Dealey
no you really did mean an array of structures -- although the syntax was wrong... > Good grief...that's the last time I answer e-mail before > caffeine. > Thanks for the catch :) > -joe > - Original Message - > From: Adrian Lynch <[EMAIL PROTECTED]> > Date: Mon, 16 Aug 2004 22:27:27 +01

RE: javascript question

2004-08-16 Thread Adrian Lynch
"Just replace pizza, beer, playboy channel, etc with football teams" why would you ever do that!?!? :OD -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 00:57 To: CF-Talk Subject: Re: _javascript_ question somebody was asking today about some old co

Re: javascript question

2004-08-16 Thread Charlie Griefer
somebody was asking today about some old code I wrote...i think it's what you're looking for too: http://charlie.griefer.com/code/js/megan.html Just replace pizza, beer, playboy channel, etc with football teams :) Adrian Lynch wrote: >Ermmm, yup, I think. You can dynamically build the elements

Re: wwokey hole was Re: cf tree menu

2004-08-16 Thread S . Isaac Dealey
> Wookey Hole is  cave which is amazing, if  I remember > right :) > Used to go there as a kid... I mentioned this to a friend and his response was "it sounds unsanitary". :) I'm kinda like Han Solo always stroking my own wookie I'm the root of all that's evil yea but you can call me cookie s.

RE: Best way to redirect .htm pages to .cfm?

2004-08-16 Thread Adrian Lynch
Meta redirect or JS, not sure which is better for search engines though, I'd guess meta. Ade -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 00:29 To: CF-Talk Subject: Best way to redirect .htm pages to .cfm? I'm taking a small site previously done enti

Re: Best way to redirect .htm pages to .cfm?

2004-08-16 Thread Nathan Strutz
Yeah, that's about what I did, but I have a ghetto hosted site: http://www.dopefly.com/pages/cfeclipse.html   >> will forward to .cfm If you have access to the server, you can tweak the 404 error page to point to your coldfusion file. -nathan strutz Daniel Farmer wrote: >
>
> docume

RE: javascript question

2004-08-16 Thread Adrian Lynch
Ermmm, yup, I think. You can dynamically build the elements array and either do... for ( var i = 0; i < elements.length ;++ ) {...} ... or... for ( var i = 0; i < #query.RecordCount# ;++ ) {...} I'd go for the first one because I'm not keen on mixing CF and JS, but the second might be faster.

Re: Best way to redirect .htm pages to .cfm?

2004-08-16 Thread Daniel Farmer


document.location.href = "">
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: javascript question

2004-08-16 Thread Tony Weeg
its lookiung like it makes sense!!! good. ok, the for (...) { part needs to know how many too loop through, right? ok, how the heck can cf tell the _javascript_, how many times to loop, that variable will be available in a cfquery.recordCount, which is, i supps how ill build the elements array()

Re: javascript question

2004-08-16 Thread Tony Weeg
not 15 times, but one number 1-15 each. game 1 point value 15 game 2 point value 12 game 3 point value 11 etc.. until all are used... ive got EVERYTHING done on the site, except you can pick a value more than once, and that aint good...people wont pay attention to what they've used, and it will

RE: javascript question

2004-08-16 Thread Adrian Lynch
Yup, I've used something like those. Nice and easy to use. Or how about a nice drag and drop flash movie, not as hard as you'd think :OD Ade -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 00:30 To: CF-Talk Subject: RE: _javascript_ question Third

RE: javascript question

2004-08-16 Thread Adrian Lynch
Yup, sorry, my code wasn't too hot. // Get references to the selects elements = new Array( getElementById('select_1'), getElementById('select_2'), getElementById('select_3'), getElementById('select_4'), ... ... ); function myOnChange() { for (...) { if ( elements[i].options[elements[i].

Re: javascript question

2004-08-16 Thread Tony Weeg
its for a football pool that im building, and if there are 15 games in a weekend you can only assign 1-15, well 15 times :)  make sense?  its almost football season (well..american football season) and this is for our pool, im building a site to manage it now... tw On Tue, 17 Aug 2004 00:30:00 +

RE: javascript question

2004-08-16 Thread Matthew Walker
Third example down may be of interest http://www.mattkruse.com/_javascript_/selectbox/   _   From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 August 2004 11:30 a.m. To: CF-Talk Subject: RE: _javascript_ question Here's a question for ya. Is this for some sort of ordering? Do

RE: javascript question

2004-08-16 Thread Adrian Lynch
Yup, sorry, my code wasn't too hot. // Get references to the selects elements = new Array( getElementById('select_1'), getElementById('select_2'), getElementById('select_3'), getElementById('select_4'), ... ... ); function myOnChange() { for (...) { if ( elements[i].options[elements[i].

Re: website archiving technologies?

2004-08-16 Thread Daniel Farmer
Cool, I hadn't considered that. The only rain cloud with that method is that this is a hosted environment. But I will look into that. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Best way to redirect .htm pages to .cfm?

2004-08-16 Thread Jim McAtee
I'm taking a small site previously done entirely in html and converting it to CF.  Much of the site's page structure will remain the same.  What's the most search engine friendly way to redirect pages so that previously indexed pages won't be dead?  For instance, I'd like to redirect /contact.htm t

RE: javascript question

2004-08-16 Thread Matthew Walker
Yeah I think so. Instead of an alert you just change the selectedIndex to 0 ( getElementById('select_4').selectedIndex = 0 ). But you'd have to have the first option in the select box a null value, i.e. > choose < Or something like that.   _   From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent

BLACKSTONE: Software Development Times Article

2004-08-16 Thread dcooper
http://sdtimes.com/news/108/story7.htm Regards, Damon [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: javascript question

2004-08-16 Thread Adrian Lynch
Here's a question for ya. Is this for some sort of ordering? Do you need to order 15 things, hence the need to make sure all fifteen are different? Ade -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 00:21 To: CF-Talk Subject: Re: _javascript_ question m

Re: website archiving technologies?

2004-08-16 Thread Dick Applebaum
Have you looked at CFMX's built-in archiving feature -- CF Admin--->Archives & Deployment Dick On Aug 16, 2004, at 3:39 PM, Daniel Farmer wrote: > Anyone aware of anything? ... unfortunatley I do not have any project > specs, and am just fishing for some general information on what others > h

Re: javascript question

2004-08-16 Thread Tony Weeg
adrian... thank you, now, how can i marry that with matt's idea? tw On Tue, 17 Aug 2004 00:16:21 +0100, Adrian Lynch <[EMAIL PROTECTED]> wrote: > As an overview, in the onChange call a function that loops through all the > other selects and checks their selected values/indexes(which ever makes m

Re: javascript question

2004-08-16 Thread Tony Weeg
matt. great idea...that makes sense since i have to allow them to swap. now, coupled with adrian lynch's idea, will that work? tw On Tue, 17 Aug 2004 11:07:25 +1200, Matthew Walker <[EMAIL PROTECTED]> wrote: > So you need people to choose a different number in each select? But what if > they've

RE: [ flash and javacript ] - div problem...

2004-08-16 Thread Adrian Lynch
H, good to know. I might have a look at the code in a bit. Might have been the z-index and/or the visibility, can't be sure though. I'll post if I get some sample code that shows otherwise. Ade -Original Message- From: Daniel Farmer [mailto:[EMAIL PROTECTED] Sent: 16 August 2004 23:57

RE: javascript question

2004-08-16 Thread Adrian Lynch
As an overview, in the onChange call a function that loops through all the other selects and checks their selected values/indexes(which ever makes more sense) elements = new Array( getElementById('select_1'), getElementById('select_2'), getElementById('select_3'), getElementById('select_4'),

RE: javascript question

2004-08-16 Thread Matthew Walker
So you need people to choose a different number in each select? But what if they've set all 15, but then want to change one. All the other values would be somehow disabled so you couldn't choose another value in the select box. How about this: you can select a value that's already selected but if

Re: ot: javascript question

2004-08-16 Thread Daniel Farmer
Because your needs are so specific. I think you're going to have to create your own JS Functions that will prevent these select menus from displaying certain values. It's too complex to do it inline like that. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settin

ot: javascript question

2004-08-16 Thread Tony Weeg
hello good peoples... i have a _javascript_ question, that really aims for a coupla things... 1. can this be done elegantly? 2. if not, then whats the best non-elegant way? 3. if so, a bit of a point in the right direction...i can READ _javascript_, most of the time, and tell ya whats going on...

Re: Memory Issues

2004-08-16 Thread Peter Farrell
Christian, Are you caching anything in cfquery?  I'm thinking that maybe your max total cache for cfquery might be set too high... Also, are you using ODBC or JDBC drivers? I could be that the garbage collection for event scheduler isn't working here and it's piling up (as in the discussion on M

Re: Deleting a numbered struct

2004-08-16 Thread Joe Rinehart
Good grief...that's the last time I answer e-mail before caffeine. Thanks for the catch :) -joe - Original Message - From: Adrian Lynch <[EMAIL PROTECTED]> Date: Mon, 16 Aug 2004 22:27:27 +0100 Subject: RE: Deleting a numbered struct To: CF-Talk <[EMAIL PROTECTED]> You mean a structure

Re: [ flash and javacript ] - div problem...

2004-08-16 Thread Daniel Farmer
>I think the visibility of the movie, or the div it's contained in, may stop the movie from playing. Well I had a chance to look at all this and as it turns out that the visbility settings have no impact whatsoever on the playing of the flash movie. It will still run regardless of the visibility s

Re: slow Java call - Determining physical length of string - Pt 2

2004-08-16 Thread Peter Farrell
I agree with Dov's post above.  From personal experience, instantiating the object is what is taking the most time.  If you are calling this object 50s in a page, your instantiating it 50 times and that's a lot of overhead.  I suggest caching the object in a persistant scope (application, session,

RE: [ flash and javacript ] - div problem...

2004-08-16 Thread Adrian Lynch
I think the visibility of the movie, or the div it's contained in, may stop the movie from playing. I think I witnessed this when doing a movie that started out hidden on the page. It loaded in an xml file and the delay was always present when bringing the movie to the fore. I really should look a

website archiving technologies?

2004-08-16 Thread Daniel Farmer
Anyone aware of anything? ... unfortunatley I do not have any project specs, and am just fishing for some general information on what others have used with some success. Thanks in advance... [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and

RE: Query Manipulation Error in UNION

2004-08-16 Thread Adrian Lynch
As well as checking to see the queries returned records you could shorten the code by doing something like the following... qOfQImages.RecordCount)]#" /> ... that way you should get rid of the list manipulation. What do you think? Ade -Original Message- From: Mark Henderson [mailto:[

Re: SQL Question

2004-08-16 Thread Ewok
looks right but not tested as long as your primary keys are numbers but can be done in the same manner if they are strings select TableID from Table delete from Table where TableID <> #val(RandomID)#   - Original Message -   From: Greg Morphis   To: CF-Talk   Sent: Monday, A

RE: Deleting a numbered struct

2004-08-16 Thread S . Isaac Dealey
Nah, it's an array of structures... He forgot to change the "strProduct" to "aProduct" and to remove the ".items" portion... session.aProduct[1].orderno ^array   ^struct  ^string > You mean a structure of arrays :OP > -Original Message- > From: Joe Rinehart [mailto:[EMAIL PROTECT

RE: SQL Question

2004-08-16 Thread Adrian Lynch
Is it 7 or 2000 you're using? On 2000 I've used this before... SELECT TOP 1 * FROM table ORDER BY NEWID() Double check that is is bringing back a random row as it was a while ago that I used it. In fact I think it was on 7 and I may have used something else. DELETE FROM yourTable WHERE some

Pollster without flash gateway

2004-08-16 Thread Marco Antonio C. Santos
Sorry :-) I know... it's impossible... but how to run Pollster Poll Application in our CF without Flash Gateway service(ISP)? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: Deleting a numbered struct

2004-08-16 Thread Adrian Lynch
You mean a structure of arrays :OP -Original Message- From: Joe Rinehart [mailto:[EMAIL PROTECTED] Sent: 16 August 2004 13:12 To: CF-Talk Subject: Re: Deleting a numbered struct Critter, You should probably look into using an array of structs, like so: ...and so on... -joe --

Re: slow Java call - Determining physical length of string - Pt 2

2004-08-16 Thread Adam Haskell
if (Style EQ "Plain" OR Style EQ "Normal") {   Style = CreateObject("java", "java.awt.Font").PLAIN; } else if (Style EQ "Bold") {   Style = CreateObject("java", "java.awt.Font").BOLD; } else if (Style EQ "Italic") {   Style = CreateObject("java", "java.awt.Font").ITALIC; } This is a waste you c

RE: SUSPECT: Re: slow Java call - Determining physical length of string - Pt 2

2004-08-16 Thread Dirk Sieber
I would definitely agree that the issue appears to be the instantiation time - my problem here is that this is basically the first time I've dealt with objects and/or Java in relation to CF.  So... how do I go about reusing the FontMetrics object once I've created it?  You'll have to excuse my igno

RE: SUSPECT: Re: slow Java call - Determining physical length of string - Pt 2

2004-08-16 Thread Dirk Sieber
Well, we'd thought about storing values - but that's basically the same as the original idea of storing the width of each individual character, and I think it would just become very unwieldy to manage.  It's a possibility though, and I thank you for the idea! -Original Message- From: Nat

Re: SQL Question

2004-08-16 Thread Qasim Rasheed
I can get the table name using the SQL Server metadata programtically and I want to do the same for the whole process as I do not want to enter the column information for each table in my code. - Original Message - From: G <[EMAIL PROTECTED]> Date: Mon, 16 Aug 2004 15:23:04 -0500 Subject:

Re: SQL Question

2004-08-16 Thread G
So you don't know the table names, the primary keys, or ANY of the column names in these tables?   - Original Message -   From: Qasim Rasheed   To: CF-Talk   Sent: Monday, August 16, 2004 3:07 PM   Subject: Re: SQL Question   Brian,   Thanks for the nice suggestion but my problem i

Re: SOT: cf tree menu

2004-08-16 Thread Matt Robertson
> Version 1.0 due out very soon (next few weeks?) with full client-side > _javascript_ integration, open/closed state icons for every control, and > an improved tree architecture. *oooh* One of these days I'll have the time to get into that accordion thingie, and the tabs.  Both look extremely co

CFMX/jrun.exe Thread Count

2004-08-16 Thread Sung Woo
This might be a ridiculous question to ask, but I thought I would anyway. On my box (hosting 3 sites), the thread count for jrun.exe hovers around 53. I've seen it go as high as 56 and as low as 48. When the box crashes, which happens not that often, the thread count goes to 80 and beyond. So here

Re: SQL Question

2004-08-16 Thread Qasim Rasheed
Greg, I apologize if I am missing something or not understanding correctly but how would I create a temp table similar to other tables if I am not aware of datatypes and column names. Is there an efficient way that I can copy one table schema to a temp table? Thanks - Original Message -

Re: formatting output...

2004-08-16 Thread Tony Weeg
do you need the duplicate cfouput's?  just wondering, for bloats cause. tw On Mon, 16 Aug 2004 14:02:15 -0500, Greg Morphis <[EMAIL PROTECTED]> wrote: > Hey that works! thanks Joe! > > > > > On Mon, 16 Aug 2004 14:27:24 -0400, Joe Rinehart <[EMAIL PROTECTED]> wrote: > > Hey Greg, > > > > Try

Re: cfmx - request timeout setting

2004-08-16 Thread Tony Weeg
no. we just got the queries tuned so that it doesnt cause the problem "As Much" the problem with CFMX spiraling to its death upon a request to a VERY tied up db, still is there. :( any ideas? tw On Mon, 16 Aug 2004 14:51:27 -0400, Adrocknaphobia <[EMAIL PROTECTED]> wrote: > Big T, did you get t

Re: SQL Question

2004-08-16 Thread Qasim Rasheed
Brian, Thanks for the nice suggestion but my problem is that there are several tables and some of them doesn't have any primary key associated with them. A brute force approach that I tried and it didn't even worked was to get all database table name from SQL Server metadata and then loop through

Re: SQL Question

2004-08-16 Thread Greg Morphis
just curious, cant you just create one called temp and use it constantly? On Mon, 16 Aug 2004 14:46:48 -0500, G <[EMAIL PROTECTED]> wrote: > Another option would be, if you had an auto-generated numeric primary key, determine your range, call a random number generator, verify that the number is a

Re: currentRow+1

2004-08-16 Thread Greg Morphis
remember that within tags you almost always dont need #'s works also as far as date/month thing.. check to see if you have a to_char function in your database.. Oracle does and you can easily do (in your sql) select to_char(date,'month') as month from tbl this will return the month for you.

Re: OT: Intranet

2004-08-16 Thread Don
Following Chris's great response, I would add, search capability would be nice as well, sometimes people may just like me (half blind :), "search" feature offers a way to "cure" that deficiency to some degree. Also, if your company is thinking about automating FORM process (I'm sure the company ha

RE: slow Java call - Determining physical length of string - Pt 2

2004-08-16 Thread Katz, Dov B (IT)
Keep your FontMetrics object around and ready for use.  Perhaps stick them in the application scope somewhere.  Then you don't have to create font objects, to pass to system toolkits, to get metrics objects, on every string measurement. The only thing you should have to do is ask an existing fo

Re: slow Java call - Determining physical length of string - Pt 2

2004-08-16 Thread Pete Freitag
Hi Dirk, I think most of the slowness is in creating the objects not calculating the width. So if you can somehow cache or reuse the objects, it is much faster. You will notice that the following code is much faster than calling the UDF. So what I would suggest is that if your going to be usin

Re: SQL Question

2004-08-16 Thread G
Another option would be, if you had an auto-generated numeric primary key, determine your range, call a random number generator, verify that the number is a valid primary key, then do a DELETE * WHERE pk != randomKey. Just thinking out loud.   - Original Message -   From: Greg Morphis

Re: currentRow+1

2004-08-16 Thread dave
-- Original Message -- From: daniel kessler <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date:  Mon, 16 Aug 2004 15:41:08 -0400 >> >>#month# >> >>#date# - #event# >> >> > >ah, I thought that we couldn't group cfoutputs.  This is pretty neat. >Another qu

Re: SQL Question

2004-08-16 Thread Qasim Rasheed
Greg, Do have an example of how to create a temp table in SQL Server. I can use stored procedure if necessary Qasim - Original Message - From: Greg Morphis <[EMAIL PROTECTED]> Date: Mon, 16 Aug 2004 14:32:59 -0500 Subject: Re: SQL Question To: CF-Talk <[EMAIL PROTECTED]> I think you'd p

  1   2   >