con_collection.lsc 1.37 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<?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>
        <!-- <batch-apply sourcepath="/parameter">
            <p:switch test="@current_parameter/@_status">
                <p:case value="insert">
                    <a:model-insert model="cont.CON630.con_collection_group"/>
                </p:case>
            </p:switch>
            <a:model-batch-update model="cont.CON630.con_collection_type"/>
            <a:model-batch-update model="cont.CON630.con_collection_group" sourcePath="@current_parameter/con_collection_group"/>
            <a:model-batch-update model="cont.CON630.con_collection_persons" sourcePath="@current_parameter/con_collection_persons"/>
        </batch-apply> -->
        <batch-apply sourcepath="/parameter">
            <model-batch-update model="cont.CON630.con_collection_type"/>
            <model-batch-update model="cont.CON630.con_collection_group" sourcePath="@current_parameter/con_collection_group"/>
            <batch-apply sourcepath="@current_parameter/con_collection_group">
                <model-batch-update model="cont.CON630.con_collection_persons" sourcePath="@current_parameter/con_collection_persons"/>
            </batch-apply>
        </batch-apply>
    </a:init-procedure>
    <a:service-output output="/parameter"/>
</a:service>