JBoss Rich Faces SVN: r14613 - branches/community/3.3.X/ui/core/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-15 10:34:02 -0400 (Mon, 15 Jun 2009)
New Revision: 14613
Modified:
branches/community/3.3.X/ui/core/src/main/config/component/status.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of 'startStyle', 'startStyleClass', 'stopStyle', 'stopStyleClass' attributes descriptions;
Modified: branches/community/3.3.X/ui/core/src/main/config/component/status.xml
===================================================================
--- branches/community/3.3.X/ui/core/src/main/config/component/status.xml 2009-06-15 12:55:02 UTC (rev 14612)
+++ branches/community/3.3.X/ui/core/src/main/config/component/status.xml 2009-06-15 14:34:02 UTC (rev 14613)
@@ -119,15 +119,14 @@
<name>startStyle</name>
<classname>java.lang.String</classname>
<description>
- CSS style class for the element displayed on the start
- of a request.
+ Holds a fragment of a style sheet that applies to the element displayed when a request is in progress
</description>
</property>
<property>
<name>stopStyle</name>
<classname>java.lang.String</classname>
<description>
- CSS style for element displayed on request completion.
+ Holds a fragment of a style sheet that applies to the element displayed on a request completion
</description>
</property>
@@ -144,15 +143,14 @@
<name>startStyleClass</name>
<classname>java.lang.String</classname>
<description>
- CSS style class for the element displayed on the start
- of a request.
+ Assigns one or more CSS class names to the element displayed when a request is in progress
</description>
</property>
<property>
<name>stopStyleClass</name>
<classname>java.lang.String</classname>
<description>
- CSS style class for element displayed on request
+ Assigns one or more CSS class names to the element displayed on a request completion
</description>
</property>
<property>
15 years, 6 months
JBoss Rich Faces SVN: r14612 - branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2009-06-15 08:55:02 -0400 (Mon, 15 Jun 2009)
New Revision: 14612
Modified:
branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/html_anchor_attributes.ent
Log:
RF-7342: a4j:commandLink component description review
Modified: branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/html_anchor_attributes.ent
===================================================================
--- branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/html_anchor_attributes.ent 2009-06-15 10:47:29 UTC (rev 14611)
+++ branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/html_anchor_attributes.ent 2009-06-15 12:55:02 UTC (rev 14612)
@@ -17,7 +17,7 @@
The attribute specifies shape and it position on the screen.
Possible values: "rect: left-x, top-y, right-x, bottom-y", "circle: center-x, center-y, radius", "poly: x1, y1, x2, y2, ..., xN, yN".
Notes:
- a) when giving the radius value is percents, user agents should calculate the final radius value in pixels based on the associated object's width and height;
+ a) when giving the radius value in percents, user agents should calculate the final radius value in pixels based on the associated object's width and height;
b) the radius value should be smaller than center-x and center-y values;
c) for a polygon, the first and last coordinate pairs should have same x and y to close the shape (x1=xN; y1=yN)
(when these coordinates are different, user agents should infer an additional pair to close a polygon).
15 years, 6 months
JBoss Rich Faces SVN: r14611 - branches/community/3.3.X/docs/common-resources/en/src/main/xslt.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-15 06:47:29 -0400 (Mon, 15 Jun 2009)
New Revision: 14611
Modified:
branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl
Log:
https://jira.jboss.org/jira/browse/RF-6233 - adding 'columnClasses' and 'rowClasses' to the list of JSF attributes;
Modified: branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl
===================================================================
--- branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl 2009-06-12 23:58:42 UTC (rev 14610)
+++ branches/community/3.3.X/docs/common-resources/en/src/main/xslt/f.xsl 2009-06-15 10:47:29 UTC (rev 14611)
@@ -112,7 +112,7 @@
,onblur,onchange,onclick,ondblclick,onfocus,onkeydown,onkeypress,onkeyup,onmousedown,onmousemove,onmouseout,onmouseover,onmouseup,onreset,onsubmit, </xsl:variable>
<xsl:variable name="jsf-attributes">
- ,id,binding,rendered,styleClass,value,valueChangeListener,converter,validator,required, </xsl:variable>
+ ,id,binding,rendered,styleClass,value,valueChangeListener,converter,validator,required,columnClasses,rowClasses,</xsl:variable>
<xsl:variable name="onselect-custom-attribute">
,menuItem,colorPicker,suggestionbox, </xsl:variable>
15 years, 6 months
JBoss Rich Faces SVN: r14610 - branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2009-06-12 19:58:42 -0400 (Fri, 12 Jun 2009)
New Revision: 14610
Added:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/JsfComponent.java
Modified:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagBean.java
Log:
Continue CDK model development.
Modified: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java 2009-06-12 23:51:00 UTC (rev 14609)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java 2009-06-12 23:58:42 UTC (rev 14610)
@@ -7,7 +7,7 @@
* @author asmirnov(a)exadel.com
*
*/
-public class ComponentBean {
+public class ComponentBean implements JsfComponent {
/**
* <p class="changed_added_4_0">Component type</p>
@@ -68,5 +68,20 @@
* <p class="changed_added_4_0">Facets recognised by the component</p>
*/
private List<FacetBean> facets;
+
+ /* (non-Javadoc)
+ * @see org.richfaces.cdk.model.JsfComponent#getType()
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @param type the type to set
+ */
+ public void setType(String type) {
+ this.type = type;
+ }
}
Added: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/JsfComponent.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/JsfComponent.java (rev 0)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/JsfComponent.java 2009-06-12 23:58:42 UTC (rev 14610)
@@ -0,0 +1,14 @@
+package org.richfaces.cdk.model;
+
+public interface JsfComponent {
+
+ /**
+ * <p class="changed_added_4_0">Marker interface for all JSF objects:
+ * {@code Validator}, {@code Converter}, {@code Behavior}, {@code
+ * FacesListener}</p>
+ *
+ * @return the type of JSF object.
+ */
+ public String getType();
+
+}
\ No newline at end of file
Property changes on: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/JsfComponent.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagBean.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagBean.java 2009-06-12 23:51:00 UTC (rev 14609)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagBean.java 2009-06-12 23:58:42 UTC (rev 14610)
@@ -58,7 +58,8 @@
/**
* <p class="changed_added_4_0">Component that the tag creates. This in bidirectional one to one relation.</p>
+ * TODO - tag should also works with {@code Validator}, {@code Converter}, {@code Behavior}, {@code FacesListener}
*/
- private ComponentBean component;
+ private JsfComponent component;
}
15 years, 7 months
JBoss Rich Faces SVN: r14609 - branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2009-06-12 19:51:00 -0400 (Fri, 12 Jun 2009)
New Revision: 14609
Added:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/AttributeBean.java
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/EventBean.java
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/FacetBean.java
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagBean.java
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagLibraryBean.java
Modified:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java
Log:
Continue CDK model development.
Added: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/AttributeBean.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/AttributeBean.java (rev 0)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/AttributeBean.java 2009-06-12 23:51:00 UTC (rev 14609)
@@ -0,0 +1,17 @@
+package org.richfaces.cdk.model;
+
+public class AttributeBean {
+
+ private String type;
+
+ private String family;
+
+ private String className;
+
+ private String superClass;
+
+ private String renderKit;
+
+ private String template;
+
+}
Property changes on: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/AttributeBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java 2009-06-12 23:10:46 UTC (rev 14608)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java 2009-06-12 23:51:00 UTC (rev 14609)
@@ -9,22 +9,64 @@
*/
public class ComponentBean {
+ /**
+ * <p class="changed_added_4_0">Component type</p>
+ */
private String type;
+ /**
+ * <p class="changed_added_4_0">component family</p>
+ */
private String family;
+ /**
+ * <p class="changed_added_4_0">Cenerated component class</p>
+ */
private String className;
+ /**
+ * <p class="changed_added_4_0">Base class for generated component</p>
+ */
private String superClass;
+ /**
+ * <p class="changed_added_4_0">Long description for documentation</p>
+ */
private String description;
+ /**
+ * <p class="changed_added_4_0">Short name for IDE tools</p>
+ */
private String displayname;
+ /**
+ * <p class="changed_added_4_0">Icon name for IDE tools</p>
+ */
private String icon;
- private List<PropertyBean> properties;
+ /**
+ * <p class="changed_added_4_0">Component attributes</p>
+ */
+ private List<PropertyBean> attributes;
+ /**
+ * <p class="changed_added_4_0">VDL tag. This is bidirectional one to one relation.</p>
+ */
private TagBean tag;
+ /**
+ * <p class="changed_added_4_0">Application level events fired by the component</p>
+ */
+ private List<EventBean> events;
+
+ /**
+ * <p class="changed_added_4_0">Renderer for the final component. This is bidirectional one to one relation.</p>
+ */
+ private AttributeBean renderer;
+
+ /**
+ * <p class="changed_added_4_0">Facets recognised by the component</p>
+ */
+ private List<FacetBean> facets;
+
}
Added: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/EventBean.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/EventBean.java (rev 0)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/EventBean.java 2009-06-12 23:51:00 UTC (rev 14609)
@@ -0,0 +1,43 @@
+/*
+ * $Id$
+ *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.cdk.model;
+
+/**
+ * <p class="changed_added_4_0"></p>
+ * @author asmirnov(a)exadel.com
+ *
+ */
+public class EventBean {
+
+ private String name;
+
+ private String description;
+
+ private String className;
+
+ private String listenerInterface;
+
+ private String sourceInterface;
+
+}
Property changes on: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/EventBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/FacetBean.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/FacetBean.java (rev 0)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/FacetBean.java 2009-06-12 23:51:00 UTC (rev 14609)
@@ -0,0 +1,37 @@
+/*
+ * $Id$
+ *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.cdk.model;
+
+/**
+ * <p class="changed_added_4_0"></p>
+ * @author asmirnov(a)exadel.com
+ *
+ */
+public class FacetBean {
+
+ private String name;
+
+ private String description;
+
+}
Property changes on: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/FacetBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagBean.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagBean.java (rev 0)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagBean.java 2009-06-12 23:51:00 UTC (rev 14609)
@@ -0,0 +1,64 @@
+/*
+ * $Id$
+ *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.cdk.model;
+
+/**
+ * <p class="changed_added_4_0">That bean represents VDL tag</p>
+ * @author asmirnov(a)exadel.com
+ *
+ */
+public class TagBean {
+
+ /**
+ * <p class="changed_added_4_0">Tag name</p>
+ */
+ private String name;
+
+ /**
+ * <p class="changed_added_4_0">Tag library for which that tag is belong.
+ * This is bidirectional many to one relation.</p>
+ */
+ private TagLibraryBean library;
+
+ /**
+ * <p class="changed_added_4_0">Facelets VDL tag handler class.</p>
+ */
+ private String tagHandlerClass;
+
+ /**
+ * <p class="changed_added_4_0">Facelets VDL tag handler base class for generation.</p>
+ */
+ private String tagHandlerSuperClass;
+
+ /**
+ * <p class="changed_added_4_0">Jsp tag class</p>
+ */
+ private String jspClass;
+
+ /**
+ * <p class="changed_added_4_0">Component that the tag creates. This in bidirectional one to one relation.</p>
+ */
+ private ComponentBean component;
+
+}
Property changes on: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagLibraryBean.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagLibraryBean.java (rev 0)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagLibraryBean.java 2009-06-12 23:51:00 UTC (rev 14609)
@@ -0,0 +1,37 @@
+/*
+ * $Id$
+ *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.cdk.model;
+
+import java.util.List;
+
+/**
+ * <p class="changed_added_4_0">That bean represents whole tag library.</p>
+ * @author asmirnov(a)exadel.com
+ *
+ */
+public class TagLibraryBean {
+
+ private List<TagBean> tags;
+
+}
Property changes on: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/TagLibraryBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 7 months
JBoss Rich Faces SVN: r14608 - in branches/jsf2.0/cdk/generator/src/main/java/org/richfaces: cdk and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2009-06-12 19:10:46 -0400 (Fri, 12 Jun 2009)
New Revision: 14608
Added:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/PropertyBean.java
Removed:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/builder/jsfmodel/
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/Component.java
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/Property.java
Modified:
branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/annotations/Component.java
Log:
improve APT model
Modified: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/annotations/Component.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/annotations/Component.java 2009-06-12 17:52:45 UTC (rev 14607)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/annotations/Component.java 2009-06-12 23:10:46 UTC (rev 14608)
@@ -37,4 +37,8 @@
public @interface Component {
public String type();
+
+ public String family();
+
+ public String className();
}
Copied: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model (from rev 14599, branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/builder/jsfmodel)
Deleted: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/Component.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/builder/jsfmodel/Component.java 2009-06-11 17:48:45 UTC (rev 14599)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/Component.java 2009-06-12 23:10:46 UTC (rev 14608)
@@ -1,28 +0,0 @@
-package org.richfaces.builder.jsfmodel;
-
-import java.util.List;
-
-/**
- * That class represents JSF component in the CDK.
- * @author asmirnov(a)exadel.com
- *
- */
-public class Component {
-
- private String type;
-
- private String family;
-
- private String classname;
-
- private String superclass;
-
- private String description;
-
- private String displayname;
-
- private String icon;
-
- private List<Property> properties;
-
-}
Added: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java (rev 0)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java 2009-06-12 23:10:46 UTC (rev 14608)
@@ -0,0 +1,30 @@
+package org.richfaces.cdk.model;
+
+import java.util.List;
+
+/**
+ * That class represents JSF component in the CDK.
+ * @author asmirnov(a)exadel.com
+ *
+ */
+public class ComponentBean {
+
+ private String type;
+
+ private String family;
+
+ private String className;
+
+ private String superClass;
+
+ private String description;
+
+ private String displayname;
+
+ private String icon;
+
+ private List<PropertyBean> properties;
+
+ private TagBean tag;
+
+}
Property changes on: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/ComponentBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/Property.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/builder/jsfmodel/Property.java 2009-06-11 17:48:45 UTC (rev 14599)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/Property.java 2009-06-12 23:10:46 UTC (rev 14608)
@@ -1,115 +0,0 @@
-/**
- * License Agreement.
- *
- * Rich Faces - Natural Ajax for Java Server Faces (JSF)
- *
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package org.richfaces.builder.jsfmodel;
-
-/**
- * That class represents JSF component property.
- * @author asmirnov(a)exadel.com
- *
- */
-public class Property {
-
- /**
- * <p class="changed_added_4_0">Bean property name of component attribute</p>
- */
- private String name;
-
- /**
- * <p class="changed_added_4_0">Name of the attribute type class</p>
- */
- private String classname;
-
- /**
- * <p class="changed_added_4_0">Attribute description</p>
- */
- private String description;
-
- /**
- * <p class="changed_added_4_0">Display name for IDE</p>
- */
- private String displayname;
-
- /**
- * <p class="changed_added_4_0"></p>
- * @return the name
- */
- public String getName() {
- return name;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @param name the name to set
- */
- public void setName(String name) {
- this.name = name;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @return the classname
- */
- public String getClassname() {
- return classname;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @param classname the classname to set
- */
- public void setClassname(String classname) {
- this.classname = classname;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @return the description
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @param description the description to set
- */
- public void setDescription(String description) {
- this.description = description;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @return the displayname
- */
- public String getDisplayname() {
- return displayname;
- }
-
- /**
- * <p class="changed_added_4_0"></p>
- * @param displayname the displayname to set
- */
- public void setDisplayname(String displayname) {
- this.displayname = displayname;
- }
-
-}
Added: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/PropertyBean.java
===================================================================
--- branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/PropertyBean.java (rev 0)
+++ branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/PropertyBean.java 2009-06-12 23:10:46 UTC (rev 14608)
@@ -0,0 +1,115 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.cdk.model;
+
+/**
+ * That class represents JSF component property.
+ * @author asmirnov(a)exadel.com
+ *
+ */
+public class PropertyBean {
+
+ /**
+ * <p class="changed_added_4_0">Bean property name of component attribute</p>
+ */
+ private String name;
+
+ /**
+ * <p class="changed_added_4_0">Name of the attribute type class</p>
+ */
+ private String classname;
+
+ /**
+ * <p class="changed_added_4_0">Attribute description</p>
+ */
+ private String description;
+
+ /**
+ * <p class="changed_added_4_0">Display name for IDE</p>
+ */
+ private String displayname;
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @return the name
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @param name the name to set
+ */
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @return the classname
+ */
+ public String getClassname() {
+ return classname;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @param classname the classname to set
+ */
+ public void setClassname(String classname) {
+ this.classname = classname;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @return the description
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @param description the description to set
+ */
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @return the displayname
+ */
+ public String getDisplayname() {
+ return displayname;
+ }
+
+ /**
+ * <p class="changed_added_4_0"></p>
+ * @param displayname the displayname to set
+ */
+ public void setDisplayname(String displayname) {
+ this.displayname = displayname;
+ }
+
+}
Property changes on: branches/jsf2.0/cdk/generator/src/main/java/org/richfaces/cdk/model/PropertyBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 7 months
JBoss Rich Faces SVN: r14607 - in branches/community/3.3.X: docs/userguide/en/src/main/docbook/included and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2009-06-12 13:52:45 -0400 (Fri, 12 Jun 2009)
New Revision: 14607
Modified:
branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_component_attributes.ent
branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/html_anchor_attributes.ent
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/commandLink.xml
branches/community/3.3.X/ui/core/src/main/config/component/commandLink.xml
Log:
RF-7342: a4j:commandLink component description review
Modified: branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_component_attributes.ent
===================================================================
--- branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_component_attributes.ent 2009-06-12 13:06:45 UTC (rev 14606)
+++ branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/ajax_component_attributes.ent 2009-06-12 17:52:45 UTC (rev 14607)
@@ -80,7 +80,7 @@
<property >
<name>focus</name>
<classname>java.lang.String</classname>
- <description>id of element to set focus after request completed on client side</description>
+ <description>ID of an element to set focus after request is completed on client side</description>
</property>
<property >
<name>data</name>
Modified: branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/html_anchor_attributes.ent
===================================================================
--- branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/html_anchor_attributes.ent 2009-06-12 13:06:45 UTC (rev 14606)
+++ branches/community/3.3.X/cdk/generator/src/main/resources/META-INF/schema/entities/html_anchor_attributes.ent 2009-06-12 17:52:45 UTC (rev 14607)
@@ -9,16 +9,19 @@
<classname>java.lang.String</classname>
<description> The character encoding of a resource designated by this hyperlink</description>
</property>
+
<property>
<name>coords</name>
<classname>java.lang.String</classname>
- <description> This attribute specifies the position and shape on the screen. The number and order of values depends on the shape being defined. Possible combinations:
-
- * rect: left-x, top-y, right-x, bottom-y.
- * circle: center-x, center-y, radius. Note. When the radius value is percentage value, user agents should calculate the final radius value based on the associated object's width and height. The radius should be the smaller value of the two.
- * poly: x1, y1, x2, y2, ..., xN, yN. The first x and y coordinate pair and the last should be the same to close the polygon. When these coordinate values are not the same, user agents should infer an additional coordinate pair to close the polygon.
-
- Coordinates are relative to the top, left corner of the object. All values are lengths. All values are separated by commas
+ <description>
+ The attribute specifies shape and it position on the screen.
+ Possible values: "rect: left-x, top-y, right-x, bottom-y", "circle: center-x, center-y, radius", "poly: x1, y1, x2, y2, ..., xN, yN".
+ Notes:
+ a) when giving the radius value is percents, user agents should calculate the final radius value in pixels based on the associated object's width and height;
+ b) the radius value should be smaller than center-x and center-y values;
+ c) for a polygon, the first and last coordinate pairs should have same x and y to close the shape (x1=xN; y1=yN)
+ (when these coordinates are different, user agents should infer an additional pair to close a polygon).
+ Coordinates are relative to the top left corner of an object. All values are lengths. All values are comma separated.
</description>
</property>
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/commandLink.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/commandLink.xml 2009-06-12 13:06:45 UTC (rev 14606)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/commandLink.xml 2009-06-12 17:52:45 UTC (rev 14607)
@@ -36,16 +36,19 @@
</table>
<section>
- <title>Creating on a page</title>
- <para>To create the simplest variant on a page use the following syntax:</para>
- <para>
+ <title>Creating the Component with a Page Tag</title>
+ <para>To create the simplest variant of the component on a page use the following syntax:</para>
+ <para id="CL_example">
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="XML"><![CDATA[...
- <a4j:commandLink reRender="someData" action="#{bean.action1}" value="Link"/>
-...]]></programlisting>
- </section>
- <section>
+ <programlisting role="XML"><![CDATA[<a4j:commandLink value="Follow this link" reRender="some ID" action="#{bean.action}" />]]></programlisting>
+ <para>
+ The example above creates a link on a page clicking on which causes an Ajax form submit on the server, <code>"action"</code> method performance,
+ and rendering the component with <code>"someData"</code> ID after response comes back.
+ </para>
+ </section>
+
+ <section>
<title>Creating the Component Dynamically Using Java</title>
<para>
@@ -58,32 +61,37 @@
]]></programlisting>
</section>
<section>
- <title>Key attributes and ways of usage</title>
- <para>The <emphasis role="bold"><property><a4j:commandLink></property></emphasis> component is used in the same way as the <emphasis role="bold"><property><h:commandLink></property></emphasis> component, but with definition of the area that is updated after the response comes back from the server.</para>
- <para>This definition of the component provides a link, and a click on the link causes an Ajax form
- submit on the server, <code>"action1"</code> method performance, and rendering of the component
- with <code>"someData"</code> id after the response comes back from the server.</para>
- <tip>
- <title>Tip:</title>
- <para>The example in the "Creation on a page" section generates the following HTML code:</para>
- <programlisting role="XML"><![CDATA[...
-<a href="#" onclick="A4J.AJAX.Submit(?"request parameters"); return false;">
- <span>Link</span>
-</a>
-...]]></programlisting>
- <para>If you click on the generated anchor the utility method <code>A4J.AJAX.Submit()</code> is fired.
- The method performs an Ajax request as the Ajax support is built-in. It's not necessary to add nested <emphasis role="bold"><property><a4j:support /></property></emphasis> to the <emphasis role="bold"><property><a4j:commandLink /></property></emphasis> component.</para>
- </tip>
-
- <!--<note>
- <title>Note:</title>
-
- </note>-->
- <para>Common JSF navigation could be performed after Ajax submit and partial rendering, but Navigation Case must be defined as <emphasis role="bold"><property><redirect/></property></emphasis> in order to avoid problems with some browsers.</para>
- <para>As any Core Ajax component sending Ajax requests and processing server responses <emphasis role="bold"><property><a4j:commandLink></property></emphasis> has all attributes described above (see <emphasis role="bold"><property><a4j:support></property></emphasis> <link linkend="support">chapter</link>) that provide the required behavior of requests sending (delay, limitation of submit area and rendering, etc.)</para>
+ <title>Details of Usage</title>
<para>
- Information about the <emphasis><property>"process"</property></emphasis> attribute usage you can find <link linkend="process">" Decide what to process " </link> guide section.
+ The <emphasis role="bold"><property><a4j:commandLink></property></emphasis> component is used in the same way as JSF <emphasis role="bold"><property><h:commandLink></property></emphasis>.
+ The difference is that in case of <emphasis role="bold"><property><a4j:commandLink></property></emphasis> the components to be updated should be specified.
</para>
+
+ <para>
+ The example <link linkend="CL_example">above</link> generates the following HTML code:
+ </para>
+
+ <programlisting role="XML"><![CDATA[<a href="#" onclick="A4J.AJAX.Submit(?"request parameters"); return false;"><span>Follow this link</span></a>]]></programlisting>
+
+ <para>
+ If you click on the generated anchor the utility method <code>A4J.AJAX.Submit()</code> will be fired.
+ It's not necessary to add nested <emphasis role="bold"><property><a4j:support></property></emphasis> as the <emphasis role="bold"><property><a4j:commandLink></property></emphasis> has an Ajax support already built-in.
+ </para>
+
+ <note>
+ <title>Note:</title>
+ <para>
+ Common JSF navigation could be performed after Ajax submit and partial rendering, but Navigation Case must be defined as <emphasis role="bold"><property><redirect/></property></emphasis> in order to avoid problems with some browsers.
+ </para>
+ </note>
+
+ <para>
+ As any Core Ajax component that sends Ajax requests and processes server responses the <emphasis role="bold"><property><a4j:commandLink></property></emphasis> has all attributes that provide the required behavior of requests (delay, limitation of submit area and rendering, etc.)
+ </para>
+
+ <para>
+ Information about the <emphasis><property>"process"</property></emphasis> attribute usage you can find "<link linkend="process">Decide what to process</link>" guide section.
+ </para>
</section>
<section>
Modified: branches/community/3.3.X/ui/core/src/main/config/component/commandLink.xml
===================================================================
--- branches/community/3.3.X/ui/core/src/main/config/component/commandLink.xml 2009-06-12 13:06:45 UTC (rev 14606)
+++ branches/community/3.3.X/ui/core/src/main/config/component/commandLink.xml 2009-06-12 17:52:45 UTC (rev 14607)
@@ -71,7 +71,7 @@
&ui_command_attributes;
&html_events;
&html_universal_attributes;
- &html_anchor_attributes;
+ &html_anchor_attributes;
&html_style_attributes;
&ajax_component_attributes;
<property>
@@ -88,10 +88,10 @@
<classname>int</classname>
<description>Timeout ( in ms ) for request.</description>
</property>
- <property>
- <name>disabled</name>
- <classname>boolean</classname>
- <description>If true, disable this component on page.</description>
- </property>
+ <property>
+ <name>disabled</name>
+ <classname>boolean</classname>
+ <description>Disables the component on page. Boolean.</description>
+ </property>
</component>
</components>
\ No newline at end of file
15 years, 7 months
JBoss Rich Faces SVN: r14606 - in branches/community/3.3.X/samples/richfaces-demo/src/main/webapp: richfaces/support/examples and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2009-06-12 09:06:45 -0400 (Fri, 12 Jun 2009)
New Revision: 14606
Modified:
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/support/examples/dynamicSelects.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/include/header.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/welcome.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-7302
https://jira.jboss.org/jira/browse/RF-7262
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/support/examples/dynamicSelects.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/support/examples/dynamicSelects.xhtml 2009-06-12 12:34:06 UTC (rev 14605)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/support/examples/dynamicSelects.xhtml 2009-06-12 13:06:45 UTC (rev 14606)
@@ -9,7 +9,7 @@
<h:outputText value="Choose the produce type:"/>
<rich:inplaceSelect value="#{selectsBean.currentType}" valueChangeListener="#{selectsBean.valueChanged}" defaultLabel="Click here to select">
<f:selectItems value="#{selectsBean.firstList}"/>
- <a4j:support event="onchange" reRender="items, label" ajaxSingle="true"/>
+ <a4j:support event="onviewactivated" reRender="items, label" ajaxSingle="true"/>
</rich:inplaceSelect>
<a4j:outputPanel id="label">
<h:outputText value="Choose concrete product:" rendered="#{!empty selectsBean.secondList}"/>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/include/header.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/include/header.xhtml 2009-06-12 12:34:06 UTC (rev 14605)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/include/header.xhtml 2009-06-12 13:06:45 UTC (rev 14606)
@@ -8,7 +8,10 @@
<div class="page_brick"></div>
<table class="top_navbar" cellpadding="0" cellspacing="0" border="0">
<tbody>
- <tr>
+ <tr>
+ <td>
+ <h:outputLink value="http://livedemo.exadel.com/photoalbum">PhotoAlbum Application</h:outputLink>
+ </td>
<td>
<h:outputLink value="http://labs.jboss.com/portal/jbossrichfaces/downloads">Download</h:outputLink>
</td>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/welcome.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/welcome.xhtml 2009-06-12 12:34:06 UTC (rev 14605)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/welcome.xhtml 2009-06-12 13:06:45 UTC (rev 14606)
@@ -29,6 +29,13 @@
Groups marked with such icons - contain the components added during latest release,
or the components with new examples added.
</p>
+ <h4>New Demo Available!</h4>
+ <p>
+ We already have new demo called <b>photoAlbum</b> available! The demo contains
+ best practices and examples of RichFaces in action and includes all most popular
+ components! <a href="http://livedemo.exadel.com/photoalbum/">Visit the
+ new demo!</a>
+ </p>
</ui:define>
</ui:composition>
</html>
15 years, 7 months
JBoss Rich Faces SVN: r14605 - branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/layout.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2009-06-12 08:34:06 -0400 (Fri, 12 Jun 2009)
New Revision: 14605
Modified:
branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/layout/template.xhtml
Log:
Meta headers
Modified: branches/community/3.3.X/examples/photoalbum/source/web/src/main/webapp/layout/template.xhtml
===================================================================
(Binary files differ)
15 years, 7 months
JBoss Rich Faces SVN: r14604 - branches/community/3.3.X/test-applications/jsp/src/main/java/dataScroller.
by richfaces-svn-commits@lists.jboss.org
Author: Vadim Mikovoz
Date: 2009-06-12 08:22:02 -0400 (Fri, 12 Jun 2009)
New Revision: 14604
Modified:
branches/community/3.3.X/test-applications/jsp/src/main/java/dataScroller/DataScroller.java
Log:
Modified: branches/community/3.3.X/test-applications/jsp/src/main/java/dataScroller/DataScroller.java
===================================================================
--- branches/community/3.3.X/test-applications/jsp/src/main/java/dataScroller/DataScroller.java 2009-06-12 11:36:13 UTC (rev 14603)
+++ branches/community/3.3.X/test-applications/jsp/src/main/java/dataScroller/DataScroller.java 2009-06-12 12:22:02 UTC (rev 14604)
@@ -26,12 +26,12 @@
private String action;
private String actionListener;
private boolean ajaxSingle = false;
- private String boundaryControls = "auto";
+ private String boundaryControls = "show";
private HtmlDatascroller htmlDatascroller= null;
private String fastStep = "2";
- private int page = 2;
+ private int page = 1;
private Object value = null;
- private String stepControls = "auto";
+ private String stepControls = "show";
private String sortMode;
private boolean selfSorted;
private Ordering sortOrder;
@@ -129,7 +129,7 @@
public DataScroller() {
action = "---";
actionListener = "---";
- fastControls = "auto";
+ fastControls = "show";
render = true;
renderIfSinglePage = true;
align = "left";
15 years, 7 months