Fieldset em paginas jsp + struts1

1 resposta
romuloff

Pessoal,

Estou tentando usar um fieldset em uma pagina com um formulario struts, mas o fieldset está aparecendo sozinho no começo da pagina, totalmente fora do lugar onde eu o coloquei.

Onde estou errando ? É questão de design html ou alguma config do struts1 igual é feita no struts2 (aquele struts.ui.theme)
<%-- -*-* CUSTO --%>
  <fieldset style="width: 500px"><legend><font size="1" face="Arial" color="#008000"><i>CUSTO</i></font></legend>
  <tr>
    <td align="right"><b><fmt:message key="app.gerenciaCustoReceita.label.custoValor" />:</b></td>
    <td colspan="3"><html:text property="custoTO.valor" size="50" maxlength="80" style="width:281px" styleClass="box_interno" /></td>
  </tr>

  <tr>
    <td align="right"><b><fmt:message key="app.gerenciaCustoReceita.label.custoVisivelBool" /> </b></td>
    <td colspan="3"><html:checkbox property="custoTO.visivelBool" /></td>
  </tr>
  </fieldset>

Como aparece:
[img]http://i26.photobucket.com/albums/c108/romuloff/ScreenShot001-fieldset.jpg[/img]

1 Resposta

romuloff

Mal galera

Era erro da organização do html mesmo:
<%-- -*-* CUSTO --%>
  <tr>
    <td colspan="4">
    <fieldset style="width: 500px"><legend><font size="1" face="Arial" color="#008000"><i>CUSTO</i></font></legend>

    <table>
      <tr>
        <td align="right"><b><fmt:message key="app.gerenciaCustoReceita.label.custoValor" />:</b></td>
        <td colspan="3"><html:text property="custoTO.valor" size="50" maxlength="80" style="width:281px" styleClass="box_interno" /></td>
      </tr>

      <tr>
        <td align="right"><b><fmt:message key="app.gerenciaCustoReceita.label.custoVisivelBool" /> </b></td>
        <td colspan="3"><html:checkbox property="custoTO.visivelBool" /></td>
      </tr>
    </table>

    </fieldset>
    </td>
  </tr>
Criado 5 de junho de 2009
Ultima resposta 5 de jun. de 2009
Respostas 1
Participantes 1