[
https://issues.jboss.org/browse/RF-10115?page=com.atlassian.jira.plugin.s...
]
Pavol Pitonak reopened RF-10115:
--------------------------------
It still doesn't work for non-valid values, i.e. when I set in Metamer
"nonvalid", it should render "submit" according to documentation:
Type of button to create. Valid values are "submit", "button", and
"reset". If not specified, or not a valid value, the default value is
"submit".
Command button: wrong markup when attribute type is not set
-----------------------------------------------------------
Key: RF-10115
URL:
https://issues.jboss.org/browse/RF-10115
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-a4j-core
Affects Versions: 4.0.0.Milestone5
Environment: RichFaces 4.0.0.20101226-M5 r.20800
Metamer 4.0.0.20101226-M5 r.20866
Mojarra 2.0.3-b05
JBoss AS 6.0.0.Final
OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
Chrome 8.0.552.224 @ Linux x86_64
Reporter: Pavol Pitonak
Assignee: Nick Belaevski
Labels: metamer-ftest-tracked
Fix For: 4.0.0.Milestone6
1. deploy Metamer to JBoss 6.0.0.Final
2. open
http://localhost:8080/metamer/faces/components/a4jCommandButton/simple.xhtml
3. set disabled=true
result:
button is rendered with type="" but it should be type="submit"
(default value when type is not set)
<input id="form:a4jCommandButton" name="form:a4jCommandButton"
onclick="return false;" value="command button"
disabled="disabled" type="" />
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira