I'm new to Flash Forms and wanted to know if anyone knows how to get values to display to be selected for radio buttons and mult-select select boxes? The usual cfif logic inside of the value or selected attributes does not seem to work.
I am building a Flash Form using CFMX 7. Most of the functionality is great except the checkboxes. I want to know if anyone else has run into similar issues:
1. The cfinput tag with type set to checkbox is difficult (at best) to validate
2. Why does it (checkbox) pass values of true and...
I am using the following code to create a token to pass to another part of my application:
<cffunction access="public" name="createToken" output="false" returntype="string" hint="Creates a token.">
<cfscript>
//create token generator instance
myInstance = CreateObject("Java"...
I am having problems displaying data in the IE browser I am returning info from the database and it seems that if the field contains "" in it (e.g. "This is a test" ) the text within double quotes will not display. This data displays fine in Firefox, but not IE. Any ideas how I can display my...
I have created a cfc that passes back a structure. My problem is getting the structSort function to pass back all of the values here is the code that I have to create the sort
<!--- now create an array and sort the values --->
<cfset arrOrderedEvents =...
I created a calendar which has three modes of display:
1. Monthly - everyday of the month has a pale yellow background while the current date has a dark yellow background.
2. Weekly - the current day has a dark yellow background the rest of the week of the current day is pale yellow and the...
I am looking for a piece of code or insight on how to write something that can determine the start date and end date for a given week of the month. For instance, if I select today's date (6/30/2005). I should have two numbers returned 26 and 30 (representing Sunday 6/26 and Thursday 6/30)...
How do I refresh a page and send a form variable using a select drop down box? I have a calendar application that uses a drop down box (Jan - Dec of current year) and on selecting a new month, the calendar should change. The old version of the calendar used links to update the calendar. Any...
I downloaded an entire website to my local drive so that I can make changes without disturbing the main site. I am having problems with mapping the links and images. Whenever I use a relative path /images/myImage.gif, my local version (http://localhost:8500/...) of the site cannot find the...
I just downloaded a copy of CFMX and tried to go to the admin page, here is what I get:
avax/crypto/CipherSpi
Please Try The Following:
* Check the CFML Reference Manual to verify that you are using the correct syntax.
* Search the Knowledge Base to find a solution to your problem...
In CFMX 7, there is functionality in the cfsearch tag that will display suggested spellings of search term if it does not get enough hits on a search. I don't think this is the case for CFMX 6.1. Does anyone know how to duplicate this functioanlity for CFMX 6.1?
Thanks
I have been a web developer for the past seven years. Though I enjoy it, I want to branch out into security. I want to move away from web development more into application and network security. I am currently taking classes at DePaul University focused on network security, e-commerce security...
I am using a cfstoredproc tag in the followign way:
<cfstoredproc datasource="#dsname#" procedure="Compute_Discount">
<cfprocparam type="in" cfsqltype="cf_sql_varchar" value="57408" dbvarname="p_order_id_disc_type">
</cfstoredproc>
I get an ORA-01008 error whenever I run this in CF, but I...
Does anyone know how to use a sequential value in an insert/select statement, or a work around. I am testing an insert select statement:
insert into table_a(id, description, price, quantity, discount)
select id_seq.nextval, a.description, b.price, b.quantity
from my_table a, your_table b
where...
I am looking for a way to speed up a database transactions. I am using CFMX on the front end and an Oracle 9i db on the back end. Currently, I am using multiple loops to get the data I need in the format I want to populate one table. This is not very efficient and it's also pretty slow. I am...
I am working on some javascript that assigns dynamic field names and values. I use the dynamic values to calculate a price, which works, but the price changes by the checked amount (except zero) whehever a user checks or unchecks the field. I want to be able to add the form field name with the...
I am looking for a way to optimize the queries for a website I am working on. I am displaying a page with a bunch of products. The page includes:
1. Product id
2. Product name
3. Prices (depends on the customers status but there 5 different prices for each product)
4. text field to hold...
I need to run an Oracle function in CFMX. Is there another way to run a function other than selecting from dual and the cfstoredproc tag? I run into two problems respectively:
1. When selecting from dual, the function I am using calls another function behind the scenes is suppose to populate...
I am using CFMX and Oracle 9i to create a website. I have an application that needs to call a function. For most of the function I can do a Select from dual statement:
<cfquery name="foo" datasource="ds">
Select function_myfunc(#parameter1#) from dual
</cfquery>
And it will return the...
I need to know how do I execute an Oracle (9i) function inside of a CFMX page. I know how to use functions Selecting from dual:
<cfquery name="myQuery" datasource="ds">
Select My_Function(#cfVar#) From dual
</cfquery>
However, the function I am using calls another function inside which...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.