[ 2636027 ] Embedded tab not activated after switching from grid to form

This commit is contained in:
Heng Sin Low 2009-02-25 07:06:03 +00:00
parent 7f9931cd55
commit e6a49848fc
1 changed files with 11 additions and 0 deletions

View File

@ -924,8 +924,19 @@ DataStatusListener, IADTabpanel
public void switchRowPresentation() {
if (formComponent.isVisible()) {
formComponent.setVisible(false);
//de-activate embedded panel
for(EmbeddedPanel ep : includedPanel)
{
activateChild(false, ep);
}
} else {
formComponent.setVisible(true);
//activate embedded panel
for(EmbeddedPanel ep : includedPanel)
{
activateChild(true, ep);
}
}
listPanel.setVisible(!formComponent.isVisible());
if (listPanel.isVisible()) {