<?xml version="1.0" encoding="UTF-8"?>
<commandMap
xmlns="http://interstage.fujitsu.com/schemas/uji/commandMap"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://interstage.fujitsu.com/schemas/uji/commandMap
http://interstage.fujitsu.com/schemas/uji/commandmap.xsd">
<config>
<version>6.0</version>
</config>
<!-- 加算 sample1.BodyBean;add -->
<entry bean="sample1.BodyBean" verb="add">
<specSection>
<term property="val1" op="ADD" operand="val2" target="result"/>
</specSection>
<copyValue bean="#加算を実行しました。" targetProperty="message"/>
<setResponseBean pane="body" verb="resmode"/>
<invoke name="setHead"/>
</entry>
<!-- 初期処理 ; -->
<entry>
<!-- BodyBeanインスタンス生成 -->
<newBean cls="sample1.BodyBean" />
<setResponseBean pane="body" verb="reqmode" />
<invoke name="setHead"/>
</entry>
<!-- サブルーチン setHead -->
<procedure name="setHead">
<copyValue bean="uji.session" property="headBean" targetBean="hbean"/>
<specSection bean="hbean" targetBean="hbean">
<term property="count" op="ADD" operand="#1" target="count"/>
</specSection>
<setResponseBean pane="head" bean="hbean"/>
</procedure>
</commandMap>
|