Hello all, I have a little question about multiple buttons in the same form
I know that I can use the Dispatch Action to resolve this problem. For me this action works as following : Define a parameter named for example "method", this parameter is used and declared in the action tag of the xml struts-config Its value is assigned in the form in the declaration of the button <input type="submit" name="method" value="save"/> or <input type="submit" name="method" value="edit"/> This work well with these inputs but if I have some image inputs the same method can't be done, for example I have this input <input type="image" src="../image/anImage" name="method" value="save"/> so in the url I will obtain method.x=anInt where anInt is x value of the click in the image Is there another solution for having multiple buttons in same form using the image inputs without javascript of course ============================================================= -- KeV -- ============================================================= -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>