Almost working correctly.
When the page first loads, I get an alert:
The GROUPS_ID argument passed to the get is not of type numeric
If I dismiss the alert, then the page functions normally after that and
the correct description shows up depending on what you select in
sendGROUP. Ideas?
hey guys i have an array like below to render a 2nd select box based
on first select box
it continues 0-20
var sidewalls_Quantity#rsTS8.specs_partnum#=new Array()
sidewalls_Quantity#rsTS8.specs_partnum#[0]=[0|0]
sidewalls_Quantity#rsTS8.specs_partnum#[1]=[0|0, 1|1]
cfloop index=i from=0 to=20
sidewalls_Quantity[#i#]=[cfloop index=x from=0
to=#i##x#|#x#, /cfloop]br /
/cfloop
is close.
but put the comma at end
sidewalls_Quantity[0]=[0|0, ]
sidewalls_Quantity[1]=[0|0, 1|1, ]
sidewalls_Quantity[2]=[0|0, 1|1, 2|2, ]
sidewalls_Quantity[3]=[0|0, 1|1, 2|2, 3|3,
Well as you loop on the 0, 1, 2, spitting out 0|0, 1|1, 2|2, etc...
Why not, before the loop, create a variable, and do a ListAppend on it
each time?
like
cfset listVar = ''
cfloop from=0 to=20 step=i
cfset sidewalls_Quantity[i] = new Array()
cfset thisValue = #i#|#i#
cfset listVar =
cfloop index=i from=0 to=20
cfset innerVal = ''
cfloop index=j from=0 to=#i#
cfset innerVal = innerVal '#j#|#j#'
cfif j NEQ i
cfset innerVal = innerVal ,
/cfif
/cfloop
sidewalls_Quantity[#i#]=[#innerVal#]br /
/cfloop
Jake Churchill
CF Webtools
11204 Davenport, Ste.
Jake thats pretty slick! Scott i appreciate the help.
On Thu, May 14, 2009 at 10:00 AM, Jake Churchill j...@cfwebtools.com wrote:
cfloop index=i from=0 to=20
cfset innerVal = ''
cfloop index=j from=0 to=#i#
cfset innerVal = innerVal '#j#|#j#'
cfif j NEQ i
cfset innerVal =
also.. i cant put cf inside js?
or can i?
the loop works fine out side script type=text/javascript/script
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
You can put CF inside JS. You just have to look at the rendered source to
make sure it's correct. It usually takes me a couple tries but it always
works in the end.
Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE 68154
http://www.cfwebtools.com
402-408-3733 x103
-Original
Paul Ihrig wrote:
also.. i cant put cf inside js?
or can i?
You can use CFML to Build JS quite easily, but they don't run at the
same time.
1st CF runs and builds the JavaScript
2nd The Code is sent from the ColdFusion server to the web server
3rd The Code is sent from the Web Server to
I'm guessing that the API is technology neutral (Java, PHP, CF, etc.) since
it accepts WSDL/SOAP requests. Is this accurate?
I'm also weighing a build or buy decision with regard to a data connector
between Salesforce and our ERP system (Pervasive SQL database). If I have a
working knowledge of
You can put CF inside JS.
That one of the places where CFML really shines. I remember (a painful
memory) having to work on a site where the original author was generating JS
using PHP and concatenated the JS with PHP. Mixing two C style languages is
enough to make your eyes spin in different
Hi All,
We're running an application on a SunOS box that uses CFFILE to allow users to
upload image files: nameconflict=makeunique and mode=777 (yes, I know.
Bad, bad, bad using 777). When the file gets uploaded, however, the
permissions end up being 600! This makes it impossible for
I have a quick question.
I have a required radio button in the form with the cfoutput group up with
the query:
cfform
cfoutput Query=Qry1 group=EmpName
cfinput type=radio name=Prod1 value=#ID# required=true message=You
need to select option/#EmpName#
/cfoutput
cfinput type=submit
Your previous button is a submit button - it's submitting the form so
running the validation code. You need to use a button instead.
-Original Message-
From: Priya Koya [mailto:priya23...@gmail.com]
Sent: 14 May 2009 17:02
To: cf-talk
Subject: cfform
I have a quick question.
I
I have an application file that requires users to login prior to accessing any
of the pages in the directory. The first time that a user uses IE, it works
great and they have to log in. However, it doesn't seem to log them out when
they close the browser. The next time they open the browser,
The session will end when the user closes the browser if you've
enabled J2EE sessions in the CF admin or if you've written code to
convert the cookies to be session based. Are either of those things
the case?
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
I have Use J2EE Session Variables checked, as well as Enable Application
Variables and Enable Session Variables. I don't have any code dealing with
cookies at this point. Perhaps I have to manipulate the default and maximum
timeout for the Application variables in the administrator? BTW, I
Thanks for your response but if I use button it is not going to the previous
page.
Priya.
Your previous button is a submit button - it's submitting the form so
running the validation code. You need to use a button instead.
I have a quick question.
I have a required radio button in the
thanks guys
i had a BR that wasnt needed.
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
It looks like IE is doing something strange, like storing login
fields. Which version of IE is involved?
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/5/15 Brian Bradley bbrad...@plrb.org:
I have Use J2EE Session Variables checked, as well as Enable
Hello folks:
Thanks to all who replied--I really appreciate your thoughts and insights on
the issue.
Here is the latest development on my fascinating CFQueryparam issue:
1. I have gone through the error messages on this issue, and none of them
has bad data coming in. Which is to say, all the
Can you not assign an action to the button using js?
function previousPage() {
window.location.href = index.cfm;
}
input type=button value=Previous onClick=previousPage()
-Original Message-
From: Priya Koya [mailto:priya23...@gmail.com]
Sent: 14 May 2009 17:45
To: cf-talk
sorry.. I was thinking something else... I got it by using Button...
Thanks,
Priya
Thanks for your response but if I use button it is not going to the previous
page.
Priya.
Priya
~|
Want to reach the ColdFusion community
Try setting the bindOnLoad to false
cfdiv bindOnLoad=false.
On Thu, May 14, 2009 at 8:06 AM, Les Mizzell lesm...@bellsouth.net wrote:
Almost working correctly.
When the page first loads, I get an alert:
The GROUPS_ID argument passed to the get is not of type numeric
If I dismiss
2. The incoming data is supposed to be for an ID column, which is of VARCHAR
data type in the database, and it auto increments. It is not designed to be
hexadecimal, so I can't imagine the translated value standing for any
hexadecimal either--well, at least there is no instruction on either
I'm guessing that the API is technology neutral (Java, PHP, CF, etc.) since
it accepts WSDL/SOAP requests. Is this accurate?
Yes, although CF's default web services interface is a little too
simple to do everything you need directly. That said, you can do it
all from CF; I'm giving a
IE7 IE8 are both doing it.
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
LOL I am glad that you asked about the VARCHAR auto increment, Dave.
It is an interesting story (everybody grab some hot cocoa, please): Well,
(most) iMIS tables have a VARCHAR identity field which need to
auto-increment like an integer. To achieve that, there is table which
stores the next ID
The user changed it maybe?
Adrian
-Original Message-
From: Qing Xia [mailto:txiasum...@gmail.com]
Sent: 14 May 2009 20:30
To: cf-talk
Subject: Re: my cfqueryparam grievance
But still, it is interesting to ponder whatever happened to my data,
and
why, of all things, everything
I wish--but the value is a ID value passed back in a query recordset and
there is no way how users can manually pass it in.
On Thu, May 14, 2009 at 3:39 PM, Adrian Lynch cont...@adrianlynch.co.ukwrote:
The user changed it maybe?
Adrian
-Original Message-
From: Qing Xia
James Holmes wrote:
The session will end when the user closes the browser if you've
enabled J2EE sessions in the CF admin or if you've written code to
convert the cookies to be session based. Are either of those things
the case?
The session *NEVER* ends when the browser closes. If one is
Hi
Flex is new to me but I'm having fun setting up a datagrid with a CF
dataprovider.
It works well so far and I have the CRUD functionality I need, however if
possible I'd like to add a system of undo/redo on the grid.
I was thinking of maybe intercepting each query in the cfc and
Ian Skinner wrote:
A message with large sections of entire sentances missing...
The session *NEVER* ends when the browser closes. The browser does not
send some message to all the web sites it has visited telling them it is
closing down. If one is using J2EE jsesssionid cookies or one has
I thought you said it was a cookie value?
-Original Message-
From: Qing Xia [mailto:txiasum...@gmail.com]
Sent: 14 May 2009 20:43
To: cf-talk
Subject: Re: my cfqueryparam grievance
I wish--but the value is a ID value passed back in a query recordset
and
there is no way how
Hey all,
I am venturing into using postgres for the first time. I have read that you
can setup postgres to accept network connections, but I can't find a sample
on the internet on how to do it. Currently only accepting localhost. Any
ideas?
Thanks,
William
read my blog post on setting up and upgrading PostgreSQL.
http://www.trunkful.com
Wil Genovese
One man with courage makes a majority.
-Andrew Jackson
A fine is a tax for doing wrong. A tax is a fine for doing well.
On May 14, 2009, at 3:01 PM, William Seiter wrote:
Hey all,
I am
Flex is new to me but I'm having fun setting up a datagrid with a CF
dataprovider.
It works well so far and I have the CRUD functionality I need, however if
possible I'd like to add a system of undo/redo on the grid.
I was thinking of maybe intercepting each query in the cfc and
I am confused though. Why is IE ignoring the isDefined? I am saying
isDefined(login) but if that variable hasn't been set why is it ignoring it. I
must be missing something...
~|
Want to reach the ColdFusion community with
On Thu, May 14, 2009 at 10:01 PM, William Seiter wrote:
I am venturing into using postgres for the first time. I have read that you
can setup postgres to accept network connections, but I can't find a sample
on the internet on how to do it. Currently only accepting localhost. Any
ideas?
Ah yes! You are right--that ID value, after being returned in the query
recordset, does get set in cookie scope, and that is where my cfqueryparam
tag gets it from, in cookie scope.
So, yeah, it is possible that users could have manipulated that cookie
value... But then, with so many users (i
Maybe it's happening in code. Do a search for the variable and make sure you
don't find something like:
cfset COOKIE.something = a COOKIE.something
Stranger things have happened :OD
Adrian
-Original Message-
From: Qing Xia [mailto:txiasum...@gmail.com]
Sent: 14 May 2009 21:33
To:
Brian Bradley wrote:
I am confused though. Why is IE ignoring the isDefined? I am saying
isDefined(login) but if that variable hasn't been set why is it ignoring it.
I must be missing something...
IE can't ignore the IsDefnind(), it knows nothing about it! This is a
client|server
It looks like IE is doing something strange, like storing login
fields. Which version of IE is involved?
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/5/15 Brian Bradley bbrad...@plrb.org:
I have Use J2EE Session Variables checked, as well as
Oops, hit the enter key accidentally...
Brian,
Can you turn on Debugging and have it show all of the variables scopes? This
might help you figure out where the session id is coming from. Pay particular
attention to the cookie scope.
Also, check your Application.cfm/cfc for
I just heard about the paypal changes..
http://www.pdncommunity.com/pdn/board/message?board.id=payflowthread.id=6807http://www.pdncommunity.com/pdn/board/message?board.id=payflowthread.id=6807
Starting Sept 1 none of my paypal sites will wok:)
I have a bunch of websites on cfmx 7.
I have an application where a component in one directory wants to extend a
component from a previous directory. Normally you would need to either write
the extend path from the root or from a mapped location
examples:
root.dir1.dir2.component
mapped_location.dir2.component
Is there a way
Unfortunately, no. :-(
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322539
If you mean Payflowpro then there are 2 fast solutions that do not require a
new Java install:
1. CF_PayFlowPro (http://cf_payflowpro.riaforge.org)
This is a component that literally drops into place where the Payflowpro
CFXC tag was. I used it for a client and it took all of 1 minute to put in
48 matches
Mail list logo