struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francisco Exposito <fcoexpos...@hotmail.com>
Subject One form for some tabbedpane panes
Date Thu, 04 Sep 2008 09:55:46 GMT

Hi,

I want to have two panes in a tabbed pane, each one with its textfields and selects, but only
one form including both info panes. Is that possible? I've tried it, but it doesn't work...


            <s:form id="crearContrato" action="CrearContrato">
               <s:tabbedPanel id="test2" theme="simple">
            

                    <s:div id="left" label="Datos" theme="ajax" >                  
     
                        <td><s:datetimepicker name="contrato.fechaInicio" label="Fecha
inicio" value="" toggleType="fade" toggleDuration="500"/></td>
                        <td><s:datetimepicker name="contrato.fechaFinal" label="Fecha
final" value="" toggleType="fade" toggleDuration="500"/></td>
                    </s:div >
                    <s:div  id="middle" label="Actividades"  theme="ajax" >
                        <td><s:textarea label="Observaciones"
name="contrato.observaciones" cols="51"
rows="5"></s:textarea></td>
                    </s:div >
                    
                </s:tabbedPanel>
                <s:submit theme="ajax" 

                                 href="%{crearContrato}" 

                                 targets="divContenedor"

                                 value="Crear" 

                                 showLoadingText="false"></s:submit>
           </s:form>    


Thanks.

_________________________________________________________________
Prueba los prototipos de los Ășltimos en MSN Motor
http://motor.es.msn.com/
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message