We faced the same issue. (T4.0.2 and tacos 4.0.1) We then tried using the
form's cancel listener too, but couldnt get it working. Had to switch over
to a simple DirectLink instead.
Srini.
On 2/5/07, vancam <[EMAIL PROTECTED]> wrote:
<form jwcid="[EMAIL PROTECTED]:AjaxForm">
<input jwcid="@TextField" value="ognl:value"
validators="validators:required"/>
<input jwcid="@Tacos:AjaxSubmit" value="Cancel"
updateComponents="ognl:{'formDiv'}" action="listener:cancelEdit"
onclick="tacos.cancelForm('editForm')"/>
</form>
I cannot cancel the form while bypassing the client validation. It keeps
showing "You must enter a value for.".
I have tried onclick="tacos.cancelForm(document.editForm)" as well.
Please help.
--
http://www.indygosoft.com