[
https://jira.jboss.org/jira/browse/RF-7518?page=com.atlassian.jira.plugin...
]
Mikhail Vitenkov reopened RF-7518:
----------------------------------
Assignee: Nick Belaevski (was: Tsikhon Kuprevich)
Empty display still present in page source code: style="display: ;"
Use code listed below:
<h:form id="form">
<rich:simpleTogglePanel label="Simple Toggle Panel">
Some Text ...
</rich:simpleTogglePanel>
</h:form>
Reproducible at 3.3.2.CR1
SimpleTogglePanel generates empty display/height/width style
attribute
----------------------------------------------------------------------
Key: RF-7518
URL:
https://jira.jboss.org/jira/browse/RF-7518
Project: RichFaces
Issue Type: Bug
Components: component-output
Affects Versions: 3.3.1
Environment: Seam 2.1.2, RichFaces 3.3.1, Firefox 3.0 / SeaMonkey 2.0b1pre,
richfaces-ui-3.3.1.GA\ui\simpleTogglePanel\src\main\templates\simpleTogglePanel.jspx
Reporter: Julien Kronegg
Assignee: Nick Belaevski
Priority: Optional
Fix For: 3.3.2.CR1
The SimpleTogglePanel generates style property with empty "display",
"height" and "width". This causes warnings in the Javascript console
under Firefox and SeaMonkey.
Example of generated code:
<div class="dr-stglpnl rich-stglpanel "
id="personneExtendedSearch:j_id104" style="width: ; ;"><script
type="text/javascript">SimpleTogglePanelManager.add(
...
<div class="dr-stglpnl-b rich-stglpanel-body "
id="personneExtendedSearch:j_id104_body" style="display : ;
height: ;"><div id="personneExtendedSearch:j_id105">
It would be nice if the property is generated only if it has some content.
Currently, if you look into the Firefox javascript console, you may think that Richfaces
generates badly designed pages that are not really portable from browser to browser.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira