JBoss Rich Faces SVN: r15415 - branches/community/3.3.X/test-applications/selenium-testing-lib.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2009-08-31 16:31:49 -0400 (Mon, 31 Aug 2009)
New Revision: 15415
Removed:
branches/community/3.3.X/test-applications/selenium-testing-lib/.classpath
branches/community/3.3.X/test-applications/selenium-testing-lib/.project
Modified:
branches/community/3.3.X/test-applications/selenium-testing-lib/
Log:
- added svn:ignore to target, .classpath, .project, .settings and removed IDE specific files (.project, .classpath)
Property changes on: branches/community/3.3.X/test-applications/selenium-testing-lib
___________________________________________________________________
Name: svn:ignore
+ target
.classpath
.settings
.project
Deleted: branches/community/3.3.X/test-applications/selenium-testing-lib/.classpath
===================================================================
--- branches/community/3.3.X/test-applications/selenium-testing-lib/.classpath 2009-08-31 19:23:53 UTC (rev 15414)
+++ branches/community/3.3.X/test-applications/selenium-testing-lib/.classpath 2009-08-31 20:31:49 UTC (rev 15415)
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" output="target/classes" path="src/main/java"/>
- <classpathentry kind="src" path="src/main/resources"/>
- <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
Deleted: branches/community/3.3.X/test-applications/selenium-testing-lib/.project
===================================================================
--- branches/community/3.3.X/test-applications/selenium-testing-lib/.project 2009-08-31 19:23:53 UTC (rev 15414)
+++ branches/community/3.3.X/test-applications/selenium-testing-lib/.project 2009-08-31 20:31:49 UTC (rev 15415)
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>selenium-testing-lib</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.maven.ide.eclipse.maven2Builder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.maven.ide.eclipse.maven2Nature</nature>
- </natures>
-</projectDescription>
15 years, 4 months
JBoss Rich Faces SVN: r15414 - branches/community/3.3.X/samples/richfaces-demo/functional-test.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2009-08-31 15:23:53 -0400 (Mon, 31 Aug 2009)
New Revision: 15414
Removed:
branches/community/3.3.X/samples/richfaces-demo/functional-test/.classpath
branches/community/3.3.X/samples/richfaces-demo/functional-test/.project
Log:
- removed IDE specific files .classpath, .project
Deleted: branches/community/3.3.X/samples/richfaces-demo/functional-test/.classpath
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/functional-test/.classpath 2009-08-31 19:13:35 UTC (rev 15413)
+++ branches/community/3.3.X/samples/richfaces-demo/functional-test/.classpath 2009-08-31 19:23:53 UTC (rev 15414)
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry including="**/*.java" kind="src" output="target/test-classes" path="src/test/java"/>
- <classpathentry including="**/*.js|**/*.properties" kind="src" path="src/test/resources"/>
- <classpathentry including="**/*.java" kind="src" output="target/classes" path="src/main/java"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/client-drivers/selenium-java-client-driver/1.0.1/selenium-java-client-driver-1.0.1.jar" sourcepath="/M2_REPO/org/seleniumhq/selenium/client-drivers/selenium-java-client-driver/1.0.1/selenium-java-client-driver-1.0.1-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/testng/testng/5.8/testng-5.8-jdk15.jar" sourcepath="/M2_REPO/org/testng/testng/5.8/testng-5.8-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.4/commons-lang-2.4.jar" sourcepath="/M2_REPO/commons-lang/commons-lang/2.4/commons-lang-2.4-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/test/selenium/1.0-SNAPSHOT/selenium-1.0-SNAPSHOT.jar" sourcepath="/M2_REPO/org/jboss/test/selenium/1.0-SNAPSHOT/selenium-1.0-SNAPSHOT-sources.jar"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
Deleted: branches/community/3.3.X/samples/richfaces-demo/functional-test/.project
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/functional-test/.project 2009-08-31 19:13:35 UTC (rev 15413)
+++ branches/community/3.3.X/samples/richfaces-demo/functional-test/.project 2009-08-31 19:23:53 UTC (rev 15414)
@@ -1,21 +0,0 @@
-<projectDescription>
- <name>selenium-test</name>
- <comment/>
- <projects/>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.wst.common.project.facet.core.builder</name>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- <buildCommand>
- <name>org.maven.ide.eclipse.maven2Builder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.maven.ide.eclipse.maven2Nature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
- </natures>
-</projectDescription>
\ No newline at end of file
15 years, 4 months
JBoss Rich Faces SVN: r15413 - branches/community/3.3.X/samples/richfaces-demo/functional-test.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2009-08-31 15:13:35 -0400 (Mon, 31 Aug 2009)
New Revision: 15413
Modified:
branches/community/3.3.X/samples/richfaces-demo/functional-test/
Log:
- added svn:ignore for richfaces-demo/functional-test
Property changes on: branches/community/3.3.X/samples/richfaces-demo/functional-test
___________________________________________________________________
Name: svn:ignore
+ target
.classpath
.project
.settings
15 years, 4 months
JBoss Rich Faces SVN: r15412 - in root/examples: trunk/richfaces-demo/src/main/webapp/richfaces/status and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-08-28 15:36:53 -0400 (Fri, 28 Aug 2009)
New Revision: 15412
Modified:
root/examples/tags/4.0.0.ALPHA1/richfaces-demo/src/main/webapp/richfaces/status/referencedusage.xhtml
root/examples/trunk/richfaces-demo/src/main/webapp/richfaces/status/referencedusage.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-7782
Modified: root/examples/tags/4.0.0.ALPHA1/richfaces-demo/src/main/webapp/richfaces/status/referencedusage.xhtml
===================================================================
--- root/examples/tags/4.0.0.ALPHA1/richfaces-demo/src/main/webapp/richfaces/status/referencedusage.xhtml 2009-08-28 19:19:58 UTC (rev 15411)
+++ root/examples/tags/4.0.0.ALPHA1/richfaces-demo/src/main/webapp/richfaces/status/referencedusage.xhtml 2009-08-28 19:36:53 UTC (rev 15412)
@@ -14,7 +14,7 @@
<h:panelGrid columns="3">
<h:outputText value="User name:" />
<h:inputText value="#{userBean.name}" >
- <a4j:ajax statusId="nameStatus" event="keyup"/>
+ <a4j:ajax status="nameStatus" event="keyup"/>
</h:inputText>
<a4j:status name="nameStatus">
<f:facet name="start">
@@ -23,7 +23,7 @@
</a4j:status>
<h:outputText value="Adress:" />
<h:inputText value="#{userBean.address}">
- <a4j:ajax statusId="adressStatus" event="keyup"/>
+ <a4j:ajax status="adressStatus" event="keyup"/>
</h:inputText>
<a4j:status name="adressStatus">
<f:facet name="start">
Modified: root/examples/trunk/richfaces-demo/src/main/webapp/richfaces/status/referencedusage.xhtml
===================================================================
--- root/examples/trunk/richfaces-demo/src/main/webapp/richfaces/status/referencedusage.xhtml 2009-08-28 19:19:58 UTC (rev 15411)
+++ root/examples/trunk/richfaces-demo/src/main/webapp/richfaces/status/referencedusage.xhtml 2009-08-28 19:36:53 UTC (rev 15412)
@@ -14,7 +14,7 @@
<h:panelGrid columns="3">
<h:outputText value="User name:" />
<h:inputText value="#{userBean.name}" >
- <a4j:ajax statusId="nameStatus" event="keyup"/>
+ <a4j:ajax status="nameStatus" event="keyup"/>
</h:inputText>
<a4j:status name="nameStatus">
<f:facet name="start">
@@ -23,7 +23,7 @@
</a4j:status>
<h:outputText value="Adress:" />
<h:inputText value="#{userBean.address}">
- <a4j:ajax statusId="adressStatus" event="keyup"/>
+ <a4j:ajax status="adressStatus" event="keyup"/>
</h:inputText>
<a4j:status name="adressStatus">
<f:facet name="start">
15 years, 4 months
JBoss Rich Faces SVN: r15411 - in root: framework/tags/4.0.0.ALPHA1/impl/src/main/java/org/ajax4jsf/renderkit and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2009-08-28 15:19:58 -0400 (Fri, 28 Aug 2009)
New Revision: 15411
Modified:
root/framework/tags/4.0.0.ALPHA1/api/src/main/java/org/ajax4jsf/component/AjaxClientBehavior.java
root/framework/tags/4.0.0.ALPHA1/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java
root/ui/tags/4.0.0.ALPHA1/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java
root/ui/tags/4.0.0.ALPHA1/components/core/src/main/java/org/ajax4jsf/facelets/tag/AjaxHandler.java
Log:
https://jira.jboss.org/jira/browse/RF-7782
Modified: root/framework/tags/4.0.0.ALPHA1/api/src/main/java/org/ajax4jsf/component/AjaxClientBehavior.java
===================================================================
--- root/framework/tags/4.0.0.ALPHA1/api/src/main/java/org/ajax4jsf/component/AjaxClientBehavior.java 2009-08-28 17:59:39 UTC (rev 15410)
+++ root/framework/tags/4.0.0.ALPHA1/api/src/main/java/org/ajax4jsf/component/AjaxClientBehavior.java 2009-08-28 19:19:58 UTC (rev 15411)
@@ -31,9 +31,9 @@
public String getQueueId();
- public void setStatusId(String queueId);
+ public void setStatus(String statusId);
- public String getStatusId();
+ public String getStatus();
public String getSimilarityGroupingId();
@@ -55,8 +55,8 @@
public void setOnbegin(String onbegin);
- public String getOnBeforeDomUpdate();
+ public String getOnbeforedomupdate();
- public void setOnBeforeDomUpdate(String onbeforedomupdate);
+ public void setOnbeforedomupdate(String onbeforedomupdate);
}
Modified: root/framework/tags/4.0.0.ALPHA1/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java
===================================================================
--- root/framework/tags/4.0.0.ALPHA1/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java 2009-08-28 17:59:39 UTC (rev 15410)
+++ root/framework/tags/4.0.0.ALPHA1/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java 2009-08-28 19:19:58 UTC (rev 15411)
@@ -279,7 +279,7 @@
beforedomupdate {
@Override
public String getAttributeValue(AjaxClientBehavior behavior) {
- return behavior.getOnBeforeDomUpdate();
+ return behavior.getOnbeforedomupdate();
}
},
@@ -318,7 +318,7 @@
String ajaxStatusName = getAjaxStatus(component);
if(ajaxBehavior != null) {
- ajaxStatusName = ajaxBehavior.getStatusId() != null ? ajaxBehavior.getStatusId() : ajaxStatusName;
+ ajaxStatusName = ajaxBehavior.getStatus() != null ? ajaxBehavior.getStatus() : ajaxStatusName;
appenAjaxBehaviorOptions(facesContext, ajaxBehavior, ajaxEventOptions);
} else {
appendComponentOptions(facesContext, component, ajaxEventOptions, parametersMap);
Modified: root/ui/tags/4.0.0.ALPHA1/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java
===================================================================
--- root/ui/tags/4.0.0.ALPHA1/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java 2009-08-28 17:59:39 UTC (rev 15410)
+++ root/ui/tags/4.0.0.ALPHA1/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java 2009-08-28 19:19:58 UTC (rev 15411)
@@ -22,7 +22,7 @@
private static enum Attributes {
- limitRender, queueId, statusId, render, execute, similarityGroupingId, oncomplete, onbegin, onbeforedomupdate, other;
+ limitRender, queueId, status, render, execute, similarityGroupingId, oncomplete, onbegin, onbeforedomupdate, other;
public static Attributes toAttribute(String name) {
@@ -76,12 +76,12 @@
return this.onbegin;
}
- public void setOnBeforeDomUpdate(String onbeforedomupdate) {
+ public void setOnbeforedomupdate(String onbeforedomupdate) {
this.onbeforedomupdate = onbeforedomupdate;
clearInitialState();
}
- public String getOnBeforeDomUpdate() {
+ public String getOnbeforedomupdate() {
if(this.onbeforedomupdate != null) {
return this.onbeforedomupdate;
}
@@ -170,12 +170,12 @@
clearInitialState();
}
- public String getStatusId() {
+ public String getStatus() {
if(this.statusId != null) {
return this.statusId;
}
- ValueExpression ve = getValueExpression(Attributes.statusId.toString());
+ ValueExpression ve = getValueExpression(Attributes.status.toString());
if(ve != null) {
ELContext elContext = FacesContext.getCurrentInstance().getELContext();
String value = ((String)ve.getValue(elContext));
@@ -185,7 +185,7 @@
return this.statusId;
}
- public void setStatusId(String statusId) {
+ public void setStatus(String statusId) {
this.statusId = statusId;
clearInitialState();
}
@@ -256,7 +256,7 @@
case queueId :
this.queueId = value != null ? (String)value : null; break;
- case statusId :
+ case status :
this.statusId = value != null ? (String)value : null; break;
case similarityGroupingId :
Modified: root/ui/tags/4.0.0.ALPHA1/components/core/src/main/java/org/ajax4jsf/facelets/tag/AjaxHandler.java
===================================================================
--- root/ui/tags/4.0.0.ALPHA1/components/core/src/main/java/org/ajax4jsf/facelets/tag/AjaxHandler.java 2009-08-28 17:59:39 UTC (rev 15410)
+++ root/ui/tags/4.0.0.ALPHA1/components/core/src/main/java/org/ajax4jsf/facelets/tag/AjaxHandler.java 2009-08-28 19:19:58 UTC (rev 15411)
@@ -54,13 +54,13 @@
this.listener = this.getAttribute("listener");
this.limitRender = this.getAttribute("limitRender");
this.queueId = this.getAttribute("queueId");
- this.statusId = this.getAttribute("statusId");
+ this.statusId = this.getAttribute("status");
this.similarityGroupingId = this.getAttribute("similarityGroupingId");
this.onevent = this.getAttribute("onevent");
this.onerror = this.getAttribute("onerror");
this.onbegin = this.getAttribute("onbegin");
this.oncomplete = this.getAttribute("oncomplete");
- this.onbeforedomupdate = this.getAttribute("onBeforeDomUpdate");
+ this.onbeforedomupdate = this.getAttribute("onbeforedomupdate");
this.wrapping = isWrapping();
}
15 years, 4 months
JBoss Rich Faces SVN: r15410 - branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-08-28 13:59:39 -0400 (Fri, 28 Aug 2009)
New Revision: 15410
Modified:
branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/button.xml
branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/contextMenu.xml
Log:
https://jira.jboss.org/jira/browse/RF-5768
updated
Modified: branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/button.xml
===================================================================
--- branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/button.xml 2009-08-28 14:08:12 UTC (rev 15409)
+++ branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/button.xml 2009-08-28 17:59:39 UTC (rev 15410)
@@ -51,7 +51,7 @@
The button consists of several parts:
</para>
<itemizedlist>
- <listitem><para>2 images (pressed and not pressed)</para></listitem>
+ <listitem><para>2 images (pressed and not pressed states)</para></listitem>
<listitem><para><div> element that displays the button's text </para></listitem>
<listitem><para><emphasis role="bold"><property><a4j:commandButton></property></emphasis> that sends Ajax request to the server</para></listitem>
@@ -66,11 +66,11 @@
<richx:commandButton actionListener="#{authenticator.register(user)}" reRender="mainform, headerPanel" value="#{messages['user.register']}" />
...]]></programlisting>
<para>
- We can pass to the <emphasis role="bold"><property><richx:commandButton></property></emphasis> all required attributes, in the example only actionListener, reRender and value are passed.
+ We can pass to the <emphasis role="bold"><property><richx:commandButton></property></emphasis> all required attributes, in the example only <property>actionListener</property>, <property>reRender</property> and value are passed.
</para>
<para>
<emphasis role="bold"><property><richx:commandButton></property></emphasis>
- is a custom tag that is declared in the photoalbum-taglib.xml tag library:
+ is a custom tag that is declared in the <code>photoalbum-taglib.xml</code> tag library:
</para>
<programlisting role="XML"><![CDATA[...
<?xml version="1.0"?>
@@ -179,6 +179,6 @@
...]]></programlisting>
<para>
- You can find more infromation about Facelets, custom tags, taglibs, Facelets tag handlers and Facelets templates here.
+ You can find more infromation about Facelets, custom tags, taglibs, Facelets tag handlers and Facelets templates <ulink url="http://java.sun.com/javaee/6/docs/tutorial/doc/giepx.html" ></ulink> here.
</para>
</section>
Modified: branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/contextMenu.xml
===================================================================
--- branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/contextMenu.xml 2009-08-28 14:08:12 UTC (rev 15409)
+++ branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/contextMenu.xml 2009-08-28 17:59:39 UTC (rev 15410)
@@ -46,7 +46,7 @@
</itemizedlist>
<para>
- Let's have a look at the context menu for single image is constructed.
+ Let's have a look at how the context menu for a single image is constructed.
</para>
<programlisting role="XML"><![CDATA[...
15 years, 4 months
JBoss Rich Faces SVN: r15409 - in root/ui/trunk/components/core/src/main/java/org/ajax4jsf: facelets/tag and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2009-08-28 10:08:12 -0400 (Fri, 28 Aug 2009)
New Revision: 15409
Modified:
root/ui/trunk/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java
root/ui/trunk/components/core/src/main/java/org/ajax4jsf/facelets/tag/AjaxHandler.java
Log:
https://jira.jboss.org/jira/browse/RF-7782
Modified: root/ui/trunk/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java
===================================================================
--- root/ui/trunk/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java 2009-08-28 14:07:39 UTC (rev 15408)
+++ root/ui/trunk/components/core/src/main/java/org/ajax4jsf/component/behavior/AjaxBehavior.java 2009-08-28 14:08:12 UTC (rev 15409)
@@ -22,7 +22,7 @@
private static enum Attributes {
- limitRender, queueId, statusId, render, execute, similarityGroupingId, oncomplete, onbegin, onbeforedomupdate, other;
+ limitRender, queueId, status, render, execute, similarityGroupingId, oncomplete, onbegin, onbeforedomupdate, other;
public static Attributes toAttribute(String name) {
@@ -76,12 +76,12 @@
return this.onbegin;
}
- public void setOnBeforeDomUpdate(String onbeforedomupdate) {
+ public void setOnbeforedomupdate(String onbeforedomupdate) {
this.onbeforedomupdate = onbeforedomupdate;
clearInitialState();
}
- public String getOnBeforeDomUpdate() {
+ public String getOnbeforedomupdate() {
if(this.onbeforedomupdate != null) {
return this.onbeforedomupdate;
}
@@ -170,12 +170,12 @@
clearInitialState();
}
- public String getStatusId() {
+ public String getStatus() {
if(this.statusId != null) {
return this.statusId;
}
- ValueExpression ve = getValueExpression(Attributes.statusId.toString());
+ ValueExpression ve = getValueExpression(Attributes.status.toString());
if(ve != null) {
ELContext elContext = FacesContext.getCurrentInstance().getELContext();
String value = ((String)ve.getValue(elContext));
@@ -185,7 +185,7 @@
return this.statusId;
}
- public void setStatusId(String statusId) {
+ public void setStatus(String statusId) {
this.statusId = statusId;
clearInitialState();
}
@@ -256,7 +256,7 @@
case queueId :
this.queueId = value != null ? (String)value : null; break;
- case statusId :
+ case status :
this.statusId = value != null ? (String)value : null; break;
case similarityGroupingId :
Modified: root/ui/trunk/components/core/src/main/java/org/ajax4jsf/facelets/tag/AjaxHandler.java
===================================================================
--- root/ui/trunk/components/core/src/main/java/org/ajax4jsf/facelets/tag/AjaxHandler.java 2009-08-28 14:07:39 UTC (rev 15408)
+++ root/ui/trunk/components/core/src/main/java/org/ajax4jsf/facelets/tag/AjaxHandler.java 2009-08-28 14:08:12 UTC (rev 15409)
@@ -54,13 +54,13 @@
this.listener = this.getAttribute("listener");
this.limitRender = this.getAttribute("limitRender");
this.queueId = this.getAttribute("queueId");
- this.statusId = this.getAttribute("statusId");
+ this.statusId = this.getAttribute("status");
this.similarityGroupingId = this.getAttribute("similarityGroupingId");
this.onevent = this.getAttribute("onevent");
this.onerror = this.getAttribute("onerror");
this.onbegin = this.getAttribute("onbegin");
this.oncomplete = this.getAttribute("oncomplete");
- this.onbeforedomupdate = this.getAttribute("onBeforeDomUpdate");
+ this.onbeforedomupdate = this.getAttribute("onbeforedomupdate");
this.wrapping = isWrapping();
}
15 years, 4 months
JBoss Rich Faces SVN: r15408 - in root/framework/trunk: impl/src/main/java/org/ajax4jsf/renderkit and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2009-08-28 10:07:39 -0400 (Fri, 28 Aug 2009)
New Revision: 15408
Modified:
root/framework/trunk/api/src/main/java/org/ajax4jsf/component/AjaxClientBehavior.java
root/framework/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java
Log:
https://jira.jboss.org/jira/browse/RF-7782
Modified: root/framework/trunk/api/src/main/java/org/ajax4jsf/component/AjaxClientBehavior.java
===================================================================
--- root/framework/trunk/api/src/main/java/org/ajax4jsf/component/AjaxClientBehavior.java 2009-08-28 13:31:47 UTC (rev 15407)
+++ root/framework/trunk/api/src/main/java/org/ajax4jsf/component/AjaxClientBehavior.java 2009-08-28 14:07:39 UTC (rev 15408)
@@ -31,9 +31,9 @@
public String getQueueId();
- public void setStatusId(String queueId);
+ public void setStatus(String statusId);
- public String getStatusId();
+ public String getStatus();
public String getSimilarityGroupingId();
@@ -55,8 +55,8 @@
public void setOnbegin(String onbegin);
- public String getOnBeforeDomUpdate();
+ public String getOnbeforedomupdate();
- public void setOnBeforeDomUpdate(String onbeforedomupdate);
+ public void setOnbeforedomupdate(String onbeforedomupdate);
}
Modified: root/framework/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java
===================================================================
--- root/framework/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java 2009-08-28 13:31:47 UTC (rev 15407)
+++ root/framework/trunk/impl/src/main/java/org/ajax4jsf/renderkit/AjaxRendererUtils.java 2009-08-28 14:07:39 UTC (rev 15408)
@@ -279,7 +279,7 @@
beforedomupdate {
@Override
public String getAttributeValue(AjaxClientBehavior behavior) {
- return behavior.getOnBeforeDomUpdate();
+ return behavior.getOnbeforedomupdate();
}
},
@@ -318,7 +318,7 @@
String ajaxStatusName = getAjaxStatus(component);
if(ajaxBehavior != null) {
- ajaxStatusName = ajaxBehavior.getStatusId() != null ? ajaxBehavior.getStatusId() : ajaxStatusName;
+ ajaxStatusName = ajaxBehavior.getStatus() != null ? ajaxBehavior.getStatus() : ajaxStatusName;
appenAjaxBehaviorOptions(facesContext, ajaxBehavior, ajaxEventOptions);
} else {
appendComponentOptions(facesContext, component, ajaxEventOptions, parametersMap);
15 years, 4 months
JBoss Rich Faces SVN: r15407 - branches/community/3.3.X/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-08-28 09:31:47 -0400 (Fri, 28 Aug 2009)
New Revision: 15407
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_columnGroup.xml
Log:
https://jira.jboss.org/jira/browse/RF-7686 - the component description is updated;
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_columnGroup.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_columnGroup.xml 2009-08-28 13:28:27 UTC (rev 15406)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_columnGroup.xml 2009-08-28 13:31:47 UTC (rev 15407)
@@ -73,7 +73,7 @@
</rich:dataTable>
...
</programlisting>
- <para>And representation without a grouping:</para>
+ <para>And here is a representation without a grouping:</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -87,10 +87,10 @@
<rich:column breakBefore="true">
<h:outputText value="#{cap.state}"/>
</rich:column>
- <rich:column breakBefore="true">
+ <rich:column>
<h:outputText value="#{cap.name}"/>
</rich:column>
- <rich:column >
+ <rich:column>
<h:outputText value="#{cap.timeZone}"/>
</rich:column>
</rich:dataTable>
@@ -110,35 +110,48 @@
</imageobject>
</mediaobject>
</figure>
- <para>It's also possible to use the component for output of complex headers in a table. For example adding
+ <para>It's also possible to use the component for output of complex headers in a table. For example, adding
of a complex header to a facet for the whole table looks the following way:</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="XML">...
-<f:facet name="header">
- <rich:columnGroup>
- <rich:column rowspan="2">
- <h:outputText value="State Flag"/>
- </rich:column>
- <rich:column colspan="3">
- <h:outputText value="State Info"/>
- </rich:column>
- <rich:column breakBefore="true">
- <h:outputText value="State Name"/>
- </rich:column>
- <rich:column>
- <h:outputText value="State Capital"/>
- </rich:column>
- <rich:column>
- <h:outputText value="Time Zone"/>
- </rich:column>
- </rich:columnGroup>
-</f:facet>
-...
-</programlisting>
- <para>Generated on a page as:</para>
+ <programlisting role="XML"><![CDATA[...
+<rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="5" id="sublist">
+ <f:facet name="header">
+ <rich:columnGroup>
+ <rich:column rowspan="2">
+ <h:outputText value="State Flag"/>
+ </rich:column>
+ <rich:column colspan="3">
+ <h:outputText value="State Info"/>
+ </rich:column>
+ <rich:column breakBefore="true">
+ <h:outputText value="State Name"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="State Capital"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Time Zone"/>
+ </rich:column>
+ </rich:columnGroup>
+ </f:facet>
+ <rich:column>
+ <h:graphicImage value="#{cap.stateFlag}"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{cap.state}"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{cap.name}"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{cap.timeZone}"/>
+ </rich:column>
+</rich:dataTable>
+...]]></programlisting>
+ <para>The generated table on a page looks as follows:</para>
<figure>
<title>
<emphasis role="bold">
@@ -191,15 +204,18 @@
</tbody>
</tgroup>
</table>
- You can find all necessary information about style classes redefinition in
+ <para>Custom style classes as well as skin parameters for <emphasis role="bold">
+ <property><rich:columnGroup></property></emphasis> are the same as for the <link linkend="dataTableRefData"><emphasis role="bold">
+ <property><rich:dataTable></property></emphasis> component.</link></para>
+ <para>You can find all necessary information about style classes redefinition in
<link linkend="customstyles">Definition of Custom Style Classes</link>
- section.
+ section.</para>
</section>
<section>
<title>Relevant Resources Links</title>
- <para>
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?c=colum...">On the component LiveDemo page</ulink> you can see the example of <emphasis role="bold">
+ <para>On the
+ <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?c=colum...">component LiveDemo page</ulink> you can find the example of the <emphasis role="bold">
<property><rich:columnGroup></property>
- </emphasis> usage and sources for the given example. </para>
+ </emphasis> usage and sources as well.</para>
</section>
</section>
\ No newline at end of file
15 years, 4 months
JBoss Rich Faces SVN: r15406 - branches/community/3.3.X/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-08-28 09:28:27 -0400 (Fri, 28 Aug 2009)
New Revision: 15406
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_column.xml
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_dataTable.xml
Log:
https://jira.jboss.org/jira/browse/RF-7679 - the component 'Details of Usage' section is updated;
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_column.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_column.xml 2009-08-28 13:25:49 UTC (rev 15405)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_column.xml 2009-08-28 13:28:27 UTC (rev 15406)
@@ -10,7 +10,7 @@
</title>
<section>
<title>Description</title>
- <para>The component for row rendering for a UIData component.</para>
+ <para>The component is meant for row rendering in UIData components.</para>
<figure>
<title>
<emphasis role="bold">
@@ -31,7 +31,7 @@
</listitem>
<listitem>
<para>Possibility to combine columns with the help of <emphasis>
- <property>"colspan"</property>
+ <property>"colspan"</property>
</emphasis>
</para>
</listitem>
@@ -61,7 +61,7 @@
<property><rich:column></property>
</emphasis> component is used the same way as the standard <emphasis role="bold">
<property><h:column></property>
- </emphasis>, i.e. the following code on a page is used:</para>
+ </emphasis>. See the example of the component usage below:</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -102,9 +102,9 @@
column with a flag, use the <emphasis>
<property>"colspan"</property>
</emphasis> attribute, which is similar to an HTML one, specifying
- that the first column contains 3 columns. In addition, it's
+ that the first column contains 3 columns. In addition, it's
necessary to specify that the next column begins from the first row
- with the help of the
+ with the help of
<code>breakBefore="true"</code>.</para>
<para>
@@ -133,9 +133,9 @@
<emphasis role="bold">
<property><rich:column></property>
</emphasis> modified with <emphasis>
- <property>"colspan"</property>
+ <property>"colspan"</property>
</emphasis> and <emphasis>
- <property>"breakbefore"</property>
+ <property>"breakbefore"</property>
</emphasis> attributes</title>
<mediaobject>
<imageobject>
@@ -144,11 +144,11 @@
</mediaobject>
</figure>
<para>The same way is used for <property>columns</property> grouping with the <emphasis>
- <property>"rowspan"</property>
+ <property>"rowspan"</property>
</emphasis> attribute that is similar to an HTML one responsible for
rows quantity definition occupied with the current one. The only thing
to add in the example is an instruction to move onto the next row for
- each next after the second column.</para>
+ each next row after the second column.</para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -178,7 +178,7 @@
<emphasis role="bold">
<property><rich:column></property>
</emphasis> generated with <emphasis>
- <property>"rowspan"</property>
+ <property>"rowspan"</property>
</emphasis> attribute</title>
<mediaobject>
<imageobject>
@@ -203,10 +203,10 @@
<title>Sorting and Filtering</title>
<section id="sort">
<title>Sorting</title>
- <para> In order to sort the columns you should use <emphasis>
- <property>"sortBy"</property>
+ <para> In order to sort the columns you should use the <emphasis>
+ <property>"sortBy"</property>
</emphasis> attribute that indicates what values to be
- sorted.This attribute can be used only with the <emphasis role="bold">
+ sorted. This attribute can be used only with the <emphasis role="bold">
<property><rich:dataTable></property>
</emphasis> component.
In order to sort the column you should click on its
@@ -241,7 +241,7 @@
<emphasis role="bold">
<property><rich:column></property>
</emphasis> with <emphasis>
- <property>"sortBy"</property>
+ <property>"sortBy"</property>
</emphasis> attribute </title>
<mediaobject>
<imageobject>
@@ -250,33 +250,33 @@
</mediaobject>
</figure>
<para>The <emphasis>
- <property>"sortExpression"</property>
+ <property>"sortExpression"</property>
</emphasis> attribute defines a bean property which is used
- for sorting of a column. This attribute can be used only with the <emphasis role="bold">
+ for sorting a column. This attribute can be used only with the <emphasis role="bold">
<property><rich:scrollableDataTable></property>
</emphasis> component.
- The following example is a example of the attribute usage.
+ See the example of the attribute usage below.
</para>
<para>
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML">...
-<rich:scrollableDataTable id="carList"
+<rich:scrollableDataTable
value="#{dataTableScrollerBean.allCars}" sortMode="single"
- binding="#{dataTableScrollerBean.table}">
- <rich:column id="make" sortExpression="#{cap.make}">
+ var="category">
+ <rich:column sortExpression="#{category.make}">
<f:facet name="header">
<h:outputText styleClass="headerText" value="Make" />
</f:facet>
<h:outputText value="#{category.make}" />
</rich:column>
- <rich:column id="model">
+ <rich:column>
<f:facet name="header">
<h:outputText styleClass="headerText" value="Model" />
</f:facet>
<h:outputText value="#{category.model}" />
</rich:column>
- <rich:column id="price">
+ <rich:column>
<f:facet name="header">
<h:outputText styleClass="headerText" value="Price" />
</f:facet>
@@ -295,11 +295,11 @@
</imageobject>
</mediaobject>
</figure>-->
- <para> The <emphasis>
- <property>"selfSorted"</property>
- </emphasis> attribute that would add the possibility of
- automatic sorting by clicking the column header. Default
- value is "true". In the example below the
+ <para>The <emphasis>
+ <property>"selfSorted"</property>
+ </emphasis> attribute is meant for adding the possibility of
+ automatic sorting by clicking on the column header. Default
+ value is "true". In the example below the
second column is unavailable for sorting. </para>
<para>
<emphasis role="bold">Example:</emphasis>
@@ -320,24 +320,24 @@
</rich:column>
</rich:dataTable>
...</programlisting>
- <para>
+ <para>The
<emphasis>
- <property>"sortOrder"</property>
- </emphasis> attribute is used for changing the sorting of
+ <property>"sortOrder"</property>
+ </emphasis> attribute is used for changing the sort order of
columns by means of external controls. </para>
<para>Possible values are:</para>
<itemizedlist>
<listitem>
- <para> "ASCENDING" - column is
- sorted in ascending </para>
+ <para>"ASCENDING" - column is
+ sorted in ascending order</para>
</listitem>
<listitem>
- <para> "DESCENDING" - column is
- sorted in descending </para>
+ <para>"DESCENDING" - column is
+ sorted in descending order</para>
</listitem>
<listitem>
- <para> "UNSORTED" - column
- isn't sorted </para>
+ <para>"UNSORTED" - column
+ isn't sorted </para>
</listitem>
</itemizedlist>
<para>
@@ -443,9 +443,9 @@
<para> Using built-in filtering. It uses
<code>startsWith()</code>
function to make filtering. In this case
- you need to define <emphasis>
+ you need to define the <emphasis>
<property>"filterBy"</property>
- </emphasis> attribute at column you want
+ </emphasis> attribute at a column you want
to be filterable. This attribute defines
iterable object property which is used
when filtering performed. </para>
@@ -476,16 +476,26 @@
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="XML">...
-<rich:dataTable value="#{capitalsBean.capitals}" var="cap" width="500px">
- <rich:column filterBy="#{cap.state}" filterValue="#{filterName.filterBean}" filterEvent="onkeyup">
- <h:outputText value="#{cap.state}"/>
- </rich:column>
- <rich:column filterBy="#{cap.name}" filterEvent="onkeyup">
- <h:outputText value="#{cap.name}"/>
- </rich:column>
-</rich:dataTable>
-...</programlisting>
+ <programlisting role="XML"><![CDATA[...
+<rich:dataTable value="#{capitalsBean.capitals}" var="cap" width="200px">
+ <f:facet name="header">
+ <h:outputText value="Sorting Example"/>
+ </f:facet>
+ <rich:column filterBy="#{cap.state}" filterEvent="onkeyup">
+ <f:facet name="header">
+ <h:outputText value="State Name"/>
+ </f:facet>
+ <h:outputText value="#{cap.state}"/>
+ </rich:column>
+ <rich:column filterBy="#{cap.name}" filterEvent="onkeyup">
+ <f:facet name="header">
+ <h:outputText value="State Capital"/>
+ </f:facet>
+ <h:outputText value="#{cap.name}"/>
+ </rich:column>
+</rich:dataTable>
+...
+]]></programlisting>
<para> This is the result: </para>
<figure>
<title>Built-in filtering feature usage</title>
@@ -511,39 +521,20 @@
<property>"filterMethod"</property>
</emphasis> attribute is defined with
method binding. This method accepts on
- Object parameter and return boolean
- value. So, this method also could be
+ Object parameter and returns boolean
+ value. Thus, this method also could be
used to check if the object satisfies
- filtering condition. The usage of this
+ filtering condition or not. The usage of this
attribute is the best way for
implementing your own complex business
logic. </para>
- <para>See the following example:</para>
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML">...
-<rich:dataTable value="#{capitalsBean.capitals}" var="cap" id="table">
- <rich:column filterMethod="#{filteringBean.filterStates}">
- <f:facet name="header">
- <h:inputText value="#{filteringBean.filterValue}" id="input">
- <a4j:support event="onkeyup" reRender="table"
- ignoreDupResponses="true" requestDelay="700" focus="input" />
- </h:inputText>
- </f:facet>
- <h:outputText value="#{cap.state}" />
- </rich:column>
- <rich:column filterExpression="#{fn:containsIgnoreCase(cap.timeZone, filteringBean.filterZone)}">
- <f:facet name="header">
- <h:selectOneMenu value="#{filteringBean.filterZone}">
- <f:selectItems value="#{filteringBean.filterZones}" />
- <a4j:support event="onchange" reRender="table" />
- </h:selectOneMenu>
- </f:facet>
- <h:outputText value="#{cap.timeZone}" />
- </rich:column>
-</rich:dataTable>
-...</programlisting>
+ <para>See a simple example of <emphasis>
+ <property>"filterExpression"</property>
+ </emphasis> and <emphasis>
+ <property>"filterMethod"</property>
+ </emphasis> attributes usage on the
+ RichFaces <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/filteringFeature.jsf?...">LiveDemo page</ulink>.</para>
+
</listitem>
</itemizedlist>
</section>
@@ -579,7 +570,7 @@
</row>
<row>
<entry>renderer-type</entry>
- <entry>org.richfaces.ColumnRenderer</entry>
+ <entry>org.richfaces.renderkit.CellRenderer</entry>
</row>
<row>
<entry>tag-class</entry>
@@ -608,19 +599,24 @@
</row>
</tbody>
</tgroup>
- </table>
- You can find all necessary information about style classes redefinition in
+ </table>
+ <para>Custom style classes as well as skin parameters for <emphasis role="bold">
+ <property><rich:column></property></emphasis> are the same as for the <link linkend="dataTableRefData"><emphasis role="bold">
+ <property><rich:dataTable></property></emphasis> component.</link></para>
+ <para>You can find all necessary information about style classes redefinition in
<link linkend="customstyles">Definition of Custom Style Classes</link>
- section.
+ section.</para>
</section>
<section>
<title>Relevant Resources Links</title>
<para>Visit
- <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?c=column">Column</ulink> page at
- RichFaces live demo for examples of component usage and their sources.</para>
- <para>"
- <ulink url="http://www.jboss.org/community/docs/DOC-9607">Using the "rendered" attribute of <rich:column></ulink>" article
- in RichFaces cookbook at JBoss portal gives an example of code of the component usage case.
+ the <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf?c=column">Column</ulink> page at
+ RichFaces LiveDemo for examples of the component usage and their sources.</para>
+ <para>
+ See the example on how to use the <emphasis>
+ <property>"rendered"</property></emphasis> attribute of <emphasis role="bold">
+ <property><rich:column></property></emphasis> in the
+ <ulink url="http://www.jboss.org/community/docs/DOC-9607">RichFaces Cookbook article</ulink>.
</para>
</section>
</section>
\ No newline at end of file
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_dataTable.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_dataTable.xml 2009-08-28 13:25:49 UTC (rev 15405)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_dataTable.xml 2009-08-28 13:28:27 UTC (rev 15406)
@@ -125,7 +125,7 @@
You can find information how to remove header's gradient <ulink url="http://wiki.jboss.org/wiki/RichFacesDataTableBackgroundOut"> in the "How to remove rich:dataTable header background " article</ulink>.
</para>
</section>
- <section>
+ <section id="dataTableRefData">
<title>Reference Data</title>
<para>
<ulink url="&tlddoc;rich/dataTable.html">Table of
15 years, 4 months