[
https://issues.jboss.org/browse/RF-12574?page=com.atlassian.jira.plugin.s...
]
Brian Leathem commented on RF-12574:
------------------------------------
The
_[accordionItem#fitToHeight|https://github.com/richfaces/components/blob/...
method requires the parent accordion item to have all it's children defined to
correctly calculate the height of the expanded accordion item.
On an ajax render, this _fitToHeight_ method is triggered by the ajax _oncomplete_ event,
and the remaining accordion items have not yet been constructed.
rich:accordion height of first element is wrongly computed
----------------------------------------------------------
Key: RF-12574
URL:
https://issues.jboss.org/browse/RF-12574
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-output
Affects Versions: 4.3.0.M2
Environment: RichFaces 4.3.0.20121024-M2
Metamer 4.3.0.20121024-M2
JBoss AS 7.1.1.Final
OpenJDK Runtime Environment 1.6.0_24-b24 @ Linux
Firefox 16.0 @ Linux x86_64 / Chrome 21.0.1180.89 @ Linux x86_64 / IE9
Reporter: Jiří Štefek
Assignee: Brian Leathem
Priority: Critical
Labels: regression
Fix For: 4.3.0.M3
When some other item than first of the rich:accordion is selected and then the first item
is selected, the height of the content of the first item is wrongly computed and its
height is as big as whole accordion height.
In 4.2.3 CR1 it works correctly.
Problem only occurs when @switchType is ajax.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira