JBoss Rich Faces SVN: r5124 - in trunk/sandbox/samples/pickList-sample/src/main/webapp: pages and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-01-03 07:03:32 -0500 (Thu, 03 Jan 2008)
New Revision: 5124
Modified:
trunk/sandbox/samples/pickList-sample/src/main/webapp/WEB-INF/faces-config.xml
trunk/sandbox/samples/pickList-sample/src/main/webapp/WEB-INF/web.xml
trunk/sandbox/samples/pickList-sample/src/main/webapp/pages/index.jsp
Log:
Modified: trunk/sandbox/samples/pickList-sample/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/sandbox/samples/pickList-sample/src/main/webapp/WEB-INF/faces-config.xml 2008-01-03 12:03:04 UTC (rev 5123)
+++ trunk/sandbox/samples/pickList-sample/src/main/webapp/WEB-INF/faces-config.xml 2008-01-03 12:03:32 UTC (rev 5124)
@@ -7,4 +7,9 @@
<managed-bean-class>org.richfaces.Bean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
+ <managed-bean>
+ <managed-bean-name>skinBean</managed-bean-name>
+ <managed-bean-class>org.richfaces.SkinBean</managed-bean-class>
+ <managed-bean-scope>session</managed-bean-scope>
+ </managed-bean>
</faces-config>
Modified: trunk/sandbox/samples/pickList-sample/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/sandbox/samples/pickList-sample/src/main/webapp/WEB-INF/web.xml 2008-01-03 12:03:04 UTC (rev 5123)
+++ trunk/sandbox/samples/pickList-sample/src/main/webapp/WEB-INF/web.xml 2008-01-03 12:03:32 UTC (rev 5124)
@@ -10,6 +10,10 @@
<param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
<param-value>false</param-value>
</context-param>
+<context-param>
+ <param-name>org.richfaces.SKIN</param-name>
+ <param-value>classic</param-value>
+ </context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
Modified: trunk/sandbox/samples/pickList-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox/samples/pickList-sample/src/main/webapp/pages/index.jsp 2008-01-03 12:03:04 UTC (rev 5123)
+++ trunk/sandbox/samples/pickList-sample/src/main/webapp/pages/index.jsp 2008-01-03 12:03:32 UTC (rev 5124)
@@ -8,7 +8,7 @@
<body>
<f:view>
<h:form>
- <pickList:pickList width="200px" size="5" valueChangeListener="#{pickBean.selectionChanged}">
+ <pickList:pickList size="5" valueChangeListener="#{pickBean.selectionChanged}">
<f:selectItem itemValue="cat" itemLabel="cat"/>
<f:selectItem itemValue="dog" itemLabel="dog"/>
<f:selectItems value="#{pickBean.testList}"/>
17 years
JBoss Rich Faces SVN: r5123 - trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-01-03 07:03:04 -0500 (Thu, 03 Jan 2008)
New Revision: 5123
Modified:
trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListArrowImageBase.java
trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonPressGradient.java
Log:
skinning
Modified: trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListArrowImageBase.java
===================================================================
--- trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListArrowImageBase.java 2008-01-03 11:21:15 UTC (rev 5122)
+++ trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListArrowImageBase.java 2008-01-03 12:03:04 UTC (rev 5123)
@@ -46,7 +46,7 @@
protected Object getDataToStore(FacesContext context, Object data) {
Skin skin = SkinFactory.getInstance().getSkin(context);
- String skinParameter = "headerTextColor";
+ String skinParameter = "generalTextColor";
String headerTextColor = (String) skin.getParameter(context, skinParameter);
if (null == headerTextColor || "".equals(headerTextColor)) {
Skin defaultSkin = SkinFactory.getInstance().getDefaultSkin(context);
Modified: trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonPressGradient.java
===================================================================
--- trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonPressGradient.java 2008-01-03 11:21:15 UTC (rev 5122)
+++ trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonPressGradient.java 2008-01-03 12:03:04 UTC (rev 5123)
@@ -11,7 +11,7 @@
*/
public class PickListButtonPressGradient extends BaseGradient {
public PickListButtonPressGradient() {
- super(30,50,20,"additionalBackgroundColor", "trimColor");
+ super(30,50,20,"additionalBackgroundColor","trimColor");
}
17 years
JBoss Rich Faces SVN: r5122 - /.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2008-01-03 06:21:15 -0500 (Thu, 03 Jan 2008)
New Revision: 5122
Added:
branch/
Log:
17 years
JBoss Rich Faces SVN: r5121 - in trunk/sandbox/ui/pickList/src/main: java/org/richfaces/renderkit and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-01-03 05:43:47 -0500 (Thu, 03 Jan 2008)
New Revision: 5121
Added:
trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/
trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListArrowImageBase.java
trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonGradient.java
trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonLightGradient.java
trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonPressGradient.java
trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListLeftArrowImage.java
trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListRightArrowImage.java
Modified:
trunk/sandbox/ui/pickList/src/main/config/component/picklist.xml
trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/PickListRenderer.java
Log:
add Button Arrows, Gradient
Modified: trunk/sandbox/ui/pickList/src/main/config/component/picklist.xml
===================================================================
--- trunk/sandbox/ui/pickList/src/main/config/component/picklist.xml 2008-01-03 09:55:42 UTC (rev 5120)
+++ trunk/sandbox/ui/pickList/src/main/config/component/picklist.xml 2008-01-03 10:43:47 UTC (rev 5121)
@@ -108,14 +108,7 @@
<name>onStart</name>
<classname>java.lang.String</classname>
</property>
-
- <property>
- <name>width</name>
- <classname>java.lang.String</classname>
- <defaultvalue>"70px"</defaultvalue>
- </property>
-
-
+
</properties>
</component>
Modified: trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/PickListRenderer.java
===================================================================
--- trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/PickListRenderer.java 2008-01-03 09:55:42 UTC (rev 5120)
+++ trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/PickListRenderer.java 2008-01-03 10:43:47 UTC (rev 5121)
@@ -36,12 +36,15 @@
private static final String FUNCTION_ADD_TO_SELECTED = "myfaces_picklist_addToSelected";
private static final String FUNCTION_REMOVE_FROM_SELECTED = "myfaces_picklist_removeFromSelected";
private final InternetResource[] scripts = {getResource("/org/richfaces/renderkit/html/scripts/picklist.js")};
-
+ private final InternetResource[] styles = {getResource("/org/richfaces/renderkit/html/css/picklist.xcss")};
protected InternetResource[] getScripts() {
return scripts;
}
+ protected InternetResource[] getStyles() {
+ return styles;
+ }
protected List selectItemsForSelectedList(FacesContext facesContext,UIComponent uiComponent, List selectItemList, Converter converter, Set lookupSet) {
List selectItemForSelectedValues = new ArrayList(lookupSet.size());
for (Iterator i = selectItemList.iterator(); i.hasNext();) {
@@ -136,7 +139,7 @@
writer.startElement("table", picklist);
writer.startElement(HTML.TR_ELEMENT, picklist);
writer.startElement(HTML.td_ELEM, picklist);
-
+
encodeSelect(context, picklist, availableListClientId, picklist.isDisabled(), picklist.getSize(), selectItemsForAvailableList, converter, writer);
writer.endElement(HTML.td_ELEM);
@@ -151,20 +154,19 @@
+ "('" + availableListClientId + "','" + selectedListClientId
+ "','" + hiddenFieldCliendId + "')";
- encodeSwapButton(context, picklist, javascriptAddToSelected,">",writer);
+ encodeSwapButton(context, picklist, javascriptAddToSelected,true,writer);
writer.startElement("br", picklist);
writer.endElement("br");
- encodeSwapButton(context, picklist, javascriptRemoveFromSelected, "<", writer);
+ encodeSwapButton(context, picklist, javascriptRemoveFromSelected, false, writer);
writer.endElement(HTML.td_ELEM);
// encode selected list
writer.startElement(HTML.td_ELEM, picklist);
-
encodeSelect(context, picklist, selectedListClientId, picklist.isDisabled(), picklist.getSize(),
- selectItemsForSelectedValues, converter, writer);
+ selectItemsForSelectedValues, converter, writer);
// hidden field with the selected values
encodeHiddenField(context, picklist, hiddenFieldCliendId, lookupSet,writer);
@@ -181,11 +183,12 @@
writer.writeAttribute("id", clientId, "id");
writer.writeAttribute("name", clientId, null);
writer.writeAttribute("multiple", "true", null);
- String width = (String) component.getAttributes().get("width");
- if(width != null) {
- writer.writeAttribute("style", "width: " + width + ";", null);
- }
-
+ writer.writeAttribute("class", "rich-pick-list rich-pick-list-outputlist", null);
+ String outputStyle = (String)component.getAttributes().get("outputStyle");
+ String outputStyleClass = (String)component.getAttributes().get("outputStyleClass");
+ writer.writeAttribute(HTML.style_ATTRIBUTE, outputStyle, null);
+ writer.writeAttribute(HTML.STYLE_CLASS_ATTR, outputStyleClass, null);
+
if (size == 0) {
writer.writeAttribute("size", Integer.toString(selectItemsToDisplay.size()), null);
} else {
@@ -256,17 +259,42 @@
}
}
- private void encodeSwapButton(FacesContext facesContext, UIComponent uiComponent, String javaScriptFunction,
- String text,ResponseWriter writer) throws IOException {
+ private void encodeSwapButton(FacesContext context, UIComponent component, String javaScriptFunction,
+ boolean isRight,ResponseWriter writer) throws IOException {
- writer.startElement(HTML.INPUT_ELEM, uiComponent);
- writer.writeAttribute(HTML.TYPE_ATTR,"button","type");
- writer.writeAttribute(HTML.onclick_ATTRIBUTE, javaScriptFunction, null);
- writer.writeAttribute(HTML.value_ATTRIBUTE, text, null);
- writer.endElement(HTML.INPUT_ELEM);
+ writer.startElement(HTML.BUTTON, component);
+ String buttonStyle = (String)component.getAttributes().get("buttonStyle");
+ String buttonStyleClass = (String)component.getAttributes().get("buttonStyleClass");
+
+ writer.writeAttribute(HTML.class_ATTRIBUTE, "rich-pick-button" , null);
+ writer.writeAttribute(HTML.style_ATTRIBUTE, buttonStyle, null);
+ writer.writeAttribute(HTML.STYLE_CLASS_ATTR, buttonStyleClass, null);
+
+ writer.writeAttribute("onmouseout", "this.className='rich-pick-button'", null);
+ writer.writeAttribute("onmouseup", "this.className='rich-pick-button'", null);
+ writer.writeAttribute("onmousedown", "this.className='rich-pick-button-press'", null);
+ writer.writeAttribute("onmouseover", "this.className='rich-pick-button-light'", null);
+
+ writer.writeAttribute(HTML.onclick_ATTRIBUTE, javaScriptFunction + "; return false;", null);
+ writer.startElement(HTML.IMG_ELEMENT, component);
+ String arrowURI = null;
+
+ if(isRight) {
+ arrowURI = getResource("org.richfaces.renderkit.images.PickListRightArrowImage").getUri(context, component);
+ } else {
+ arrowURI = getResource("org.richfaces.renderkit.images.PickListLeftArrowImage").getUri(context, component);
+ }
+
+ writer.writeAttribute(HTML.src_ATTRIBUTE, arrowURI, null);
+ writer.writeAttribute(HTML.width_ATTRIBUTE, "15", null);
+ writer.writeAttribute(HTML.height_ATTRIBUTE, "15", null);
+ writer.writeAttribute(HTML.alt_ATTRIBUTE, "", null);
+ writer.writeAttribute(HTML.border_ATTRIBUTE, "0", null);
+ writer.endElement(HTML.IMG_ELEMENT);
+ writer.endElement(HTML.BUTTON);
}
- private void encodeHiddenField(FacesContext facesContext, UIComponent component,
+ private void encodeHiddenField(FacesContext context, UIComponent component,
String hiddenFieldCliendId, Set lookupSet, ResponseWriter writer) throws IOException {
writer.startElement(HTML.INPUT_ELEM, component);
Added: trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListArrowImageBase.java
===================================================================
--- trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListArrowImageBase.java (rev 0)
+++ trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListArrowImageBase.java 2008-01-03 10:43:47 UTC (rev 5121)
@@ -0,0 +1,63 @@
+/**
+ *
+ */
+package org.richfaces.renderkit.images;
+
+import java.awt.Dimension;
+import java.util.Date;
+
+import javax.faces.context.FacesContext;
+
+import org.ajax4jsf.resource.GifRenderer;
+import org.ajax4jsf.resource.InternetResourceBuilder;
+import org.ajax4jsf.resource.Java2Dresource;
+import org.ajax4jsf.resource.ResourceContext;
+import org.ajax4jsf.util.HtmlColor;
+import org.ajax4jsf.util.Zipper2;
+import org.richfaces.skin.Skin;
+import org.richfaces.skin.SkinFactory;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public class PickListArrowImageBase extends Java2Dresource {
+
+ private static final Dimension dimensions = new Dimension(15, 15);
+
+ public PickListArrowImageBase() {
+ setRenderer(new GifRenderer());
+ setLastModified(new Date(InternetResourceBuilder.getInstance().getStartTime()));
+ }
+
+ protected Dimension getDimensions(ResourceContext resourceContext) {
+ return dimensions;
+ }
+ public Dimension getDimensions(FacesContext facesContext, Object data) {
+ return dimensions;
+ }
+
+ protected Object deserializeData(byte[] objectArray) {
+ if (objectArray == null) {
+ return null;
+ }
+ return new Integer(new Zipper2(objectArray).nextIntColor());
+ }
+
+ protected Object getDataToStore(FacesContext context, Object data) {
+ Skin skin = SkinFactory.getInstance().getSkin(context);
+ String skinParameter = "headerTextColor";
+ String headerTextColor = (String) skin.getParameter(context, skinParameter);
+ if (null == headerTextColor || "".equals(headerTextColor)) {
+ Skin defaultSkin = SkinFactory.getInstance().getDefaultSkin(context);
+ headerTextColor = (String) defaultSkin.getParameter(context, skinParameter);
+ }
+
+ int intValue = HtmlColor.decode( headerTextColor == null ? "#000000":headerTextColor ).getRGB();
+ byte[] ret = new byte[3];
+ new Zipper2(ret).addColor(intValue);
+
+ return ret;
+ }
+
+}
Added: trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonGradient.java
===================================================================
--- trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonGradient.java (rev 0)
+++ trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonGradient.java 2008-01-03 10:43:47 UTC (rev 5121)
@@ -0,0 +1,16 @@
+/**
+ *
+ */
+package org.richfaces.renderkit.images;
+
+import org.richfaces.renderkit.html.BaseGradient;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public class PickListButtonGradient extends BaseGradient {
+ public PickListButtonGradient() {
+ super(30,50,20,"additionalBackgroundColor", "trimColor");
+ }
+}
Added: trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonLightGradient.java
===================================================================
--- trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonLightGradient.java (rev 0)
+++ trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonLightGradient.java 2008-01-03 10:43:47 UTC (rev 5121)
@@ -0,0 +1,16 @@
+/**
+ *
+ */
+package org.richfaces.renderkit.images;
+
+import org.richfaces.renderkit.html.BaseGradient;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public class PickListButtonLightGradient extends BaseGradient {
+ public PickListButtonLightGradient() {
+ super(30,50,20,"additionalBackgroundColor", "headerGradientColor");
+ }
+}
Added: trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonPressGradient.java
===================================================================
--- trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonPressGradient.java (rev 0)
+++ trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListButtonPressGradient.java 2008-01-03 10:43:47 UTC (rev 5121)
@@ -0,0 +1,18 @@
+/**
+ *
+ */
+package org.richfaces.renderkit.images;
+
+import org.richfaces.renderkit.html.BaseGradient;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public class PickListButtonPressGradient extends BaseGradient {
+ public PickListButtonPressGradient() {
+ super(30,50,20,"additionalBackgroundColor", "trimColor");
+
+ }
+
+}
Added: trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListLeftArrowImage.java
===================================================================
--- trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListLeftArrowImage.java (rev 0)
+++ trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListLeftArrowImage.java 2008-01-03 10:43:47 UTC (rev 5121)
@@ -0,0 +1,25 @@
+package org.richfaces.renderkit.images;
+
+import java.awt.Color;
+import java.awt.Graphics2D;
+import java.awt.RenderingHints;
+
+import org.ajax4jsf.resource.ResourceContext;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public class PickListLeftArrowImage extends PickListArrowImageBase{
+
+ protected void paint(ResourceContext context, Graphics2D g2d) {
+ Integer color = (Integer) restoreData(context);
+ g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
+ g2d.setColor(new Color(color.intValue()));
+ g2d.drawLine(9,5,9,11);
+ g2d.drawLine(8,6,8,10);
+ g2d.drawLine(7,7,7,9);
+ g2d.drawLine(6,8,6,8);
+ }
+
+}
Added: trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListRightArrowImage.java
===================================================================
--- trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListRightArrowImage.java (rev 0)
+++ trunk/sandbox/ui/pickList/src/main/java/org/richfaces/renderkit/images/PickListRightArrowImage.java 2008-01-03 10:43:47 UTC (rev 5121)
@@ -0,0 +1,27 @@
+/**
+ *
+ */
+package org.richfaces.renderkit.images;
+
+import java.awt.Color;
+import java.awt.Graphics2D;
+import java.awt.RenderingHints;
+
+import org.ajax4jsf.resource.ResourceContext;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public class PickListRightArrowImage extends PickListArrowImageBase {
+
+ protected void paint(ResourceContext context, Graphics2D g2d) {
+ Integer color = (Integer) restoreData(context);
+ g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
+ g2d.setColor(new Color(color.intValue()));
+ g2d.drawLine(9,8,9,8);
+ g2d.drawLine(8,7,8,9);
+ g2d.drawLine(7,6,7,10);
+ g2d.drawLine(6,5,6,11);
+ }
+}
17 years
JBoss Rich Faces SVN: r5120 - trunk/ui/orderingList/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-01-03 04:55:42 -0500 (Thu, 03 Jan 2008)
New Revision: 5120
Modified:
trunk/ui/orderingList/src/main/config/component/orderinglist.xml
Log:
http://jira.jboss.com/jira/browse/RF-1807 - fix description for 'value' attribute.
Modified: trunk/ui/orderingList/src/main/config/component/orderinglist.xml
===================================================================
--- trunk/ui/orderingList/src/main/config/component/orderinglist.xml 2008-01-03 09:54:17 UTC (rev 5119)
+++ trunk/ui/orderingList/src/main/config/component/orderinglist.xml 2008-01-03 09:55:42 UTC (rev 5120)
@@ -359,7 +359,7 @@
<name>value</name>
<classname>java.lang.Object</classname>
<description>
- Define the collection to be shown in a list
+ Defines a List or Array of items to be shown in a list
</description>
</property>
<property>
17 years
JBoss Rich Faces SVN: r5119 - trunk/ui/listShuttle/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-01-03 04:54:17 -0500 (Thu, 03 Jan 2008)
New Revision: 5119
Modified:
trunk/ui/listShuttle/src/main/config/component/listShuttle.xml
Log:
http://jira.jboss.com/jira/browse/RF-1807 - fix data types for sourceValue, targetValue attributes.
Modified: trunk/ui/listShuttle/src/main/config/component/listShuttle.xml
===================================================================
--- trunk/ui/listShuttle/src/main/config/component/listShuttle.xml 2008-01-03 09:53:23 UTC (rev 5118)
+++ trunk/ui/listShuttle/src/main/config/component/listShuttle.xml 2008-01-03 09:54:17 UTC (rev 5119)
@@ -23,7 +23,7 @@
</tag>
&ui_component_attributes;
- &html_style_attributes;
+ &html_style_attributes;
&ui_data_attributes;
<property>
<name>columnClasses</name>
@@ -140,7 +140,7 @@
<name>onorderchanged</name>
<classname>java.lang.String</classname>
<description>HTML: script expression; called after ordering action</description>
- </property>
+ </property>
<property>
<name>showButtonLabels</name>
@@ -298,14 +298,14 @@
<name>sourceValue</name>
<classname>java.lang.Object</classname>
<description>
- Define the collection to be shown in source list
+ Defines a List or Array of items to be shown in a source list
</description>
</property>
<property>
<name>targetValue</name>
<classname>java.lang.Object</classname>
<description>
- Define the collection to be shown in target list
+ Defines a List or Array of items to be shown in a target list
</description>
</property>
<property>
@@ -426,80 +426,80 @@
<classname>java.lang.String</classname>
<description>HTML: a script expression; a pointer is moved onto</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
-
- <property>
- <name>moveControlsVerticalAlign</name>
- <classname>java.lang.String</classname>
- <description>Customizes vertically a position of move/copy controls relatively to lists</description>
- <defaultvalue><![CDATA["middle"]]></defaultvalue>
- </property>
- <property>
- <name>orderControlsVerticalAlign</name>
- <classname>java.lang.String</classname>
- <description>Customizes vertically a position of order controls relatively to lists</description>
- <defaultvalue><![CDATA["middle"]]></defaultvalue>
- </property>
- <property>
- <name>listClass</name>
- <classname>java.lang.String</classname>
- <description>CSS class for a list</description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
- <property>
- <name>disabledControlClass</name>
- <classname>java.lang.String</classname>
- <description>CSS class for a disabled control</description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
- <property>
- <name>topControlClass</name>
- <classname>java.lang.String</classname>
- <description>CSS class for top control</description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
- <property>
- <name>bottomControlClass</name>
- <classname>java.lang.String</classname>
- <description>CSS class for bottom control</description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
- <property>
- <name>upControlClass</name>
- <classname>java.lang.String</classname>
- <description>CSS class for up control</description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
- <property>
- <name>downControlClass</name>
- <classname>java.lang.String</classname>
- <description>CSS class for down control</description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
- <property>
- <name>copyAllControlClass</name>
- <classname>java.lang.String</classname>
- <description>CSS class for copy all control</description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
- <property>
- <name>removeAllControlClass</name>
- <classname>java.lang.String</classname>
- <description>CSS class for remove all control</description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
- <property>
- <name>copyControlClass</name>
- <classname>java.lang.String</classname>
- <description>CSS class for copy control</description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
- <property>
- <name>removeControlClass</name>
- <classname>java.lang.String</classname>
- <description>CSS class for remove control</description>
- <defaultvalue><![CDATA[""]]></defaultvalue>
</property>
+
+ <property>
+ <name>moveControlsVerticalAlign</name>
+ <classname>java.lang.String</classname>
+ <description>Customizes vertically a position of move/copy controls relatively to lists</description>
+ <defaultvalue><![CDATA["middle"]]></defaultvalue>
+ </property>
+ <property>
+ <name>orderControlsVerticalAlign</name>
+ <classname>java.lang.String</classname>
+ <description>Customizes vertically a position of order controls relatively to lists</description>
+ <defaultvalue><![CDATA["middle"]]></defaultvalue>
+ </property>
+ <property>
+ <name>listClass</name>
+ <classname>java.lang.String</classname>
+ <description>CSS class for a list</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>disabledControlClass</name>
+ <classname>java.lang.String</classname>
+ <description>CSS class for a disabled control</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>topControlClass</name>
+ <classname>java.lang.String</classname>
+ <description>CSS class for top control</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>bottomControlClass</name>
+ <classname>java.lang.String</classname>
+ <description>CSS class for bottom control</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>upControlClass</name>
+ <classname>java.lang.String</classname>
+ <description>CSS class for up control</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>downControlClass</name>
+ <classname>java.lang.String</classname>
+ <description>CSS class for down control</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>copyAllControlClass</name>
+ <classname>java.lang.String</classname>
+ <description>CSS class for copy all control</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>removeAllControlClass</name>
+ <classname>java.lang.String</classname>
+ <description>CSS class for remove all control</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>copyControlClass</name>
+ <classname>java.lang.String</classname>
+ <description>CSS class for copy control</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>removeControlClass</name>
+ <classname>java.lang.String</classname>
+ <description>CSS class for remove control</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
</component>
<listener>
17 years
JBoss Rich Faces SVN: r5118 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-01-03 04:53:23 -0500 (Thu, 03 Jan 2008)
New Revision: 5118
Modified:
trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml
Log:
http://jira.jboss.com/jira/browse/RF-1807 - fix data types for sourceValue, targetValue attributes.
Modified: trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2008-01-02 19:53:16 UTC (rev 5117)
+++ trunk/docs/userguide/en/src/main/docbook/included/listShuttle.xml 2008-01-03 09:53:23 UTC (rev 5118)
@@ -49,13 +49,13 @@
</para>
<para> The <emphasis>
<property>"sourceValue" </property>
- </emphasis> attribute defines the collection to be shown in the source list.</para>
+ </emphasis> attribute defines a List or Array of items to be shown in the source list.</para>
<para>The <emphasis>
<property>"targetValue" </property>
- </emphasis> attribute defines the collection to be shown in the target list.</para>
+ </emphasis> attribute defines a List or Array of items to be shown in the target list.</para>
<para> The <emphasis>
<property>"var" </property>
- </emphasis> could be shared between both collections to defined lists on the page.</para>
+ </emphasis> attribute could be shared between both Lists or Arrays to define lists on the page.</para>
<para>
The <emphasis>
<property>"converter" </property>
@@ -148,7 +148,7 @@
<f:facet name="bottomControl">
<h:outputText value="Move to bottom" />
</f:facet>
-<rich:orderingList>
+</rich:listShuttle>
...
]]></programlisting>
@@ -188,7 +188,7 @@
</f:facet>
<h:outputText value="#{item.name}" />
</h:column>
-<rich:orderingList>
+</rich:listShuttle>
...
]]></programlisting>
17 years
JBoss Rich Faces SVN: r5117 - trunk/sandbox/api.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-01-02 14:53:16 -0500 (Wed, 02 Jan 2008)
New Revision: 5117
Modified:
trunk/sandbox/api/pom.xml
Log:
sandbox api made compileable...
Modified: trunk/sandbox/api/pom.xml
===================================================================
--- trunk/sandbox/api/pom.xml 2007-12-30 20:09:15 UTC (rev 5116)
+++ trunk/sandbox/api/pom.xml 2008-01-02 19:53:16 UTC (rev 5117)
@@ -15,6 +15,12 @@
<artifactId>richfaces-api</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>1.2_07</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
17 years