PPR on selectOneRadio inserts new line between choices in IE
------------------------------------------------------------
Key: TRINIDAD-1105
URL: https://issues.apache.org/jira/browse/TRINIDAD-1105
Project: MyFaces Trinidad
Issue Type: Bug
Components: Components
Affects Versions: 1.2.4-core
Environment: Windows XP, Internet Explorer 6
Reporter: Radovan Kobularcik
I'm using PPR to dynamically enable/disable tr:selectOneRadio component.
In Firefox everything is ok.
In IE 6.0 a new line is inserted between radio choices.
I found that initial <br> between input tags (radio choices) is replaced by
<br></br> after PPR.
IE renders this as two new lines.
According http://www.w3schools.com/TAGS/tag_br.asp site <br></br> combination
is wrong.
I didn't find workaround.
Solution is to use empty br tag.
Test page:
[?xml version='1.0' encoding='windows-1250'?]
[jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:tr="http://myfaces.apache.org/trinidad"
xmlns:trh="http://myfaces.apache.org/trinidad/html"]
[jsp:directive.page contentType="text/html;charset=windows-1250"/]
[f:view]
[tr:document]
[tr:form]
[tr:selectOneRadio label="Colors" id="colors"
disabled="#{sessionScope.buttonsDisabled}"
partialTriggers="chkb"]
[tr:selectItem label="Red" value="red" id="red"/]
[tr:selectItem label="Blue" value="blue" id="blue"/]
[/tr:selectOneRadio]
[tr:selectBooleanCheckbox label="Disable buttons"
value="#{sessionScope.buttonsDisabled}"
autoSubmit="true" id="chkb"/]
[/tr:form]
[/tr:document]
[/f:view]
[/jsp:root]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.