[ 
https://issues.apache.org/jira/browse/MYFACES-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664792#action_12664792
 ] 

Leonardo Uribe commented on MYFACES-2038:
-----------------------------------------

The documentation for type field says:

"......Type of button to create. Valid values are "submit" and "reset". If not 
specified, or not a valid value, the default value is "submit"......"

So, button type is invalid. This issue will be closed as invalid.

> commandButton creates a "submit" when choose type="button"
> ----------------------------------------------------------
>
>                 Key: MYFACES-2038
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2038
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.2.4
>         Environment: Eclipse 3.4
> Windows XP
>            Reporter: Roberto
>            Priority: Minor
>
> The tag <h:commandButton value="click"  type="button" />   creates the 
> following HTML code:
> <input id="paginador:j_id_jsp_1411489580_33" 
> name="paginador:j_id_jsp_1411489580_33" type="submit" value="click" />
> The type of the html input should be "button" instead of "submit".
> It works OK with type="reset"
> Happens the same when using the Tomahawk Library commandButton

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to