]
Nick Belaevski updated RF-7518:
-------------------------------
Fix Version/s: 3.3.2.GA
(was: 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: Alex Kolonitsky
Priority: Optional
Fix For: 3.3.2.GA
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: