Circuit.XML Example

<circuit access="public" >

        <prefuseaction>
                <do action="security.act_checkStatus"/>
                <set name="currCircuit" value="scheduling" />
                <set name="currPath" value="#request.root#/scheduling" />
                <set name="LayoutsPath" value="#request.root#/Layouts" />
        </prefuseaction>

        <fuseaction name="SelectInit">
                <do action="layout.pageTitle" />
                <set name="xfa.return" value="#request.root#.initMenu" />
                <do action="sharedFiles.setFormCookies" />
                <do action="sharedFiles.getFormValues" />
                <set name="xfa.submit" value="#currcircuit#.submitSelection" />
                <set name="showRevs" value="false" />
                <include template="dsp_selectInit.cfm" />
        </fuseaction>
        
        <fuseaction name="SubmitSelection">
                <do action="sharedFiles.pageTitle" />
                <set name="xfa.return" value="#currCircuit#.selectInit" />
                <set name="xfa.clearFields" value="sharedFiles.clearFields" />
                <do action="sharedFiles.setCookies" />
                <do action="sharedFiles.getVarValues" />
                <set name="showRevs" value="true" />
                <include template="act_submitSelection.cfm" />
        </fuseaction>

        <!-- Search Results Screen -->
        <fuseaction name="SearchResultsList">
                <set name="attributes.pageHeading" value="Search Results Screen" />
                <set name="attributes.subheading" value="Choose From This List" />
                <do action="sharedFiles.pageTitle"/>
                <set name="xfa.select" value="#currCircuit#.ItemDetail" />
                <set name="xfa.error" value="#currCircuit#.SelectInit" />
                <set name="xfa.return" value="#currCircuit#.SelectInit" />
                <set name="cookie.action" value="Find"/>
                <do action="sharedFiles.setCookies" />
                <do action="sharedFiles.getVarValues" />
                <include circuit="info" template="qry_getInfo.cfm" />
                <include circuit="info" template="dsp_info.cfm" />
        </fuseaction>

        <fuseaction name="ItemDetail">
                <set name="attributes.pageHeading" value="Item Detail" />
                <do action="sharedFiles.pageTitle" />
                <set name="xfa.return" value="#currCircuit#.SearchResultsList" />
                <set name="xfa.delete" value="#currCircuit#.DeleteItem" />
                <do action="sharedFiles.auditDel" />
                <include circuit="info" template="qry_getInfo.cfm" />
                <include template="qry_getItemDetail.cfm" />
                <include template="qry_getTblReference.cfm" />
                <include template="dsp_itemDetail.cfm" />
        </fuseaction>
        
        <fuseaction name="DeleteItem">
                <set name="attributes.pageHeading" value="Delete Item" />
                <do action="sharedFiles.pageTitle" />
                <set name="xfa.error" value="#currCircuit#.ItemDetail" />
                <set name="xfa.return" value="#currCircuit#.ItemDetail" />
                <include template="act_precaution.cfm" />
                <include template="qry_updTblItems.cfm" />
        </fuseaction>

</circuit>

 

Valid XHTML 1.0 Transitional

Valid CSS!

 

portfolio   top