[richfaces-issues] [JBoss JIRA] Resolved: (RF-7518) SimpleTogglePanel generates empty display/height/width style attribute

Alex Kolonitsky (JIRA) jira-events at lists.jboss.org
Tue Jul 14 07:25:29 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-7518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Kolonitsky resolved RF-7518.
---------------------------------

    Resolution: Done
      Assignee: Tsikhon Kuprevich  (was: Alex Kolonitsky)


> 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: Tsikhon Kuprevich
>            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

        



More information about the richfaces-issues mailing list