The problem is that I don't know how to set up my custom button inside my form. My buttons are all in a row (table-row) and all of them are made from <html:link> element with a nested <img> element. <html:link> calls the appropriate rollover JS functions and the <img> defines a name to be used. Simple.
However my button for info posting should be in a form so <html:link> cannot be used (as far as I know). Now the headache begins. If I use an <html:image> tag inside a form I cannot set the name and my JS rollover functions don't work. But that's not all. The button is (for some reason) misaligned with the other buttons.
I would like my submit button to be OUTSIDE a form since than I can define it inside a <html:link> button and it will be neatly aligned with the other buttons. Can somebody please tell me how do read the contents of a textfield from this element ? Or at least explain why is that misaligment happening and suggest how to solve it? Thanks.
(Btw my code is simmilar to the one used in IncludeTop.jsp page in the JPetstore application which I used as a learning tool. Anyway, you can check it out there if I wasn't too clear with what I wanted) [ May 05, 2005: Message edited by: Mortimer Mousse ]