you can use javascript to do this job...
like this:
<a href="javascript:document.forms[<formIndex>].submit()" >Enviar Formul�rio</a>
where <formIndex> is the index of the form you want to submit (starts in 0 -
zero)
Henrique Viecili
----- Original Message -----
From: "cacau_braga" <[EMAIL PROTECTED]>
To: "user" <[EMAIL PROTECTED]>
Sent: Wednesday, May 05, 2004 2:17 PM
Subject: Submit with a link
Hi All,
I need a help. I have a page that contains many forms
each form represents a record of database.
I am need to submit that information when a user
click on link, because i can�t use the buttons
(<html:button), I want to use <html:link, but i don't
know to use correctly, i want to send the information
via POST how do i get this ?
My code (a part of):
<html:form action="manterUf.do?method=pesquisaUfPorPk">
<tr>
<td align="right" valign="middle"
class="tdHeader3right">
<html:hidden name="uf" property="codUf"/> <!--
THIS VALUE IS NOT GOING TO THE ACTION-->
<html:hidden name="uf" property="operacao"/><!--
THIS VALUE IS NOT GOING TO THE ACTION-->
<input type="hidden" name="tmp"
value="<bean:write name="uf" property="codUf"/>">
<!-- My Link-->
<html:link href="manterUf.do?
method=pesquisaUfPorPk"><bean:message
key="geral.alterar"/></html:link>
</td>
</tr>
.....
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - � gr�tis!
http://antipopup.uol.com.br/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]