Ver Mensaje Individual
  #5 (permalink)  
Antiguo 24/10/2007, 05:15
sanmi69
 
Fecha de Ingreso: septiembre-2004
Mensajes: 191
Antigüedad: 20 años, 6 meses
Puntos: 1
Re: Problema con Struts y Tag-Lib <html:select>

Código:
<html:form name="formaCategoria" type="mx.edu.cenidet.sistema.entidades.Categoria" action="/muestraCategoria.do" focus="idCategoria"> 
   
    <html:select  property="idCategoria" onchange="document.formaCategoria.submit();"> 
    
    <html:option value="0">Selecciona..........</html:option>     
    
     <logic:iterate name ="listaCategoria" 
            id="Categoria"  
            scope="request" 
            type="mx.edu.cenidet.sistema.entidades.Categoria"> 
          
      <html:option name= "idCategoria" scope="request">  
      <bean:write name="Categoria" property="tipo" scope="request"/>  

      </html:option> 
            
     </logic:iterate>    
     
    </html:select>   

   </td> 
     
  </tr> 
   </html:form>