You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Kyle Aure (Jira)" <de...@myfaces.apache.org> on 2022/12/09 20:38:00 UTC
[jira] [Created] (MYFACES-4528) Ensure top level ul does not have border attribute
Kyle Aure created MYFACES-4528:
----------------------------------
Summary: Ensure top level ul does not have border attribute
Key: MYFACES-4528
URL: https://issues.apache.org/jira/browse/MYFACES-4528
Project: MyFaces Core
Issue Type: Bug
Components: General
Affects Versions: 4.0.0-RC2
Environment: All OSs
Reporter: Kyle Aure
When layout="list" the border attribute should be ignored for selectManyCheckbox and selectOneRadio elements.
When a form like this:
<h:form id="form">
<h:selectManyCheckbox id="input" layout="list" border="5">
...
</h:selectManyCheckbox>
</h:form>
Is rendered the current output is:
<html>
<head/>
<body>
<form id="form" name="form" method="post" action="/LayoutAttribute/selectManyCheckBox.xhtml" enctype="application/x-www-form-urlencoded">
<ul id="form:input" border="5">
...
</ul>
</body>
</html>
Based on the spec we should be rendered:
<html>
<head/>
<body>
<form id="form" name="form" method="post" action="/LayoutAttribute/selectManyCheckBox.xhtml" enctype="application/x-www-form-urlencoded">
<ul id="form:input">
...
</ul>
</body>
</html>
This is because we are incorrectly starting this element with table passthrough properties, instead of ul passthrough properties.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)