Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/05/2012, 07:36
mersistem
 
Fecha de Ingreso: mayo-2011
Mensajes: 32
Antigüedad: 13 años
Puntos: 1
Problema CommandButton JSF

Hola, tengo el siguiente problema cuando creo una funcion commandButtom en JSF:

En mi jsp, creo el commandButtom de la siguiente manera:
<h:commandButton id="btodos" onclick="checkedTodos()"
value="#{msgs.seleccionTodos}" styleClass="button"/>

pero el html lo interpreta asi:
<input id="viewjs_P_109fde54a24_6661a_:frm:btodos" name="viewjs_P_109fde54a24_6661a_:frm:btodos"
type="submit" value="Seleccionar todos" onclick="checkedTodos();
class="button" />

Como puedo hacer que en HTML, no me tome type="submit"

Saludos