JBoss Rich Faces SVN: r21543 - trunk/examples/dnd-demo/src/main/java/org/demo.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2011-02-08 11:06:14 -0500 (Tue, 08 Feb 2011)
New Revision: 21543
Added:
trunk/examples/dnd-demo/src/main/java/org/demo/DropListenerBean.java
Log:
https://issues.jboss.org/browse/RF-10430 DnD: developer example doesn't work
Added: trunk/examples/dnd-demo/src/main/java/org/demo/DropListenerBean.java
===================================================================
--- trunk/examples/dnd-demo/src/main/java/org/demo/DropListenerBean.java (rev 0)
+++ trunk/examples/dnd-demo/src/main/java/org/demo/DropListenerBean.java 2011-02-08 16:06:14 UTC (rev 21543)
@@ -0,0 +1,31 @@
+package org.demo;
+
+
+import org.richfaces.event.DropEvent;
+import org.richfaces.event.DropListener;
+
+import javax.faces.bean.ManagedBean;
+import javax.faces.bean.ManagedProperty;
+import javax.faces.bean.RequestScoped;
+
+@RequestScoped
+@ManagedBean(name = "dropListenerBean")
+public class DropListenerBean implements DropListener {
+
+ private DropEvent dropEvent;
+
+ @ManagedProperty (value="#{dataBean}")
+ private DataBean dataBean;
+
+ public void setDataBean (DataBean dataBean){
+ this.dataBean = dataBean;
+ }
+
+ public void processDrop(DropEvent event) {
+ String value = (String)event.getDragValue();
+ dataBean.addDropValues(value);
+ dataBean.setPhaseId(event.getPhaseId().toString());
+ }
+
+
+}
15 years, 2 months
JBoss Rich Faces SVN: r21542 - trunk/ui/output/ui/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2011-02-08 11:05:07 -0500 (Tue, 08 Feb 2011)
New Revision: 21542
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTabPanel.java
Log:
RF-10443 Tab panel: attribute execute ignored
RF-10441 Tab panel: attribute render ignored
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTabPanel.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTabPanel.java 2011-02-08 15:56:55 UTC (rev 21541)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTabPanel.java 2011-02-08 16:05:07 UTC (rev 21542)
@@ -81,45 +81,39 @@
@Attribute
public abstract String getTabHeaderClass();
- @Attribute(events = @EventName("itemchange"))
- public abstract String getOnitemchange();
+ @Attribute(hidden = true)
+ public boolean isBypassUpdates() {
+ throw new IllegalStateException("this method shouldn't be used");
+ }
- @Attribute(events = @EventName("beforeitemchange"))
- public abstract String getOnbeforeitemchange();
+ @Attribute(hidden = true)
+ public boolean isLimitRender() {
+ throw new IllegalStateException("this method shouldn't be used");
+ }
- @Attribute
- public abstract String getLang();
+ @Attribute(hidden = true)
+ public boolean isCycledSwitching() {
+ throw new IllegalStateException("this method shouldn't be used");
+ }
- @Attribute
- public abstract String getTitle();
+ @Attribute(hidden = true)
+ public Object getData() {
+ throw new IllegalStateException("this method shouldn't be used");
+ }
- @Attribute
- public abstract String getStyle();
+ @Attribute(hidden = true)
+ public String getStatus() {
+ throw new IllegalStateException("this method shouldn't be used");
+ }
- @Attribute
- public abstract String getStyleClass();
+ @Attribute(hidden = true)
+ public Object getExecute() {
+ throw new IllegalStateException("this method shouldn't be used");
+ }
- @Attribute
- public abstract String getDir();
+ @Attribute(hidden = true)
+ public Object getRender() {
+ throw new IllegalStateException("this method shouldn't be used");
+ }
- @Attribute(events = @EventName("click"))
- public abstract String getOnclick();
-
- @Attribute(events = @EventName("dblclick"))
- public abstract String getOndblclick();
-
- @Attribute(events = @EventName("mousedown"))
- public abstract String getOnmousedown();
-
- @Attribute(events = @EventName("mousemove"))
- public abstract String getOnmousemove();
-
- @Attribute(events = @EventName("mouseout"))
- public abstract String getOnmouseout();
-
- @Attribute(events = @EventName("mouseover"))
- public abstract String getOnmouseover();
-
- @Attribute(events = @EventName("mouseup"))
- public abstract String getOnmouseup();
}
15 years, 2 months
JBoss Rich Faces SVN: r21541 - management/design-4x/showcase_markup.
by richfaces-svn-commits@lists.jboss.org
Author: Ochikvina
Date: 2011-02-08 10:56:55 -0500 (Tue, 08 Feb 2011)
New Revision: 21541
Modified:
management/design-4x/showcase_markup/index.html
management/design-4x/showcase_markup/styles.css
Log:
Updated markup.
Modified: management/design-4x/showcase_markup/index.html
===================================================================
--- management/design-4x/showcase_markup/index.html 2011-02-08 15:51:13 UTC (rev 21540)
+++ management/design-4x/showcase_markup/index.html 2011-02-08 15:56:55 UTC (rev 21541)
@@ -50,7 +50,7 @@
</div>
<div id="page-content">
<div class="left-menu">
- Panel Menu
+ <div style="height:800px;border:1px solid black;">Panel Menu</div>
</div>
<div class="content-container">
<p>Welcome to the demo site for the <strong>RichFaces</strong> project!</p>
Modified: management/design-4x/showcase_markup/styles.css
===================================================================
--- management/design-4x/showcase_markup/styles.css 2011-02-08 15:51:13 UTC (rev 21540)
+++ management/design-4x/showcase_markup/styles.css 2011-02-08 15:56:55 UTC (rev 21541)
@@ -110,9 +110,17 @@
min-height:520px;
padding:10px 20px 0;
}
+#page-content:after{
+ content: ".";
+ display: block;
+ clear: both;
+ visibility: hidden;
+ line-height: 0;
+ height: 0;
+}
#page-content .left-menu{
float:left;
- margin-right:10px;
+ margin:5px 10px 5px 0;
min-height:450px;
width:210px;
}
@@ -122,7 +130,6 @@
#footer{
background:url(images/footer.png) top left no-repeat;
color:#2d4351;
- clear:both;
text-align:center;
padding:15px 20px 10px;
}
\ No newline at end of file
15 years, 2 months
JBoss Rich Faces SVN: r21540 - in trunk: examples/output-demo/src/main/webapp/examples and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2011-02-08 10:51:13 -0500 (Tue, 08 Feb 2011)
New Revision: 21540
Modified:
trunk/examples/input-demo/pom.xml
trunk/examples/output-demo/src/main/webapp/examples/dropDownMenu.xhtml
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractMenuGroup.java
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu-base.js
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menugroup.js
Log:
RF-10216 Menu group: horizontalOffset and verticalOffset don't work
Modified: trunk/examples/input-demo/pom.xml
===================================================================
--- trunk/examples/input-demo/pom.xml 2011-02-08 15:12:45 UTC (rev 21539)
+++ trunk/examples/input-demo/pom.xml 2011-02-08 15:51:13 UTC (rev 21540)
@@ -117,6 +117,11 @@
</dependency>
<dependency>
+ <groupId>org.richfaces.ui.misc</groupId>
+ <artifactId>richfaces-ui-misc-ui</artifactId>
+ </dependency>
+
+ <dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<scope>provided</scope>
Modified: trunk/examples/output-demo/src/main/webapp/examples/dropDownMenu.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/dropDownMenu.xhtml 2011-02-08 15:12:45 UTC (rev 21539)
+++ trunk/examples/output-demo/src/main/webapp/examples/dropDownMenu.xhtml 2011-02-08 15:51:13 UTC (rev 21540)
@@ -31,12 +31,22 @@
<body>
<ui:composition template="/templates/template.xhtml">
+ <style>
+ .optionList {
+ height:22px;
+ }
+ .vertical-menu-cell {
+ padding:0px 4px 0px 4px;
+ }
+ </style>
+
<ui:define name="title">DROPDOWN MENU Development demo</ui:define>
<ui:define name="body_head">DROPDOWN MENU Development demo</ui:define>
<ui:define name="body">
+
<h:form id="form">
<h:panelGrid id="panel" columns="2">
<h:panelGroup layout="block" style="width:300px;">
@@ -48,20 +58,19 @@
<br />
<ddm:dropDownMenu hideDelay="600" showEvent="click"
jointPoint="bottomLeft" direction="autoRight"
- id="ddmenu" disabled="#{menuBean.disabled}"
- mode="#{menuBean.mode}">
+ id="ddmenu" disabled="#{menuBean.disabled}" mode="#{menuBean.mode}">
<f:facet name="label">
<h:panelGroup>
<h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
<h:outputText value="File"/>
</h:panelGroup>
</f:facet>
- <f:facet name="labelDisabled">
+ <f:facet name="labelDisabled">
<h:panelGroup>
<h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
<h:outputText value="(disabled)File"/>
</h:panelGroup>
- </f:facet>
+ </f:facet>
<ddm:menuItem id="menuNew1" label="New" icon="/images/ddmenu/create_doc.gif"
action="#{menuBean.doNew}" execute="@form">
<f:facet name="icon">
@@ -85,11 +94,11 @@
<f:setPropertyActionListener target="#{menuBean.value}" value="Save All" />
</ddm:menuItem>
</ddm:menuGroup>
- <ddm:menuGroup label="Save As...">
+ <ddm:menuGroup label="Save As..." horizontalOffset="10" jointPoint="topRight" direction="bottomRight">
<ddm:menuItem label="Save" icon="/images/ddmenu/save.gif" >
<f:setPropertyActionListener target="#{menuBean.value}" value="Save" />
</ddm:menuItem>
- <ddm:menuGroup label="Save All" icon="/images/ddmenu/save_all.gif" >
+ <ddm:menuGroup label="Save All" icon="/images/ddmenu/save_all.gif" direction="bottomRight" jointPoint="topRight" verticalOffset="10">
<ddm:menuItem label="Save All 1" icon="/images/ddmenu/save_all.gif">
<f:setPropertyActionListener target="#{menuBean.value}" value="Save All 1" />
</ddm:menuItem>
@@ -157,76 +166,81 @@
<br/>
<h:form id="form2">
<h:panelGroup>
- <ddm:dropDownMenu id="ddmenu2">
- <f:facet name="label">
- <h:panelGroup>
- <h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
- <h:outputText value="File"/>
- </h:panelGroup>
- </f:facet>
- <f:facet name="labelDisabled">
- <h:panelGroup>
- <h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
- <h:outputText value="(disabled)File"/>
- </h:panelGroup>
- </f:facet>
- <ddm:menuItem id="menuNew2" label="New" icon="/images/ddmenu/create_doc.gif"
- action="#{menuBean.doNew}" execute="@form">
- <f:facet name="icon">
- <h:selectBooleanCheckbox id="checkbox" value="#{menuBean.checkbox}"/>
- </f:facet>
- </ddm:menuItem>
- <ddm:menuItem label="Open" action="#{menuBean.doOpen}">
- <f:facet name="icon">
- <h:graphicImage value="/images/ddmenu/open.gif" />
- </f:facet>
- </ddm:menuItem>
- </ddm:dropDownMenu>
- <ddm:dropDownMenu id="ddmenu3">
- <f:facet name="label">
- <h:panelGroup>
- <h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
- <h:outputText value="File"/>
- </h:panelGroup>
- </f:facet>
- <f:facet name="labelDisabled">
- <h:panelGroup>
- <h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
- <h:outputText value="(disabled)File"/>
- </h:panelGroup>
- </f:facet>
- <ddm:menuItem id="menuNew3" label="New" icon="/images/ddmenu/create_doc.gif"
- action="#{menuBean.doNew}" execute="@form">
-
- </ddm:menuItem>
- <ddm:menuItem label="Open" action="#{menuBean.doOpen}">
- <f:facet name="icon">
- <h:graphicImage value="/images/ddmenu/open.gif" />
- </f:facet>
- </ddm:menuItem>
- </ddm:dropDownMenu>
- <ddm:dropDownMenu id="ddmenu4">
- <f:facet name="label">
- <h:panelGroup>
- <h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
- <h:outputText value="File"/>
- </h:panelGroup>
- </f:facet>
- <f:facet name="labelDisabled">
- <h:panelGroup>
- <h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
- <h:outputText value="(disabled)File"/>
- </h:panelGroup>
- </f:facet>
- <ddm:menuItem id="menuNew" label="New" icon="/images/ddmenu/create_doc.gif"
- action="#{menuBean.doNew}" execute="@form">
- </ddm:menuItem>
- <ddm:menuItem label="Open" action="#{menuBean.doOpen}">
- <f:facet name="icon">
- <h:graphicImage value="/images/ddmenu/open.gif" />
- </f:facet>
- </ddm:menuItem>
- </ddm:dropDownMenu>
+ <h:panelGrid styleClass="vertical-menu-cell" columnClasses="optionList" columns="1" cellspacing="0" cellpadding="0">
+ <ddm:dropDownMenu id="ddmenu2" horizontalOffset="10" verticalOffset="20" jointPoint="topRight" direction="bottomRight" style="border:1px solid #{a4jSkin.panelBorderColor}">
+ <f:facet name="label">
+ <h:panelGroup>
+ <h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
+ <h:outputText value="File"/>
+ </h:panelGroup>
+ </f:facet>
+ <f:facet name="labelDisabled">
+ <h:panelGroup>
+ <h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
+ <h:outputText value="(disabled)File"/>
+ </h:panelGroup>
+ </f:facet>
+ <ddm:menuItem id="menuNew2" label="New" icon="/images/ddmenu/create_doc.gif"
+ action="#{menuBean.doNew}" execute="@form">
+ <f:facet name="icon">
+ <h:selectBooleanCheckbox id="checkbox" value="#{menuBean.checkbox}"/>
+ </f:facet>
+ </ddm:menuItem>
+ <ddm:menuItem label="Open" action="#{menuBean.doOpen}">
+ <f:facet name="icon">
+ <h:graphicImage value="/images/ddmenu/open.gif" />
+ </f:facet>
+ </ddm:menuItem>
+ </ddm:dropDownMenu>
+ <ddm:dropDownMenu id="ddmenu3">
+ <f:facet name="label">
+ <h:panelGroup>
+ <h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
+ <h:outputText value="File"/>
+ </h:panelGroup>
+ </f:facet>
+ <f:facet name="labelDisabled">
+ <h:panelGroup>
+ <h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
+ <h:outputText value="(disabled)File"/>
+ </h:panelGroup>
+ </f:facet>
+ <ddm:menuItem id="menuNew3" label="New" icon="/images/ddmenu/create_doc.gif"
+ action="#{menuBean.doNew}" execute="@form">
+
+ </ddm:menuItem>
+ <ddm:menuItem label="Open" action="#{menuBean.doOpen}">
+ <f:facet name="icon">
+ <h:graphicImage value="/images/ddmenu/open.gif" />
+ </f:facet>
+ </ddm:menuItem>
+ </ddm:dropDownMenu>
+ <ddm:dropDownMenu id="ddmenu4">
+ <f:facet name="label">
+ <h:panelGroup>
+ <h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
+ <h:outputText value="File"/>
+ </h:panelGroup>
+ </f:facet>
+ <f:facet name="labelDisabled">
+ <h:panelGroup>
+ <h:graphicImage value="/images/ddmenu/copy.gif" styleClass="pic"/>
+ <h:outputText value="(disabled)File"/>
+ </h:panelGroup>
+ </f:facet>
+ <ddm:menuItem id="menuNew" label="New" icon="/images/ddmenu/create_doc.gif"
+ action="#{menuBean.doNew}" execute="@form">
+ </ddm:menuItem>
+ <ddm:menuItem label="Open" action="#{menuBean.doOpen}">
+ <f:facet name="icon">
+ <h:graphicImage value="/images/ddmenu/open.gif" />
+ </f:facet>
+ </ddm:menuItem>
+ </ddm:dropDownMenu>
+
+
+ </h:panelGrid>
+
<br/>
<br/>
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractMenuGroup.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractMenuGroup.java 2011-02-08 15:12:45 UTC (rev 21539)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractMenuGroup.java 2011-02-08 15:51:13 UTC (rev 21540)
@@ -43,10 +43,10 @@
public abstract Positioning getJointPoint();
@Attribute
- public abstract String getVerticalOffset();
+ public abstract int getVerticalOffset();
@Attribute
- public abstract String getHorizontalOffset();
+ public abstract int getHorizontalOffset();
@Attribute(hidden = true)
public abstract Object getValue();
Modified: trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu-base.js
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu-base.js 2011-02-08 15:12:45 UTC (rev 21539)
+++ trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu-base.js 2011-02-08 15:51:13 UTC (rev 21540)
@@ -8,7 +8,7 @@
showDelay : 50,
hideDelay : 300,
verticalOffset : 0,
- horisantalOffset : 0,
+ horizontalOffset : 0,
showEvent : 'mouseover',
positionOffset : [0, 0],
itemCss : "rf-ddm-itm",
@@ -36,7 +36,7 @@
this.options.attachTo = this.id;
this.options.attachToBody = false;
- this.options.positionOffset = [this.options.horisantalOffset,
+ this.options.positionOffset = [this.options.horizontalOffset,
this.options.verticalOffset];
this.popup = new RichFaces.ui.Popup(this.id + "_list", {
attachTo : this.id,
@@ -121,7 +121,7 @@
this.displayed = false;
this.__deselectCurrentItem();
this.currentSelectedItemIndex = -1;
- parentMenu = rf.$(this.__getParentMenu());
+ var parentMenu = rf.$(this.__getParentMenu());
if (this.id != parentMenu.id) {
parentMenu.popupElement.focus();
rf.ui.MenuManager.setActiveSubMenu(parentMenu);
@@ -211,7 +211,6 @@
},
__leaveHandler : function() {
- //console.log('__leaveHandler showTimeoutId:'+ this.showTimeoutId);
this.hideTimeoutId = window.setTimeout($.proxy(function() {
this.hide();
}, this), this.options.hideDelay);
@@ -226,7 +225,7 @@
// clean up code here
this.detach(this.id);
- rf.Event.unbind(this.popupElement, "keydown" + this.namespace)
+ rf.Event.unbind(this.popupElement, "keydown" + this.namespace);
// call parent's destroy method
$super.destroy.call(this);
Modified: trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js 2011-02-08 15:12:45 UTC (rev 21539)
+++ trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menu.js 2011-02-08 15:51:13 UTC (rev 21540)
@@ -2,9 +2,9 @@
rf.ui = rf.ui || {};
var defaultOptions = {
- direction : "AA",
- jointPoint : "AA",
- positionType : "DROPDOWN"
+ positionType : "DROPDOWN",
+ direction : "AA",
+ jointPoint : "AA"
};
// constructor definition
@@ -39,15 +39,14 @@
initiateGroups : function(groupOptions) {
for (var i in groupOptions) {
var groupId = groupOptions[i].id;
- var positionOffset = [groupOptions[i].horizontalOffset,
- groupOptions[i].verticalOffset];
if (null != groupId) {
this.groupList[groupId] = new RichFaces.ui.MenuGroup(
groupId, {
rootMenuId : this.id,
onshow : groupOptions[i].onshow,
onhide : groupOptions[i].onhide,
- positionOffset : positionOffset,
+ horizontalOffset: groupOptions[i].horizontalOffset,
+ verticalOffset: groupOptions[i].verticalOffset,
jointPoint : groupOptions[i].jointPoint,
direction : groupOptions[i].direction
});
Modified: trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menugroup.js
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menugroup.js 2011-02-08 15:12:45 UTC (rev 21539)
+++ trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/menugroup.js 2011-02-08 15:51:13 UTC (rev 21540)
@@ -2,6 +2,9 @@
rf.ui = rf.ui || {};
var defaultOptions = {
showEvent : 'mouseenter',
+ direction : "AA",
+ jointPoint : "AA",
+ positionType : "DDMENUGROUP",
showDelay : 300,
itemCss : "rf-ddm-itm"
}
15 years, 2 months
JBoss Rich Faces SVN: r21539 - in trunk/ui: common/ui/src/main/java/org/richfaces/renderkit/util and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2011-02-08 10:12:45 -0500 (Tue, 08 Feb 2011)
New Revision: 21539
Modified:
trunk/ui/common/ui/src/main/java/org/richfaces/component/util/InputUtils.java
trunk/ui/common/ui/src/main/java/org/richfaces/component/util/SelectUtils.java
trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/RendererUtils.java
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/InputRendererBase.java
Log:
https://issues.jboss.org/browse/RF-10170
Modified: trunk/ui/common/ui/src/main/java/org/richfaces/component/util/InputUtils.java
===================================================================
--- trunk/ui/common/ui/src/main/java/org/richfaces/component/util/InputUtils.java 2011-02-08 15:06:32 UTC (rev 21538)
+++ trunk/ui/common/ui/src/main/java/org/richfaces/component/util/InputUtils.java 2011-02-08 15:12:45 UTC (rev 21539)
@@ -21,113 +21,164 @@
package org.richfaces.component.util;
-import java.io.Serializable;
-
import javax.el.ValueExpression;
import javax.faces.component.UIComponent;
+import javax.faces.component.UIInput;
import javax.faces.component.ValueHolder;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.ConverterException;
-import org.ajax4jsf.Messages;
+import org.richfaces.renderkit.util.RendererUtils;
+import com.google.common.base.Strings;
+
/**
* @author Maksim Kaszynski
* @author Manfred Geiler
*/
public final class InputUtils {
- public static final String EMPTY_STRING = new String();
- public static final Object NOTHING = new Serializable() {
+
+ private static final ConverterLookupStrategy DEFAULT_CONVERTER_LOOKUP_STRATEGY = new ConverterLookupStrategy() {
+
+ public Converter getConverterByValue(FacesContext context, UIComponent component, Object value) {
+ Converter result = null;
+
+ if (component instanceof ValueHolder) {
+ result = ((ValueHolder) component).getConverter();
+ }
+
+ if (result == null && value != null) {
+ result = getConverterForType(context, value.getClass());
+ }
+
+ return result;
+ }
+
+ public Converter getConverterByProperty(FacesContext context, UIComponent component) {
+ return findConverter(context, component, "value");
+ }
};
-
+
private InputUtils() {
}
- public static boolean isTrue(Object obj) {
- if (!(obj instanceof Boolean)) {
- return false;
- }
+ public static interface ConverterLookupStrategy {
- return ((Boolean) obj).booleanValue();
+ public Converter getConverterByProperty(FacesContext context, UIComponent component);
+
+ public Converter getConverterByValue(FacesContext context, UIComponent component, Object value);
}
public static boolean isDisabled(UIComponent component) {
- return isTrue(component.getAttributes().get("disabled"));
+ return RendererUtils.getInstance().isBooleanAttribute(component, "disabled");
}
public static boolean isReadOnly(UIComponent component) {
- return isTrue(component.getAttributes().get("readonly"));
+ return RendererUtils.getInstance().isBooleanAttribute(component, "readonly");
}
public static Converter getConverterForType(FacesContext context, Class<?> type) {
- //see getConvertedValue
+ // see getConvertedValue
if (type == null || Object.class.equals(type)) {
return null;
}
-
+
return context.getApplication().createConverter(type);
}
+
+ public static String getConvertedStringValue(FacesContext context, UIComponent component, Object value) throws ConverterException {
+ return getConvertedStringValue(context, component, DEFAULT_CONVERTER_LOOKUP_STRATEGY, value);
+ }
- public static Object getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)
- throws ConverterException {
- String newValue = (String) submittedValue;
- ValueExpression valueExpression = component.getValueExpression("value");
+ public static String getConvertedStringValue(FacesContext context, UIComponent component,
+ ConverterLookupStrategy converterLookupStrategy, Object value) throws ConverterException {
+
+ Converter converter = converterLookupStrategy.getConverterByValue(context, component, value);
+ if (converter != null) {
+ return converter.getAsString(context, component, value);
+ }
+
+ if (value == null) {
+ return "";
+ }
+
+ if (value instanceof String) {
+ return (String) value;
+ }
+
+ return value.toString();
+ }
+
+ public static Converter findConverter(FacesContext facesContext, UIComponent component, String property) {
Converter converter = null;
-
+
if (component instanceof ValueHolder) {
converter = ((ValueHolder) component).getConverter();
}
- if ((converter == null) && (valueExpression != null)) {
- Class converterType = valueExpression.getType(context.getELContext());
+ if (converter == null) {
- //see getConverterForType
- if ((converterType == null) || (converterType == Object.class)) {
- return newValue;
- } else {
- converter = context.getApplication().createConverter(converterType);
+ ValueExpression ve = component.getValueExpression(property);
- if (converter == null) {
- if (String.class.equals(converterType)) {
- return newValue;
- }
- throw new ConverterException(Messages.getMessage(Messages.NO_CONVERTER_FOUND_ERROR,
- converterType.getName()));
+ if (ve != null) {
+
+ Class<?> valueType = ve.getType(facesContext.getELContext());
+ if (valueType == null || Object.class.equals(valueType)) {
+ // No converter needed
+ } else {
+ converter = facesContext.getApplication().createConverter(valueType);
}
+
}
- } else if (converter == null) {
- return newValue;
}
- return converter.getAsObject(context, component, newValue);
+ return converter;
}
- public static String getConvertedStringValue(FacesContext context, UIComponent component, Object value) {
- Converter converter = null;
+ public static Object getConvertedValue(FacesContext context, UIComponent component, Object val)
+ throws ConverterException {
+
+ return getConvertedValue(context, component, DEFAULT_CONVERTER_LOOKUP_STRATEGY, val);
+ }
- if (component instanceof ValueHolder) {
- converter = ((ValueHolder) component).getConverter();
+ public static Object getConvertedValue(FacesContext context, UIComponent component,
+ ConverterLookupStrategy converterLookupStrategy, Object val) throws ConverterException {
+
+ String submittedString = (String) val;
+ if (Strings.isNullOrEmpty(submittedString)) {
+ return null;
}
- if (converter == null) {
- if (value == null) {
- return "";
- } else if (value instanceof String) {
- return (String) value;
- }
+ Converter converter = converterLookupStrategy.getConverterByProperty(context, (UIInput) component);
+ if (converter != null) {
+ return converter.getAsObject(context, component, submittedString);
+ }
- Class converterType = value.getClass();
+ return submittedString;
+ }
- if (converterType != null) {
- converter = context.getApplication().createConverter(converterType);
- }
+ public static String getInputValue(FacesContext context, UIComponent component) throws ConverterException {
+ return getInputValue(context, component, DEFAULT_CONVERTER_LOOKUP_STRATEGY);
+ }
- if (converter == null) {
- return value.toString();
- }
+ public static String getInputValue(FacesContext context, UIComponent component,
+ ConverterLookupStrategy converterLookupStrategy) throws ConverterException {
+
+ UIInput input = (UIInput) component;
+ String submittedValue = (String) input.getSubmittedValue();
+
+ if (submittedValue != null) {
+ return submittedValue;
}
- return converter.getAsString(context, component, value);
+ Object value = input.getValue();
+ Converter converter = converterLookupStrategy.getConverterByValue(context, input, value);
+
+ if (converter != null) {
+ return converter.getAsString(context, input, value);
+ } else {
+ return value != null ? value.toString() : "";
+ }
}
}
Modified: trunk/ui/common/ui/src/main/java/org/richfaces/component/util/SelectUtils.java
===================================================================
--- trunk/ui/common/ui/src/main/java/org/richfaces/component/util/SelectUtils.java 2011-02-08 15:06:32 UTC (rev 21538)
+++ trunk/ui/common/ui/src/main/java/org/richfaces/component/util/SelectUtils.java 2011-02-08 15:12:45 UTC (rev 21539)
@@ -21,10 +21,6 @@
package org.richfaces.component.util;
-import java.io.IOException;
-import java.io.NotSerializableException;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
@@ -32,13 +28,9 @@
import javax.el.ValueExpression;
import javax.faces.application.ProjectStage;
import javax.faces.component.UIComponent;
-import javax.faces.component.UIInput;
-import javax.faces.component.UIOutput;
import javax.faces.component.UISelectItem;
import javax.faces.component.UISelectItems;
import javax.faces.context.FacesContext;
-import javax.faces.convert.Converter;
-import javax.faces.convert.ConverterException;
import javax.faces.model.SelectItem;
import org.richfaces.log.Logger;
@@ -57,6 +49,8 @@
private static final class GenericObjectSelectItem extends SelectItem {
+ private static final long serialVersionUID = -714217221281952395L;
+
private static final RendererUtils UTILS = RendererUtils.getInstance();
private static final String VAR = "var";
@@ -102,14 +96,6 @@
}
- private void writeObject(ObjectOutputStream out) throws IOException {
- throw new NotSerializableException();
- }
-
- private void readObject(ObjectInputStream in) throws IOException {
- throw new NotSerializableException();
- }
-
}
private static final class MapItemsIterator extends AbstractIterator<SelectItem> {
@@ -284,39 +270,4 @@
return new SelectItemsIterator(context, component.getChildren().iterator());
}
- public static Object getConvertedUIInputValue(FacesContext facesContext, UIInput component, String submittedValue) throws ConverterException {
- if (InputUtils.EMPTY_STRING.equals(submittedValue)) {
- return null;
- }
-
- Converter converter = SelectUtils.findConverter(facesContext, component, "value");
- if (converter != null) {
- return converter.getAsObject(facesContext, component, submittedValue);
- }
-
- return submittedValue;
- }
-
- public static Converter findConverter(FacesContext facesContext, UIOutput component, String property) {
- Converter converter = component.getConverter();
-
- if (converter == null) {
-
- ValueExpression ve = component.getValueExpression(property);
-
- if (ve != null) {
-
- Class<?> valueType = ve.getType(facesContext.getELContext());
- if ((valueType == null) || Object.class.equals(valueType)) {
- // No converter needed
- } else {
- converter = facesContext.getApplication().createConverter(valueType);
- }
-
- }
- }
-
- return converter;
- }
-
}
Modified: trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/RendererUtils.java
===================================================================
--- trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/RendererUtils.java 2011-02-08 15:06:32 UTC (rev 21538)
+++ trunk/ui/common/ui/src/main/java/org/richfaces/renderkit/util/RendererUtils.java 2011-02-08 15:12:45 UTC (rev 21539)
@@ -32,20 +32,16 @@
import java.util.LinkedHashMap;
import java.util.Map;
-import javax.faces.FacesException;
import javax.faces.application.ViewHandler;
-import javax.faces.component.EditableValueHolder;
import javax.faces.component.NamingContainer;
import javax.faces.component.UIComponent;
import javax.faces.component.UIForm;
import javax.faces.component.UIParameter;
import javax.faces.component.UIViewRoot;
-import javax.faces.component.ValueHolder;
import javax.faces.component.behavior.ClientBehaviorContext.Parameter;
import javax.faces.component.behavior.ClientBehaviorHolder;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
-import javax.faces.convert.Converter;
import org.ajax4jsf.Messages;
import org.ajax4jsf.component.JavaScriptParameter;
@@ -489,77 +485,6 @@
return result;
}
- /**
- * Return converted value for {@link javax.faces.component.ValueHolder} as
- * String, perform nessesary convertions.
- *
- * @param context
- * @param component
- * @return
- */
- public String getValueAsString(FacesContext context, UIComponent component) {
-
- // First - get submitted value for input components
- if (component instanceof EditableValueHolder) {
- EditableValueHolder input = (EditableValueHolder) component;
- String submittedValue = (String) input.getSubmittedValue();
-
- if (null != submittedValue) {
- return submittedValue;
- }
- }
-
- // If no submitted value presented - convert same for UIInput/UIOutput
- if (component instanceof ValueHolder) {
- return formatValue(context, component, ((ValueHolder) component).getValue());
- } else {
- throw new IllegalArgumentException(
- Messages.getMessage(Messages.CONVERTING_NON_VALUE_HOLDER_COMPONENT_ERROR, component.getId()));
- }
- }
-
- /**
- * Convert any object value to string. If component instance of
- * {@link ValueHolder } got {@link Converter} for formatting. If not,
- * attempt to use converter based on value type.
- *
- * @param context
- * @param component
- * @return
- */
- public String formatValue(FacesContext context, UIComponent component, Object value) {
- if (value instanceof String) {
- return (String) value;
- }
-
- Converter converter = null;
-
- if (component instanceof ValueHolder) {
- ValueHolder holder = (ValueHolder) component;
-
- converter = holder.getConverter();
- }
-
- if ((null == converter) && (null != value)) {
- try {
- converter = context.getApplication().createConverter(value.getClass());
- } catch (FacesException e) {
-
- // TODO - log converter exception.
- }
- }
-
- if (null == converter) {
- if (null != value) {
- return value.toString();
- }
- } else {
- return converter.getAsString(context, component, value);
- }
-
- return "";
- }
-
public String encodePx(String value) {
return HtmlDimensions.formatPx(HtmlDimensions.decode(value));
}
Modified: trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java
===================================================================
--- trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2011-02-08 15:06:32 UTC (rev 21538)
+++ trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/CalendarRendererBase.java 2011-02-08 15:12:45 UTC (rev 21539)
@@ -22,32 +22,42 @@
package org.richfaces.renderkit;
+import java.io.IOException;
+import java.text.DateFormatSymbols;
+import java.text.Format;
+import java.text.SimpleDateFormat;
+import java.util.Calendar;
+import java.util.Collections;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Locale;
+import java.util.Map;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+import java.util.TimeZone;
+
+import javax.faces.application.ResourceDependencies;
+import javax.faces.application.ResourceDependency;
+import javax.faces.component.UIComponent;
+import javax.faces.context.FacesContext;
+import javax.faces.context.PartialViewContext;
+import javax.faces.convert.Converter;
+import javax.faces.convert.ConverterException;
+import javax.faces.convert.DateTimeConverter;
+
import org.ajax4jsf.javascript.JSFunction;
import org.ajax4jsf.javascript.JSReference;
import org.richfaces.component.AbstractCalendar;
import org.richfaces.component.MetaComponentResolver;
import org.richfaces.component.Positioning;
import org.richfaces.component.util.HtmlUtil;
+import org.richfaces.component.util.InputUtils;
+import org.richfaces.component.util.InputUtils.ConverterLookupStrategy;
import org.richfaces.component.util.MessageUtil;
-import org.richfaces.component.util.SelectUtils;
import org.richfaces.context.ExtendedPartialViewContext;
import org.richfaces.event.CurrentDateChangeEvent;
import org.richfaces.utils.CalendarHelper;
-import javax.faces.application.ResourceDependencies;
-import javax.faces.application.ResourceDependency;
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import javax.faces.context.PartialViewContext;
-import javax.faces.convert.Converter;
-import javax.faces.convert.ConverterException;
-import javax.faces.convert.DateTimeConverter;
-import java.io.IOException;
-import java.text.DateFormatSymbols;
-import java.text.Format;
-import java.text.SimpleDateFormat;
-import java.util.*;
-
/**
* @author amarkhel
*
@@ -142,6 +152,41 @@
private static final String SECONDS_VALUE = "seconds";
+ protected final ConverterLookupStrategy calendarConverterLookupStrategy = new ConverterLookupStrategy() {
+
+ public Converter getConverterByValue(FacesContext context, UIComponent component, Object value) throws ConverterException {
+ AbstractCalendar calendar = (AbstractCalendar) component;
+ Converter converter = calendar.getConverter();
+
+ if (converter == null && value != null) {
+ converter = InputUtils.getConverterForType(context, value.getClass());
+ }
+
+ // in case the converter hasn't been set, try to use default
+ // DateTimeConverter
+ if (converter == null) {
+ converter = createDefaultConverter(context);
+ }
+
+ setupConverter(context, converter, (AbstractCalendar) component);
+ return converter;
+ }
+
+ public Converter getConverterByProperty(FacesContext context, UIComponent component) throws ConverterException {
+ AbstractCalendar calendar = (AbstractCalendar) component;
+ Converter converter = InputUtils.findConverter(context, calendar, "value");
+
+ // in case the converter hasn't been set, try to use default
+ // DateTimeConverter
+ if (converter == null) {
+ converter = createDefaultConverter(context);
+ }
+
+ setupConverter(context, converter, calendar);
+ return converter;
+ }
+ };
+
protected void doDecode(FacesContext context, UIComponent component) {
if (!(component instanceof AbstractCalendar)) {
return;
@@ -190,53 +235,16 @@
return submittedValue;
}
- // Store submitted value in the local variable as a string
- String newValue = (String) submittedValue;
- // if we have no local value, try to get the valueExpression.
- AbstractCalendar calendar = (AbstractCalendar) component;
- Converter converter = SelectUtils.findConverter(facesContext, calendar, "value");
+ return InputUtils.getConvertedValue(facesContext, component, calendarConverterLookupStrategy, submittedValue);
+ }
- // in case the converter hasn't been set, try to use default
- // DateTimeConverter
- if (converter == null) {
- converter = createDefaultConverter(facesContext);
- }
-
- setupConverter(facesContext, converter, calendar);
- return converter.getAsObject(facesContext, component, newValue);
- }
-
@Override
public String getInputValue(FacesContext facesContext, UIComponent component) {
if (!(component instanceof AbstractCalendar)) {
return null;
}
- AbstractCalendar calendar = (AbstractCalendar) component;
- String value = (String) calendar.getSubmittedValue();
- if (value == null) {
- Object curVal = calendar.getValue();
- Converter converter = SelectUtils.findConverter(facesContext, calendar, "value");
-
- if (converter == null) {
- converter = createDefaultConverter(facesContext);
- }
-
- setupConverter(facesContext, converter, calendar);
-
- if (converter != null) {
- value = converter.getAsString(facesContext, calendar, curVal);
- } else {
- value = curVal != null ? curVal.toString() : "";
- }
- }
-
- if (value == null) {
- value = "";
- }
-
- return value;
-
+ return InputUtils.getInputValue(facesContext, component, calendarConverterLookupStrategy);
}
public String getButtonIcon(FacesContext facesContext, UIComponent component) {
Modified: trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/InputRendererBase.java
===================================================================
--- trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/InputRendererBase.java 2011-02-08 15:06:32 UTC (rev 21538)
+++ trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/InputRendererBase.java 2011-02-08 15:12:45 UTC (rev 21539)
@@ -22,15 +22,15 @@
package org.richfaces.renderkit;
-import org.richfaces.component.util.SelectUtils;
+import java.util.Map;
import javax.faces.component.UIComponent;
import javax.faces.component.UIInput;
import javax.faces.context.FacesContext;
-import javax.faces.convert.Converter;
import javax.faces.convert.ConverterException;
-import java.util.Map;
+import org.richfaces.component.util.InputUtils;
+
/**
* @author Nick Belaevski - nbelaevski(a)exadel.com
* created 23.01.2007
@@ -50,32 +50,10 @@
}
public Object getConvertedValue(FacesContext context, UIComponent component, Object val) throws ConverterException {
- return SelectUtils.getConvertedUIInputValue(context, (UIInput) component, (String) val);
+ return InputUtils.getConvertedValue(context, component, val);
}
- public String getInputValue(FacesContext context, UIComponent component) {
- UIInput input = (UIInput) component;
- String value = (String) input.getSubmittedValue();
-
- if (value == null) {
- Object curVal = input.getValue();
- Converter converter = SelectUtils.findConverter(context, input, "value");
-
- if (converter != null) {
- value = converter.getAsString(context, input, curVal);
- } else {
- if (curVal == null) {
- value = "";
- } else {
- value = curVal.toString();
- }
- }
- }
-
- if (value == null) {
- value = "";
- }
-
- return value;
+ public String getInputValue(FacesContext context, UIComponent component) throws ConverterException {
+ return InputUtils.getInputValue(context, component);
}
}
15 years, 2 months
JBoss Rich Faces SVN: r21538 - trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2011-02-08 10:06:32 -0500 (Tue, 08 Feb 2011)
New Revision: 21538
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js
Log:
https://jira.jboss.org/browse/RF-10458
Modified: trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js
===================================================================
--- trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js 2011-02-08 14:18:58 UTC (rev 21537)
+++ trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.js 2011-02-08 15:06:32 UTC (rev 21538)
@@ -1058,8 +1058,7 @@
var daydata = this.days[parseInt(obj.id.substr(this.DATE_ELEMENT_ID.length),10)];
if (daydata.enabled && daydata._month==0)
{
- var date=new Date(this.currentDate);
- date.setUTCDate(daydata.day);
+ var date = rf.calendarUtils.createDate(this.currentDate.getFullYear(), this.currentDate.getMonth(), daydata.day);
if (this.timeType)
{
date = this.setupTimeForDate(date);
@@ -1555,8 +1554,7 @@
{
var daydata = this.days[parseInt(this.todayCellId.substr(this.DATE_ELEMENT_ID.length),10)];
var today = new Date();
- var date = new Date(today.getFullYear(), today.getMonth());
- date.setUTCDate(today.getDate());
+ var date = new Date(today);
if (this.timeType)
{
date = this.setupTimeForDate(date);
15 years, 2 months
JBoss Rich Faces SVN: r21537 - in modules/tests/metamer/trunk: ftest and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-08 09:18:58 -0500 (Tue, 08 Feb 2011)
New Revision: 21537
Modified:
modules/tests/metamer/trunk/ftest-source/pom.xml
modules/tests/metamer/trunk/ftest/pom.xml
modules/tests/metamer/trunk/pom.xml
Log:
back to development versions richfaces:4.0.0-SNAPSHOT richfaces-selenium:1.5.3-SNAPSHOT
Modified: modules/tests/metamer/trunk/ftest/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest/pom.xml 2011-02-08 14:18:26 UTC (rev 21536)
+++ modules/tests/metamer/trunk/ftest/pom.xml 2011-02-08 14:18:58 UTC (rev 21537)
@@ -25,7 +25,7 @@
<parent>
<artifactId>functional-test-jboss-ci-template</artifactId>
<groupId>org.jboss.test.richfaces-selenium</groupId>
- <version>1.5.2.SP4</version>
+ <version>1.5.3-SNAPSHOT</version>
</parent>
<groupId>org.richfaces.tests</groupId>
@@ -80,8 +80,8 @@
<properties>
<context.path>/metamer/</context.path>
<deployable.classifier>mojarra</deployable.classifier>
- <deployable.version>4.0.0.20110207-M6</deployable.version>
- <ftest.source.version>4.0.0.20110207-M6</ftest.source.version>
+ <deployable.version>4.0.0-SNAPSHOT</deployable.version>
+ <ftest.source.version>4.0.0-SNAPSHOT</ftest.source.version>
<testng.suite.xml>src/test/resources/testng.xml</testng.suite.xml>
<container.home>target/installs/${container.dir.deflatted}/${container.dir.unflatted}</container.home>
<jsf.config>Mojarra-2.0</jsf.config>
Modified: modules/tests/metamer/trunk/ftest-source/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest-source/pom.xml 2011-02-08 14:18:26 UTC (rev 21536)
+++ modules/tests/metamer/trunk/ftest-source/pom.xml 2011-02-08 14:18:58 UTC (rev 21537)
@@ -37,7 +37,7 @@
<dependency>
<artifactId>root</artifactId>
<groupId>org.jboss.test.richfaces-selenium</groupId>
- <version>1.5.2.SP4</version>
+ <version>1.5.3-SNAPSHOT</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Modified: modules/tests/metamer/trunk/pom.xml
===================================================================
--- modules/tests/metamer/trunk/pom.xml 2011-02-08 14:18:26 UTC (rev 21536)
+++ modules/tests/metamer/trunk/pom.xml 2011-02-08 14:18:58 UTC (rev 21537)
@@ -26,7 +26,7 @@
<parent>
<groupId>org.richfaces.examples</groupId>
<artifactId>richfaces-example-parent</artifactId>
- <version>4.0.0.20110207-M6</version>
+ <version>4.0.0-SNAPSHOT</version>
</parent>
<groupId>org.richfaces.tests</groupId>
@@ -124,7 +124,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<richfaces.checkstyle.version>2</richfaces.checkstyle.version>
- <version.richfaces>4.0.0.20110207-M6</version.richfaces>
+ <version.richfaces>4.0.0-SNAPSHOT</version.richfaces>
</properties>
<dependencyManagement>
15 years, 2 months
JBoss Rich Faces SVN: r21535 - modules/tests/archetypes/richfaces-simpleapp-ftest/tags.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2011-02-08 09:18:12 -0500 (Tue, 08 Feb 2011)
New Revision: 21535
Added:
modules/tests/archetypes/richfaces-simpleapp-ftest/tags/richfaces-simpleapp-ftest-4.0.0.20110207-M6/
Log:
[maven-scm] copy for tag richfaces-simpleapp-ftest-4.0.0.20110207-M6
Copied: modules/tests/archetypes/richfaces-simpleapp-ftest/tags/richfaces-simpleapp-ftest-4.0.0.20110207-M6 (from rev 21534, modules/tests/archetypes/richfaces-simpleapp-ftest/trunk)
15 years, 2 months