Author: nbelaevski
Date: 2009-09-13 19:28:31 -0400 (Sun, 13 Sep 2009)
New Revision: 15547
Modified:
branches/community/3.3.X/cdk/maven-archetype-theme/
branches/community/3.3.X/docs/
branches/community/3.3.X/extensions/
branches/community/3.3.X/framework/impl/src/main/java/org/richfaces/component/UISwitchablePanel.java
branches/community/3.3.X/ui/layout/
branches/community/3.3.X/ui/tabPanel/src/main/java/org/richfaces/component/UITab.java
branches/community/3.3.X/ui/togglePanel/src/main/java/org/richfaces/component/UIToggleControl.java
Log:
https://jira.jboss.org/jira/browse/RF-7764
Property changes on: branches/community/3.3.X/cdk/maven-archetype-theme
___________________________________________________________________
Name: svn:ignore
- target
+ target
.project
.settings
Property changes on: branches/community/3.3.X/docs
___________________________________________________________________
Name: svn:ignore
+ target
Property changes on: branches/community/3.3.X/extensions
___________________________________________________________________
Name: svn:ignore
+ target
Modified:
branches/community/3.3.X/framework/impl/src/main/java/org/richfaces/component/UISwitchablePanel.java
===================================================================
---
branches/community/3.3.X/framework/impl/src/main/java/org/richfaces/component/UISwitchablePanel.java 2009-09-11
17:49:10 UTC (rev 15546)
+++
branches/community/3.3.X/framework/impl/src/main/java/org/richfaces/component/UISwitchablePanel.java 2009-09-13
23:28:31 UTC (rev 15547)
@@ -133,12 +133,6 @@
} else {
setValue(newValue);
}
-
- if (AjaxRendererUtils.isAjaxRequest(facesContext)
- /* && this.getSwitchType().equals(AJAX_METHOD)*/) { // RF-7292
-
- AjaxRendererUtils.addRegionByName(facesContext, this, this.getId());
- }
}
} else /* component should throw IllegalArgumentException for unknown events - RF-30 */
{
super.broadcast(facesEvent);
Property changes on: branches/community/3.3.X/ui/layout
___________________________________________________________________
Name: svn:ignore
- target
+ target
.classpath
.project
.settings
Modified:
branches/community/3.3.X/ui/tabPanel/src/main/java/org/richfaces/component/UITab.java
===================================================================
---
branches/community/3.3.X/ui/tabPanel/src/main/java/org/richfaces/component/UITab.java 2009-09-11
17:49:10 UTC (rev 15546)
+++
branches/community/3.3.X/ui/tabPanel/src/main/java/org/richfaces/component/UITab.java 2009-09-13
23:28:31 UTC (rev 15547)
@@ -89,9 +89,10 @@
* @see org.ajax4jsf.framework.ajax.AjaxActionComponent#setupReRender()
*/
//TODO remove
- protected void setupReRender() {
- super.setupReRender();
- AjaxRendererUtils.addRegionByName(getFacesContext(), this, this.getId());
+ protected void setupReRender(FacesContext context) {
+ super.setupReRender(context);
+ UITabPanel tabPanel = getPane();
+ AjaxRendererUtils.addRegionByName(context, tabPanel, tabPanel.getId());
}
/**
Modified:
branches/community/3.3.X/ui/togglePanel/src/main/java/org/richfaces/component/UIToggleControl.java
===================================================================
---
branches/community/3.3.X/ui/togglePanel/src/main/java/org/richfaces/component/UIToggleControl.java 2009-09-11
17:49:10 UTC (rev 15546)
+++
branches/community/3.3.X/ui/togglePanel/src/main/java/org/richfaces/component/UIToggleControl.java 2009-09-13
23:28:31 UTC (rev 15547)
@@ -89,6 +89,8 @@
AjaxRendererUtils.addRegionByName(facesContext, togglePanel,
togglePanel.getId());
+ AjaxRendererUtils.addRegionByName(facesContext, this,
+ this.getId());
}
@Override