Hi
I have a function in a page. I am getting following error, when I call this function more then once. Please could some one advice.
XEL: Overwriting function "setHasFormValueChange". e:function
<e:function name="setHasFormValueChange">
<e:argument name="valueChange" required="true" default="'No'" />
<e:body type="application/xml">
<e:set variable="hasFormValueChange" select="$valueChange" />
</e:body>
</e:function>
<e:variable name="hasFormValueChange" select="'No'" scope="global"/>
<div id="productFormButtons" class="buttonController">
<div>
<b:button validationTarget="true" disabled="true">
Add
<e:handler event="click" type="application/xml">
<e:call method="submit" with="../../../../form"/>
</e:handler>
</b:button>
</div>
</div>
<e:argument name="valueChange" required="true" default="'No'" />
<e:body type="application/xml">
<e:set variable="hasFormValueChange" select="$valueChange" />
</e:body>
</e:function>
<e:variable name="hasFormValueChange" select="'No'" scope="global"/>
<div id="productFormButtons" class="buttonController">
<div>
<b:button validationTarget="true" disabled="true">
Add
<e:handler event="click" type="application/xml">
<e:call method="submit" with="../../../../form"/>
</e:handler>
</b:button>
</div>
</div>

Getting error when function call more then once
20 March, 2008 - 13:41 — yudiHi ishfady,
I think the question is the continuation http://bdn.backbase.com/node/4481 post. I have tested it and it works fine. What browser and BB engine do you use ?
Cheers,
Yudi