RE: managing product stock levels

2008-03-25 Thread Dave Watts
> my client wishes to be able to add stock to a particular > product in their webstore, and this stock to be reduced each > time a sale is made. > > how have people done this? > > i figure i have a stock_level field (INT) for each product > and this is decreased by one each time a sale is made

Re: Application Design Advice Needed

2008-03-25 Thread Mike Little
http://www.lukew.com/resources/articles/web_forms.html http://www.uie.com/articles/web_forms/ > All, > > Application Design Advice Needed > > I need to build an application where one person can login and edit > their emergency contact address lists, 1: many data relationship. Does > anyone kno

managing product stock levels

2008-03-25 Thread Mike Little
hi guys, my client wishes to be able to add stock to a particular product in their webstore, and this stock to be reduced each time a sale is made. how have people done this? i figure i have a stock_level field (INT) for each product and this is decreased by one each time a sale is made. once

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Azadi Saryev
another reason would be for instance with google analytics / urchin tracker and tracking ajax content. you need to have the ga javascript loaded BEFORE the ajax calls you want to track, so if you are dynamically loading an external page into a container on the calling page, you need the ga js to be

Re: CFWindow with forms

2008-03-25 Thread Azadi Saryev
here's one i use: *cfwindow content - add_collection.cfm - loaded into an 'add-new-gallery-window' cfwindow:* "> "> onAddNewSuccess('add-new-gallery-window

Re: Row Height or Padding in CFGrid

2008-03-25 Thread Azadi Saryev
Michael, the css should be either on the calling page or loaded page inside a block, iirc. not sure if having the content page loaded into a div inside a cflayout area matters or not - it could be that your css will only work if it is on the loaded page, not the calling page... in either case, i

Re: weird data base issue

2008-03-25 Thread Nicholas M Tunney
Are you caching queries in CF? Nic Matthew Friedman wrote: > I have a quick question and not sure how to solve this. > > I am working on an application CF8 connecting to a SQL database. > > All of my queries are working perfectly. Then I need to add a column to one > of the tables in my databas

weird data base issue

2008-03-25 Thread Matthew Friedman
I have a quick question and not sure how to solve this. I am working on an application CF8 connecting to a SQL database. All of my queries are working perfectly. Then I need to add a column to one of the tables in my database. Once I add the column, the queries still work but the data they are

Re: How to obtain just the domain from a URL

2008-03-25 Thread Casey Dougall
domain = ReplaceNoCase(CGI.SERVER_NAME,"www.","","ALL"); I can't imagin a domain name starting with anything other than that... Or maybe you want www, Of course www. should be setup as a CNAME for @ or what's the point of www. anyway. Casey ~~

Re: Application Design Advice Needed

2008-03-25 Thread James Blaha
All, If you look at: http://examples.adobe.com/cf8gettingstarted/experience/index_content.cfm Check out the code snippet explorer. Any idea how I might use cfform and cftree to populate the information to the right of the cftree? -Jim ~

Re: How to obtain just the domain from a URL

2008-03-25 Thread Web Specialist
hehehe: Try this: Cheers Marco Antonio On Tue, Mar 25, 2008 at 10:04 PM, Nate Willard <[EMAIL PROTECTED]> wrote: > listGetAt(url, 2, '/') works very well too, thanks! it does return the > www. though, is there a way in the same line to remove the www without > needed a "www." replace "" > >

Re: How to obtain just the domain from a URL

2008-03-25 Thread Nicholas M Tunney
The problem is that you wanted the server name in your "blog.whatever.com", but not in "www.whatever.com". Behavior would need to be consistent, or remove www. after the fact. HTH, Nic Nate Willard wrote: > listGetAt(url, 2, '/') works very well too, thanks! it does return the www. > though,

Re: How to obtain just the domain from a URL

2008-03-25 Thread Charlie Griefer
how about #cgi.server_name#? On Tue, Mar 25, 2008 at 6:09 PM, William Seiter <[EMAIL PROTECTED]> wrote: > listdeleteat([variable],1,".")> > > I am certain that there is a REGEX guru here who can put you in turn with a > good regex expression to do this as well, though. > > ::-Original Mes

RE: How to obtain just the domain from a URL

2008-03-25 Thread William Seiter
I am certain that there is a REGEX guru here who can put you in turn with a good regex expression to do this as well, though. ::-Original Message- ::From: Nate Willard [mailto:[EMAIL PROTECTED] ::Sent: Tuesday, March 25, 2008 6:04 PM ::To: CF-Talk ::Subject: Re: How to obtain just the do

Re: How to obtain just the domain from a URL

2008-03-25 Thread Nate Willard
listGetAt(url, 2, '/') works very well too, thanks! it does return the www. though, is there a way in the same line to remove the www without needed a "www." replace "" ? Thanks Nicholas M Tunney <[EMAIL PROTECTED]> wrote: Good call. That behavior frustrates me ;) Nic Charlie Griefer wrote

Re: How to obtain just the domain from a URL

2008-03-25 Thread Nate Willard
I hadn't used GetToken before very interesting. What's the breakdown on best practices on GetToken versus Regex? Your code works well. thanks for the example. The third example returns the "www." though, is there a ways to exclude that in the one line of GetToken? Thanks Web Specialist <[EMAIL

Re: Row Height or Padding in CFGrid

2008-03-25 Thread Michael Brennan-White
Azadi, Thanks for the reply. I am referring to an html cfgrid. I am calling the grid into a div inside a cflayoutarea. Should the CSS code be on the page that is being pulled in or on the index page or as part of the css files being included in the index page? Michael > assuming you are

Re: How to obtain just the domain from a URL

2008-03-25 Thread Web Specialist
I really love GetToken: Cheers Marco Antonio On Tue, Mar 25, 2008 at 9:40 PM, Nicholas M Tunney <[EMAIL PROTECTED]> wrote: > Good call. That behavior frustrates me ;) > > Nic > > Charlie Griefer wrote: > > listGetAt(url, 2, '/') since CF ignores empty list attributes, no? > > > > > >

Re: How to obtain just the domain from a URL

2008-03-25 Thread Nicholas M Tunney
Good call. That behavior frustrates me ;) Nic Charlie Griefer wrote: > listGetAt(url, 2, '/') since CF ignores empty list attributes, no? > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to

Re: How to obtain just the domain from a URL

2008-03-25 Thread Charlie Griefer
listGetAt(url, 2, '/') since CF ignores empty list attributes, no? On Tue, Mar 25, 2008 at 5:27 PM, Nicholas M Tunney <[EMAIL PROTECTED]> wrote: > Regex would work. Using listGetAt(url, 3, '/') with as the delimiter > would also work. > > Nic > > > Nate Willard wrote: > > Would I use a REGEX

Re: How to obtain just the domain from a URL

2008-03-25 Thread Nicholas M Tunney
Regex would work. Using listGetAt(url, 3, '/') with as the delimiter would also work. Nic Nate Willard wrote: > Would I use a REGEX to achive this? Or some other method? > > Start with something like: > http://www.popularmechanics.com/technology/military_law/4255750.html > > End up with: > pop

How to obtain just the domain from a URL

2008-03-25 Thread Nate Willard
Would I use a REGEX to achive this? Or some other method? Start with something like: http://www.popularmechanics.com/technology/military_law/4255750.html End up with: popularmechanics.com Example 2 Start: http://blogs.abcnews.com/politicalpunch/2008/03/dnc-official-cl.html End: blogs.abcnews.c

Application Design Advice Needed

2008-03-25 Thread James Blaha
All, Application Design Advice Needed I need to build an application where one person can login and edit their emergency contact address lists, 1: many data relationship. Does anyone know of a example CF application that might fit this pattern? I’m looking for GUI ideas and best practices us

Mapping prefixes to XML namespaces for XPath searches

2008-03-25 Thread Dominic Watson
I cracked it: http://fusion.dominicwatson.co.uk/2008/03/xmlsearch-and-default-namespaces.html Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic rele

RE: How to get this part of this string...

2008-03-25 Thread Rick Faircloth
Thanks, guys! Rick > -Original Message- > From: Dominic Watson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 25, 2008 6:48 PM > To: CF-Talk > Subject: Re: How to get this part of this string... > > You could do this in several different ways, here's one: > > > > HTH > > Dominic >

Re: How to get this part of this string...

2008-03-25 Thread Dominic Watson
You could do this in several different ways, here's one: HTH Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: How to get this part of this string...

2008-03-25 Thread Nathan Strutz
probably like this... #reReplace("falls_bridge_original.jpeg", "^(.+?)(_original)?\.\w+$", "\1")# -- nathan strutz http://www.dopefly.com/ On Tue, Mar 25, 2008 at 3:30 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > Can't seem to figure this one out... > > How would I select "falls_bridge" >

How to get this part of this string...

2008-03-25 Thread Rick Faircloth
Can't seem to figure this one out... How would I select "falls_bridge" out of "falls_bridge_original.jpg"? It would also need to work to select "falls_bridge" our of "falls_bridge_original.jpeg" And it would need to be able to select "roanoke" out of "roanoke_original.jpg"... So, in other words

Re: Solved - String Issue

2008-03-25 Thread denstar
Congratulations Bruce! Thanks for posting back the solution, too. |Denny -- ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Gerald Guido
On second thought it just might work Try this code instead: xxCreatePageViewTag("Housewares","Cool Kitchen Gadgets","Page 1"); On Tue, Mar 25, 2008 at 5:46 PM, Gerald Guido <[EMAIL PROTECTED]> wrote: > Wait... That will not work. > Never mind. Sorry. I didn't think it all the

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Gerald Guido
Wait... That will not work. Never mind. Sorry. I didn't think it all the way through. On Tue, Mar 25, 2008 at 5:43 PM, Gerald Guido <[EMAIL PROTECTED]> wrote: > Actually there *IS* a way to do this. It is pretty sneaky. Not my idea. I > got it from Raymond Camden's Blog. > > > http://www.coldfu

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Gerald Guido
Actually there *IS* a way to do this. It is pretty sneaky. Not my idea. I got it from Raymond Camden's Blog. http://www.coldfusionjedi.com/index.cfm/2008/1/26/Ask-a-Jedi-CFIMPORT-Applicationcfc-and-custom-tags Create a folder under a mapped path COM called tagLib Create a file under it called b

Re: Date Range Search Problem - when it's integers stored and not dates

2008-03-25 Thread denstar
On Mon, Mar 24, 2008 at 7:29 PM, Les Mizzell <[EMAIL PROTECTED]> wrote: > denstar wrote: > > Are they against letting you add a real date field? > > Seeing there's already several hundred records in the database, some > with dates, some with NONE - which is exactly what they want - adding a > r

Re: Date Range Search Problem - when it's integers stored and not dates - IDEA!!!

2008-03-25 Thread denstar
On Mon, Mar 24, 2008 at 7:26 PM, Les Mizzell <[EMAIL PROTECTED]> wrote: ... > What's the easiest way to search for values in a list starting at > position X and ending at position Y? Off the top of my head, I'd do a listSort, and then iterate. Dunno if the list position idea would work for the

Re: Date Range Search Problem - when it's integers stored and not dates - My Solution

2008-03-25 Thread Les Mizzell
Just to recap - client had a database that was storing the dates of transactions - but - they wanted to be able to only enter a year, or just a year and month without an actual date. So, three columns were set up day|month|year and the values were being stored as integers ... I ended up adding

CFWindow with forms

2008-03-25 Thread coldfusion . developer
I'm looking for some sample use of cfwindow using a form and closing the cfwindow once the form passes validation and backend processing. I've search and found a few great articles by Ray Camden, but I wanted to see the whole thing put together to grasp the entire concept. http://www.coldfusio

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Ian Skinner
If you are using a version of ColdFusion that supports the Application.CFC and can make use of this feature in your site, you can use the Application.cfc onRequest method for this type of work. There are a lot a ramifications with this, especially if you also use templates in this site remotely

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Jerry Johnson
Just wanted to put it out there (or _my_ coworkers would yell at _me_). lol. OK, just winging it here, but i think if you include a standard javascript function or include at the top that attaches a function to the onLoad for the body, the function it attaches would be the coldfusion-custom javasc

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Casey Dougall
On Tue, Mar 25, 2008 at 5:01 PM, Gerald Weir <[EMAIL PROTECTED]> wrote: > Jerry, I appreciate your point and it is a good one. I'm just the > programmer however, it's their call I'm afraid. > > Yes, your question is correct, this is the javascript report the page view > so in the end it must go o

RE: Need Include to be first thing after BODY tag

2008-03-25 Thread Gerald Weir
Jerry, I appreciate your point and it is a good one. I'm just the programmer however, it's their call I'm afraid. Yes, your question is correct, this is the javascript report the page view so in the end it must go on all. Thanks, Gerald -Original Message- From: Jerry Johnson [mailto:[

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Greg Morphis
Ah.. I see.. you're wanting to do it without editing all the pages.. dunno there... On Tue, Mar 25, 2008 at 3:55 PM, Greg Morphis <[EMAIL PROTECTED]> wrote: > Unless I'm not getting something (it is late in the afternoon.. need > caffeine).. > Can't you use the > > > > > On Tue, Mar 25, 2008 a

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Greg Morphis
Unless I'm not getting something (it is late in the afternoon.. need caffeine).. Can't you use the On Tue, Mar 25, 2008 at 3:36 PM, Claude Schneegans <[EMAIL PROTECTED]> wrote: > >>to be sure to count the page in the event that a user clicks away to > another page before the current page is f

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Jerry Johnson
Not to help you at all, and providing info you didn't ask for, but... Best practices when counting pages is to wait for the page to load, or most of the page to load, before counting that page. This is especially true when counting advertising page views, or counting pages read for subscription p

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Gerald Guido
Extract everything from the opening body tag for your pages and make a common include file. On Tue, Mar 25, 2008 at 5:04 PM, Gerald Weir <[EMAIL PROTECTED]> wrote: > Hello, > > I'm working on a project to change the web analysis tags on our CF8 site. > Currently we use onrequestend.cfm to tell

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Claude Schneegans
>>to be sure to count the page in the event that a user clicks away to another page before the current page is fully loaded. Ah ok, now this is a valuable reason I didn't think of. ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/

Re: Row Height or Padding in CFGrid

2008-03-25 Thread Azadi Saryev
assuming you are referring to an html cfgrid, you will need to modify/'over-ride' the cf's css for the grid. i have managed to achieve a very table-like look by adding the following style declaration to my page with an html cfgrid: [style] td div, table div, form div { margin:0; } ..x-grid-header {

RE: Need Include to be first thing after BODY tag

2008-03-25 Thread Gerald Weir
Yes, they want it directly after the tag. Their claim is that the want to be sure to count the page in the event that a user clicks away to another page before the current page is fully loaded. p.s. I hope this goes to the correct place - mailing list - as I don't see my own question on the

Re: Need Include to be first thing after BODY tag

2008-03-25 Thread Claude Schneegans
>>the javascripts must be included right after the opening tag. Are you sure they really specify "right after the opening tag" or do they just mean "inside the body tag"? I cannot think of any valuable technical reason the Javascript couldn't be right before the tag. -- ___

Need Include to be first thing after BODY tag

2008-03-25 Thread Gerald Weir
Hello, I'm working on a project to change the web analysis tags on our CF8 site. Currently we use onrequestend.cfm to tell the rendered page to include the analysis javascripts at the end of the file and then put in the tag. We are changing brands and the javascripts must be included right af

Re: XPath with namespace

2008-03-25 Thread Dominic Watson
> > This blog entry discuss this in a bit more detail. > > http://www.talkingtree.com/blog/index.cfm/2005/11/18/XmlSearchNoNameNamespace > It does but it also misses a point that this IS a missing feature of ColdFusion. The solution works fine when you only have one default namespace being used (a

RE: Checkboxes not passing variables correctly

2008-03-25 Thread Steve LaBadie
Thank you Dominic for the extra input, very helpful examples. Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] http://www.esu.edu -Original Message- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: Tuesd

Re: Checkboxes not passing variables correctly

2008-03-25 Thread Dominic Watson
> > Is there a list of all possible delimiters value? A delimeter could be any 'legal' character in a string. The delimeter you use is informed by the string you are given to break up into list items; using different delimiters will break up your 'list' in different ways. Here is some code to dem

Re: XPath with namespace

2008-03-25 Thread Ian Skinner
Dominic Watson wrote: > Try > > That specifies the 'default' or 'no name' namespace which is what is being > used in that xml. There can be a problem when there is more than one > namespace declared without a prefix but it doesn't seem that that comes up a > lot (though it does with the google map

Re: XPath with namespace

2008-03-25 Thread Dominic Watson
Try That specifies the 'default' or 'no name' namespace which is what is being used in that xml. There can be a problem when there is more than one namespace declared without a prefix but it doesn't seem that that comes up a lot (though it does with the google maps geocoder). You should be ok her

XPath with namespace

2008-03-25 Thread Adrian Lynch
Hey all, got this XML: http://earth.google.com/kml/2.0";> London SE14 6QP London SE14 6QP root://styleMaps#default+nicon=0x304+hicon=0x314 -0.030183,51.471709,0

Re: Music previewing

2008-03-25 Thread Gerald Guido
I have used Wimpy. It is $30 and worth every penny. It has an API and all that. Very powerful and flexible. It might be able to do what you want. I donno. I haven't messed with it for over a year. http://www.wimpyplayer.com/ On Tue, Mar 25, 2008 at 2:08 PM, Bobby Hartsfield <[EMAIL PROTECTED]>

Row Height or Padding in CFGrid

2008-03-25 Thread Michael Brennan-White
Is there a way to set the Row Height or Padding of a row in CFGrid. I have a small number of records I want to display at a time and would like to combine making the grid look like a table with the paging & sorting capabilities of the grid. thanks in advance, Michael ~~

Re: BlueDragon AMI

2008-03-25 Thread Gerald Guido
You might want to look at right scale. They make the process as painless as possible for setting up VM instances. http://www.rightscale.com/m/ http://blog.synthasite.com/2007/08/14/scaling-on-amazon-with-rightscale/ There is a FF plugin for it as well (of course there is). http://www.rjonna.com/e

Re: BlueDragon AMI

2008-03-25 Thread Gerald Guido
I have. About six months ago so my memory is a little hazy. I ended up opting not to go with EC2 because of them not being able to guarantee that I would be able to keep the same IP. Adam Howitt did a presentation on it. http://www.webdevref.com/blog/index.cfm?t=Build_a_scalable_architecture_wit

RE: Music previewing

2008-03-25 Thread Bobby Hartsfield
I don't know of one off-hand but there are TONS of flash based MP3 players out there. I would imagine there is one to do what you are trying. I've written a couple of players myself that read the music info from an xml file and play them based on passed URLs. I could dig one up for you if you half

RE: Perhaps a little over complicated - Dissecting a String

2008-03-25 Thread Bobby Hartsfield
Yes. It ensures WORDS are not cut in half. If the string is longer than the 'trimat' attribute, it cuts off the specified amount of text, then works its way BACK to the first space it finds and chops everything after it, else it just returns the string as is since it wasn't long enough. You could

ImageGetIPTCMetadata not returning metadata

2008-03-25 Thread Dave Ferguson
Hi, Has anyone seen any issues with ImageGetIPTCMetadata not actually getting the IPTC Metadata? I have some images created using PhotoShop CS3. We put IPTC metadata in them but CF does not pull it out. I can even look at the file properties in windows and see more data than CF is extracti

BlueDragon AMI

2008-03-25 Thread Eric Dawson
Has anyone gone through the paces to make a BlueDragon AMI for Amazon EC2? ~| 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

Re: Checkboxes not passing variables correctly

2008-03-25 Thread Azadi Saryev
the value attrubute of your checkboxes are different from their labels/text? typos? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Steve LaBadie wrote: > I have a group of 10 checkboxes where 3 have to be checked. I have a JS > script to validate this. The issue at hand is the values are

RE: turn the coldfusion query into sql stored procedure or view

2008-03-25 Thread Brad Wood
And it will be just as complicated in the stored procedure too. If performance gains are your only motivation, I would suggest refactoring your code a bit. Moving to a stored proc won't really give you any more performance over the addition of cfqueryparams. Of course if you wish to centralize

RE: turn the coldfusion query into sql stored procedure or view

2008-03-25 Thread Rick Faircloth
No wonder you want to turn that query into a stored procedure. That's about the most complicated query I've seen! Rick > -Original Message- > From: erik tom [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 25, 2008 12:36 PM > To: CF-Talk > Subject: turn the coldfusion query into sql store

turn the coldfusion query into sql stored procedure or view

2008-03-25 Thread erik tom
I have a cooldfusion query that i want to turn into the stored procedure or view . How can I do that Select e.employeeid, e.last_name as empLastName, e.first_name as empFirstName, e.middle_name as empMiddleName, tr.TrainingID, tr.courseI

Solved - String Issue

2008-03-25 Thread Bruce Sorge
Last Friday I posted a problem that I was having and with the help of Hatton, who got me pointed in the right direction, and Leigh (his posts show up as CS) who extended it a bit, it is now working. I am going to post the results here but I will quickly explain what I was doing. There are a ser

ImageGetIPTCMetadata not returning metadata

2008-03-25 Thread Dave Ferguson
Hi, Has anyone seen any issues with ImageGetIPTCMetadata not actually getting the IPTC Metadata? I have some images created using PhotoShop CS3. We put IPTC metadata in them but CF does not pull it out. I can even look at the file properties in windows and see more data than CF is extracti

Re: Search opinion needed

2008-03-25 Thread Raymond Camden
Michale's QofQ is a good idea - but don't forget you can search multiple collections at once. On Tue, Mar 25, 2008 at 8:31 AM, Stone, Lori <[EMAIL PROTECTED]> wrote: > We have a verity search that searches db and docs. They want to combine > the results and then sort by relevance then date. I h

RE: Checkboxes not passing variables correctly

2008-03-25 Thread Steve LaBadie
Thanks everyone for your input and wisdom. Thanks Claude for the laugh. Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] http://www.esu.edu -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED]

Re: Checkboxes not passing variables correctly

2008-03-25 Thread Claude Schneegans
>>Is there a list of all possible delimiters value? If you want to know more about forms and how values are passed, use in your action template and you'll know everything a young lady should know before wedding ;-) -- ___ REUSE CODE! Use custom tags; See ht

Re: Checkboxes not passing variables correctly

2008-03-25 Thread morgan l
If you just want the list of names, separated by comma and space, then use: Faculty Supervisor: #Replace(form.fac,",",", ","all")# On Tue, Mar 25, 2008 at 9:12 AM, Steve LaBadie <[EMAIL PROTECTED]> wrote: > Is there a list of all possible delimiters value? > > If I use your suggestion there are n

Re: Checkboxes not passing variables correctly

2008-03-25 Thread Matt Williams
What is your desired output? If you just want a straight list with commas between the chosen names, then do as Claude said: Faculty Supervisor: #form.fac# If you need line breaks between the names, then do a loop as Claude said (with a added): #f# On Tue, Mar 25, 2008 at 9:12 AM, Steve LaBad

Re: Checkboxes not passing variables correctly

2008-03-25 Thread Claude Schneegans
>>Is there a list of all possible delimiters value? There only one delimiter: the comma, which is the default delimiter for all list functions, so you don't need to specify one. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customt

RE: Checkboxes not passing variables correctly

2008-03-25 Thread Steve LaBadie
Is there a list of all possible delimiters value? If I use your suggestion there are no spaces or commas between full names when the information is sent. If I use delimiters="| " there is a comma but no space after comma. Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. Eas

Re: Date Range Search Problem - when it's integers stored and not dates

2008-03-25 Thread Sonny Savage
Lez, this has been asked, but not answered. What do the zeros mean? Do they indicate a date range? Does 2007.0.0 mean the entire year of 2007? Does 2007.10.0 mean the entire month of October in 2007? Does 0.0.0 mean always? If so, I'd create two date columns, begin_dt and end_dt. I'd then wri

RE: Memory discrepancy

2008-03-25 Thread Mark Kruger
I'm not sure I would get hung up on what windows task manager reports vs. the server monitor or Jprofiler. Looking at this log it appears that the number of simultaneous requests is set at 25. When 25 is reached all other threads begin to queue. It goes from 0/5 (0 "running requests" out of 5 to

Re: Date Range Search Problem - when it's integers stored and not dates

2008-03-25 Thread Claude Schneegans
Ok, how about this, a bit ugly, but should work on any database: WHERE (YEAR > #form.from_y# OR (YEAR = #form.from_y# AND (MONTH = 0 OR (MONTH >= #form.from_m# AND (DAY = 0 OR DAY >= #form.from_d#) AND (YEAR < #form.to_y#

Re: Checkboxes not passing variables correctly

2008-03-25 Thread Claude Schneegans
>>delimiters="crlf"> You're using "crlf" as delimitior? No wonder c, r, l & f are lost. You probably meant CR LF, but these are not the delimiters used to separate field values, the simple comma is used. So just use Faculty Supervisor: #f# or more simply: Faculty Supervisor: #form.fac# -- ___

Re: best google indexing

2008-03-25 Thread Claude Schneegans
>>good content for better search indexing. And also, being referred by sites having a high rank will increase your rank. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [

Re: Checkboxes not passing variables correctly

2008-03-25 Thread Azadi Saryev
Faculty Supervisor: delimiters="crlf">#f# that's your problem - your list delimiters. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Steve LaBadie wrote: > I have a group of 10 checkboxes where 3 have to be checked. I have a JS > script to validate this. The issue at hand is the values

Re: Checkboxes not passing variables correctly

2008-03-25 Thread Davide Campo
This script work correctly, try it. #f# function is_checked() { var formObj = document['internships']['fac']; var count = 0; for (i=0;i

RE: Search opinion needed

2008-03-25 Thread Dawson, Michael
Use a Query of a Query to join the two search results and sort as needed. m!ke -Original Message- From: Stone, Lori [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 8:31 AM To: CF-Talk Subject: Search opinion needed We have a verity search that searches db and docs. They want t

Re: Checkboxes not passing variables correctly

2008-03-25 Thread Cutter (CFRelated)
No, there's nothing there that would explain it. I'd like to blame it on the font tags, but I can't;) Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Steve LaBadie wrote: > This is the

Re: Google geocoder and CF5

2008-03-25 Thread Claude Schneegans
>>My guess is that it's an encoding problem. Use an HTTP sniffer/recording proxy/whatever to see what's different. Yeah, this is what I suspect also. I'm considering using another format to access their geocoder. Thanks. -- ___ REUSE CODE! Use custom tags; S

Search opinion needed

2008-03-25 Thread Stone, Lori
We have a verity search that searches db and docs. They want to combine the results and then sort by relevance then date. I have done the combination before by just putting it in a structure. Any better ideas? ~| Adobe® ColdFus

Re: Memory discrepancy

2008-03-25 Thread James Holmes
It appears that 1.2GB isn't adequate. If you are on CF 8 Enterprise (or you can copy the code to a CF 8 Developer server) you can use the memory monitor to closely profile the memory usage on the server and find what's chewing up the heap. On Tue, Mar 25, 2008 at 11:14 PM, Alex DeMarco <[EMAIL PR

Re: Memory discrepancy

2008-03-25 Thread Alex DeMarco
> We are running CFMX 8 in a Jrun4 (updater7) instance using java 1.6 > under Win2k3. > > When I run the Server Monitor or even Jprofiler on the instance for > example they both report 125,000 in use. However, when I look at > Windows Task Manager the Jrun process reports around 225,000. Why

RE: Checkboxes not passing variables correctly

2008-03-25 Thread Steve LaBadie
This is the script to check for 3 checked boxes: function is_checked() { var formObj = document['internships']['fac']; var count = 0; for (i=0;i

Re: Checkboxes not passing variables correctly

2008-03-25 Thread Cutter (CFRelated)
Steve, We want to help, but without seeing the form code it is almost impossible to troubleshoot. Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Steve LaBadie wrote: > I have a group

Re: best google indexing

2008-03-25 Thread Dominic Watson
> > This doesn't matter. Yep - good content for better search indexing. Dominic On 25/03/2008, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Tuesday 25 Mar 2008, Davide Campo wrote: > > I have a site with the index.cfm page that calls all dinamic content > with > > url parameters (es. index.

Re: best google indexing

2008-03-25 Thread Tom Chiverton
On Tuesday 25 Mar 2008, Davide Campo wrote: > I have a site with the index.cfm page that calls all dinamic content with > url parameters (es. index.cfm?page=mypage1¶m) This doesn't matter. -- Tom Chiverton Helping to globally reintermediate fine-grained e-services on: http://thefalken.livejo

Checkboxes not passing variables correctly

2008-03-25 Thread Steve LaBadie
I have a group of 10 checkboxes where 3 have to be checked. I have a JS script to validate this. The issue at hand is the values are not being passed completely. If you choose Robert Mckenzie the name is passed Robet Mkenzie, any ideas would be appreciated. Steve LaBadie, Web Manager East S

best google indexing

2008-03-25 Thread Davide Campo
Hi all, how can i do to best index my site by google pagerank. I have a site with the index.cfm page that calls all dinamic content with url parameters (es. index.cfm?page=mypage1¶m) tnk u all ~| Adobe® ColdFusion® 8 softw

best google indexing mode for my coldfusion site

2008-03-25 Thread Davide Campo
Hi all, how can i do to best index my site by google pagerank. I have a site with the index.cfm page that calls all dinamic content with url parameters (es. index.cfm?page=mypage1¶m) tnk u all ~| Adobe® ColdFusion® 8 softw

Re: Date Range Search Problem - when it's integers stored and not dates

2008-03-25 Thread Jochem van Dieten
Les Mizzell wrote: > I've got a database in which dates are stored as integers in three > separate columns as: day|month|year > > This was done because the client wished to create records that could > contain only a year, or just a year and month, or year, month, and day, > or no date at all. V

Re: New To CF

2008-03-25 Thread Tom Chiverton
On Sunday 23 Mar 2008, Bruce Kersten wrote: > How do I get version 8? Adobe.com :-) > Is it free? To develop on yes. To deploy in production no. There are non-Adobe ColdFusion servers (BlueDragon is open source, Railo is free for one web site) too. -- Tom Chiverton Helping to assertively bra