Importante: sobre action form!

1 resposta
M

Olá!

Já estou ficando desesperada com esse problema…
No submit de uma página, fiz a chamada para um javascript que inicializa os campos do action form.
No internet explorer funciona, mas no netscape não!

Vou deixar o código aq pra facilitar:

JAVASCRIPT:


CORPO DA PÁGINA:

<html:form action="/detalheCombinacaoSorteioAction">
<html:hidden name=“detalheCombinacaoSorteioForm” property=“tituloTO.nmTitulo” value=""/>
<html:hidden name=“detalheCombinacaoSorteioForm” property=“tituloTO.cdSeriePlano” value=""/>
<html:hidden name=“detalheCombinacaoSorteioForm” property=“tituloTO.cdTitulo” value=""/>

<%
          	int count = 0;
          	%>
            <logic:iterate property="listaTit" id="bean" name="consultaTituloForm" type="br.com.bradesco.capitalizacao.consultas.negocio.to.ConsultaTituloCapitalizacao">
            <tr> 
              <% if (count%2==0) { %>
              <td align=center bgcolor="#E9E9E9" width="164">
              <% } else { %>
              <td align=center bgcolor="#FFFFFF" width="164">
              <% } %>
              	<font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#5b5b5c">
              		<bean:write name="bean" property="cdSeriePlano"/>/
                	<bean:write name="bean" property="nuDigiPlano"/>-
                	<bean:write name="bean" property="cdTitulo"/>/
                	<bean:write name="bean" property="nuDigiTitulo"/>
              	</font>
              </td>
              <% if (count%2==0) { %>
              <td align=center bgcolor="#E9E9E9" width="281">
              <% } else { %>
              <td align=center bgcolor="#FFFFFF" width="281">
              <% } %>
                <div align="center">
                <font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#5b5b5c">
                	<bean:write name="bean" property="nmTitulo"/>
                </font>
                </div>
              </td>
              <% if (count%2==0) { %>
              <td align=center bgcolor="#E9E9E9" width="211">
              <% } else { %>
              <td align=center bgcolor="#FFFFFF" width="211">
              <% } %>
                <div align="center">
                <font size="1" color="#5b5b5c">
                <a href="javascript:submeter('<bean:write name='bean' property='nmTitulo'/>', '<bean:write name="bean" property="cdSeriePlano"/>', '<bean:write name="bean" property="cdTitulo"/>');">
                	<img style="cursor:hand;" src="images/visualizar.gif" width="56" height="16" border="0">
                </a>
                </font>
                </div>
              </td>
            </tr>
            <% count++;%>
            </logic:iterate>
          </html:form>

Será que alguma tag do struts pode suprir a necessidade de, dependendo do titulo clicado, os campos do form já serem carragados, sem precisar de java script???

Muito Obrigada!

1 Resposta

M

A tag define do struts poderia ajudar??

Criado 28 de março de 2006
Ultima resposta 28 de mar. de 2006
Respostas 1
Participantes 1