Hi guys,
I have this dilemma with the new CacheBox framework I've been working on.
It's really bugging me and I wonder if you guys could help me out by
giving me some feedback on the solution. I posted an article about the
problem on the CacheBox blog here:
On Monday 21 Sep 2009, Rick Root wrote:
Any recommendations for inexpensive solutions? (inexpensive meaning,
hundres or thousands of dollars but not tens of thousands).
rsync is the generic answer. You can get some fairly 'home/office' NAS boxes
now that support RAID mirroring, and I'm
How do you use Firebug to find a bad entry with a database table with over
25,000 records?
Barry
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
Would the following strategy help?
Maxrows the query to 10 and see if it works then, if it does then yes it sounds
like a value is causing a problem, if it doesn't then it must be something else.
If 10 records does work try the first 100, then the first 1000 etc. Shouldn't
take too long to
Hi im having trouble with the below piece of code, im trying to set it up to
add the correct template as a watermark based on the filename in the database
in field (INVOICE_PDFFile)
can anyone help me out?
at the minute im getting this error message - Error Executing Database Query.
If it is indeed a Javascript breakign character, try JSStringFormat()
aroudn the output for the autosuggest:
http://www.cfquickdocs.com/cf8/?getDoc=JSStringFormat
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/9/22 Barry Mcconaghey bmcconag...@gmail.com:
The error means that InvoiceTemplateType_Key is a column in both tables, so
you have to let the database know which one you actually want. Use your
table aliases:
cfquery name=qgetcreditnotetemplate datasource=#request.dsn#
SELECT
Is Infusion still in business? I have a couple of their servers installed and
want to add another one. There shopping cart is broken and they have not
returned any emails for info/support.
Did they join the deadpool? I hope not.
- Robert
Hi Jason
Ive tried that but Im still getting the same error
The error means that InvoiceTemplateType_Key is a column in both tables, so
you have to let the database know which one you actually want. Use your
table aliases:
cfquery name=qgetcreditnotetemplate datasource=#request.dsn#
99% of the time, the following works without problem to redirect to another
page while keeping track of all the URL variables being passed:
Let's say my query string is this: a=1b=2c=3d=4e=5
script
location.href = 'someURL.cfm?#cgi.query_string#';
/script
However, on rare
I am looking at the one-to-one relationship, unique foreign key mapping
example in the ColdFusion 9 ORM documentation ..
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WS5FFD2854-7F18-43ea-B
383-161E007CE0D1.html#WS606584AD-43B2-48c1-B9E6-69A670694BBB
. and I am wondering why the
I think I found the problem.
In my Database, I found some entries like Acme # 1.
Because I have a large DB, how can I display only the names with the symbol #
in them.
For Example:
cfoutput query=ratings
cfif #ratings.fdd_name# CONTAINS #
#ratings.fdd_name#
/cfif
/cfoutput
But this query
I believe you have to do CONTAINS ## to escape the pound sign.
-Original Message-
From: Barry Mcconaghey [mailto:bmcconag...@gmail.com]
Sent: Tuesday, September 22, 2009 11:19 AM
To: cf-talk
Subject: Re: Coldfusion Autosuggest
I think I found the problem.
In my Database, I found some
Thanks !
Barry
I believe you have to do CONTAINS ## to escape the pound sign.
I think I found the problem.
In my Database, I found some entries like Acme # 1.
Because I have a large DB, how can I display only the names with the
symbol # in them.
For Example:
cfoutput query=ratings
cfif
hi
we want to have a drop down box on a form that has attribute 'required' and a
message that displays if no value is select when the form is submitted
however, using cfselect automatically makes the first option selected, but we
want the user to physically select an option
how can we code
This is just how dropdowns work. You need to add a blank element at the
beginning. I usually do it manually like this:
select name=somename
option value=/option
cfloop
!-- more options here --
/cfloop
/select
Jake Churchill
CF Webtools
11204 Davenport,
I don't know cfselect (or cfform in general, really)... so if not using
cfform is an option, here's how it'd be done.
form onsubmit=return checkThis(this);
select name=foo id=foo
option value=Please Select One/option
option value=AA/option
...
/select
/form
script
thanks for your replies, although the problem with having an empty element or
an element saying 'Select one of the following' would cause the required=yes
validation not to work as they would still be valid options
is there no way to get the required=yes validation to work on these
There are other ways around it. The responses are the correct route for
validation.
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
Richard,
Let me see your entire CFSELECT statement and we should be able to figure
out how to get the empty First Option to work for you. It is entirely
possible to do what you're trying to do.
~|
Want to reach the
fkcolumn should specify the name of the foreign key column, not the name of
the primary key on the other table. In most cases this attribute shouldn't
need to be specified at all, Hibernate will create a column for the foreign
key automatically. So either the docs are just badly worded, or they
Hi Phillip,
We have tried this function (even copied and pasted your code) but altering the
height does not work, do you have this problem?
~|
Want to reach the ColdFusion community with something they want? Let them know
I've worked for this company before. If anyone wants the lowdown about
what it's like to work for them, ping me offline.
On Tue, Sep 22, 2009 at 10:10 AM, Dave DeVol da...@coldfusioncafe.com wrote:
Established internet development company is looking for a web developer who
is able to work
I haven't played with it enough to run into the issue. Sorry.
On Tue, Sep 22, 2009 at 10:17 AM, Richard White rich...@j7is.co.uk wrote:
Hi Phillip,
We have tried this function (even copied and pasted your code) but altering
the height does not work, do you have this problem?
I'm building a page that is going to often end in one more more paths to
a location on our internal file server. It would be a nice plus if this
could be an active anchor link so that users could just click on the
link rather then any copying and pasting.
Just to be clear this is not a
Instead of mapping the images directly to the UNC path I would create a
virtual folder to the UNC path and then reference that virtual folder for
your images. You don;t want to go around exposing your server structure.
Plus, I don't think outside of an intranet running on a private network that
Alan Rother wrote:
Instead of mapping the images directly to the UNC path I would create a
virtual folder to the UNC path and then reference that virtual folder for
your images. You don;t want to go around exposing your server structure.
Plus, I don't think outside of an intranet running on a
Ahh.. That makes perfect sense then... Ignore my previous comments...
You're testing it using FF right?
Read this
http://kb.mozillazine.org/Firefox_:_Issues_:_Links_to_Local_Pages_Don%27t_Work
=]
--
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion
Alan Rother wrote:
Ahh.. That makes perfect sense then... Ignore my previous comments...
You're testing it using FF right?
Read this
http://kb.mozillazine.org/Firefox_:_Issues_:_Links_to_Local_Pages_Don%27t_Work
=]
Yup, using FireFox (what web developer doesn't!).
Thanks for the link,
the entire select works looks like this:
cfset lookupOptionsArray = listtoarray(Blood,DNA,Other) /
cfselect name=sampleType size=1 multiple=no style=width:200px
cfloop index=i from=1 to=#arraylen(lookupOptionsArray)#
option value=cfoutput#lookupOptionsArray[i]#/cfoutput
Note the initial empty option. Also, note that you only need 1 set of
enclosing cfoutput tags.
cfset lookupOptionsArray = listtoarray(Blood,DNA,Other) /
cfselect name=sampleType size=1 multiple=no style=width:200px
required=yes message=Please select a Sample Type to continue.
option
thanks Jason, although this doesnt seem to work my end. i copied and pasted the
code into the form...the combo is empty at first which is great, but when i
click on the submit button without selecting anything in the combo it doesnt
show me the message Please select a Sample Type to continue.
from the docs:
Note: This attribute has no effect if you omit the size attribute or set it
to 1, because the browser always submits the displayed item. You can work
around this issue: format forms by having an initial option tag with value=
(notice the space character between the quotation
Seems like it. Do you have any custom onSubmit stuff in JS that might be
interfering with the CFFORM processing?
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion
I am new to this, I have tons of directories that I am working on. I want to
output the files in each directory to a comma delimited list with each list
named after the directory containing the files. So far I have been able to
write a code that groups each files underneath each directory
I am new to this, I have tons of directories that I am working on. I want to
output the files in each directory to a comma delimited list with each list
named after the directory containing the files. So far I have been able to
write a code that groups each files underneath each directory
thanks for both your help, i will continue to work out why this is not working
on my system, if it is working your end that it has to be something to do with
my code!!!
thanks again for your help
from the docs:
Note: This attribute has no effect if you omit the size attribute or set it
to
as the docs Charlie has posted say, the value must be a space, not an
empty string:
option value= Please select.../option
now required=yes should work in your cfselect.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
On 23/09/2009 03:25, Richard White wrote:
thanks for both your help, i
try this:
CFOUTPUT QUERY=GetBoth GROUP=directory
cfset variables[directory] =
CFOUTPUTcfset variables[directory] =
listappend(variables[directory], name)/CFOUTPUT
br#directory# list: #variables[directory]#
/CFOUTPUT
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
On 23/09/2009
ok thanks
I haven't played with it enough to run into the issue. Sorry.
On Tue, Sep 22, 2009 at 10:17 AM, Richard White rich...@j7is.co.uk
wrote:
Hi Phillip,
We have tried this function (even copied and pasted your code) but
altering the height does not work, do you have this
thanks for your replies, although the problem with having an empty element or
an element saying 'Select one of the following'
would cause the required=yes validation not to work as they would still be
valid options
is there no way to get the required=yes validation to work on these
Hi All,
I'm working on a proof a concept and some how I cannot get the
following script to work:
$.each(data.DATA, function(i){
$('#result').append('li' + data.DATA[i][0] + '/li');
});
The error I get is: G is undefined. I have tried different things
without success,
You should post this on the jQuery list, its a jQuery question...
-Original Message-
From: Victor Moore [mailto:victor.mo...@gmail.com]
Sent: September-22-09 2:59 PM
To: cf-talk
Subject: jQuery ajax call question
Hi All,
I'm working on a proof a concept and some how I cannot get the
The result of encrypt(myText, key, BLOWFISH, HEX) gives you a value that
you can decrypt just fine in coldfusion, but not the same value as you would
get if you ran the same encryption (blowfish, hex) using PHP. Basically I need
to encrypt some text in coldfusion and send it over to an API
The result of encrypt(myText, key, BLOWFISH, HEX) gives you a value that
you can decrypt just fine in coldfusion, but not the same value as you would
get if you ran the same encryption (blowfish, hex) using PHP. Basically I need
to encrypt some text in coldfusion and send it over to an API
Got a combination CF jQuery question for those of you who use
both.usually, I can get
a better response from folks who use CF jQuery than I can from those who
use only jQuery.
I've got an ajax call (not AJAX call.) that inserts property data into a
database then processes from 1 to usually
It works if I change the call from $.ajax to:
$.getJSON('cfcs/tjq.cfc?method=userreturnformat=JSON',
function(data) {
$.each(data.DATA, function(i){
$('#result').append('lia href=#' +
It sounds like you need a synchronous request e.g.:
http://stackoverflow.com/questions/133310/how-can-i-get-jquery-to-perform-a-synchronous-rather-than-asynchronous-ajax-req
Of course, if you have to wait for a response, it may be worth simply
doing a normal post rather than using ajax.
mxAjax
Thanks for the tip, James...
I tried to use the setting async: false in the ajax parameters,
but that didn't seem to have any effect.
I wish I could somehow let the image processing continue even if the
close button on the success dialog is clicked. But that causes the
processing to stop.
It
I took a look at the technique discussed at the link and it
is just using BlockUI to put up an overlay which blocks screen
interaction. However, the problem is, the timing of the disappearance
of the overlay is arbitrary...at least as far as I could tell.
There's no way to start it and stop it
Rick...
Are you using the GET/POIST methods, or using the AJAX methods from within
jQuery?
AJAX is gonna be your best bet as it's got more options.
andy
-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com]
Sent: Tuesday, September 22, 2009 10:13 PM
To: cf-talk
It's $.ajax and post method.
So far, I haven't been able to figure any way to cause the
$.ajax call to wait for the images to be processed before continuing.
I've look at ajaxComplete, ajaxSuccess, using cfthread in the cfc method,
breaking the script into two parts, using async:false setting
async: false should be doing the job.
To be sure, your code looks something like that example:
jQuery.ajax({
url:'http://example.com/catalog/create/'
+ targetNode.id
+ '?name='
+ encode(to.inp[0].value),
success:
53 matches
Mail list logo