JBoss Rich Faces SVN: r18781 - modules/build/resources/branches.
by richfaces-svn-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2010-08-18 16:38:07 -0400 (Wed, 18 Aug 2010)
New Revision: 18781
Added:
modules/build/resources/branches/RF-9112/
Log:
RF-9112 creation of dev branch
Copied: modules/build/resources/branches/RF-9112 (from rev 18780, modules/build/resources/trunk)
15 years, 9 months
JBoss Rich Faces SVN: r18780 - modules/build/parent/branches.
by richfaces-svn-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2010-08-18 16:37:32 -0400 (Wed, 18 Aug 2010)
New Revision: 18780
Added:
modules/build/parent/branches/RF-9112/
Log:
RF-9112 creation of dev branch
Copied: modules/build/parent/branches/RF-9112 (from rev 18779, modules/build/parent/trunk)
15 years, 9 months
JBoss Rich Faces SVN: r18779 - branches.
by richfaces-svn-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2010-08-18 16:37:10 -0400 (Wed, 18 Aug 2010)
New Revision: 18779
Added:
branches/RF-9112/
Log:
RF-9112 creation of dev branch
Copied: branches/RF-9112 (from rev 18778, trunk)
15 years, 9 months
JBoss Rich Faces SVN: r18778 - trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images.
by richfaces-svn-commits@lists.jboss.org
Author: jbalunas(a)redhat.com
Date: 2010-08-18 16:31:02 -0400 (Wed, 18 Aug 2010)
New Revision: 18778
Modified:
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/SliderTrackGradient.java
Log:
Fixed two checkstyle errors :-(
Modified: trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/SliderTrackGradient.java
===================================================================
--- trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/SliderTrackGradient.java 2010-08-18 19:54:07 UTC (rev 18777)
+++ trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/SliderTrackGradient.java 2010-08-18 20:31:02 UTC (rev 18778)
@@ -26,8 +26,7 @@
import org.richfaces.skin.Skin;
public class SliderTrackGradient extends BaseGradient {
- public SliderTrackGradient() {
- super(7, 10, 7, "tabBackgroundColor", Skin.CONTROL_BACKGROUND_COLOR);
- }
-
+ public SliderTrackGradient() {
+ super(7, 10, 7, "tabBackgroundColor", Skin.CONTROL_BACKGROUND_COLOR);
+ }
}
\ No newline at end of file
15 years, 9 months
JBoss Rich Faces SVN: r18777 - in trunk/ui/input/ui/src/main: resources/META-INF/resources/org.richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-08-18 15:54:07 -0400 (Wed, 18 Aug 2010)
New Revision: 18777
Added:
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/SliderTrackGradient.java
Removed:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/bg.gif
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSlider.ecss
Log:
https://jira.jboss.org/browse/RF-9063
Added: trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/SliderTrackGradient.java
===================================================================
--- trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/SliderTrackGradient.java (rev 0)
+++ trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/html/images/SliderTrackGradient.java 2010-08-18 19:54:07 UTC (rev 18777)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright ${year}, Red Hat, Inc. and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.richfaces.renderkit.html.images;
+
+import org.richfaces.renderkit.html.BaseGradient;
+import org.richfaces.skin.Skin;
+
+public class SliderTrackGradient extends BaseGradient {
+ public SliderTrackGradient() {
+ super(7, 10, 7, "tabBackgroundColor", Skin.CONTROL_BACKGROUND_COLOR);
+ }
+
+}
\ No newline at end of file
Deleted: trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/bg.gif
===================================================================
(Binary files differ)
Modified: trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSlider.ecss
===================================================================
--- trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSlider.ecss 2010-08-18 19:41:15 UTC (rev 18776)
+++ trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSlider.ecss 2010-08-18 19:54:07 UTC (rev 18777)
@@ -77,7 +77,7 @@
}
.rf-ins-t {
- background: url("#{resource['org.richfaces:bg.gif']}") 1px 1px repeat-x #FFFFFF;
+ background: url("#{resource['org.richfaces.renderkit.html.images.SliderTrackGradient']}") 1px 1px repeat-x #FFFFFF;
border: 1px solid #C0C0C0;
display: block;
height: 6px;
15 years, 9 months
JBoss Rich Faces SVN: r18776 - in trunk: ui/common/ui/src/main/java/org/richfaces/renderkit/util and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-08-18 15:41:15 -0400 (Wed, 18 Aug 2010)
New Revision: 18776
Modified:
trunk/examples/output-demo/src/main/webapp/examples/togglePanel-mixed.xhtml
trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/FormUtil.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java
trunk/ui/output/ui/src/main/resources/META-INF/pn.faces-config.xml
trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/TogglePanel.js
Log:
RF-9009 switchablePanel's: improve cycled switching
Modified: trunk/examples/output-demo/src/main/webapp/examples/togglePanel-mixed.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/togglePanel-mixed.xhtml 2010-08-18 19:08:04 UTC (rev 18775)
+++ trunk/examples/output-demo/src/main/webapp/examples/togglePanel-mixed.xhtml 2010-08-18 19:41:15 UTC (rev 18776)
@@ -13,7 +13,7 @@
<ui:define name="body">
<h:form id="f">
- <pn:togglePanel id="panel" activeItem="name1" switchType="client" lang="en">
+ <pn:togglePanel id="panel" activeItem="name1" switchType="client" lang="en" cycledSwitching="true" >
<pn:togglePanelItem name="name1">hello name1 client</pn:togglePanelItem>
<pn:togglePanelItem name="name2" switchType="ajax">hello name2 ajax</pn:togglePanelItem>
<pn:togglePanelItem name="name3" switchType="server">hello name3 server</pn:togglePanelItem>
Modified: trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/FormUtil.java
===================================================================
--- trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/FormUtil.java 2010-08-18 19:08:04 UTC (rev 18775)
+++ trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/FormUtil.java 2010-08-18 19:41:15 UTC (rev 18776)
@@ -44,7 +44,7 @@
// TODO nick -> nick - switchType checking can be harmful here
SwitchType switchType = (SwitchType) component.getAttributes().get("switchType");
- boolean isSwitchTypeClient = (switchType != null) && SwitchType.client == switchType;
+ boolean isSwitchTypeClient = SwitchType.client == switchType;
if ((form == null) && !isSwitchTypeClient) {
throw new EnclosingFormRequiredException(component.getClass().toString() + " (id=\"" + component.getId()
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanel.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanel.java 2010-08-18 19:08:04 UTC (rev 18775)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanel.java 2010-08-18 19:41:15 UTC (rev 18776)
@@ -445,11 +445,14 @@
public AbstractTogglePanelItem getItemByIndex(final int index) {
List<AbstractTogglePanelItem> children = getRenderedChildren();
- if (index < 0 || index >= children.size()) {
+ if (isCycledSwitching()) {
+ int size = getRenderedChildren().size();
+ return children.get((size + index) % size);
+ } else if (index < 0 || index >= children.size()) {
return null;
+ } else {
+ return children.get(index);
}
-
- return children.get(index);
}
private List<AbstractTogglePanelItem> getRenderedChildren() {
@@ -552,6 +555,8 @@
public abstract boolean isLimitToList();
+ public abstract boolean isCycledSwitching();
+
public abstract Object getData();
public abstract String getStatus();
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanel.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanel.java 2010-08-18 19:08:04 UTC (rev 18775)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/component/UITogglePanel.java 2010-08-18 19:41:15 UTC (rev 18776)
@@ -34,6 +34,7 @@
switchType,
bypassUpdates,
limitToList,
+ cycledSwitching,
data,
status,
execute,
@@ -65,6 +66,14 @@
getStateHelper().put(PropertyKeys.limitToList, limitToList);
}
+ public boolean isCycledSwitching() {
+ return Boolean.valueOf(String.valueOf(getStateHelper().eval(PropertyKeys.cycledSwitching, false)));
+ }
+
+ public void setCycledSwitching(boolean cycledSwitching) {
+ getStateHelper().put(PropertyKeys.cycledSwitching, cycledSwitching);
+ }
+
public Object getData() {
return getStateHelper().eval(PropertyKeys.data);
}
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java 2010-08-18 19:08:04 UTC (rev 18775)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java 2010-08-18 19:41:15 UTC (rev 18776)
@@ -143,6 +143,7 @@
Map<String, Object> options = new HashMap<String, Object>(5);
options.put("activeItem", panel.getActiveItem());
+ options.put("cycledSwitching", panel.isCycledSwitching());
options.put("items", getChildrenScriptObjects(context, panel));
options.put("ajax", getAjaxOptions(context, panel));
Modified: trunk/ui/output/ui/src/main/resources/META-INF/pn.faces-config.xml
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/pn.faces-config.xml 2010-08-18 19:08:04 UTC (rev 18775)
+++ trunk/ui/output/ui/src/main/resources/META-INF/pn.faces-config.xml 2010-08-18 19:41:15 UTC (rev 18776)
@@ -35,6 +35,11 @@
</property>
<property>
<description></description>
+ <property-name>cycledSwitching</property-name>
+ <property-class>boolean</property-class>
+ </property>
+ <property>
+ <description></description>
<property-name>data</property-name>
<property-class>java.lang.Object</property-class>
</property>
@@ -275,6 +280,11 @@
</property>
<property>
<description></description>
+ <property-name>cycledSwitching</property-name>
+ <property-class>boolean</property-class>
+ </property>
+ <property>
+ <description></description>
<property-name>data</property-name>
<property-class>java.lang.Object</property-class>
</property>
Modified: trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml 2010-08-18 19:08:04 UTC (rev 18775)
+++ trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml 2010-08-18 19:41:15 UTC (rev 18776)
@@ -57,6 +57,11 @@
</attribute>
<attribute>
<description></description>
+ <name>cycledSwitching</name>
+ <type>boolean</type>
+ </attribute>
+ <attribute>
+ <description></description>
<name>data</name>
<type>java.lang.Object</type>
</attribute>
@@ -343,6 +348,11 @@
</attribute>
<attribute>
<description></description>
+ <name>cycledSwitching</name>
+ <type>boolean</type>
+ </attribute>
+ <attribute>
+ <description></description>
<name>data</name>
<type>java.lang.Object</type>
</attribute>
Modified: trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/TogglePanel.js
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/TogglePanel.js 2010-08-18 19:08:04 UTC (rev 18775)
+++ trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/TogglePanel.js 2010-08-18 19:41:15 UTC (rev 18776)
@@ -313,7 +313,7 @@
*/
prevItem: function (itemName) {
var itemIndex = this.__getItemIndex(itemName || this.activeItem);
- if (itemIndex < 1) {
+ if (!this.options.cycledSwitching && itemIndex < 1) {
return null;
}
@@ -355,11 +355,14 @@
* null - if item not found
* */
__getItem : function (index) {
- if (index >= 0 && index < this.items.length) {
+ if (this.options.cycledSwitching) {
+ var size = this.items.length;
+ return this.items[(size + index) % size]
+ } else if (index >= 0 && index < this.items.length) {
return this.items[index]
+ } else {
+ return null;
}
-
- return null;
},
__getItemByName : function (name) {
15 years, 9 months
JBoss Rich Faces SVN: r18775 - InputNumberSlider and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: admitriev
Date: 2010-08-18 15:08:04 -0400 (Wed, 18 Aug 2010)
New Revision: 18775
Modified:
management/design-4x/slider/corrs/Richfaces InputNumberSlider Demo_files/inputNumberSlider.css
Log:
Modified: management/design-4x/slider/corrs/Richfaces InputNumberSlider Demo_files/inputNumberSlider.css
===================================================================
--- management/design-4x/slider/corrs/Richfaces InputNumberSlider Demo_files/inputNumberSlider.css 2010-08-18 18:29:00 UTC (rev 18774)
+++ management/design-4x/slider/corrs/Richfaces InputNumberSlider Demo_files/inputNumberSlider.css 2010-08-18 19:08:04 UTC (rev 18775)
@@ -9,21 +9,21 @@
vertical-align : top;/* !!! was added */
}
*.rf-ins-mn, *.rf-ins-mx, input.rf-ins-i, *.rf-ins-tt {
- font-size: 11px;
- font-family: arial;
- color: rgb(0, 0, 0);
+ font-size: 11px /*generalSizeFont*/;
+ font-family: arial /*generalFamilyFont*/;
+ color: rgb(0, 0, 0)/*generalTextColor*/;
}
*.rf-ins-mn, *.rf-ins-mx {
display: block;
margin-bottom: 3px;
}
*.rf-ins-mn {
- border-left: 1px solid rgb(192, 192, 192);
+ border-left: 1px solid rgb(192, 192, 192) /*panelBorderColor*/;
padding-left: 3px;
float: left;
}
*.rf-ins-mx {
- border-right: 1px solid rgb(192, 192, 192);
+ border-right: 1px solid rgb(192, 192, 192) /*panelBorderColor*/;
padding-right: 3px;
float: right;
text-align: right;
@@ -37,8 +37,8 @@
input.rf-ins-i {
- background: url(/inputnumberslider-demo/rfRes/org.richfaces.renderkit.html.images.InputBackgroundImage.jsf?db=eAH7!!Hdy!9AwMTAwMANAEmXB9E_) top repeat-x rgb(255, 255, 255);
- border: 1px inset rgb(192, 192, 192);
+ background: url(/inputnumberslider-demo/rfRes/org.richfaces.renderkit.html.images.InputBackgroundImage.jsf?db=eAH7!!Hdy!9AwMTAwMANAEmXB9E_) /*top - additionalBackgroundColor, botton - controlBackgroundColor*/ top repeat-x rgb(255, 255, 255)/*controlBackgroundColor*/;
+ border: 1px inset rgb(192, 192, 192) /*panelBorderColor*/;
margin: 0px 10px 0px 10px; /* !!! was added */
}
*.rf-ins-tt {
@@ -46,11 +46,11 @@
display: none;
padding: 2px;
border: 1px solid "#E5973E ";
- background-color: #FAE6B0 ;
+ background-color: /**/;
}
*.rf-ins-t {
- background: url(/inputnumberslider-demo/javax.faces.resource/bg.gif.jsf) 1px 1px repeat-x rgb(255, 255, 255);
- border: 1px solid rgb(192, 192, 192);
+ background: url(/inputnumberslider-demo/javax.faces.resource/bg.gif.jsf) /*top - tabBackgroundColor, botton - controlBackgroundColor*/ 1px 1px repeat-x rgb(255, 255, 255)/*controlBackgroundColor*/;
+ border: 1px solid rgb(192, 192, 192) /*panelBorderColor*/;
display: block;
height: 6px;
clear: both;
@@ -63,7 +63,7 @@
vertical-align : top; /* !!! was added */
}
*.rf-ins-h {
- background: url(/inputnumberslider-demo/rfRes/org.richfaces.renderkit.html.images.SliderArrowBottom.jsf?db=eAH7z8DAAAAEAAEA) red;
+ background: url(/inputnumberslider-demo/rfRes/org.richfaces.renderkit.html.images.SliderArrowBottom.jsf?db=eAH7z8DAAAAEAAEA);
}
*.rf-ins-h-s {
background-image: url(/inputnumberslider-demo/rfRes/org.richfaces.renderkit.html.images.SliderSelectedArrowBottom.jsf?db=eAH7!3S6HQAIGwK6);
15 years, 9 months
JBoss Rich Faces SVN: r18774 - in trunk/ui: common/ui/src/test/java/org/richfaces/renderkit/util and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2010-08-18 14:29:00 -0400 (Wed, 18 Aug 2010)
New Revision: 18774
Modified:
trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/FormUtil.java
trunk/ui/common/ui/src/test/java/org/richfaces/renderkit/util/FormUtilTest.java
trunk/ui/dist/richfaces-components-api/pom.xml
trunk/ui/dist/richfaces-components-ui/pom.xml
trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java
Log:
RF-9010 TogglePanel improve diagnostic of "form not found" case
Modified: trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/FormUtil.java
===================================================================
--- trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/FormUtil.java 2010-08-18 17:24:07 UTC (rev 18773)
+++ trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/FormUtil.java 2010-08-18 18:29:00 UTC (rev 18774)
@@ -23,6 +23,7 @@
import org.ajax4jsf.renderkit.RendererUtils;
import org.richfaces.component.EnclosingFormRequiredException;
+import org.richfaces.component.SwitchType;
import javax.faces.component.UIComponent;
import javax.faces.component.UIForm;
@@ -42,8 +43,8 @@
UIForm form = RendererUtils.getInstance().getNestingForm(context, component);
// TODO nick -> nick - switchType checking can be harmful here
- String switchType = (String) component.getAttributes().get("switchType");
- boolean isSwitchTypeClient = (switchType == null) ? false : switchType.equalsIgnoreCase("client");
+ SwitchType switchType = (SwitchType) component.getAttributes().get("switchType");
+ boolean isSwitchTypeClient = (switchType != null) && SwitchType.client == switchType;
if ((form == null) && !isSwitchTypeClient) {
throw new EnclosingFormRequiredException(component.getClass().toString() + " (id=\"" + component.getId()
Modified: trunk/ui/common/ui/src/test/java/org/richfaces/renderkit/util/FormUtilTest.java
===================================================================
--- trunk/ui/common/ui/src/test/java/org/richfaces/renderkit/util/FormUtilTest.java 2010-08-18 17:24:07 UTC (rev 18773)
+++ trunk/ui/common/ui/src/test/java/org/richfaces/renderkit/util/FormUtilTest.java 2010-08-18 18:29:00 UTC (rev 18774)
@@ -28,6 +28,7 @@
import org.jboss.test.faces.AbstractFacesTest;
import org.richfaces.component.EnclosingFormRequiredException;
+import org.richfaces.component.SwitchType;
/**
* @author Nick Belaevski - nbelaevski(a)exadel.com
@@ -74,7 +75,7 @@
UIViewRoot viewRoot = facesContext.getViewRoot();
UIComponent testComponent = application.createComponent(UIOutput.COMPONENT_TYPE);
- testComponent.getAttributes().put("switchType", "CLIENT");
+ testComponent.getAttributes().put("switchType", SwitchType.client);
viewRoot.getChildren().add(testComponent);
FormUtil.throwEnclFormReqExceptionIfNeed(facesContext, testComponent);
}
Modified: trunk/ui/dist/richfaces-components-api/pom.xml
===================================================================
--- trunk/ui/dist/richfaces-components-api/pom.xml 2010-08-18 17:24:07 UTC (rev 18773)
+++ trunk/ui/dist/richfaces-components-api/pom.xml 2010-08-18 18:29:00 UTC (rev 18774)
@@ -152,7 +152,7 @@
<configuration>
<classifier>sources</classifier>
- <includeGroupIds>org.richfaces.ui.core, org.richfaces.ui.iteration, org.richfaces.ui.output, org.richfaces.ui.input</includeGroupIds>
+ <includeGroupIds>org.richfaces.ui.core, org.richfaces.ui.common, org.richfaces.ui.iteration, org.richfaces.ui.output, org.richfaces.ui.input</includeGroupIds>
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
<excludeTransitive>true</excludeTransitive>
</configuration>
Modified: trunk/ui/dist/richfaces-components-ui/pom.xml
===================================================================
--- trunk/ui/dist/richfaces-components-ui/pom.xml 2010-08-18 17:24:07 UTC (rev 18773)
+++ trunk/ui/dist/richfaces-components-ui/pom.xml 2010-08-18 18:29:00 UTC (rev 18774)
@@ -176,7 +176,7 @@
<configuration>
<classifier>sources</classifier>
- <includeGroupIds>${assembly.projects.group}.core, ${assembly.projects.group}.misc, ${assembly.projects.group}.iteration, ${assembly.projects.group}.output</includeGroupIds>
+ <includeGroupIds>${assembly.projects.group}.core, ${assembly.projects.group}.common, ${assembly.projects.group}.misc, ${assembly.projects.group}.iteration, ${assembly.projects.group}.output</includeGroupIds>
<useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
<excludeTransitive>true</excludeTransitive>
</configuration>
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java 2010-08-18 17:24:07 UTC (rev 18773)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java 2010-08-18 18:29:00 UTC (rev 18774)
@@ -45,6 +45,7 @@
import org.richfaces.component.AbstractTogglePanel;
import org.richfaces.component.AbstractTogglePanelItem;
import org.richfaces.component.util.HtmlUtil;
+import org.richfaces.renderkit.util.FormUtil;
/**
* @author akolonitsky
@@ -105,6 +106,8 @@
@Override
protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent comp) throws IOException {
+ FormUtil.throwEnclFormReqExceptionIfNeed(context, comp);
+
super.doEncodeBegin(writer, context, comp);
AbstractTogglePanel panel = (AbstractTogglePanel) comp;
15 years, 9 months