TurboManage

David Chandler's Journal of Java Web and Mobile Development

  • David M. Chandler


    Web app developer since 1994 and Google Cloud Platform Instructor now residing in Colorado. Besides tech, I enjoy landscape photography and share my work at ColoradoPhoto.gallery.

  • Subscribe

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 223 other followers

  • Sleepless Nights…

    November 2004
    S M T W T F S
     123456
    78910111213
    14151617181920
    21222324252627
    282930  
  • Blog Stats

    • 1,029,169 hits

Archive for November 23rd, 2004

Updated Example Code for CFDJ article on Web State Machine

Posted by David Chandler on November 23, 2004

Here is the complete example code that goes with my Web State Machine article in the October CFDJ.

Just unzip the files into your web root and set up a “Northwind” data source pointing to the Northwind sample database that comes with SQL Server. To run it, use http://localhost/WebStateMachine/flowctl.cfm?event=startFlow.

I’ve made a few improvements: notably, replacing the submit buttons with <input type=”button”> and using on onclick handler to call a JavaScript function that sends an event to the flow controller. This is less restrictive than using a named submit button, in which the event name is also the button text.

/dmc

Posted in ColdFusion | Leave a Comment »

 
%d bloggers like this: