<subroutines>
        <subroutine name="setSearchView">
            <!-- Search methods and view page -->
<notify listener="CategoryListener" 
method="getCategoryWithImmediateSubCategoriesFromEvent" 
 resultArg="objCategory" />
<notify listener="SupplierListener" method="getActiveSuppliers" 
 resultArg="rsActiveSuppliers" />
<notify listener="CategoryListener" method="getParentSubCategories" 
 resultArg="rsRootCategories" />
<view-page name="productSearch" contentArg="strProductSearchHTML" />
        </subroutine>
    </subroutines>

When I add the above to my machii config file I get the following error

Error validating XML file: C:\www\epsys\code\config\cart.xml: Line 487, 
Column 11: The content of element type "mach-ii" must match 
"((includes?,modules?,properties?,listeners?,message-subscribers?,event-filters?,event-handlers?,subroutines?,page-views?,plugins?)|(includes?,modules?,properties?,listeners?,message-subscribers?,event-filters?,plugins?,event-handlers?,subroutines?,page-views?))".
 The error occurred in *C:\www\MachII\framework\AppFactory.cfc: line 401*
*Called from* C:\www\MachII\framework\AppFactory.cfc: line 150
*Called from* C:\www\MachII\framework\AppLoader.cfc: line 164
*Called from* C:\www\MachII\framework\AppLoader.cfc: line 101
*Called from* C:\www\MachII\framework\Module.cfc: line 92
The strange thing is the error seems to have "subroutines" as one of the 
optional types.!!

Any ideas?

thanks

-- 
-- 
To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

New (July 2012): We've moved to GitHub: 
https://github.com/Mach-II/Mach-II-Framework


Reply via email to