Hi all !

I'm trying to use the html:button instead of the submit, because I wish to
have better control with when the page is submitted.
But my problem is to find the value of the button. Is it possible to write
Your JSP like this.

<td colspan="10" align="center">
        <html:button property="actionButton" value="Deletelist"
onclick="javascript:if(confirm('Are you sure you want to delete all the
items in this list ?'))submit();"/>
</td>

And if so, how do I then read the "actionButton" in the action-perform, to
find out wether it has the value "Deletelist" or one of my other buttons ?

Thanks
KHL

Reply via email to