sys_role_function.lsc 652 Bytes
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:a="http://www.leaf-framework.org/application" xmlns:p="uncertain.proc" trace="true">
    <a:init-procedure>
        <a:model-delete model="sys.sys_role_function"/>
        <a:batch-apply sourcepath="/parameter/functions">
            <p:switch test="@current_parameter/@checked">
                <p:case value="Y">
                    <a:model-insert model="sys.sys_role_function"/>
                </p:case>
            </p:switch>
        </a:batch-apply>
        <a:model-execute model="sys.sys_role_function"/>
    </a:init-procedure>
    <a:service-output output="/parameter"/>
</a:service>