JBoss Rich Faces SVN: r5906 - in trunk/framework: api/src/main/java/org/richfaces/model and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-02-07 07:45:55 -0500 (Thu, 07 Feb 2008)
New Revision: 5906
Added:
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/MethodBindingExpression.java
Modified:
trunk/framework/api/src/main/java/org/richfaces/component/Column.java
trunk/framework/api/src/main/java/org/richfaces/model/Field.java
trunk/framework/api/src/main/java/org/richfaces/model/FilterField.java
trunk/framework/api/src/main/java/org/richfaces/model/SortField2.java
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/ObjectWrapperFactory.java
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator2.java
Log:
RF-1741
Modified: trunk/framework/api/src/main/java/org/richfaces/component/Column.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/component/Column.java 2008-02-07 12:02:18 UTC (rev 5905)
+++ trunk/framework/api/src/main/java/org/richfaces/component/Column.java 2008-02-07 12:45:55 UTC (rev 5906)
@@ -21,6 +21,8 @@
package org.richfaces.component;
+import javax.el.MethodExpression;
+
import org.richfaces.model.Ordering;
/**
@@ -68,4 +70,7 @@
*/
public abstract void setSortOrder(Ordering sortOrder);
public abstract Ordering getSortOrder();
+
+ public abstract void setFilterMethod(MethodExpression methodExpression);
+ public abstract MethodExpression getFilterMethod();
}
Modified: trunk/framework/api/src/main/java/org/richfaces/model/Field.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/Field.java 2008-02-07 12:02:18 UTC (rev 5905)
+++ trunk/framework/api/src/main/java/org/richfaces/model/Field.java 2008-02-07 12:45:55 UTC (rev 5906)
@@ -5,7 +5,7 @@
import java.io.Serializable;
-import javax.el.ValueExpression;
+import javax.el.Expression;
/**
* @author Konstantin Mishin
@@ -15,9 +15,9 @@
private static final long serialVersionUID = 7576046308828980778L;
- private ValueExpression expression;
+ private Expression expression;
- public Field(ValueExpression expression) {
+ public Field(Expression expression) {
this.expression = expression;
}
@@ -39,7 +39,7 @@
return true;
}
- public ValueExpression getExpression() {
+ public Expression getExpression() {
return expression;
}
@@ -52,7 +52,7 @@
return result;
}
- public void setExpression(ValueExpression expression) {
+ public void setExpression(Expression expression) {
this.expression = expression;
}
}
Modified: trunk/framework/api/src/main/java/org/richfaces/model/FilterField.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/FilterField.java 2008-02-07 12:02:18 UTC (rev 5905)
+++ trunk/framework/api/src/main/java/org/richfaces/model/FilterField.java 2008-02-07 12:45:55 UTC (rev 5906)
@@ -3,7 +3,7 @@
*/
package org.richfaces.model;
-import javax.el.ValueExpression;
+import javax.el.Expression;
/**
* @author Konstantin Mishin
@@ -13,7 +13,7 @@
private static final long serialVersionUID = -5453359866996963829L;
- public FilterField(ValueExpression expression) {
+ public FilterField(Expression expression) {
super(expression);
}
Modified: trunk/framework/api/src/main/java/org/richfaces/model/SortField2.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/SortField2.java 2008-02-07 12:02:18 UTC (rev 5905)
+++ trunk/framework/api/src/main/java/org/richfaces/model/SortField2.java 2008-02-07 12:45:55 UTC (rev 5906)
@@ -3,7 +3,7 @@
*/
package org.richfaces.model;
-import javax.el.ValueExpression;
+import javax.el.Expression;
/**
* @author Maksim Kaszynski
@@ -15,11 +15,11 @@
private Ordering ordering;
- public SortField2(ValueExpression expression) {
+ public SortField2(Expression expression) {
super(expression);
}
- public SortField2(ValueExpression expression, Ordering ordering) {
+ public SortField2(Expression expression, Ordering ordering) {
super(expression);
this.ordering = ordering;
}
Added: trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/MethodBindingExpression.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/MethodBindingExpression.java (rev 0)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/MethodBindingExpression.java 2008-02-07 12:45:55 UTC (rev 5906)
@@ -0,0 +1,26 @@
+package org.richfaces.model.impl.expressive;
+
+import javax.el.ELContext;
+import javax.el.MethodExpression;
+import javax.faces.context.FacesContext;
+
+/**
+ *
+ * @author Konstantin Mishin
+ *
+ */
+final public class MethodBindingExpression extends Expression {
+
+ private ELContext context;
+ private MethodExpression methodExpression;
+
+ MethodBindingExpression(FacesContext faces, MethodExpression methodExpression) {
+ super(methodExpression.getExpressionString());
+ this.context = faces.getELContext();
+ this.methodExpression = methodExpression;
+ }
+
+ public Object evaluate(Object base) {
+ return methodExpression.invoke(context, new Object[]{base});
+ }
+}
\ No newline at end of file
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/ObjectWrapperFactory.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/ObjectWrapperFactory.java 2008-02-07 12:02:18 UTC (rev 5905)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/ObjectWrapperFactory.java 2008-02-07 12:45:55 UTC (rev 5906)
@@ -27,6 +27,7 @@
import javax.el.ELContext;
import javax.el.ELResolver;
+import javax.el.MethodExpression;
import javax.el.ValueExpression;
import javax.el.VariableMapper;
import javax.faces.application.Application;
@@ -102,21 +103,28 @@
int i = 0;
for (Field field : sortOrder) {
- ValueExpression valueExpression = field.getExpression();
+ javax.el.Expression elExpression = field.getExpression();
Expression expression;
- if (valueExpression.isLiteralText()) {
- String expressionString = valueExpression.getExpressionString();
+ if (elExpression instanceof ValueExpression) {
+ ValueExpression valueExpression = (ValueExpression) elExpression;
- if (expressionString.startsWith(UIViewRoot.UNIQUE_ID_PREFIX)) {
- expression = new NullExpression(expressionString);
+ if (valueExpression.isLiteralText()) {
+ String expressionString = valueExpression.getExpressionString();
+
+ if (expressionString.startsWith(UIViewRoot.UNIQUE_ID_PREFIX)) {
+ expression = new NullExpression(expressionString);
+ } else {
+ expression = new SimplePropertyExpression(expressionString, elContext, resolver);
+ }
} else {
- expression = new SimplePropertyExpression(expressionString, elContext, resolver);
+ expression = new ValueBindingExpression(context, valueExpression, var);
}
+ } else if(elExpression instanceof MethodExpression){
+ expression = new MethodBindingExpression(context, (MethodExpression)elExpression);
} else {
- expression = new ValueBindingExpression(context, valueExpression, var);
+ throw new IllegalArgumentException();
}
-
expressions[i++] = expression;
}
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator2.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator2.java 2008-02-07 12:02:18 UTC (rev 5905)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator2.java 2008-02-07 12:45:55 UTC (rev 5906)
@@ -4,9 +4,8 @@
import java.util.Iterator;
import java.util.List;
-import javax.el.ValueExpression;
+import javax.el.Expression;
-import org.richfaces.model.Field;
import org.richfaces.model.Ordering;
import org.richfaces.model.SortField2;
@@ -37,7 +36,7 @@
for (Iterator<SortField2> iterator = sortFields.iterator(); iterator.hasNext() && result == 0;) {
SortField2 field = iterator.next();
- ValueExpression expression = field.getExpression();
+ Expression expression = field.getExpression();
String prop = expression.getExpressionString();
Ordering ordering = field.getOrdering();
if (ordering != null) {
18 years, 2 months
JBoss Rich Faces SVN: r5905 - trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-02-07 07:02:18 -0500 (Thu, 07 Feb 2008)
New Revision: 5905
Modified:
trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/ListShuttleControlsHelper.java
Log:
http://jira.jboss.com/jira/browse/RF-2183
Modified: trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/ListShuttleControlsHelper.java
===================================================================
--- trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/ListShuttleControlsHelper.java 2008-02-07 11:00:43 UTC (rev 5904)
+++ trunk/ui/listShuttle/src/main/java/org/richfaces/renderkit/ListShuttleControlsHelper.java 2008-02-07 12:02:18 UTC (rev 5905)
@@ -57,32 +57,37 @@
private final static String DIS_CONTROL_ID_PREFIX = "dis";
- private final static String CONTROL_ID_COPY_ALL = "copyAll";
+ public final static String CONTROL_ID_COPY_ALL = "copyAll";
- private final static String CONTROL_ID_COPY = "copy";
+ public final static String CONTROL_ID_COPY = "copy";
- private final static String CONTROL_ID_REMOVE = "remove";
+ public final static String CONTROL_ID_REMOVE = "remove";
- private final static String CONTROL_ID_REMOVE_ALL = "removeAll";
+ public final static String CONTROL_ID_REMOVE_ALL = "removeAll";
- public final static String DEFAULT_LABEL_COPY_ALL = "Copy all";
- public final static String DEFAULT_LABEL_COPY = "Copy";
- public final static String DEFAULT_LABEL_REMOVE = "Remove";
- public final static String DEFAULT_LABEL_REMOVE_ALL = "Remove All";
+ private final static String DEFAULT_LABEL_COPY_ALL = "Copy all";
+ private final static String DEFAULT_LABEL_COPY = "Copy";
+ private final static String DEFAULT_LABEL_REMOVE = "Remove";
+ private final static String DEFAULT_LABEL_REMOVE_ALL = "Remove All";
public final static String DISABLED_STYLE_PREF = "-disabled";
- public final static String NAME_COPYALL = "copyAll";
- public final static String NAME_COPYALL_DIS = "disabledCopy";
- public final static String NAME_COPY = "copy";
- public final static String NAME_COPY_DIS = "disabledCopy";
- public final static String NAME_REMOVEALL = "removeAll";
- public final static String NAME_REMOVEALL_DIS = "disabledCopyAll";
- public final static String NAME_REMOVE_DIS = "disabledRemove";
- public final static String NAME_REMOVE = "remove";
+ private final static String NAME_COPYALL = "copyAll";
+ private final static String NAME_COPYALL_DIS = "disabledCopy";
+ private final static String NAME_COPY = "copy";
+ private final static String NAME_COPY_DIS = "disabledCopy";
+ private final static String NAME_REMOVEALL = "removeAll";
+ private final static String NAME_REMOVEALL_DIS = "disabledCopyAll";
+ private final static String NAME_REMOVE_DIS = "disabledRemove";
+ private final static String NAME_REMOVE = "remove";
+ public final static String BUNDLE_COPY_ALL_LABEL = "COPY_ALL_LABEL";
+ public final static String BUNDLE_COPY_LABEL = "COPY_LABEL";
+ public final static String BUNDLE_REMOVE_ALL_LABEL = "REMOVE_ALL_LABEL";
+ public final static String BUNDLE_REMOVE_LABEL = "REMOVE_LABEL";
+
protected static final OrderingComponentRendererBase.ControlsHelper[] HELPERS = new OrderingComponentRendererBase.ControlsHelper[] {
- new OrderingComponentRendererBase.ControlsHelper(NAME_COPYALL, "COPY_ALL_LABEL", DEFAULT_LABEL_COPY_ALL, ListShuttleIconCopyAll.class.getName(), FACET_COPY_ALL,
+ new OrderingComponentRendererBase.ControlsHelper(NAME_COPYALL, BUNDLE_COPY_ALL_LABEL, DEFAULT_LABEL_COPY_ALL, ListShuttleIconCopyAll.class.getName(), FACET_COPY_ALL,
"-copyall", ATTRIBUTE_CLASS_COPY_ALL_CONTROL, "",
CONTROL_ID_COPY_ALL, ATTRIBUTE_CE_ONCOPYALLCLICK, true, "copyAll".concat(OrderingComponentControlsHelper.CONTROL_LABEL_ATTRIBUTE_SUFFIX)) {
@@ -91,7 +96,7 @@
}
},
- new OrderingComponentRendererBase.ControlsHelper(NAME_COPYALL_DIS, "COPY_ALL_LABEL", DEFAULT_LABEL_COPY_ALL, ListShuttleIconCopyAllDisabled.class.getName(), FACET_DIS_COPY_ALL,
+ new OrderingComponentRendererBase.ControlsHelper(NAME_COPYALL_DIS, BUNDLE_COPY_ALL_LABEL, DEFAULT_LABEL_COPY_ALL, ListShuttleIconCopyAllDisabled.class.getName(), FACET_DIS_COPY_ALL,
"-disabled", ATTRIBUTE_CLASS_DISABLED_CONTROL, DISABLED_STYLE_PREF,
DIS_CONTROL_ID_PREFIX.concat(CONTROL_ID_COPY_ALL), null, false, "copyAll".concat(OrderingComponentControlsHelper.CONTROL_LABEL_ATTRIBUTE_SUFFIX)) {
@@ -100,7 +105,7 @@
}
},
- new OrderingComponentRendererBase.ControlsHelper(NAME_COPY, "COPY_LABEL", DEFAULT_LABEL_COPY, ListShuttleIconCopy.class.getName(), FACET_COPY,
+ new OrderingComponentRendererBase.ControlsHelper(NAME_COPY, BUNDLE_COPY_LABEL, DEFAULT_LABEL_COPY, ListShuttleIconCopy.class.getName(), FACET_COPY,
"-copy", ATTRIBUTE_CLASS_COPY_CONTROL, "",
CONTROL_ID_COPY, ATTRIBUTE_CE_ONCOPYCLICK ,true, "copy".concat(OrderingComponentControlsHelper.CONTROL_LABEL_ATTRIBUTE_SUFFIX)) {
@@ -109,7 +114,7 @@
}
},
- new OrderingComponentRendererBase.ControlsHelper(NAME_COPY_DIS, "COPY_LABEL", DEFAULT_LABEL_COPY, ListShuttleIconCopyDisabled.class.getName(), FACET_DIS_COPY,
+ new OrderingComponentRendererBase.ControlsHelper(NAME_COPY_DIS, BUNDLE_COPY_LABEL, DEFAULT_LABEL_COPY, ListShuttleIconCopyDisabled.class.getName(), FACET_DIS_COPY,
"-disabled", ATTRIBUTE_CLASS_DISABLED_CONTROL, DISABLED_STYLE_PREF,
DIS_CONTROL_ID_PREFIX.concat(CONTROL_ID_COPY), null, false, "copy".concat(OrderingComponentControlsHelper.CONTROL_LABEL_ATTRIBUTE_SUFFIX)) {
@@ -118,7 +123,7 @@
}
},
- new OrderingComponentRendererBase.ControlsHelper(NAME_REMOVE, "REMOVE_LABEL", DEFAULT_LABEL_REMOVE, ListShuttleIconRemove.class.getName(), FACET_REMOVE,
+ new OrderingComponentRendererBase.ControlsHelper(NAME_REMOVE, BUNDLE_REMOVE_LABEL, DEFAULT_LABEL_REMOVE, ListShuttleIconRemove.class.getName(), FACET_REMOVE,
"-remove", ATTRIBUTE_CLASS_REMOVE_CONTROL, "",
CONTROL_ID_REMOVE, ATTRIBUTE_CE_ONREMOVECLICK, true, "remove".concat(OrderingComponentControlsHelper.CONTROL_LABEL_ATTRIBUTE_SUFFIX)) {
@@ -127,7 +132,7 @@
}
},
- new OrderingComponentRendererBase.ControlsHelper(NAME_REMOVE_DIS, "REMOVE_LABEL", DEFAULT_LABEL_REMOVE, ListShuttleIconRemoveDisabled.class.getName(), FACET_DIS_REMOVE,
+ new OrderingComponentRendererBase.ControlsHelper(NAME_REMOVE_DIS, BUNDLE_REMOVE_LABEL, DEFAULT_LABEL_REMOVE, ListShuttleIconRemoveDisabled.class.getName(), FACET_DIS_REMOVE,
"-disabled", ATTRIBUTE_CLASS_DISABLED_CONTROL, DISABLED_STYLE_PREF,
DIS_CONTROL_ID_PREFIX.concat(CONTROL_ID_REMOVE), null, false, "remove".concat(OrderingComponentControlsHelper.CONTROL_LABEL_ATTRIBUTE_SUFFIX)) {
@@ -136,7 +141,7 @@
}
},
- new OrderingComponentRendererBase.ControlsHelper(NAME_REMOVEALL, "REMOVE_ALL_LABEL", DEFAULT_LABEL_REMOVE_ALL, ListShuttleIconRemoveAll.class.getName(), FACET_REMOVE_ALL,
+ new OrderingComponentRendererBase.ControlsHelper(NAME_REMOVEALL, BUNDLE_REMOVE_ALL_LABEL, DEFAULT_LABEL_REMOVE_ALL, ListShuttleIconRemoveAll.class.getName(), FACET_REMOVE_ALL,
"-removeall", ATTRIBUTE_CLASS_REMOVE_ALL_CONTROL, "",
CONTROL_ID_REMOVE_ALL, ATTRIBUTE_CE_ONREMOVEALLCLICK, true, "removeAll".concat(OrderingComponentControlsHelper.CONTROL_LABEL_ATTRIBUTE_SUFFIX)) {
@@ -145,7 +150,7 @@
}
},
- new OrderingComponentRendererBase.ControlsHelper(NAME_REMOVEALL_DIS, "REMOVE_ALL_LABEL", DEFAULT_LABEL_REMOVE_ALL, ListShuttleIconRemoveAllDisabled.class.getName(), FACET_DIS_REMOVE_ALL,
+ new OrderingComponentRendererBase.ControlsHelper(NAME_REMOVEALL_DIS, BUNDLE_REMOVE_ALL_LABEL, DEFAULT_LABEL_REMOVE_ALL, ListShuttleIconRemoveAllDisabled.class.getName(), FACET_DIS_REMOVE_ALL,
"-disabled", ATTRIBUTE_CLASS_DISABLED_CONTROL, DISABLED_STYLE_PREF,
DIS_CONTROL_ID_PREFIX.concat(CONTROL_ID_REMOVE_ALL), null, false, "removeAll".concat(OrderingComponentControlsHelper.CONTROL_LABEL_ATTRIBUTE_SUFFIX)) {
18 years, 2 months
JBoss Rich Faces SVN: r5904 - trunk/ui/pickList/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-02-07 06:00:43 -0500 (Thu, 07 Feb 2008)
New Revision: 5904
Modified:
trunk/ui/pickList/src/main/java/org/richfaces/renderkit/PickListRenderer.java
Log:
http://jira.jboss.com/jira/browse/RF-2183
Modified: trunk/ui/pickList/src/main/java/org/richfaces/renderkit/PickListRenderer.java
===================================================================
--- trunk/ui/pickList/src/main/java/org/richfaces/renderkit/PickListRenderer.java 2008-02-07 10:36:55 UTC (rev 5903)
+++ trunk/ui/pickList/src/main/java/org/richfaces/renderkit/PickListRenderer.java 2008-02-07 11:00:43 UTC (rev 5904)
@@ -291,13 +291,24 @@
String clientId = component.getClientId(context);
ResponseWriter writer = context.getResponseWriter();
int divider = SHUTTLE_HELPERS.length / 2;
- boolean enable;
+ boolean enable = false;
for (int i = 0; i < SHUTTLE_HELPERS.length; i++) {
- OrderingComponentRendererBase.ControlsHelper helper = SHUTTLE_HELPERS[i];
- if (helper.getName().equals(ListShuttleControlsHelper.DEFAULT_LABEL_COPY_ALL)) {
+ OrderingComponentRendererBase.ControlsHelper helper = SHUTTLE_HELPERS[i];
+ boolean isDisabled = helper.getButtonStyleClass().equals(ListShuttleControlsHelper.DISABLED_STYLE_PREF);
+ if (helper.getBundlePropertyName().equals(ListShuttleControlsHelper.BUNDLE_REMOVE_ALL_LABEL)) {
enable = isSelectedList;
- } else if (helper.getName().equals(ListShuttleControlsHelper.NAME_COPYALL)) {
+ if ((!enable && isDisabled) || (enable && !isDisabled)) {
+ enable = true;
+ } else {
+ enable = false;
+ }
+ } else if (helper.getBundlePropertyName().equals(ListShuttleControlsHelper.BUNDLE_COPY_ALL_LABEL)) {
enable = isAvailableList;
+ if ((!enable && isDisabled) || (enable && !isDisabled)) {
+ enable = true;
+ } else {
+ enable = false;
+ }
} else {
if (helper.getButtonStyleClass().equals(ListShuttleControlsHelper.DISABLED_STYLE_PREF)) {
enable = true;
18 years, 2 months
JBoss Rich Faces SVN: r5903 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-07 05:36:55 -0500 (Thu, 07 Feb 2008)
New Revision: 5903
Modified:
trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for menuSeperator
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.desc.xml 2008-02-07 10:35:58 UTC (rev 5902)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuSeparator.desc.xml 2008-02-07 10:36:55 UTC (rev 5903)
@@ -9,7 +9,7 @@
<title>Description</title>
<para>The <emphasis role="bold"><property><rich:menuSeparator></property></emphasis> component is used for the definition of a horizontal separator that can be placed between groups or items.</para>
<figure>
- <title><rich:menuSeparator> component</title>
+ <title><emphasis role="bold"><property><rich:menuSeparator></property></emphasis> component</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/menuSeparator1.png" />
18 years, 2 months
JBoss Rich Faces SVN: r5902 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-07 05:35:58 -0500 (Thu, 07 Feb 2008)
New Revision: 5902
Modified:
trunk/docs/userguide/en/src/main/docbook/included/menuItem.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for menuItem
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuItem.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuItem.desc.xml 2008-02-07 10:35:43 UTC (rev 5901)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuItem.desc.xml 2008-02-07 10:35:58 UTC (rev 5902)
@@ -9,7 +9,7 @@
<title>Description</title>
<para>The <emphasis role="bold"><property><rich:menuItem></property></emphasis> component is used for the definition of a single item inside a pop-up list.</para>
<figure>
- <title><rich:menuItem> component</title>
+ <title><emphasis role="bold"><property><rich:menuItem></property></emphasis> component</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/menuItem1.png" />
18 years, 2 months
JBoss Rich Faces SVN: r5901 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-07 05:35:43 -0500 (Thu, 07 Feb 2008)
New Revision: 5901
Modified:
trunk/docs/userguide/en/src/main/docbook/included/menuGroup.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for menuGroup
Modified: trunk/docs/userguide/en/src/main/docbook/included/menuGroup.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/menuGroup.desc.xml 2008-02-07 10:35:18 UTC (rev 5900)
+++ trunk/docs/userguide/en/src/main/docbook/included/menuGroup.desc.xml 2008-02-07 10:35:43 UTC (rev 5901)
@@ -9,7 +9,7 @@
<title>Description</title>
<para>The <emphasis role="bold"><property><rich:menuGroup></property></emphasis> component is used to define an expandable group of items inside a pop-up list or another group.</para>
<figure>
- <title><rich:menuGroup> component</title>
+ <title><emphasis role="bold"><property><rich:menuGroup></property></emphasis> component</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/menuGroup1.png" />
18 years, 2 months
JBoss Rich Faces SVN: r5900 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-07 05:35:18 -0500 (Thu, 07 Feb 2008)
New Revision: 5900
Modified:
trunk/docs/userguide/en/src/main/docbook/included/effect.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for effect
Modified: trunk/docs/userguide/en/src/main/docbook/included/effect.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/effect.xml 2008-02-07 10:35:07 UTC (rev 5899)
+++ trunk/docs/userguide/en/src/main/docbook/included/effect.xml 2008-02-07 10:35:18 UTC (rev 5900)
@@ -44,7 +44,7 @@
<section>
<title>Creating the Component with a Page Tag</title>
- <para>To create the simplest variant of <property>rich:effect</property> on a page, use the
+ <para>To create the simplest variant of <emphasis role="bold"><property><rich:effect></property></emphasis> on a page, use the
following syntax:</para>
<para>
@@ -71,12 +71,12 @@
<section>
<title>Details of Usage</title>
- <para> It is possible to use <property><rich:effect></property> in two modes: <itemizedlist>
+ <para> It is possible to use <emphasis role="bold"><property><rich:effect></property></emphasis> in two modes: <itemizedlist>
<listitem>attached to the JSF components or html tags and triggered by a particular event.
Wiring effect with JSF components might occur on the server or client. Wiring with html
tag is possible only on the client side </listitem>
<listitem>invoking from the JavaScript code by an effect name. During the rendering,
- <property>rich:effect</property> generates the JavaScript function with defined name.
+ <emphasis role="bold"><property><rich:effect></property><emphasis> generates the JavaScript function with defined name.
When the function is called, the effect is applied </listitem>
</itemizedlist>
</para>
18 years, 2 months
JBoss Rich Faces SVN: r5899 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-07 05:35:07 -0500 (Thu, 07 Feb 2008)
New Revision: 5899
Modified:
trunk/docs/userguide/en/src/main/docbook/included/effect.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for effect
Modified: trunk/docs/userguide/en/src/main/docbook/included/effect.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/effect.desc.xml 2008-02-07 10:34:54 UTC (rev 5898)
+++ trunk/docs/userguide/en/src/main/docbook/included/effect.desc.xml 2008-02-07 10:35:07 UTC (rev 5899)
@@ -8,7 +8,7 @@
<section>
<title>Description</title>
<para>
- The <property>rich:effect</property> utilizes a set of effects provided by the scriptaculous JavaScript library.
+ The <emphasis role="bold"><property><rich:effect></property></emphasis> utilizes a set of effects provided by the scriptaculous JavaScript library.
It allows to attach effects to JSF components and html tags.
</para>
</section>
18 years, 2 months
JBoss Rich Faces SVN: r5898 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-07 05:34:54 -0500 (Thu, 07 Feb 2008)
New Revision: 5898
Modified:
trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for dropSupport
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml 2008-02-07 10:34:43 UTC (rev 5897)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml 2008-02-07 10:34:54 UTC (rev 5898)
@@ -243,7 +243,7 @@
<para><emphasis role="bold">
<property><rich:dropSupport></property>
- </emphasis> has no skin parameters and custom <property>style classes</property>, as the
+ </emphasis> has no skin parameters and custom <emphasis><property>style classes</property></emphasis>, as the
component isn't visual.</para>
</section>
<section>
18 years, 2 months
JBoss Rich Faces SVN: r5897 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-02-07 05:34:43 -0500 (Thu, 07 Feb 2008)
New Revision: 5897
Modified:
trunk/docs/userguide/en/src/main/docbook/included/dropSupport.desc.xml
Log:
http://jira.jboss.com/jira/browse/RF-2158 - done for dropSupport
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropSupport.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropSupport.desc.xml 2008-02-07 10:34:29 UTC (rev 5896)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropSupport.desc.xml 2008-02-07 10:34:43 UTC (rev 5897)
@@ -13,7 +13,7 @@
started.</para>
<figure>
- <title><rich:dropSupport> component</title>
+ <title><emphasis role="bold"><property><rich:dropSupport></property></emphasis> component</title>
<mediaobject>
<imageobject>
18 years, 2 months