![](/images/common/spacer.gif) |
<nxml>
<rootPane>
<borderLayout/>
<panel borderPosition="center">
<freeLayout/>
<label height="20" text="HelloWorld" width="100" x="189" y="143"/>
<button height="25" text="実行" width="100" x="192" y="221" onCommand="macro://defaultMacro.execute()"/>
<button height="25" text="画面遷移実行" width="100" x="335" y="221" onCommand="macro://defaultMacro1.execute()"/>
</panel>
</rootPane>
<macro:macro xmlns:macro="http://nexaweb.com/macro" name="defaultMacro">
<xu:modifications xmlns:xu="http://nexaweb.com/xupdate" document="nxml">
<xu:set-attribute select="/nxml/rootPane/panel[1]/label[1]">
<xu:attribute name="text" value="こんにちわ"/>
</xu:set-attribute>
</xu:modifications>
</macro:macro>
<macro:macro xmlns:macro="http://nexaweb.com/macro" name="defaultMacro1">
<xu:modifications xmlns:xu="http://nexaweb.com/xupdate" document="nxml">
<xu:replace-children select="/nxml/rootPane/panel[1]"/>
</xu:modifications>
</macro:macro>
</nxml>
|
![](/images/common/spacer.gif) |