[
https://issues.apache.org/jira/browse/MYFACES-4528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Melloware resolved MYFACES-4528.
--------------------------------
Resolution: Fixed
> Ensure top level ul does not have border attribute for layout=list
> ------------------------------------------------------------------
>
> 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
> Priority: Critical
> Fix For: 4.0.0-RC3
>
>
> When layout="list" the border attribute should be ignored for
> selectManyCheckbox and selectOneRadio elements.
> When a form like this:
> {quote}<h:form id="form">
> <h:selectManyCheckbox id="input" layout="list" border="5">
> ...
> </h:selectManyCheckbox>
> </h:form>
> {quote}
>
> Is rendered the current output is:
> {quote}
> <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>
> {quote}
> Based on the spec we should be rendered:
> {quote}
> <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>
> {quote}
> 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)