Using ColdFusion validateAt "onServer"

Is there a way to customize the look and feel of the error
page that appears when a CFFORM fails OnServer validation?
By default, it's just an ugly grey box with some terse text
and a link back to the form.
I'd like to be able to at least wrap in within the UI
framework of my site, if not completely customize the message.
I know I could write my own validation routines... but
onServer seems to work perfectly for my use, so I'd hate to have to
reinvent the wheel.
Anybody?
Thanks in advance,
-Carl

Is there a way to customize the look and feel of the error
page that appears when a CFFORM fails OnServer validation?
By default, it's just an ugly grey box with some terse text
and a link back to the form.
I'd like to be able to at least wrap in within the UI
framework of my site, if not completely customize the message.
I know I could write my own validation routines... but
onServer seems to work perfectly for my use, so I'd hate to have to
reinvent the wheel.
Anybody?
Thanks in advance,
-Carl

Similar Messages

  • How do you construct a web form using coldfusion??

    How do you construct a web form using coldfusion?? any
    examples?
    thanks in adv.

    A sample Form:
    <cfform action="CCARProc.cfm"
    enctype="multipart/form-data" method="post" name="CCAR"
    onsubmit="return verify()">
    <table width="730" border="0" cellpadding="2"
    cellspacing="1" align="center" class="unnamed1">
    <!--DWLayoutTable-->
    <tr valign="top">
    <td colspan="3" bgcolor="#F2F2F2">Name Of
    Requester(<font color="red">*</font>)</td>
    <td width="402" bgcolor="#F2F2F2"><cfinput
    type="text" name="Requestor_Name" size="15" value="#REQNAME#"
    maxlength="25" >
     MTABT Email(<font
    color="red">*</font>) 
    <cfinput name="Req_Email" type="text" size="8"
    maxlength="20" value="#ReqEmail#"
    >@mtabt.org</td></tr>
    <tr>
    <td colspan="3">Requester Telephone #(<font
    color="red">*</font>) </td>
    <td><cfinput type="text" VALUE="#REQPHONE#"
    name="RPhone" size="12" maxlength="12" message="Requester Phone
    cannot be blank / Invalid Entry!" required="yes"
    validate="telephone"> [e.g. xxx xxx xxxx or
    xxx-xxx-xxxx]</td>
    </tr>
    <tr>
    <td colspan="3" bgcolor="#F2F2F2">Facility(<font
    color="red">*</font>)</td>
    <td bgcolor="#F2F2F2">
    <cfselect name="Facil">
    <option value="2B">2B </option>
    <option value="BBT">BBT </option>
    <option value="BW">BW </option>
    <option value="CB">CB </option>
    <option value="HH">HH </option>
    <option value="MP">MP </option>
    <option value="QMT">QMT </option>
    <option value="RI">RI </option>
    <option value="TM">TM </option>
    <option value="TB">TB </option>
    <option value="TN">TN </option>
    <option value="VN">VN </option>
    </cfselect>
    </td>
    </tr>
    <tr>
    <td colspan="3">Department(<font
    color="red">*</font>)</td>
    <td><cfselect name="Dept">
    <option value="Contracts">Contracts </option>
    <option value="Engineering">Engineering
    </option>
    <option value="Executive Office">Executive
    Office</option>
    <option value="Finance">Finance </option>
    <option value="General Counsel">General Counsel
    </option>
    <option value="HS">HS </option>
    <option value="HR">HR </option>
    <option value="ISD">ISD</option>
    <option value="Legal">Legal </option>
    <option value="Labor Relations">Labor Relations
    </option>
    <option value="Operations">Operations </option>
    <option value="Payroll">Payroll </option>
    <option value="Planning & Budget">Planning &
    Budget </option>
    <option value="Procurement & Mtrl">Procurement
    & Mtrl </option>
    <option value="Purchasing">Purchasing </option>
    <option value="Revenue Management">Revenue Management
    </option>
    <option value="Staff Services">Staff Services
    </option>
    <option value="SD">SD</option>
    <option value="Technology">Technology</option>
    </cfselect></td>
    </tr>
    <tr>
    <td colspan="3" bgcolor="#F2F2F2">Division(<font
    color="red">*</font>)</td>
    <td bgcolor="#F2F2F2"><cfinput name="Div"
    type="text" size="20" maxlength="25" VALUE=""></td>
    </tr>
    <tr valign="top">
    <td height="27" colspan="3" >Justification(<font
    color="red">*</font>)</td>
    <td bgcolor=""><textarea name="Justi" cols="50"
    rows="3" wrap="VIRTUAL" ></textarea> </td>
    </tr>
    <tr>
    <td colspan="3" bgcolor="#F2F2F2">VP Approval
    By (<font color="red">*</font>)</td>
    <td bgcolor="#F2F2F2"><cfinput name="VPAppFName"
    type="text" size="20" maxlength="25" VALUE="#VPFName#">
         MTABT
    Email(<font color="red">*</font>) 
    <cfinput name="VPE" type="text" size="8" maxlength="20"
    value="#VPEmail#" >@mtabt.org</td>
    </tr>
    <tr>
    <td colspan="3" valign="top"
    bgcolor="#F2F2F2"></td>
    <td colspan="2" rowspan="2" valign="top"
    bgcolor="#F2F2F2"><div align="left">
    <input name="Submit" type="submit" value="SubmitTheForm"
    class="button"
    style="font-size='10pt';color='#663399';font-face='Arial,
    Helvetica, sans-serif';" >
    <input name="Reset" type="reset" value="ReSetTheForm"
    class="button"
    style="font-size='10pt';color='#663399';font-face='Arial,
    Helvetica, sans-serif';">
    </div></td>
    <td width="90" valign="top"
    bgcolor="#F2F2F2"></td>
    </tr>
    </table>
    <div align="right"><span class="style4">Revised(
    01.28.05 )</span>
    <input name="submitDate" type="hidden"
    value="<cfoutput>#DateFormat(Now(),'mm/dd/yy')#</cfoutput>">
    </div>
    </cfform>

  • I can't figure out how to use coldfusion debugging on a remote server

    I can't figure out how to use coldfusion debugging on a CF
    installation on a remote server. Has anyone got experiance, I can't
    find any step by step instructions on how to do this using FLEX
    BUILDER 3

    Look at Chapter 13 of the iPad iOS4.3 User Guide

  • How do I create a kerberos ticket using coldfusion

    I have 3 apps on our intra net that require authentication and would like to use kerberos to accomplish this. This is my set up.
    users log in to the network and authenticate via active directory (all windows based) , Our web apps are on a box running solaris 10, weblogic app server, cf 9 and oracle 11g.  A group of our web apps on this sever require users to authenticate through oracle (not the web / app server).
    I can authenticate with kerberos via a putty session on the server with no problems.
    USEING COLDFUSION, how do i request a kerberos ticket and pass the necessary credentials to authenticate.?
    can this be done.?
    I am looking for a CODE SAMPLE OF HOW DO THIS IN A UNIX environment  NOT WINDOWS.
    I appologize for the frustrated tone of this post. However, after a week of reading documentation til my eyes bleed, to end up chasing my tail with no truly help info............
    TIA
    JB

    This is something your web server should do, not CF. Configure your web server to participate in the Kerberos realm. If WebLogic is the web server (and not just the application server) configure that:
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/secmanage/sso.html
    If you have WebLogic configured to use Apache as a web server, configure that:
    http://modauthkerb.sourceforge.net/
    http://support.microsoft.com/kb/555092
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • How Do I Print my reports Horizontally using Coldfusion Report Builder

    Hi-
    I want to print my reports Horizontally rather vertically using Coldfusion Report Builder. I am using a very simple query
    SELECT
          Zones.Zone_id,
          Zones.Zone_name,
         Count(employees.cnic) as Employees
    FROM Zones, Employees
    WHERE Zones.zone_id=Employees.zone_id
    GROUP BY Zones.zone_name
    Or say Daily/Monthly Zone Sale with Zones in Rows and Dates/Months in Columns
    Thanks
    Tayyab Hussain

    Have a look at my response to your post in the Report Builder sub-forum.

  • How to remove white spaces from XML content using Coldfusion?

    Hi,
    Can anybody help me in removing white spaces in between the tags from the below XML content using coldfusion?
    XML content:
    <?xml version="1.0" encoding="UTF-8"?> <chart showdates="true" today="08/12/2009"> <phases> <phase color="CCFFCC" name="Funded"/> <phase color="CDCD67" name="Concept"/> <phase color="99CCFF" name="Feasibility"/> <phase color="0099FF" name="Development"/> <phase color="0099FF" name="Development"/> <phase color="CC99FF" name="Close-out"/> <phase color="909090" name="Sustaining"/> </phases><program name=""> <project enddate=" 30/03/2007 " id="43250" startdate=" 28/02/2006 "> <version enddate=" 30/03/2007 " number=" 1" startdate=" 28/02/2006 "> <phase color="CCFFCC" currentdate="23/03/2006" name="Project Start" plandate="28/02/2006" type="phase"/> <phase color="99CCFF" currentdate="04/04/2006" name="Feasibility Closure" plandate="31/05/2006" type="phase"/> <phase color="0099FF" currentdate="29/03/2007" name="Commercialization" plandate="30/12/2006" type="phase"/> <phase color="CC99FF" currentdate="30/03/2007" name="Project Closed" plandate="30/03/2007" type="phase"/> <phase color="909090" currentdate="" name="Obsolescence" plandate="" type="phase"/> </version> </project> </program> </chart>
    Output I am expecting is like below,
    <?xml version="1.0" encoding="UTF-8"?><chart showdates="true" today="08/12/2009"><phases><phase color="CCFFCC" name="Funded"/><phase color="CDCD67" name="Concept"/><phase color="99CCFF" name="Feasibility"/><phase color="0099FF" name="Development"/><phase color="0099FF" name="Development"/><phase color="CC99FF" name="Close-out"/><phase color="909090" name="Sustaining"/></phases><program name=""><project enddate=" 30/03/2007 " id="43250" startdate=" 28/02/2006 "><version enddate=" 30/03/2007 " number=" 1" startdate=" 28/02/2006 "><phase color="CCFFCC" currentdate="23/03/2006" name="Project Start" plandate="28/02/2006" type="phase"/><phase color="99CCFF" currentdate="04/04/2006" name="Feasibility Closure" plandate="31/05/2006" type="phase"/><phase color="0099FF" currentdate="29/03/2007" name="Commercialization" plandate="30/12/2006" type="phase"/><phase color="CC99FF" currentdate="30/03/2007" name="Project Closed" plandate="30/03/2007" type="phase"/><phase color="909090" currentdate="" name="Obsolescence" plandate="" type="phase"/></version> </project></program></chart>
    Thanks in advance,
    Regards,
    Manoz.

    Daverms,
    Thanks for the quick turn around..
    I have applied the solution what you suggested above (<cfprocessingdrirective suppresswhitespaces="yes"), still whitespaces are existing in my output.
    The output what I am getting is,
    (blue color part is my output & red color indicates whitespaces)
    <?xml version="1.0" encoding="UTF-8"?>
    <chart showdates="true" today="09/12/2009">
    <phases>
    <phase color="CCFFCC" name="Funded"/>
    <phase color="CDCD67" name="Concept"/>
    <phase color="99CCFF" name="Feasibility"/>
    <phase color="0099FF" name="Development"/>
    <phase color="0099FF" name="Development"/>
    <phase color="CC99FF" name="Close-out"/>
    <phase color="909090" name="Sustaining"/>
    </phases>
    <program name="">
    <project enddate=" 01/01/2010 " id="12059" startdate=" 20/06/2003 ">
    <version enddate=" 01/01/2010 " number=" 1" startdate=" 20/06/2003 ">
            <phase color="CCFFCC" currentdate="20/06/2003" name="Project Start" plandate="20/06/2003" type="phase"/>
            <phase color="CDCD67" currentdate="" name="Concept Closure" plandate="" type="phase"/>
            <phase color="99CCFF" currentdate="20/06/2003" name="Feasibility Closure" plandate="20/06/2003" type="phase"/>
            <phase color="F0FF00" currentdate="" name="Alpha Test" plandate="" type="milestone"/>
            <phase color="F0FF00" currentdate="26/07/2004" name="Beta Test" plandate="31/05/2004" type="milestone"/>
            <phase color="0099FF" currentdate="29/06/2005" name="Commercialization" plandate="08/12/2004" type="phase"/>
            <phase color="CC99FF" currentdate="24/02/2006" name="Project Closed" plandate="01/01/2010" type="phase"/>
            </version>
    <subproject enddate=" 16/10/2008 " id="11809" name="espWatcher Pricing Toolkit" startdate=" 01/08/2003 ">
    <version enddate=" 16/10/2008 " number=" 1" startdate=" 01/08/2003 ">
            <phase color="CCFFCC" currentdate="01/08/2003" name="Project Start" plandate="01/08/2003" type="phase"/>
            <phase color="99CCFF" currentdate="" name="Feasibility Closure" plandate="" type="phase"/>
            <phase color="0099FF" currentdate="15/06/2005" name="Commercialization" plandate="08/12/2004" type="phase"/>
            <phase color="CC99FF" currentdate="16/10/2008" name="Project Closed" plandate="16/10/2008" type="phase"/>
            </version>
    </subproject>
    <subproject enddate=" 31/12/2070 " id="35704" name="espWatcher version 2 (2005)" startdate=" 01/01/2005 ">
    <version enddate=" 31/12/2070 " number=" 1" startdate=" 01/01/2005 ">
            <phase color="CCFFCC" currentdate="01/01/2005" name="Project Start" plandate="01/01/2005" type="phase"/>
            <phase color="99CCFF" currentdate="01/07/2005" name="Feasibility Closure" plandate="01/07/2005" type="phase"/>
            <phase color="0099FF" currentdate="31/03/2006" name="Commercialization" plandate="31/03/2006" type="phase"/>
            <phase color="CC99FF" currentdate="31/12/2070" name="Project Closed" plandate="31/12/2070" type="phase"/>
            </version>
    </subproject>
    </project>
    </program>
    </chart>
    However this solution removes most of the whitespaces, I want exact output as flash file is expecting so..
    Where ever I am calling the CF functions, there I am getting the whitespaces. like below cases.
    startdate="#getProjectStartDate(sProjectIdList)#" -> output I am getting for this statement is -> " 12/09/2009 "
    Please assist me...
    Regards,
    Manoz.

  • Urgent::using ColdFusion MX7 in Internet Explorer 7.0

    please help..
    Can someone please tell me whether there are any issues in displaying applications developed using ColdFusion MX7 in Internet Explorer 7.0

    Please see following link hope may be useful to you:
    http://corfield.org/blog/index.cfm/do/blog.entry/entry/IE_Update_and_ColdFusion_MX_7
    Thanks.

  • JDBC Connection Using ColdFusion DataSource

    We are using ColdFusion MX 6 and oracle 10g.
    I am trying to code a JAVA JDBC database connection class by
    simplely pass ColdFusion datasouce name.
    i.e, instead of passing URL, user id and password, I hope my
    JAVA class can recognize ColdFusion datasource.
    Is this possible without a J2EE environment?
    If you have done this, please advice.

    DataSource is an interface which allows vendors and developers to implement their means of managing Connection objects (to add features like connection pooling, etc). You can find out about DataSource in API documentation: http://java.sun.com/j2se/1.4.2/docs/api/javax/sql/DataSource.html
    DriverManager on the other hand is a class which registers Drivers and uses them to produce Connection objects:
    http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DriverManager.html

  • Do I need the 'java-polling-amf in my services-config.xml if I'm using coldfusion

    Do I need the 'java-polling-amf in my services-config.xml if I'm using coldfusion?
    Im using IntelliJ IDEA with a flex project and for some reason its stopping comilation with this error:
    [SUITE (Flex Application 1)] flex.messaging.config.ConfigurationException: The services configuration includes a channel-definition 'java-polling-amf' that has an endpoint with a context.root token but a context root has not been defined. Please specify a context-root compiler argument.
    when I was using flex builder with CF builder I never needed to specify the context.root

    I don't use IDEA, so I don't know what kind of configuration settings it has for Flex project development.
    You don't need the java-polling-amf channel for CF development. By default, CF development uses CF-specific channels:
    my-cfamf
    cf-polling-amf
    my-cfamf-secure
    any custom channels you've created yourself for CF to use
    That said, all the channels require a context root setting for your project to compile properly. If you still have Flash Builder handy, take a look at your compiler switches for a project there to see what you're missing in IDEA.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • Building a best practice web application using ColdFusion and Jave EE

    I've been tasked with rewriting a software using ColdFusion.  I cannot seem to find a lot of information on best practice development in ColdFusion.  I am an experience Java developer who has never used ColdFusion before.  I want to build this application using a synergy of ColdFusion and Java EE technologies.  Can someone recommend me a book that outlines how to developer in ColdFusion?  Ideally this book assumes the reader is an experienced developer with no exposure to ColdFusion.  Ideally the methods outlined in the book are still "best practice" methods.

    jaisheela wrote:
    Hello Friends,
    I am also in the same situation.
    I am a building a new web application using JSF and AJAX.
    Requirement is I need to use IBM version of DOJO and JSF but I need to develop the whole application using Eclipse 3.3,2 and Tomcat 5.5.
    With IBM version of DOJO and JSF, will Eclipse and Tomcat help to speed up the development or do you suggest me to go for Rational Application Developer and WebSphere Application Server.
    If I need to go with RAD and WAS, then I am new to RAD and WAS, is it easy to use RAD and WAS for this kind of application and implement web applicaiton fast.
    Any feedback will be great help.Those don't sound like requirements of the system to me. They sound more like someone wants to improve their CV/resume
    From what I've read recently, if it's just fast you want, look at Ruby on Rails

  • CDATA in RSS using Coldfusion

    I ma using Coldfusion 4.5 (yes I know it's old but it's what
    I have to work with) to generate a dynmaic RSS feed. The problem I
    have encounterd is that some of the fields (overview) inside the DB
    have HTML in them, and even with the CDATA tags in place within the
    Item/Description tags, it is blowing up. Is there any way to get it
    to appear correctly?
    <description><![CDATA[#overview#]]</description>
    Thanks.

    Typo on my behalf in the post above, it is definately entered
    as
    <description><![CDATA[#overview#]]></description>
    The DB field (overview) contains:
    Text
    <ul>
    <li><strong>text</strong></li>
    <li><strong> text</strong></li>
    </ul>
    text<a hreflink.htm">Blah website</a> for further
    details.
    The error it get is:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct
    the error and then click the Refresh button, or try again later.
    An invalid character was found in text content. Error
    processing resource '
    http://url/tenders.cfm'. Line
    16, Position 46
    <li><strong> text

  • Can I use coldfusion 8 standard version in Sun / Solaris?

    Hi,
    I would like to know if I can use coldfusion 8 standard
    version in Sun / Solaris
    Thank you.

    banguitainf wrote:
    > Hi,
    >
    > I would like to know if I can use coldfusion 8 standard
    version in Sun / Solaris
    No.
    http://www.adobe.com/products/coldfusion/systemreqs/#support_matrix
    Mack

  • Which service provider in the uk can you use coldfusion on

    Hi,
    I am starting to use coldfusion and i have been told no all
    service providers can use coldfusion
    can anybody tell me what one in the uk can?
    Cheers
    Paul

    Hi John,
    Thanks for taking the time to help me. I am in the middle of
    making a site www.leahstoys.co.uk
    and i want it to have a search engine and be a dynamic site
    so im learning coldfusion.
    I am currantly with sky broadband for my internet provider
    but ive be told i cant have a site using
    coldfusion with sky i am very new to this any advise you can
    give would be great.
    Thanks again
    Paul

  • 'Using ColdFusion with Flex – sample does not work

    Hi, I am having problems with Tom Jordahl's article on 'Using
    ColdFusion with Flex – Part 1: Creating and running a contact
    manager application' found on link '
    http://www.adobe.com/devnet/flex/articles/coldfusionflex_part1_02.html'
    I do not understand his instruction. In step 4, it states:
    "Copy the channel definition from the example Flex
    configuration files found in resources/config (default location:
    C:\fds2\resources\config\). "
    In that folder, I have the following files:
    data-management-config.xml, messaging-config.xml, proxy-config.xml,
    remoting-config.xml. So which file in this folder am I supposed to
    copy from. And where am I supposed to paste it to? Is it into
    WEB-INF/services-config.xml file ?
    When I ran the test,
    http://localhost:8700/samples/dataservice/cfcontact/contactmgr.mxml,
    I get the following errors:
    4 Errors found.
    Error /dataservice/cfcontact/contactmgr.mxml:31
    Definition samples.contact could not be found.
    30: import mx.rpc.events.*;
    31: import samples.contact.*;
    32:
    I am very new at Flex and trying hard to understand this sw.
    Can someone pse help. Thanks a million.

    What he means is to copy the channel section from the
    C:\fds2\resources\config\services-config.xml file:
    <!-- ColdFusion specific RTMP channel -->
    <channel-definition id="cf-dataservice-rtmp"
    class="mx.messaging.channels.RTMPChannel">
    <endpoint uri="rtmp://{server.name}:2048"
    class="flex.messaging.endpoints.RTMPEndpoint"/>
    <properties>
    <idle-timeout-minutes>20</idle-timeout-minutes>
    <serialization>
    <!-- This must be turned off for any CF channel -->
    <instantiate-types>false</instantiate-types>
    </serialization>
    </properties>
    </channel-definition>
    <!-- ColdFusion specific HTTP channel -->
    <channel-definition id="cf-polling-amf"
    class="mx.messaging.channels.AMFChannel">
    <endpoint
    uri="
    http://{server.name}:{server.port}/{context.root}/messagebroker/cfamfpolling"
    class="flex.messaging.endpoints.AMFEndpoint"/>
    <properties>
    <serialization>
    <!-- This must be turned off for any CF channel -->
    <instantiate-types>false</instantiate-types>
    </serialization>
    <polling-enabled>true</polling-enabled>
    <polling-interval-seconds>8</polling-interval-seconds>
    </properties>
    </channel-definition>
    To the file
    C:\fds2\jrun4\servers\default\samples\WEB-INF\flex\services-config.xml.
    The resources directory contains just templates for
    development, the samples
    directory is a fully-deployed flex app.
    Jorge Hernandez
    "watsonValu" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi, I am having problems with Tom Jordahl's article on
    'Using ColdFusion
    > with
    > Flex ? Part 1: Creating and running a contact manager
    application' found
    > on
    > link
    > '
    http://www.adobe.com/devnet/flex/articles/coldfusionflex_part1_02.html'
    > I do not understand his instruction. In step 4, it
    states:
    > "Copy the channel definition from the example Flex
    configuration files
    > found
    > in resources/config (default location:
    C:\fds2\resources\config\). "
    > In that folder, I have the following files:
    data-management-config.xml,
    > messaging-config.xml, proxy-config.xml,
    remoting-config.xml. So which file
    > in
    > this folder am I supposed to copy from. And where am I
    supposed to paste
    > it to?
    > Is it into WEB-INF/services-config.xml file ?
    > When I ran the test,
    >
    http://localhost:8700/samples/dataservice/cfcontact/contactmgr.mxml,
    I get
    > the
    > following errors:
    > 4 Errors found.
    > Error /dataservice/cfcontact/contactmgr.mxml:31
    > Definition samples.contact could not be found.
    > 30: import mx.rpc.events.*;
    > 31: import samples.contact.*;
    > 32:
    >
    > I am very new at Flex and trying hard to understand this
    sw. Can someone
    > pse
    > help. Thanks a million.
    >
    >

  • Using Coldfusion with XML for Flash photogallery

    Hello community. I have created a site for my son's
    kindergarten for free because I wanted to say thanks, since my son
    was very happy.
    The site has been created using coldfusion because I gave
    them some control on news, new children, waiting list, etc.
    They just asked me they want to be able to modify all the
    content of the site, so I started working on a CMS for it.
    There are two section on the site, video gallery and photo
    gallery that are flash - XML based galleries.
    I know that if I explain to them how to modify the XML files
    in order to change photos and videos, they'll screw the gallery.
    Is there any way I can access the content of my XML file from
    coldfusion and allow modification, like adding new photos to the
    existing ones, or modifying the caption on the existing ones?
    So basically I need to them to be able to click on "Modify
    photo gallery", then see all the childs (photos) and be able to
    modify/add.
    Thank you so much for any info or help.

    quote:
    Originally posted by:
    DaniFusionWeb
    Hello community. I have created a site for my son's
    kindergarten for free because I wanted to say thanks, since my son
    was very happy.
    The site has been created using coldfusion because I gave
    them some control on news, new children, waiting list, etc.
    They just asked me they want to be able to modify all the
    content of the site, so I started working on a CMS for it.
    There are two section on the site, video gallery and photo
    gallery that are flash - XML based galleries.
    I know that if I explain to them how to modify the XML files
    in order to change photos and videos, they'll screw the gallery.
    Is there any way I can access the content of my XML file from
    coldfusion and allow modification, like adding new photos to the
    existing ones, or modifying the caption on the existing ones?
    So basically I need to them to be able to click on "Modify
    photo gallery", then see all the childs (photos) and be able to
    modify/add.
    Thank you so much for any info or help.
    If you are using ColdFusion 7/8 this should be quite easy.
    You'd basically:
    1) Read the XML file into ColdFusion memory
    2) Loop through the nodes you need etc outputting them to a
    page or dynamically built form fields
    3) Allow the user to edit these fields then on submit have
    ColdFusion tale the variable holding the form data and write it to
    an XML file again via a loop, overwriting the previous file.
    Clearly you'll need to be careful on validating the input but
    it should be pretty straightforward.
    I didn't have time to write any code but look at the
    following functions and tags to find out more:
    <cffile />
    <cfxml />
    Here's some more info:
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_u-z_4.html
    Cheers,
    Mikey.

Maybe you are looking for

  • Video was not copied to the iPod because it cannot be played on this ipod.

    I have a mp4 file that won't sync to my iPod 4th Gen. The file is H.264, 720p, the bitrate is 1415 kpbs. Could the problem be that is has a stereo and a Dolby Digital 5.1 audio channel? It was an mkv but I used ffmpeg to change the container. Any hel

  • How to get the Query output to Excel

    Hi , Can you tell me how to get the Query output to excel with out using any third party tool? Can you tell me how to write the code in Webservice and call it.. Please explain it Elaboartly.. Thanks in Advance!!! Mini

  • Trying to run simple procedure in SQL Workshop

    Hello, I'd like to test how procedures work and APEX so I setup a simple one that I'd like to run in SQL Workshop (below). I try the follow to execute the procedure: begin MY_TEST_PROC; end; But it results in the following error: ORA-06550: line 2, c

  • Time Capsule Not Making Backups

    For some reason my Time Capsule has stopped accepting back ups. I noticed this morning that there was a dialog box asking for the password to the TC data drive. And that the last backup had failed. (Turns out that was at about 3:00 am this morning.)

  • *** does my Safari CONSTANTLY quit on me.

    My Safari quits on my like a thousand times a day... I AM sick of this crap.. What gives...