insert-at: Giving exception when declared value for the index attribute in
insert-at (XModify).
------------------------------------------------------------------------------------------------
Key: XAP-492
URL: https://issues.apache.org/jira/browse/XAP-492
Project: XAP
Issue Type: Bug
Components: XModify
Reporter: Surender Reddy
insert-at: Giving exception when declared value for the index attribute in
insert-at (XModify).
<macro:macro xmlns:macro="http://openxal.org/core/macro" name="insertAtMacro">
<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
<xm:append select="id('main-panel')">
<button id="insertAtButton" height="25px" text="Insert At Index 0"
width="100px"
onCommand="macro:insertAtLabelMacro.execute('main-panel')"/>
</xm:append>
</xm:modifications>
</macro:macro>
<macro:macro xmlns:macro="http://openxal.org/core/macro"
name="insertAtLabelMacro">
<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
<xm:set-attribute select="id('main-panel')/label">
<xm:attribute name="text" value="Old Labels"/>
</xm:set-attribute>
<xm:insert-at index="0" select="id('main-panel')">
<label borderWidth="1" borderStyle="solid" borderColor="#000000"
width="100" height="25"
text="It Worked" alignHorizontal="center"/>
</xm:insert-at>
</xm:modifications>
</macro:macro>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.