User Profile

Collapse

Profile Sidebar

Collapse
Blackmore
Blackmore
Last Activity: Jan 17 '09, 10:55 PM
Joined: Mar 23 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Blackmore
    started a topic Transform XML data to Coldfusion structure
    in XML

    Transform XML data to Coldfusion structure

    I want to be able to transform the contents of an XML file into a coldfusion structure, with structure elements named by the XML node names.

    XML structure:

    <text>
    <node1>Node1 data</node1>
    <node2>Node2 data</node2>
    </text>

    Coldfusion structure required:

    struct.node1="N ode1 data"
    struct.node2="N ode2 data"...
    See more | Go to post

  • The code text I am using is:

    Code:
    <cfinput type="submit" name="Next" width="120px" value="   #myforms.next#   ">
    Where #myforms.next# is an XML expression relevant to the word for 'next' in the language specified by the user. Of course, this means that the value of next returned in the form structure is that for the specified language (i.e. in French the word for next is 'Apres')....
    See more | Go to post

    Leave a comment:


  • Blackmore
    started a topic Label cfinput submit controls using xml

    Label cfinput submit controls using xml

    I want to change the language of the word that appears on a cfinput submit control. I can control the word that appears on the control using the 'value' parameter. However, when I try to use an xml text expression to give a value to the 'value' paramater, I get alot of stuff surrounding the word that I do not want.

    For example:

    <?xml version="1.0" encoding="UTF-8"?><next>Apres </next>...
    See more | Go to post

  • Blackmore
    started a topic Link to javascript functions

    Link to javascript functions

    I'd like to screate a link to my javascript functions, such that they do not appear in the page source code and users cannot tamper with them. I've noticed that other websites appear to be able to this usings commands such as:

    [HTML]<SCRIPT src="folder/functions.js" type=text/javascript></SCRIPT>[/HTML]

    However, when I try this it does not work. Can anyone explain what I need to do to make this...
    See more | Go to post

  • Blackmore
    replied to Animating flashing text
    I don't appear to be able to make this work. It appears logical enough to me. I've tried the code as suggested. I tried changing the colour of the text to highlight the effect. Unfortunately, it does appear any different from the text without the text-decoration setting.

    I am using a CSS style on the text and I am manipualting that in the tag. I'm not sure if that will have anu effect?
    i.e.

    Code:
    <div class="css_style"
    ...
    See more | Go to post

    Leave a comment:


  • Blackmore
    started a topic Animating flashing text

    Animating flashing text

    I'd like to animate some of the text on my website, such that in certain instances it appears to flash on and off as if it were a flashing bulb. Could anyone suggest the most efficient way of doing this?

    Regards

    Blackmore
    See more | Go to post

  • Blackmore
    started a topic Form textarea element

    Form textarea element

    In some of my online forms, I have a number of large 'textarea' cfinput elements that I have provided to allow the user to enter large amounts of text onto a MS Access database. I have made the 'textarea' cfinput elements deliberately large to allow the user to enter the text in paragraphs, within the 'textarea' elements using the Return key.

    However, when the text is returned to the screen from the database the carriage returns are...
    See more | Go to post

  • Blackmore
    replied to Firefox Error Message
    To be honest I'm not sure? When I set-up my page files in Dreamweaver the file property content is that which appears by default. Do you have a source to guidance that explains what file properties are required for what I might be attempting to do in each page?

    Another example; I've seen things like:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    OR

    <!DOCTYPE...
    See more | Go to post

    Leave a comment:


  • Blackmore
    started a topic Firefox Error Message

    Firefox Error Message

    I am posting this question on the Javaxript forum as I suspect it has something to do with a Javascript issue.

    When accessing my website with Firefox, the webpages produce the following error message:

    <%@ page contentType="te xt/html; charset=iso-8859-1" language="java" import="java.sq l.*" errorPage="" %>

    Can anyone explain why this is happening and how I can...
    See more | Go to post

  • Blackmore
    replied to Microsoft Vista and Access Database
    I add the datasource in the Coldfusion administrator....
    See more | Go to post

    Leave a comment:


  • Blackmore
    started a topic Microsoft Vista and Access Database

    Microsoft Vista and Access Database

    I developed a Coldfusion based website that makes use of a Microsoft Access database with an ODBC driver connection. It appears that the ODBC driver does not work properly with the Microsoft Vista operating system. I would like to be able to develop my website further with a new computer I have just bought that operates with MS Vista.

    Does anyone have a solution to this problem?
    Is there another method for connecting to the...
    See more | Go to post

  • Blackmore
    started a topic Microsoft Vista and Access Database

    Microsoft Vista and Access Database

    I developed a Coldfusion based website that makes use of a Microsoft Access database with an ODBC driver connection. It appears that the ODBC driver does not work properly with the Microsoft Vista operating system. I would like to be able to develop my website with a new computer I have just bought that operates with MS Vista.

    Does anyone have a solution to this problem?
    Is there another method for connecting to the MS Access...
    See more | Go to post

  • Blackmore
    started a topic Augmenting hyperlink with javascript

    Augmenting hyperlink with javascript

    I have tried to enhance the functionality of my website by adding some javascript functions to augment my hyperlinks. I have not removed the hyperlink as I am conscious that some browsers may have javascript disabled. So the server call needs to be retained if this is the case.

    However, if javascript is not disabled I would like to cancel the hyperlink. Otherwise the link will effectively do the same thing twice; once on the client...
    See more | Go to post
    Last edited by acoder; Sep 13 '07, 01:56 PM. Reason: Added language to code tag

  • Blackmore
    started a topic Delete predictive text in form element

    Delete predictive text in form element

    The text <cfinput> elements in my forms retain the previous values that I have typed in, appearing in a drop-down list under the text element. I would like to remove this feature from the form text elements. Could anyone advise me on how best to remove this predictive text feature from my form elements.

    Regards

    Blackmore
    See more | Go to post

  • Blackmore
    started a topic Problems with array in form object

    Problems with array in form object

    For multiple records of a similar type in a database query, I am attempting to define some checkbox form elements from the query using an array:

    [CODE=cfm]
    <cfset temp=ArrayNew(1 )>
    <cfset i=1>
    <cfloop query="myQuery" >
    <cfset temp[#i#]=#myQuery.colNa me#>
    <cfinput type="checkbox" name="temp[#i#]" value="#temp[i]#"/>...
    See more | Go to post
    Last edited by acoder; Sep 12 '07, 11:43 AM. Reason: fixed code tags

  • I am using Coldfusion MX7.

    The sessiontimeout value is set at 10 seconds, but it is not set within a cfapplication tag. I've set it in the application.cfc .
    i.e.

    Code:
    <cfcomponent>
      <cfset this.sessiontimeout="#createtimespan(0,0,0,10)#" >
    <cfcomponent>
    One question you might be able to answer
    What is the scope of the cflogin structure? Is the lifetime...
    See more | Go to post

    Leave a comment:


  • Securing Coldfusion application using cflogin

    Following the guidance contained in Dreamweaver, I have declared a cflogin tag in the application.cfc file. This declaration contains an idletimeout setting of 10 seconds (N.B. 10 seconds for development purposes only).

    [CODE=cfm]
    <cflogin idletimeout="10 ">

    <cfif Not IsDefined("cflo gin")>
    <cfinclude template="./loginform.cfm">
    <cfelse>...
    See more | Go to post
    Last edited by acoder; Sep 1 '07, 11:11 AM. Reason: fixed code tag

  • That works fine when I define the variable explicitly. However, I am actually attempting to define the variables by referencing values in a structure.
    e.g.

    [CODE=cfm]<cfloop index="tmpVar" list="#struct.s tr1#,#struct.st r2#">
    <cfinput type="checkbox" name="myName" value="#tmpVar# ">
    <cfoutput>#tmpV ar#</cfoutput>
    </cfloop>...
    See more | Go to post
    Last edited by acoder; Aug 31 '07, 06:13 AM. Reason: Added code tags

    Leave a comment:


  • I've tried that aswell, and I get the same result.

    Blackmore...
    See more | Go to post

    Leave a comment:


  • Blackmore
    started a topic Reference variable in cfinput checkbox value

    Reference variable in cfinput checkbox value

    I am attempting to loop through a list of string variables to define the values in a group of checkboxes. However, I am having difficulty writing the correct syntax, as the following syntax produces the output shown:

    [CODE=cfm]<cfloop index="tmpVar" list="Str1,Str2 ">
    <cfinput type="checkbox" name="myName" value=#tmpVar# />
    <cfoutput>#tmpV ar#</cfoutput>...
    See more | Go to post
    Last edited by acoder; Aug 29 '07, 10:33 AM. Reason: Code in tags
No activity results to display
Show More
Working...