JBoss Rich Faces SVN: r14423 - branches/community/3.3.X/ui/inplaceSelect/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-01 11:01:10 -0400 (Mon, 01 Jun 2009)
New Revision: 14423
Modified:
branches/community/3.3.X/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of event handlers descriptions;
Modified: branches/community/3.3.X/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
===================================================================
--- branches/community/3.3.X/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2009-06-01 15:00:48 UTC (rev 14422)
+++ branches/community/3.3.X/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2009-06-01 15:01:10 UTC (rev 14423)
@@ -126,123 +126,102 @@
<property>
<name>onchange</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; the element value was
- changed</description>
+ <description>The client side script method to be called when the component value is changed</description>
</property>
<property>
<name>onfocus</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; the element got the
- focus</description>
+ <description>The client side script method to be called when the component gets the focus</description>
</property>
<property>
<name>onblur</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; the element lost the
- focus</description>
+ <description>The client side script method to be called when the component loses the focus</description>
</property>
<property>
<name>onselect</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; the onselect event
- occurs when you select some menu
- item</description>
+ <description>The client side script method to be called when some text is selected in the input field</description>
</property>
<property>
<name>oninputfocus</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; the element got the
- focus</description>
+ <description>The client side script method to be called when the component input field gets the focus</description>
</property>
<property>
<name>oninputblur</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; the element lost the
- focus</description>
+ <description>The client side script method to be called when the component input field loses the focus</description>
</property>
<property>
<name>oninputclick</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer button is
- clicked</description>
+ <description>The client side script method to be called when the input field is clicked</description>
</property>
<property>
<name>oninputdblclick</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer button is
- double-clicked</description>
+ <description>The client side script method to be called when the input field is double-clicked</description>
</property>
<property>
<name>oninputkeydown</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a key is pressed
- down</description>
+ <description>The client side script method to be called when a key is pressed down in the input field</description>
</property>
<property>
<name>oninputkeypress</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a key is pressed and
- released</description>
+ <description>The client side script method to be called when a key is pressed and released in the input field</description>
</property>
<property>
<name>oninputkeyup</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a key is
- released</description>
+ <description>The client side script method to be called when a key is released in the input field</description>
</property>
<property>
<name>oninputmousedown</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; a pointer button is
- pressed down</description>
+ <description>The client side script method to be called when a mouse button is pressed down in the input field</description>
</property>
<property>
<name>oninputmousemove</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved
- within</description>
+ <description>The client side script method to be called when a pointer is moved within the input field</description>
</property>
<property>
<name>oninputmouseout</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved
- away</description>
+ <description>The client side script method to be called when a pointer is moved away from the input field</description>
</property>
<property>
<name>oninputmouseover</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved
- onto</description>
+ <description>The client side script method to be called when a pointer is moved onto the input field</description>
</property>
<property>
<name>oninputmouseup</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; a pointer button is
- released</description>
+ <description>The client side script method to be called when a mouse button is released in the input field</description>
</property>
<property>
<name>oneditactivation</name>
<classname>java.lang.String</classname>
- <description>The attributes provide a possibility to assign
- JavaScript on edit state activation</description>
+ <description>The client side script method to be called before the component edit state is activated</description>
</property>
<property>
<name>onviewactivation</name>
<classname>java.lang.String</classname>
- <description>The attributes provide a possibility to assign
- JavaScript on view state activation</description>
+ <description>The client side script method to be called before the component view state is activated</description>
</property>
<property>
<name>oneditactivated</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; edit state is
- activated</description>
+ <description>The client side script method to be called when the component edit state is activated</description>
</property>
<property>
<name>onviewactivated</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; view state is
- activated</description>
+ <description>The client side script method to be called when the component view state is activated</description>
</property>
<property hidden="true">
<name>selectOnEdit</name>
15 years, 6 months
JBoss Rich Faces SVN: r14422 - branches/community/3.3.X/ui/inplaceInput/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-01 11:00:48 -0400 (Mon, 01 Jun 2009)
New Revision: 14422
Modified:
branches/community/3.3.X/ui/inplaceInput/src/main/config/component/inplaceinput.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of event handlers descriptions;
Modified: branches/community/3.3.X/ui/inplaceInput/src/main/config/component/inplaceinput.xml
===================================================================
--- branches/community/3.3.X/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2009-06-01 14:03:38 UTC (rev 14421)
+++ branches/community/3.3.X/ui/inplaceInput/src/main/config/component/inplaceinput.xml 2009-06-01 15:00:48 UTC (rev 14422)
@@ -95,22 +95,22 @@
<property>
<name>oneditactivation</name>
<classname>java.lang.String</classname>
- <description>Provides a possibility to assign JavaScript on edit state activation</description>
+ <description>The client side script method to be called before the component edit state is activated</description>
</property>
<property>
<name>onviewactivation</name>
<classname>java.lang.String</classname>
- <description>Provides a possibility to assign JavaScript on view state activation</description>
+ <description>The client side script method to be called before the component view state is activated</description>
</property>
<property>
<name>oneditactivated</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; edit state is activated</description>
+ <description>The client side script method to be called when the component edit state is activated</description>
</property>
<property>
<name>onviewactivated</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; view state is activated</description>
+ <description>The client side script method to be called when the component view state is activated</description>
</property>
<property>
<name>selectOnEdit</name>
@@ -182,73 +182,73 @@
<property>
<name>onchange</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; the element value was changed</description>
+ <description>The client side script method to be called when the component value is changed</description>
</property>
<property>
<name>onselect</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; the onselect event occurs when you select some menu item</description>
+ <description>The client side script method to be called when some text is selected in the input field</description>
</property>
<property>
<name>onfocus</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; the element got the focus</description>
+ <description>The client side script method to be called when the component gets the focus</description>
</property>
<property>
<name>onblur</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; the element lost the focus</description>
+ <description>The client side script method to be called when the component loses the focus</description>
</property>
<property>
<name>oninputclick</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer button is clicked</description>
+ <description>The client side script method to be called when the input field is clicked</description>
</property>
<property>
<name>oninputdblclick</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer button is double-clicked</description>
+ <description>The client side script method to be called when the input field is double-clicked</description>
</property>
<property>
<name>oninputkeydown</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a key is pressed down</description>
+ <description>The client side script method to be called when a key is pressed down in the input field</description>
</property>
<property>
<name>oninputkeypress</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a key is pressed and released</description>
+ <description>The client side script method to be called when a key is pressed and released in the input field</description>
</property>
<property>
<name>oninputkeyup</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a key is released</description>
+ <description>The client side script method to be called when a key is released in the input field</description>
</property>
<property>
<name>oninputmousedown</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; a pointer button is pressed down</description>
+ <description>The client side script method to be called when a mouse button is pressed down in the input field</description>
</property>
<property>
<name>oninputmousemove</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved within</description>
+ <description>The client side script method to be called when a pointer is moved within the input field</description>
</property>
<property>
<name>oninputmouseout</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved away</description>
+ <description>The client side script method to be called when a pointer is moved away from the input field</description>
</property>
<property>
<name>oninputmouseover</name>
<classname>java.lang.String</classname>
- <description>HTML: a script expression; a pointer is moved onto</description>
+ <description>The client side script method to be called when a pointer is moved onto the input field</description>
</property>
<property>
<name>oninputmouseup</name>
<classname>java.lang.String</classname>
- <description>HTML: script expression; a pointer button is released</description>
+ <description>The client side script method to be called when a mouse button is released in the input field</description>
</property>
<property>
<name>label</name>
15 years, 6 months
JBoss Rich Faces SVN: r14421 - branches/community/3.3.X/ui/dataFilterSlider/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-01 10:03:38 -0400 (Mon, 01 Jun 2009)
New Revision: 14421
Modified:
branches/community/3.3.X/ui/dataFilterSlider/src/main/config/component/dataFilterSlider.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - correcting the mistake;
Modified: branches/community/3.3.X/ui/dataFilterSlider/src/main/config/component/dataFilterSlider.xml
===================================================================
--- branches/community/3.3.X/ui/dataFilterSlider/src/main/config/component/dataFilterSlider.xml 2009-06-01 13:14:50 UTC (rev 14420)
+++ branches/community/3.3.X/ui/dataFilterSlider/src/main/config/component/dataFilterSlider.xml 2009-06-01 14:03:38 UTC (rev 14421)
@@ -183,7 +183,7 @@
<name>onerror</name>
<classname>java.lang.String</classname>
<description>
- The client side script method to be called whenever an
+ The client side script method to be called whenever a
JavaScript error occurs
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
15 years, 6 months
JBoss Rich Faces SVN: r14420 - branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2009-06-01 09:14:50 -0400 (Mon, 01 Jun 2009)
New Revision: 14420
Modified:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/Test.java
Log:
Modified: branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/Test.java
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/Test.java 2009-06-01 09:22:03 UTC (rev 14419)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/Test.java 2009-06-01 13:14:50 UTC (rev 14420)
@@ -14,15 +14,15 @@
String t1FirstRow = selenium.getTable("//form[@id='" + FORM + "']/table[1].1.0");
String t1LastRow = selenium.getTable("//form[@id='" + FORM + "']/table[1].4.0");
- clickAjaxCommandAndWait("//form[@id='form']/table[1]/thead/tr/th");
+ clickAjaxCommandAndWait("//form[@id='" + FORM + "']/table[1]/thead/tr/th");
Assert.assertEquals(selenium.getTable("//form[@id='" + FORM + "']/table[1].1.0"), t1LastRow);
Assert.assertEquals(selenium.getTable("//form[@id='" + FORM + "']/table[1].4.0"), t1FirstRow);
- clickAjaxCommandAndWait("//form[@id='form']/table[4]/thead/tr/th");
+ clickAjaxCommandAndWait("//form[@id='" + FORM + "']/table[4]/thead/tr/th");
String t4FirstRow = selenium.getTable("//form[@id='" + FORM + "']/table[4].1.0");
String t4LastRow = selenium.getTable("//form[@id='" + FORM + "']/table[4].4.0");
- clickAjaxCommandAndWait("//form[@id='form']/table[4]/thead/tr/th");
+ clickAjaxCommandAndWait("//form[@id='" + FORM + "']/table[4]/thead/tr/th");
Assert.assertEquals(selenium.getTable("//form[@id='" + FORM + "']/table[4].1.0"), t4LastRow);
Assert.assertEquals(selenium.getTable("//form[@id='" + FORM + "']/table[4].4.0"), t4FirstRow);
15 years, 6 months
JBoss Rich Faces SVN: r14419 - branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2009-06-01 05:22:03 -0400 (Mon, 01 Jun 2009)
New Revision: 14419
Modified:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/Test.java
Log:
test correction
Modified: branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/Test.java
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/Test.java 2009-06-01 09:12:24 UTC (rev 14418)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/Test.java 2009-06-01 09:22:03 UTC (rev 14419)
@@ -4,26 +4,27 @@
import org.testng.Assert;
public class Test extends SeleniumTestBase {
+ private static final String FORM = "form";
@org.testng.annotations.Test
public void testExecute() throws Exception {
renderPage();
- clickAjaxCommandAndWait("//form[@id='form']/table[1]/thead/tr/th");
- String t1FirstRow = selenium.getTable("//form[@id='form']/table[1].1.0");
- String t1LastRow = selenium.getTable("//form[@id='form']/table[1].4.0");
+ clickAjaxCommandAndWait("//form[@id='" + FORM + "']/table[1]/thead/tr/th");
+ String t1FirstRow = selenium.getTable("//form[@id='" + FORM + "']/table[1].1.0");
+ String t1LastRow = selenium.getTable("//form[@id='" + FORM + "']/table[1].4.0");
clickAjaxCommandAndWait("//form[@id='form']/table[1]/thead/tr/th");
- Assert.assertEquals(selenium.getTable("//form[@id='form']/table[1].1.0"), t1LastRow);
- Assert.assertEquals(selenium.getTable("//form[@id='form']/table[1].4.0"), t1FirstRow);
+ Assert.assertEquals(selenium.getTable("//form[@id='" + FORM + "']/table[1].1.0"), t1LastRow);
+ Assert.assertEquals(selenium.getTable("//form[@id='" + FORM + "']/table[1].4.0"), t1FirstRow);
clickAjaxCommandAndWait("//form[@id='form']/table[4]/thead/tr/th");
- String t4FirstRow = selenium.getTable("//form[@id='form']/table[4].1.0");
- String t4LastRow = selenium.getTable("//form[@id='form']/table[4].4.0");
+ String t4FirstRow = selenium.getTable("//form[@id='" + FORM + "']/table[4].1.0");
+ String t4LastRow = selenium.getTable("//form[@id='" + FORM + "']/table[4].4.0");
clickAjaxCommandAndWait("//form[@id='form']/table[4]/thead/tr/th");
- Assert.assertEquals(selenium.getTable("//form[@id='form']/table[4].1.0"), t4LastRow);
- Assert.assertEquals(selenium.getTable("//form[@id='form']/table[4].4.0"), t4FirstRow);
+ Assert.assertEquals(selenium.getTable("//form[@id='" + FORM + "']/table[4].1.0"), t4LastRow);
+ Assert.assertEquals(selenium.getTable("//form[@id='" + FORM + "']/table[4].4.0"), t4FirstRow);
}
15 years, 6 months
JBoss Rich Faces SVN: r14418 - in branches/community/3.3.X/test-applications/regressionArea: regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7140 and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2009-06-01 05:12:24 -0400 (Mon, 01 Jun 2009)
New Revision: 14418
Added:
branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7140/
branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7140/Bean.java
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/
branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/Test.java
branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf7140.xhtml
Log:
+RF-7140 selenium test.
Added: branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7140/Bean.java
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7140/Bean.java (rev 0)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-ejb/src/main/java/org/richfaces/regressionarea/issues/rf7140/Bean.java 2009-06-01 09:12:24 UTC (rev 14418)
@@ -0,0 +1,53 @@
+package org.richfaces.regressionarea.issues.rf7140;
+
+import java.util.Random;
+import java.util.UUID;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("rf7140")
+(a)Scope(ScopeType.SESSION)
+public class Bean {
+
+ public static final class Item {
+ private String[] data;
+
+ private Object sortOrder;
+
+ public Item(String[] data) {
+ super();
+ this.data = data;
+ }
+
+ public String[] getData() {
+ return data;
+ }
+
+ public Object getSortOrder() {
+ return sortOrder;
+ }
+
+ public void setSortOrder(Object sortOrder) {
+ this.sortOrder = sortOrder;
+ }
+ }
+
+ private Item[] items;
+
+ {
+ items = new Item[4];
+ for (int i = 0; i < items.length; i++) {
+ String[] s = new String[4];
+ for (int j = 0; j < s.length; j++) {
+ s[j] = UUID.randomUUID().toString();
+ }
+ items[i] = new Item(s);
+ }
+ }
+
+ public Item[] getItems() {
+ return items;
+ }
+}
Added: branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/Test.java
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/Test.java (rev 0)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-tests/src/test/java/org/richfaces/testng/rf7140/Test.java 2009-06-01 09:12:24 UTC (rev 14418)
@@ -0,0 +1,34 @@
+package org.richfaces.testng.rf7140;
+
+import org.richfaces.SeleniumTestBase;
+import org.testng.Assert;
+
+public class Test extends SeleniumTestBase {
+
+ @org.testng.annotations.Test
+ public void testExecute() throws Exception {
+ renderPage();
+
+ clickAjaxCommandAndWait("//form[@id='form']/table[1]/thead/tr/th");
+ String t1FirstRow = selenium.getTable("//form[@id='form']/table[1].1.0");
+ String t1LastRow = selenium.getTable("//form[@id='form']/table[1].4.0");
+
+ clickAjaxCommandAndWait("//form[@id='form']/table[1]/thead/tr/th");
+ Assert.assertEquals(selenium.getTable("//form[@id='form']/table[1].1.0"), t1LastRow);
+ Assert.assertEquals(selenium.getTable("//form[@id='form']/table[1].4.0"), t1FirstRow);
+
+ clickAjaxCommandAndWait("//form[@id='form']/table[4]/thead/tr/th");
+ String t4FirstRow = selenium.getTable("//form[@id='form']/table[4].1.0");
+ String t4LastRow = selenium.getTable("//form[@id='form']/table[4].4.0");
+
+ clickAjaxCommandAndWait("//form[@id='form']/table[4]/thead/tr/th");
+ Assert.assertEquals(selenium.getTable("//form[@id='form']/table[4].1.0"), t4LastRow);
+ Assert.assertEquals(selenium.getTable("//form[@id='form']/table[4].4.0"), t4FirstRow);
+
+ }
+
+ @Override
+ public String getTestUrl() {
+ return "pages/rf7140.xhtml";
+ }
+}
\ No newline at end of file
Added: branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf7140.xhtml
===================================================================
--- branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf7140.xhtml (rev 0)
+++ branches/community/3.3.X/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf7140.xhtml 2009-06-01 09:12:24 UTC (rev 14418)
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+
+<ui:composition template="/layout/layout.xhtml">
+ <ui:define name="template">
+ <h:form id="form">
+ <a4j:repeat value="#{rf7140.items}" var="item">
+ <rich:dataTable value="#{item.data}" var="data">
+ <rich:column sortable="true" sortBy="#{data}"
+ sortOrder="#{item.sortOrder}">
+ <f:facet name="header">
+ header
+ </f:facet>
+ #{data}
+ </rich:column>
+ </rich:dataTable>
+
+ <br />
+ <br />
+ </a4j:repeat>
+ </h:form>
+ </ui:define>
+</ui:composition>
+</html>
\ No newline at end of file
15 years, 6 months
JBoss Rich Faces SVN: r14417 - in branches/community/3.3.X/samples: beanValidatorSample/src/main/webapp/include and 80 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: Alex.Kolonitsky
Date: 2009-06-01 04:55:58 -0400 (Mon, 01 Jun 2009)
New Revision: 14417
Modified:
branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/example/index.xhtml
branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/include/pagesList.xhtml
branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/layout/pageTemplate.xhtml
branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/layout/template.xhtml
branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/pages/ajaxValidation.xhtml
branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/pages/beanValidation.xhtml
branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/pages/graphValidation.xhtml
branches/community/3.3.X/samples/calendar-sample/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/colorPickerDemo/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/contextMenuDemo/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/hotKey-sample/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/layout-sample/src/main/webapp/pages/RF-6641.xhtml
branches/community/3.3.X/samples/layout-sample/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/layout-sample/src/main/webapp/pages/layout.xhtml
branches/community/3.3.X/samples/listShuttleDemo/src/main/webapp/pages/RF3830.xhtml
branches/community/3.3.X/samples/listShuttleDemo/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/orderingListDemo/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/panelmenu-sample/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/progressBarDemo/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/data.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/eventqueue.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/reRender1.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/reRender2.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/reRender3.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxValidator.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/functions.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/organiser.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/reRender2.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/model.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/organizer.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker/usage/sample.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/comboBox.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/simple.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/cmenuusage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/control.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/mpusage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/example/menu.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/examples/form.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataLists.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/lists.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/modifiableModel.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/modifiableModel.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTableScroller/customScroller.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/form/snippets/commandLinkProblem.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/hotKey/examples/example.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/hotKey/examples/inputNumbers.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/simpleDefault.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/selectItems.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/gridcenter.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/gridleft.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/gridtop.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/sidebar.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/template.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/listShuttle.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/listShuttle/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/log.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/messages.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/messages/examples/form.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/messages/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/orderingList.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/playlist.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page/snippets/gen.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page/snippets/page.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/examples/example.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/items.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/portlet.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/portlet/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/progressBar.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/examples/client.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/push.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/queue/examples/queue.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/repeat.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/repeat/examples/repeater.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/repeat/usage.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/simpleSingleSorting.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/details.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/example.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/loginResult.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/registerResult.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/examples/objects.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/tabRemove.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/examples/iconBar.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/tree/simple-tree-dnd.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/templates/main.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/gridcenter.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/gridleft.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/gridtop.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/sidebar.xhtml
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/template.xhtml
branches/community/3.3.X/samples/richfaces-ear-demo/webapp/src/main/webapp/pages/guess.xhtml
branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/RF-3425.xhtml
branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/grid1.xhtml
branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/scrollable-grid.xhtml
branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/test2.xhtml
branches/community/3.3.X/samples/seamEAR/wars/seamWebapp/src/main/webapp/pages/mediaOutput.xhtml
branches/community/3.3.X/samples/seamEAR/wars/seamWebapp/src/main/webapp/pages/register.xhtml
branches/community/3.3.X/samples/seamEAR/wars/seamWebapp/src/main/webapp/pages/registered.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/error.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/include/button.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/include/dataTable.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/ledger/_activeAccountTemplate.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/ledger/_ledgerTranasctionDistribution.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/ledger/ledgerDetails.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/AJSF86.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/mediaOutput.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/repeater.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/stress.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/tabPanel.xhtml
branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/trinidad.xhtml
branches/community/3.3.X/samples/sortingFilteringDemo/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/stdcomponents-sample/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/tomahawkCompability/src/main/webapp/pages/index.xhtml
branches/community/3.3.X/samples/tree-demo/src/main/webapp/pages/index.jsp
branches/community/3.3.X/samples/treeModelDemo/src/main/webapp/pages/index.xhtml
Log:
Many samples use the wrong URI for the JSTL namespace in Facelets
https://jira.jboss.org/jira/browse/RF-7261
Modified: branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/example/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/example/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/example/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:c="http://java.sun.com/jsp/jstl/core">
+ xmlns:c="http://java.sun.com/jstl/core">
<ui:composition template="/layout/template.xhtml">
<ui:param name="title" value="Hibernate validator test" />
<!-- Page header -->
Modified: branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/include/pagesList.xhtml
===================================================================
--- branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/include/pagesList.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/include/pagesList.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,13 +4,13 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
>
<ui:composition>
<h:form>
<h:dataTable value="#{pages.xhtmlPages}" var="page">
<h:column>
- <h:outputLink value="#{page.url}">
+ <h:outputLink value="#{page.url}">
<h:outputText value="#{page.title}" escape="false"/>
</h:outputLink>
</h:column>
Modified: branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/layout/pageTemplate.xhtml
===================================================================
--- branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/layout/pageTemplate.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/layout/pageTemplate.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:c="http://java.sun.com/jsp/jstl/core">
+ xmlns:c="http://java.sun.com/jstl/core">
<ui:composition template="/layout/template.xhtml">
<ui:param name="title" value="Title" />
<!-- Page header -->
Modified: branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/layout/template.xhtml
===================================================================
--- branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/layout/template.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/layout/template.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,49 +1,49 @@
-<a:page xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:a="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich"
- pageTitle="#{title}" format="xhtml">
- <a:loadStyle src="/css/grids.css" />
- <a:loadStyle src="resource://css/panel.xcss" />
- <a:loadStyle src="resource://css/table.xcss" />
- <div id="doc3" class="yui-t3 dr-pnl">
- <div id="hd" class="dr-pnl-h">
- <h1>RichFaces Validation components examples</h1>
- <ui:insert name="header" /></div>
- <div id="bd">
- <div class="yui-b">
- <!-- YOUR NAVIGATION GOES HERE -->
- <ui:include src="/include/pagesList.xhtml" />
- </div>
- <div class="yui-main">
- <div class="yui-b">
- <!-- YOUR DATA GOES HERE -->
- <rich:tabPanel binding="#{tabNavigation.tabPanel}" switchType="ajax">
- <rich:tab name="usage" label="Usage">
- <ui:insert name="description" />
- <ui:insert name="content" />
- </rich:tab>
- <rich:tab name="page" label="Page Source">
- <rich:insert content="#{contentBean.content}" highlight="xhtml"/>
- </rich:tab>
- <rich:tab name="java" label="Java Source" rendered="#{!empty javaBean}">
- <rich:insert src="/src/#{javaBean}" highlight="java"/>
- </rich:tab>
- </rich:tabPanel>
- </div>
- </div>
- </div>
- <div id="ft" class="dr-table-footer">
- <div class="yui-ge dr-table-footercell">
- <div class="yui-u first">
- Built with RichFaces #{a4j.version}
- </div>
- <div class="yui-u" style="text-align:right">
- © 2007 Exadel, Inc.
- </div>
- </div>
- </div>
- </div>
+<a:page xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:a="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich"
+ pageTitle="#{title}" format="xhtml">
+ <a:loadStyle src="/css/grids.css" />
+ <a:loadStyle src="resource://css/panel.xcss" />
+ <a:loadStyle src="resource://css/table.xcss" />
+ <div id="doc3" class="yui-t3 dr-pnl">
+ <div id="hd" class="dr-pnl-h">
+ <h1>RichFaces Validation components examples</h1>
+ <ui:insert name="header" /></div>
+ <div id="bd">
+ <div class="yui-b">
+ <!-- YOUR NAVIGATION GOES HERE -->
+ <ui:include src="/include/pagesList.xhtml" />
+ </div>
+ <div class="yui-main">
+ <div class="yui-b">
+ <!-- YOUR DATA GOES HERE -->
+ <rich:tabPanel binding="#{tabNavigation.tabPanel}" switchType="ajax">
+ <rich:tab name="usage" label="Usage">
+ <ui:insert name="description" />
+ <ui:insert name="content" />
+ </rich:tab>
+ <rich:tab name="page" label="Page Source">
+ <rich:insert content="#{contentBean.content}" highlight="xhtml"/>
+ </rich:tab>
+ <rich:tab name="java" label="Java Source" rendered="#{!empty javaBean}">
+ <rich:insert src="/src/#{javaBean}" highlight="java"/>
+ </rich:tab>
+ </rich:tabPanel>
+ </div>
+ </div>
+ </div>
+ <div id="ft" class="dr-table-footer">
+ <div class="yui-ge dr-table-footercell">
+ <div class="yui-u first">
+ Built with RichFaces #{a4j.version}
+ </div>
+ <div class="yui-u" style="text-align:right">
+ © 2007 Exadel, Inc.
+ </div>
+ </div>
+ </div>
+ </div>
</a:page>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/pages/ajaxValidation.xhtml
===================================================================
--- branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/pages/ajaxValidation.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/pages/ajaxValidation.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:c="http://java.sun.com/jsp/jstl/core">
+ xmlns:c="http://java.sun.com/jstl/core">
<ui:composition template="/layout/template.xhtml">
<ui:param name="title" value="<rich:ajaxValidator> usage" />
<ui:param name="javaBean" value="org/richfaces/example/Bean.java" />
Modified: branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/pages/beanValidation.xhtml
===================================================================
--- branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/pages/beanValidation.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/pages/beanValidation.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:c="http://java.sun.com/jsp/jstl/core">
+ xmlns:c="http://java.sun.com/jstl/core">
<ui:composition template="/layout/template.xhtml">
<ui:param name="title" value="<rich:beanValidator> usage" />
<ui:param name="javaBean" value="org/richfaces/example/Bean.java" />
Modified: branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/pages/graphValidation.xhtml
===================================================================
--- branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/pages/graphValidation.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/beanValidatorSample/src/main/webapp/pages/graphValidation.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:c="http://java.sun.com/jsp/jstl/core">
+ xmlns:c="http://java.sun.com/jstl/core">
<ui:composition template="/layout/template.xhtml">
<ui:param name="title" value="<rich:graphValidator> usage" />
<ui:param name="javaBean" value="org/richfaces/example/GraphValidatorBean.java" />
Modified: branches/community/3.3.X/samples/calendar-sample/src/main/webapp/pages/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/calendar-sample/src/main/webapp/pages/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/calendar-sample/src/main/webapp/pages/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
>
<f:view>
Modified: branches/community/3.3.X/samples/colorPickerDemo/src/main/webapp/pages/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/colorPickerDemo/src/main/webapp/pages/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/colorPickerDemo/src/main/webapp/pages/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
>
<f:view>
Modified: branches/community/3.3.X/samples/contextMenuDemo/src/main/webapp/pages/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/contextMenuDemo/src/main/webapp/pages/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/contextMenuDemo/src/main/webapp/pages/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
>
<f:view>
Modified: branches/community/3.3.X/samples/hotKey-sample/src/main/webapp/pages/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/hotKey-sample/src/main/webapp/pages/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/hotKey-sample/src/main/webapp/pages/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
xmlns:sb="http://labs.jboss.com/jbossrichfaces/ui/ui/hotKey"
>
Modified: branches/community/3.3.X/samples/layout-sample/src/main/webapp/pages/RF-6641.xhtml
===================================================================
--- branches/community/3.3.X/samples/layout-sample/src/main/webapp/pages/RF-6641.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/layout-sample/src/main/webapp/pages/RF-6641.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,40 +1,40 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:c="http://java.sun.com/jsp/jstl/core">
-<body>
-<h:form>
- <rich:layout>
- <rich:layoutPanel position="left">
-
- <rich:layout>
-
- <rich:layoutPanel position="top">
- <p>top</p>
- </rich:layoutPanel>
- <rich:layoutPanel position="center">
- <p>center</p>
- </rich:layoutPanel>
- <rich:layoutPanel position="left">
- <p>left</p>
- </rich:layoutPanel>
- <rich:layoutPanel position="right">
- <p>right</p>
- </rich:layoutPanel>
- <rich:layoutPanel position="bottom">
- <p>bottom</p>
- </rich:layoutPanel>
- </rich:layout>
- </rich:layoutPanel>
-
- <rich:layoutPanel position="center">
- <p>center-right</p>
- </rich:layoutPanel>
- </rich:layout>
-</h:form>
-</body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:c="http://java.sun.com/jstl/core">
+<body>
+<h:form>
+ <rich:layout>
+ <rich:layoutPanel position="left">
+
+ <rich:layout>
+
+ <rich:layoutPanel position="top">
+ <p>top</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="center">
+ <p>center</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="left">
+ <p>left</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="right">
+ <p>right</p>
+ </rich:layoutPanel>
+ <rich:layoutPanel position="bottom">
+ <p>bottom</p>
+ </rich:layoutPanel>
+ </rich:layout>
+ </rich:layoutPanel>
+
+ <rich:layoutPanel position="center">
+ <p>center-right</p>
+ </rich:layoutPanel>
+ </rich:layout>
+</h:form>
+</body>
</html>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/layout-sample/src/main/webapp/pages/index.xhtml
===================================================================
(Binary files differ)
Modified: branches/community/3.3.X/samples/layout-sample/src/main/webapp/pages/layout.xhtml
===================================================================
--- branches/community/3.3.X/samples/layout-sample/src/main/webapp/pages/layout.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/layout-sample/src/main/webapp/pages/layout.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -3,8 +3,10 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
xmlns:rich="http://richfaces.org/rich"
+
+ oncontextmenu="return false;"
markupposition="xhtml"
contentposition="text/html"
theme="#{bean.theme}"
Modified: branches/community/3.3.X/samples/listShuttleDemo/src/main/webapp/pages/RF3830.xhtml
===================================================================
--- branches/community/3.3.X/samples/listShuttleDemo/src/main/webapp/pages/RF3830.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/listShuttleDemo/src/main/webapp/pages/RF3830.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,12 +1,12 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:ls="http://labs.jboss.com/jbossrichfaces/ui/listShuttle"
- xmlns:c="http://labs.jboss.com/jbossrichfaces/ui/dataTable">
-
+ xmlns:c="http://labs.jboss.com/jbossrichfaces/ui/dataTable">
+
<body>
<f:view>
<h:form>
Modified: branches/community/3.3.X/samples/listShuttleDemo/src/main/webapp/pages/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/listShuttleDemo/src/main/webapp/pages/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/listShuttleDemo/src/main/webapp/pages/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
>
<f:view>
Modified: branches/community/3.3.X/samples/orderingListDemo/src/main/webapp/pages/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/orderingListDemo/src/main/webapp/pages/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/orderingListDemo/src/main/webapp/pages/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
>
<f:view>
Modified: branches/community/3.3.X/samples/panelmenu-sample/src/main/webapp/pages/index.xhtml
===================================================================
(Binary files differ)
Modified: branches/community/3.3.X/samples/progressBarDemo/src/main/webapp/pages/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/progressBarDemo/src/main/webapp/pages/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/progressBarDemo/src/main/webapp/pages/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
xmlns:progressBar="http://labs.jboss.com/jbossrichfaces/ui/progressBar"
>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/data.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/data.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/data.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1 +1 @@
-<a4j:commandButton value="Update" data="#{userBean.name}" oncomplete="showTheName(data.name)" />
+<a4j:commandButton value="Update" data="#{userBean.name}" oncomplete="showTheName(data.name)" />
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/eventqueue.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/eventqueue.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/eventqueue.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,3 +1,3 @@
-<h:inputText value="#{userBean.name}">
- <a4j:support event="onkeyup" eventsQueue="foo" reRender="bar" />
+<h:inputText value="#{userBean.name}">
+ <a4j:support event="onkeyup" eventsQueue="foo" reRender="bar" />
</h:inputText>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/reRender1.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/reRender1.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/reRender1.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,3 +1,3 @@
-<a4j:outputPanel ajaxRendered="true">
- <h:messages />
-</a4j:outputPanel>
+<a4j:outputPanel ajaxRendered="true">
+ <h:messages />
+</a4j:outputPanel>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/reRender2.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/reRender2.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/reRender2.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,7 +1,7 @@
-...
-<a4j:commandButton value="update" reRender="infoBlock"/>
- ....
-<h:panelGrid id="infoBlock">
- .....
-</h:panelGrid>
+...
+<a4j:commandButton value="update" reRender="infoBlock"/>
+ ....
+<h:panelGrid id="infoBlock">
+ .....
+</h:panelGrid>
.....
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/reRender3.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/reRender3.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/snippets/reRender3.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,17 +1,17 @@
-.....
-<h:form id="form1">
- ....
- <a4j:commandButton value="Usual Way" reRender="infoBlock, infoBlock2" />
- <a4j:commandButton value="Shortcut" reRender=":infoBlock,:sv:infoBlock2" />
- .....
-</h:form>
-<h:panelGrid id="infoBlock">
- .....
-</h:panelGrid>
-.....
-<f:subview id="sv">
- <h:panelGrid id="infoBlock2">
- .....
- </h:panelGrid>
- .....
+.....
+<h:form id="form1">
+ ....
+ <a4j:commandButton value="Usual Way" reRender="infoBlock, infoBlock2" />
+ <a4j:commandButton value="Shortcut" reRender=":infoBlock,:sv:infoBlock2" />
+ .....
+</h:form>
+<h:panelGrid id="infoBlock">
+ .....
+</h:panelGrid>
+.....
+<f:subview id="sv">
+ <h:panelGrid id="infoBlock2">
+ .....
+ </h:panelGrid>
+ .....
</f:subview>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxValidator.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxValidator.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/ajaxValidator.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -10,7 +10,7 @@
<style>
.rich-message-label{
color:red;
- }
+ }
</style>
<ui:include src="/templates/include/tab-panel.xhtml" />
</ui:define>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/functions.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/functions.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/functions.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -13,7 +13,7 @@
font-weight:bold;
font-style: italic;
}
-
+
</style>
<script type="text/javascript">
var curDt = new Date();
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/organiser.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/organiser.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/organiser.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -10,7 +10,7 @@
}
.rich-calendar-header{
text-align:center;
- }
+ }
</style>
<h:form id="form">
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/reRender2.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/reRender2.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/reRender2.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,7 +1,7 @@
-...
-<a4j:commandButton value="update" reRender="infoBlock"/>
- ....
-<h:panelGrid id="<b>infoBlock</b>">
- .....
-</h:panelGrid>
+...
+<a4j:commandButton value="update" reRender="infoBlock"/>
+ ....
+<h:panelGrid id="<b>infoBlock</b>">
+ .....
+</h:panelGrid>
.....
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/jsAPI.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,92 +1,92 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
-
- <p>
- Calendar object JavaScript API supports the following calls:
- <ul>
- <li>
- <b>getCurrentDate()</b> returns the full date currently being viewed
- </li>
- <li>
- <b>getCurrentMonth(asMonthLabel)</b> returns a number of the month currently being viewed(for <b>asMonthLabel</b> true - returns month as its label)
- </li>
- <li>
- <b>getCurrentYear()</b> returns a number of the year currently being viewed
- </li>
- <li>
- <b>changeCurrentDate(yearOffset, monthOffset)</b> sets a new current month to be displayed.
- </li>
- <li>
- <b>doCollapse(), doExpand()</b> collapse or expand the calendar in a popup mode.
- </li>
- <li>
- <b>doSwitch()</b> inverts a state for the popup calendar.
- </li>
- <li>
- <b>getNextMonth(asMonthLabel), getPreviousMonth(asMonthLabel)</b> returns the previous and next month for the currently being viewed one.
- </li>
- <li>
- <b>getNextYear, getPreviousYear</b> returns the previous and next years for the currently being viewed one.
- </li>
- <li>
- <b>getSelectedDate(), getSelectedDateString(pattern)</b> returns the currently selected date as date or as String. In case of empty pattern, it is returned in the current locale pattern.
- </li>
- <li>
- <b>nextMonth()</b> navigates to the next month
- </li>
- <li>
- <b>nextYear()</b> navigates to the next year
- </li>
- <li>
- <b>prevMonth()</b> navigates to the previous month
- </li>
- <li>
- <b>prevYear()</b> navigates to the previous year
- </li>
- <li>
- <b>render(), renderFooter(), renderOptionalFooter(), renderHeader(), renderOptionalHeader()</b> - functions to initiate client side rendering of the calendar or additional elements.
-
- </li>
- <li>
- <b>resetSelectedDate()</b> - clears a selected day value.
- </li>
- <li>
- <b>selectDate(date, noUpdate, eventData)</b> selects the date specified. If the date isn't in the current
- month, performs a request to select some. if noUpdate is true, a request isn't fired for data, only client side rendering is invoked.
- </li>
- <li>
- <b>showSelectedDate()</b> switch calendar to show currently selected date.
- </li>
- <li>
- <b>today(noUpdate, noHighlight)</b> switch calendar to todayDate. If parameters are "true", request is not fired to switch, and additional highlighting is off.
- </li>
- </ul>
- </p>
- <p>
- You can access the calendar object using <code>$(calendar_client_id).component</code>
- call from any place outside of the component itself.
- </p>
-
- <p> <dl><dt>If you develop the macrodefinition for the calendar object, you can use:</dt>
- <dd><code>Richfaces.getComponent('calendar',element).api_function_name(parameters)</code></dd>
- <dt>For example, the following call is
- used on the "Next Year" button on the popup calendar panel:</dt>
- <dd><code>Richfaces.getComponent('calendar',this).nextYear(); </code></dd>
- The second parameter
- is an element inside the calendar. Richfaces.invokeOnComponent tries to find
- the component in the parents hierarchy with type specified with the first parameter and
- invokes the function defined with the third parameter.
- </dl>
- </p>
-
- </ui:define>
-
- </ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+ <p>
+ Calendar object JavaScript API supports the following calls:
+ <ul>
+ <li>
+ <b>getCurrentDate()</b> returns the full date currently being viewed
+ </li>
+ <li>
+ <b>getCurrentMonth(asMonthLabel)</b> returns a number of the month currently being viewed(for <b>asMonthLabel</b> true - returns month as its label)
+ </li>
+ <li>
+ <b>getCurrentYear()</b> returns a number of the year currently being viewed
+ </li>
+ <li>
+ <b>changeCurrentDate(yearOffset, monthOffset)</b> sets a new current month to be displayed.
+ </li>
+ <li>
+ <b>doCollapse(), doExpand()</b> collapse or expand the calendar in a popup mode.
+ </li>
+ <li>
+ <b>doSwitch()</b> inverts a state for the popup calendar.
+ </li>
+ <li>
+ <b>getNextMonth(asMonthLabel), getPreviousMonth(asMonthLabel)</b> returns the previous and next month for the currently being viewed one.
+ </li>
+ <li>
+ <b>getNextYear, getPreviousYear</b> returns the previous and next years for the currently being viewed one.
+ </li>
+ <li>
+ <b>getSelectedDate(), getSelectedDateString(pattern)</b> returns the currently selected date as date or as String. In case of empty pattern, it is returned in the current locale pattern.
+ </li>
+ <li>
+ <b>nextMonth()</b> navigates to the next month
+ </li>
+ <li>
+ <b>nextYear()</b> navigates to the next year
+ </li>
+ <li>
+ <b>prevMonth()</b> navigates to the previous month
+ </li>
+ <li>
+ <b>prevYear()</b> navigates to the previous year
+ </li>
+ <li>
+ <b>render(), renderFooter(), renderOptionalFooter(), renderHeader(), renderOptionalHeader()</b> - functions to initiate client side rendering of the calendar or additional elements.
+
+ </li>
+ <li>
+ <b>resetSelectedDate()</b> - clears a selected day value.
+ </li>
+ <li>
+ <b>selectDate(date, noUpdate, eventData)</b> selects the date specified. If the date isn't in the current
+ month, performs a request to select some. if noUpdate is true, a request isn't fired for data, only client side rendering is invoked.
+ </li>
+ <li>
+ <b>showSelectedDate()</b> switch calendar to show currently selected date.
+ </li>
+ <li>
+ <b>today(noUpdate, noHighlight)</b> switch calendar to todayDate. If parameters are "true", request is not fired to switch, and additional highlighting is off.
+ </li>
+ </ul>
+ </p>
+ <p>
+ You can access the calendar object using <code>$(calendar_client_id).component</code>
+ call from any place outside of the component itself.
+ </p>
+
+ <p> <dl><dt>If you develop the macrodefinition for the calendar object, you can use:</dt>
+ <dd><code>Richfaces.getComponent('calendar',element).api_function_name(parameters)</code></dd>
+ <dt>For example, the following call is
+ used on the "Next Year" button on the popup calendar panel:</dt>
+ <dd><code>Richfaces.getComponent('calendar',this).nextYear(); </code></dd>
+ The second parameter
+ is an element inside the calendar. Richfaces.invokeOnComponent tries to find
+ the component in the parents hierarchy with type specified with the first parameter and
+ invokes the function defined with the third parameter.
+ </dl>
+ </p>
+
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/model.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/model.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/model.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,51 +1,51 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
-
- <p>Calendar may use a special Data Model to provide data for
- element rendering. You can re-define the default Calendar Model using
- the <b>dataModel</b> attribute pointed to the object that implements
- CalendarDataModel interface.</p>
- <p>CalendarDataModel has the following methods:
- <ul>
- <li><b>CalendarDataModelItem[] getData(Date[]) </b> is called
- every time when components need the next block of CalendarDataItems.
- That may happens when the calendar is rendered, or when you navigate to the
- next/previous month or in any other case when the calendar is rendered. This
- method is called in an Ajax mode when the calendar renders a new page.</li>
- <li><b>Object getToolTip(Date)</b> is used when tool tips are
- displayed in "single" mode.</li>
- </ul>
- </p>
- <p>CalendarDataModelItem provides the following methods:
- <ul>
- <li><b>Boolean isEnabled()</b> returns "true" if date is
- "selectable" on the calendar, the default implementation returns "true"</li>
- <li><b>String getStyleClass()</b> returns "String" that is
- appended to a style class for the date span. For example it may be
- "relevant holiday" that means a class looks like "rich-cal-day
- relevant holiday". The default implementation returns an empty string.</li>
- <li><b>Object getData()</b> returns any additional payload that
- must be a JSON-serializable object. It may be used in the custom date
- representation on the calendar (inside the custom facet).</li>
- <li><b>Boolean hasToolTip()</b> returns "true", if the given date has
- a tooltip. The default implementation returns
- "false".</li>
- <li><b>Object getToolTip()</b> returns tool tip data that is used in a "batch" tooltip loading mode.</li>
- </ul>
- </p>
- <p>
- <b>Note: </b><i>Tooltips and date disablement isn't supported in the current implementation on the client side. It will be implemented in the next releases.</i>
- </p>
-
-
- </ui:define>
-
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+ <p>Calendar may use a special Data Model to provide data for
+ element rendering. You can re-define the default Calendar Model using
+ the <b>dataModel</b> attribute pointed to the object that implements
+ CalendarDataModel interface.</p>
+ <p>CalendarDataModel has the following methods:
+ <ul>
+ <li><b>CalendarDataModelItem[] getData(Date[]) </b> is called
+ every time when components need the next block of CalendarDataItems.
+ That may happens when the calendar is rendered, or when you navigate to the
+ next/previous month or in any other case when the calendar is rendered. This
+ method is called in an Ajax mode when the calendar renders a new page.</li>
+ <li><b>Object getToolTip(Date)</b> is used when tool tips are
+ displayed in "single" mode.</li>
+ </ul>
+ </p>
+ <p>CalendarDataModelItem provides the following methods:
+ <ul>
+ <li><b>Boolean isEnabled()</b> returns "true" if date is
+ "selectable" on the calendar, the default implementation returns "true"</li>
+ <li><b>String getStyleClass()</b> returns "String" that is
+ appended to a style class for the date span. For example it may be
+ "relevant holiday" that means a class looks like "rich-cal-day
+ relevant holiday". The default implementation returns an empty string.</li>
+ <li><b>Object getData()</b> returns any additional payload that
+ must be a JSON-serializable object. It may be used in the custom date
+ representation on the calendar (inside the custom facet).</li>
+ <li><b>Boolean hasToolTip()</b> returns "true", if the given date has
+ a tooltip. The default implementation returns
+ "false".</li>
+ <li><b>Object getToolTip()</b> returns tool tip data that is used in a "batch" tooltip loading mode.</li>
+ </ul>
+ </p>
+ <p>
+ <b>Note: </b><i>Tooltips and date disablement isn't supported in the current implementation on the client side. It will be implemented in the next releases.</i>
+ </p>
+
+
+ </ui:define>
+
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/organizer.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/organizer.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/calendar/organizer.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,15 +1,15 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/component-sample.xhtml">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
<p>
This simple example shows the way of calendarDataModel usage for organizer creation.
- </p>
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Calendar Demo</legend>
<div class="sample-container" >
@@ -30,7 +30,7 @@
</ui:include>
</div>
</fieldset>
- </ui:define>
-
-</ui:composition>
-</html>
+ </ui:define>
+
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker/usage/sample.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker/usage/sample.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker/usage/sample.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,21 +1,21 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-
- <h:form>
- <h:panelGrid columns="1">
- <rich:paint2D id="painter" width="300" height="120"
- data="#{paintData}" format="png" paint="#{paintBean.paint}" >
- </rich:paint2D>
- <h:panelGroup>
- <h:outputText value="Change text color " />
- <rich:colorPicker colorMode="hex" value="#{paintData.color}">
- <a4j:support event="onchange" reRender="painter"/>
- </rich:colorPicker>
- </h:panelGroup>
- </h:panelGrid>
- </h:form>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+ <h:form>
+ <h:panelGrid columns="1">
+ <rich:paint2D id="painter" width="300" height="120"
+ data="#{paintData}" format="png" paint="#{paintBean.paint}" >
+ </rich:paint2D>
+ <h:panelGroup>
+ <h:outputText value="Change text color " />
+ <rich:colorPicker colorMode="hex" value="#{paintData.color}">
+ <a4j:support event="onchange" reRender="painter"/>
+ </rich:colorPicker>
+ </h:panelGroup>
+ </h:panelGrid>
+ </h:form>
</ui:composition>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,27 +1,27 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
-
- <p>
- Color Picker is a simple wrapper for JQuerry widget.
- It has the same functionality and events. Also a widget is additionally
- skinned using the standard RF principles.
- </p>
- <fieldset class="demo_fieldset">
- <legend class="demo_legend">ColorPicker Demo</legend>
- <div class="sample-container" >
- <ui:include src="/richfaces/colorPicker/usage/sample.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/colorPicker/usage/sample.xhtml"/>
- </ui:include>
- </div>
- </fieldset>
- </ui:define>
- </ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+ <p>
+ Color Picker is a simple wrapper for JQuerry widget.
+ It has the same functionality and events. Also a widget is additionally
+ skinned using the standard RF principles.
+ </p>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">ColorPicker Demo</legend>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/colorPicker/usage/sample.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/colorPicker/usage/sample.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
+ </ui:define>
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Color Picker</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Color Picker</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/simple.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/simple.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/simple.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,17 +1,17 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-
- <rich:comboBox defaultLabel="Enter some value">
- <f:selectItem itemValue="suggestion 1"/>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+ <rich:comboBox defaultLabel="Enter some value">
+ <f:selectItem itemValue="suggestion 1"/>
<f:selectItem itemValue="suggestion 2"/>
<f:selectItem itemValue="suggestion 3"/>
<f:selectItem itemValue="suggestion 4"/>
<f:selectItem itemValue="suggestion 5"/>
- </rich:comboBox>
-
-
+ </rich:comboBox>
+
+
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,76 +1,76 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
-
- <p>
- The component provides editable combobox element on the page.
- </p>
- <p><b>
- Combo Box</b> is a simplified select based version of <i>Suggestion Box</i> component, which uses
- </p>
- <ul>
- <li>client side suggestions</li>
- <li>declarative definition with f:selectItem(s) components</li>
- <li>a list of string objects</li>
- </ul>
- <p>
- When using selectItem(s) for suggestion definition you should define only value
- of the selectItem. It is used both for displaying and storing.
- </p>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+ <p>
+ The component provides editable combobox element on the page.
+ </p>
+ <p><b>
+ Combo Box</b> is a simplified select based version of <i>Suggestion Box</i> component, which uses
+ </p>
+ <ul>
+ <li>client side suggestions</li>
+ <li>declarative definition with f:selectItem(s) components</li>
+ <li>a list of string objects</li>
+ </ul>
+ <p>
+ When using selectItem(s) for suggestion definition you should define only value
+ of the selectItem. It is used both for displaying and storing.
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Simple Combo Box with predefined suggestions</legend>
<div class="sample-container" >
- <p>
- The first simple example shows a declarative definition with f:selectItem components.
- Just enter <b>"s"</b> letter or click icon in order to trigger the suggestion.
+ <p>
+ The first simple example shows a declarative definition with f:selectItem components.
+ Just enter <b>"s"</b> letter or click icon in order to trigger the suggestion.
</p>
- <br/>
- <ui:include src="/richfaces/comboBox/examples/simple.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/comboBox/examples/simple.xhtml"/>
- </ui:include>
+ <br/>
+ <ui:include src="/richfaces/comboBox/examples/simple.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/comboBox/examples/simple.xhtml"/>
+ </ui:include>
</div>
</fieldset>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Combo Box with dynamic suggestions list</legend>
<div class="sample-container">
- <p>
- The next example uses a simple select Items list to provide suggestions. Also comboBox
- does not select the first item by default after a list appears (<b>selectFirstOnUpdate </b>attribute
- usage). Just enter any letter or click an icon in order to trigger the suggestion.
+ <p>
+ The next example uses a simple select Items list to provide suggestions. Also comboBox
+ does not select the first item by default after a list appears (<b>selectFirstOnUpdate </b>attribute
+ usage). Just enter any letter or click an icon in order to trigger the suggestion.
</p>
- <br/>
- <ui:include src="/richfaces/comboBox/examples/selectItems.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/comboBox/examples/selectItems.xhtml"/>
- </ui:include>
+ <br/>
+ <ui:include src="/richfaces/comboBox/examples/selectItems.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/comboBox/examples/selectItems.xhtml"/>
+ </ui:include>
</div>
</fieldset>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Combo Box with a simple String list as suggestions list</legend>
- <div class="sample-container">
- <p>
- The next definition example shows how to define a suggestions list using a simple String list.
- And how to turn on an input suggestion feature with <b>directInputSuggestions </b>attribute.
- Enter any letter or click an icon in order to trigger the suggestion.
+ <div class="sample-container">
+ <p>
+ The next definition example shows how to define a suggestions list using a simple String list.
+ And how to turn on an input suggestion feature with <b>directInputSuggestions </b>attribute.
+ Enter any letter or click an icon in order to trigger the suggestion.
</p>
- <br/>
- <ui:include src="/richfaces/comboBox/examples/collection.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/comboBox/examples/collection.xhtml"/>
- </ui:include>
+ <br/>
+ <ui:include src="/richfaces/comboBox/examples/collection.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/comboBox/examples/collection.xhtml"/>
+ </ui:include>
</div>
- </fieldset>
- </ui:define>
-
- </ui:composition>
-</html>
+ </fieldset>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/comboBox.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/comboBox.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/comboBox.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Combo Box Component</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Combo Box Component</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/cmenuusage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/cmenuusage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/cmenuusage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,76 +1,76 @@
-<f:subview xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich" id="subview">
- <style>
- .cur{
- cursor: pointer;
+<f:subview xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich" id="subview">
+ <style>
+ .cur{
+ cursor: pointer;
}
.top{
vertical-align: top;
- }
- </style>
- <h:form id="form">
-
- <rich:contextMenu attached="false" id="menu" submitMode="ajax">
- <rich:menuItem ajaxSingle="true">
- <b>{car} {model}</b> details
- <a4j:actionparam name="det" assignTo="#{ddmenu.current}" value="{car} {model} details"/>
- </rich:menuItem>
- <rich:menuGroup value="Actions">
- <rich:menuItem ajaxSingle="true">
- Put <b>{car} {model}</b> To Basket
- <a4j:actionparam name="bask" assignTo="#{ddmenu.current}" value="Put {car} {model} To Basket"/>
- </rich:menuItem>
- <rich:menuItem value="Read Comments" ajaxSingle="true">
- <a4j:actionparam name="bask" assignTo="#{ddmenu.current}" value="Read Comments"/>
- </rich:menuItem>
- <rich:menuItem ajaxSingle="true">
- Go to <b>{car}</b> site
- <a4j:actionparam name="bask" assignTo="#{ddmenu.current}" value="Go to {car} site"/>
- </rich:menuItem>
- </rich:menuGroup>
- </rich:contextMenu>
-
- <h:panelGrid columns="2" columnClasses="top, top">
-
- <rich:dataTable value="#{dataTableScrollerBean.tenRandomCars}" var="car" id="table"
- onRowMouseOver="this.style.backgroundColor='#F8F8F8'"
- onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'" rowClasses="cur">
- <rich:column>
- <f:facet name="header">
- Make
- </f:facet>
- <h:outputText value="#{car.make}"/>
- </rich:column>
- <rich:column>
- <f:facet name="header">
- Model
- </f:facet>
- <h:outputText value="#{car.model}"/>
- </rich:column>
- <rich:column>
- <f:facet name="header">
- Price
- </f:facet>
- <h:outputText value="#{car.price}" />
- </rich:column>
-
- <rich:componentControl event="onRowClick" for="menu" operation="show">
- <f:param value="#{car.model}" name="model"/>
- <f:param value="#{car.make}" name="car"/>
- </rich:componentControl>
-
- </rich:dataTable>
-
- <a4j:outputPanel ajaxRendered="true">
- <rich:panel>
- <f:facet name="header">Last Menu Action</f:facet>
- <h:outputText value="#{ddmenu.current}"></h:outputText>
- </rich:panel>
- </a4j:outputPanel>
- </h:panelGrid>
- </h:form>
+ }
+ </style>
+ <h:form id="form">
+
+ <rich:contextMenu attached="false" id="menu" submitMode="ajax">
+ <rich:menuItem ajaxSingle="true">
+ <b>{car} {model}</b> details
+ <a4j:actionparam name="det" assignTo="#{ddmenu.current}" value="{car} {model} details"/>
+ </rich:menuItem>
+ <rich:menuGroup value="Actions">
+ <rich:menuItem ajaxSingle="true">
+ Put <b>{car} {model}</b> To Basket
+ <a4j:actionparam name="bask" assignTo="#{ddmenu.current}" value="Put {car} {model} To Basket"/>
+ </rich:menuItem>
+ <rich:menuItem value="Read Comments" ajaxSingle="true">
+ <a4j:actionparam name="bask" assignTo="#{ddmenu.current}" value="Read Comments"/>
+ </rich:menuItem>
+ <rich:menuItem ajaxSingle="true">
+ Go to <b>{car}</b> site
+ <a4j:actionparam name="bask" assignTo="#{ddmenu.current}" value="Go to {car} site"/>
+ </rich:menuItem>
+ </rich:menuGroup>
+ </rich:contextMenu>
+
+ <h:panelGrid columns="2" columnClasses="top, top">
+
+ <rich:dataTable value="#{dataTableScrollerBean.tenRandomCars}" var="car" id="table"
+ onRowMouseOver="this.style.backgroundColor='#F8F8F8'"
+ onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'" rowClasses="cur">
+ <rich:column>
+ <f:facet name="header">
+ Make
+ </f:facet>
+ <h:outputText value="#{car.make}"/>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ Model
+ </f:facet>
+ <h:outputText value="#{car.model}"/>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ Price
+ </f:facet>
+ <h:outputText value="#{car.price}" />
+ </rich:column>
+
+ <rich:componentControl event="onRowClick" for="menu" operation="show">
+ <f:param value="#{car.model}" name="model"/>
+ <f:param value="#{car.make}" name="car"/>
+ </rich:componentControl>
+
+ </rich:dataTable>
+
+ <a4j:outputPanel ajaxRendered="true">
+ <rich:panel>
+ <f:facet name="header">Last Menu Action</f:facet>
+ <h:outputText value="#{ddmenu.current}"></h:outputText>
+ </rich:panel>
+ </a4j:outputPanel>
+ </h:panelGrid>
+ </h:form>
</f:subview>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/control.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/control.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/control.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,75 +1,75 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <style>
- .atop{
- vertical-align:top;
- }
- </style>
- <p>RichFaces Component Control is a universal component that allows to call JS API functions on the
- components after defined events.
- </p>
- <p>
- In this simple example <b>componentControl</b> components are used to open and close modal panel.
- The component is attached to links and calls "show" and "hide" functions on Modal Panel.
- </p>
- <div class="sample-container">
- <ui:include src="/richfaces/componentControl/examples/mpusage.xhtml" />
- <rich:spacer height="20"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/componentControl/examples/mpusage.xhtml"/>
- </ui:include>
- </div>
- <p>
- <b>Main component attributes:</b>
- <ul>
- <li><b>for</b> - specifies client identifier of the target component.</li>
- <li><b>attachTo</b> - specifies client identifier of the component or id of the existing DOM element that is a source
- for a given event. If <b>attachTo</b> is not defined, the event is attached on the server to the closest in the
- component tree parent component.</li>
- <li><b>event</b> - is used to trigger the <b>operation</b> on the target component
- <br/><i><b>Note:</b> the component could use "oncontextmenu" event to call the JS API on right click event.
- But in this case this component should be defined via <b>for</b> attribute rather than using a4j:support style.
- In case of support-like definition, the component will not work properly, as many of the components don't encode this event.
- </i>
-
- </li>
- <li><b>operation</b> - name of the javascript function that will be invoked on a target component. The API method
- is attached to the 'component' property of the root DOM element that represents
- the target component. The function has two parameters - <b>event</b> and <b>params</b>.</li>
- <li><b>params</b> - a set of parameters passed to the function of Javascript API that will be invoked.
- The JSON syntax is used to define the parameters, but without open and closed curve
- bracket.
- As an alternative, a set of f:param can be used to define the parameters passed to the
- API function. </li>
- </ul>
- </p>
- <p>
- Thus, one of the main features is that Component Control component allows to transfer
- parameters to managed components.
- </p>
- <p>
- You may put <b>f:param</b> components as nested to component control component (instead of <b>params</b> attribute usage)
- and all the parameters that are defined will be available from target component.
- </p>
- <p>
- In the next example, component control is used inside <b>rich:dataTable</b> component.
- Component control is defined with two parameters which have the current row values.
- Hence the <b>rich:contextMenu</b> component that called by this Component Control
- will take this parameters and will be able to display them in its items values.
- </p>
- <p>
- Click at any table row to see the context menu that generated individually for
- every row using parameters.
- </p>
- <div class="sample-container">
- <ui:include src="/richfaces/componentControl/examples/cmenuusage.xhtml" />
- <rich:spacer height="20"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/componentControl/examples/cmenuusage.xhtml"/>
- </ui:include>
- </div>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <style>
+ .atop{
+ vertical-align:top;
+ }
+ </style>
+ <p>RichFaces Component Control is a universal component that allows to call JS API functions on the
+ components after defined events.
+ </p>
+ <p>
+ In this simple example <b>componentControl</b> components are used to open and close modal panel.
+ The component is attached to links and calls "show" and "hide" functions on Modal Panel.
+ </p>
+ <div class="sample-container">
+ <ui:include src="/richfaces/componentControl/examples/mpusage.xhtml" />
+ <rich:spacer height="20"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/componentControl/examples/mpusage.xhtml"/>
+ </ui:include>
+ </div>
+ <p>
+ <b>Main component attributes:</b>
+ <ul>
+ <li><b>for</b> - specifies client identifier of the target component.</li>
+ <li><b>attachTo</b> - specifies client identifier of the component or id of the existing DOM element that is a source
+ for a given event. If <b>attachTo</b> is not defined, the event is attached on the server to the closest in the
+ component tree parent component.</li>
+ <li><b>event</b> - is used to trigger the <b>operation</b> on the target component
+ <br/><i><b>Note:</b> the component could use "oncontextmenu" event to call the JS API on right click event.
+ But in this case this component should be defined via <b>for</b> attribute rather than using a4j:support style.
+ In case of support-like definition, the component will not work properly, as many of the components don't encode this event.
+ </i>
+
+ </li>
+ <li><b>operation</b> - name of the javascript function that will be invoked on a target component. The API method
+ is attached to the 'component' property of the root DOM element that represents
+ the target component. The function has two parameters - <b>event</b> and <b>params</b>.</li>
+ <li><b>params</b> - a set of parameters passed to the function of Javascript API that will be invoked.
+ The JSON syntax is used to define the parameters, but without open and closed curve
+ bracket.
+ As an alternative, a set of f:param can be used to define the parameters passed to the
+ API function. </li>
+ </ul>
+ </p>
+ <p>
+ Thus, one of the main features is that Component Control component allows to transfer
+ parameters to managed components.
+ </p>
+ <p>
+ You may put <b>f:param</b> components as nested to component control component (instead of <b>params</b> attribute usage)
+ and all the parameters that are defined will be available from target component.
+ </p>
+ <p>
+ In the next example, component control is used inside <b>rich:dataTable</b> component.
+ Component control is defined with two parameters which have the current row values.
+ Hence the <b>rich:contextMenu</b> component that called by this Component Control
+ will take this parameters and will be able to display them in its items values.
+ </p>
+ <p>
+ Click at any table row to see the context menu that generated individually for
+ every row using parameters.
+ </p>
+ <div class="sample-container">
+ <ui:include src="/richfaces/componentControl/examples/cmenuusage.xhtml" />
+ <rich:spacer height="20"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/componentControl/examples/cmenuusage.xhtml"/>
+ </ui:include>
+ </div>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/mpusage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/mpusage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/examples/mpusage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,27 +1,27 @@
-<f:subview xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <rich:modalPanel id="panel" width="350" height="100">
- <f:facet name="header">
- <h:panelGroup>
- <h:outputText value="Modal Panel"></h:outputText>
- </h:panelGroup>
- </f:facet>
- <f:facet name="controls">
- <h:panelGroup>
- <h:graphicImage value="/images/modal/close.png" styleClass="hidelink" id="hidelink"/>
- <rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
- </h:panelGroup>
- </f:facet>
- <h:outputText value="This panel is called using Component Control Component"></h:outputText>
- <br/>
- <h:outputText value="Closure link (X) works also through Component Control"></h:outputText>
+<f:subview xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <rich:modalPanel id="panel" width="350" height="100">
+ <f:facet name="header">
+ <h:panelGroup>
+ <h:outputText value="Modal Panel"></h:outputText>
+ </h:panelGroup>
+ </f:facet>
+ <f:facet name="controls">
+ <h:panelGroup>
+ <h:graphicImage value="/images/modal/close.png" styleClass="hidelink" id="hidelink"/>
+ <rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
+ </h:panelGroup>
+ </f:facet>
+ <h:outputText value="This panel is called using Component Control Component"></h:outputText>
+ <br/>
+ <h:outputText value="Closure link (X) works also through Component Control"></h:outputText>
</rich:modalPanel>
- <h:outputLink value="#" id="link">
- Show Modal Panel
- <rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
+ <h:outputLink value="#" id="link">
+ Show Modal Panel
+ <rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
</h:outputLink>
</f:subview>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,9 +4,9 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-
- <ui:define name="sample">
-
+
+ <ui:define name="sample">
+
<style>
.atop{
vertical-align:top;
@@ -81,7 +81,7 @@
<ui:param name="sourcepath" value="/richfaces/componentControl/examples/cmenuusage.xhtml"/>
</ui:include>
</div>
- </fieldset>
- </ui:define>
-
-</ui:composition>
+ </fieldset>
+ </ui:define>
+
+</ui:composition>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/componentControl.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Component Control Component</ui:define>
- <ui:define name="body">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Component Control Component</ui:define>
+ <ui:define name="body">
<ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/example/menu.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/example/menu.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/example/menu.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,30 +1,30 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <style>
- .cent{
- text-align:center;
- }
- .rich-menu-item{
- text-align:left;
- }
- .rich-menu-group{
- text-align:left;
- }
-</style>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <style>
+ .cent{
+ text-align:center;
+ }
+ .rich-menu-item{
+ text-align:left;
+ }
+ .rich-menu-group{
+ text-align:left;
+ }
+</style>
<a4j:loadScript src="/scripts/picturesUtils.js"/>
- <h:panelGrid columns="1" columnClasses="cent">
-
- <h:panelGroup id="picture">
- <h:graphicImage value="/richfaces/jQuery/images/pic1.jpg" id="pic" style="border : 5px solid #E4EAEF"/>
- <rich:contextMenu event="oncontextmenu" attachTo="pic" submitMode="none">
- <rich:menuItem value="Zoom In" onclick="enlarge('pic');" id="zin"></rich:menuItem>
- <rich:menuItem value="Zoom Out" onclick="decrease('pic');" id="zout"></rich:menuItem>
- </rich:contextMenu>
- </h:panelGroup>
-
- </h:panelGrid>
+ <h:panelGrid columns="1" columnClasses="cent">
+
+ <h:panelGroup id="picture">
+ <h:graphicImage value="/richfaces/jQuery/images/pic1.jpg" id="pic" style="border : 5px solid #E4EAEF"/>
+ <rich:contextMenu event="oncontextmenu" attachTo="pic" submitMode="none">
+ <rich:menuItem value="Zoom In" onclick="enlarge('pic');" id="zin"></rich:menuItem>
+ <rich:menuItem value="Zoom Out" onclick="decrease('pic');" id="zout"></rich:menuItem>
+ </rich:contextMenu>
+ </h:panelGroup>
+
+ </h:panelGrid>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,19 +1,19 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
-
- <p>RichFaces Context menu is a component that allows to organize the hierarchical context menus
- similar to one that almost every desktop application has.
- </p>
- <p>Context Menu can contain a set of Menu Items, Menu Groups and Menu Separators.
- Usage of these components are similar to usage in RichFaces Drop Down Menu.
- </p>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+ <p>RichFaces Context menu is a component that allows to organize the hierarchical context menus
+ similar to one that almost every desktop application has.
+ </p>
+ <p>Context Menu can contain a set of Menu Items, Menu Groups and Menu Separators.
+ Usage of these components are similar to usage in RichFaces Drop Down Menu.
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Example</legend>
@@ -26,67 +26,67 @@
</div>
</fieldset>
- <p>
- In this example menu is just defined as nested to <b>panelGroup</b> with "picture" Id.
- You should be careful with such definitions, because on the client menu component
- searches for the DOM element with the client Id of the parent component on the server.
- If the component doesn't encode id on the client, it will be not found by the menu and menu
- will be attached to its closest parent in a DOM tree. For example you should not define the menu as a child
- for images components.
- </p>
- <p>Context menu itself is an invisible panel
- that appears after a particular client side event (onmouseover, onclick etc) occured on a parent component.
- The event is defined with an <b>event</b> attribute.</p>
- <p class="note">
- <i><b>Note:</b> As you can see from the first example the component could use "oncontextmenu" event to call the Menu on right click event.
- But in this case the component should be called via <b>componentControl</b> component (as it is shown at the second example) rather than using a4j:support style.
- If a4j:support style is used then many of the components don't encode this event and also in case of support-like definition the component will not work properly.
- </i>
- </p>
- <p>
- Other usefull attributes are:
- <ul>
- <li>
- <b>disableDefaultMenu</b> - if it is true, the event defined on the menu
- will not be handled by other client handlers except context menu handler. You
- may see on the first example that a standard browser menu isn't called
- after right click.
- </li>
- <li>
- <b>attached</b> - if it is true, the menu is attached to parent component. In other case
- it should be called via JS API (using componentControl)
- </li>
- </ul>
- </p>
- <p>
- Unlike dropDownMenu, contextMenu has no representation element, and has strong right-click
- support.
- </p>
- <p>
- And the main difference from drop down menu is that a context menu could be defined once on the page
- and used by different components. Single instance of the menu will be created and shared between the components.
- </p>
- <p>
- To customize shared menu for every component, macrosubstitutions could be used.
- <b>ComponentControl</b> component could be used to call the instance of the menu for
- the particular component. <b>f:param</b> components could be used to add parameters to menu.
- </p>
+ <p>
+ In this example menu is just defined as nested to <b>panelGroup</b> with "picture" Id.
+ You should be careful with such definitions, because on the client menu component
+ searches for the DOM element with the client Id of the parent component on the server.
+ If the component doesn't encode id on the client, it will be not found by the menu and menu
+ will be attached to its closest parent in a DOM tree. For example you should not define the menu as a child
+ for images components.
+ </p>
+ <p>Context menu itself is an invisible panel
+ that appears after a particular client side event (onmouseover, onclick etc) occured on a parent component.
+ The event is defined with an <b>event</b> attribute.</p>
+ <p class="note">
+ <i><b>Note:</b> As you can see from the first example the component could use "oncontextmenu" event to call the Menu on right click event.
+ But in this case the component should be called via <b>componentControl</b> component (as it is shown at the second example) rather than using a4j:support style.
+ If a4j:support style is used then many of the components don't encode this event and also in case of support-like definition the component will not work properly.
+ </i>
+ </p>
+ <p>
+ Other usefull attributes are:
+ <ul>
+ <li>
+ <b>disableDefaultMenu</b> - if it is true, the event defined on the menu
+ will not be handled by other client handlers except context menu handler. You
+ may see on the first example that a standard browser menu isn't called
+ after right click.
+ </li>
+ <li>
+ <b>attached</b> - if it is true, the menu is attached to parent component. In other case
+ it should be called via JS API (using componentControl)
+ </li>
+ </ul>
+ </p>
+ <p>
+ Unlike dropDownMenu, contextMenu has no representation element, and has strong right-click
+ support.
+ </p>
+ <p>
+ And the main difference from drop down menu is that a context menu could be defined once on the page
+ and used by different components. Single instance of the menu will be created and shared between the components.
+ </p>
+ <p>
+ To customize shared menu for every component, macrosubstitutions could be used.
+ <b>ComponentControl</b> component could be used to call the instance of the menu for
+ the particular component. <b>f:param</b> components could be used to add parameters to menu.
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Example</legend>
<div class="sample-container">
To call the menu - click any car row.<br/><br/>
- <ui:include src="/richfaces/componentControl/examples/cmenuusage.xhtml" />
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/componentControl/examples/cmenuusage.xhtml"/>
+ <ui:include src="/richfaces/componentControl/examples/cmenuusage.xhtml" />
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/componentControl/examples/cmenuusage.xhtml"/>
</ui:include>
</div>
- </fieldset>
- <p>
- Pay your attention to the source code. Inside the table you may see component control that calls the menu.
- Menu recreated after every call on the client and new <b>{car}</b> and <b>{model}</b> values are inserted into the menu.
- </p>
- <p>Look through componentControl demo page for more information.</p>
- </ui:define>
-
- </ui:composition>
-</html>
+ </fieldset>
+ <p>
+ Pay your attention to the source code. Inside the table you may see component control that calls the menu.
+ Menu recreated after every call on the client and new <b>{car}</b> and <b>{model}</b> values are inserted into the menu.
+ </p>
+ <p>Look through componentControl demo page for more information.</p>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Context Menu Component</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Context Menu Component</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/examples/form.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/examples/form.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/examples/form.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,42 +1,42 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-<style>
-.label{
-font-weight:bold;
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+<style>
+.label{
+font-weight:bold;
}
.pbody{
width:200px;
}
-</style>
- <rich:panel>
- <f:facet name="header">
- <h:outputText value="Car Store"></h:outputText>
- </f:facet>
- <h:form>
- <rich:dataGrid value="#{dataTableScrollerBean.allCars}" var="car" columns="3" elements="9" width="600px">
- <rich:panel bodyClass="pbody">
- <f:facet name="header">
- <h:outputText value="#{car.make} #{car.model}"></h:outputText>
- </f:facet>
- <h:panelGrid columns="2">
- <h:outputText value="Price:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.price}" />
- <h:outputText value="Mileage:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.mileage}" />
- <h:outputText value="VIN:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.vin}" />
- <h:outputText value="Stock:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.stock}" />
- </h:panelGrid>
- </rich:panel>
- <f:facet name="footer">
- <rich:datascroller></rich:datascroller>
- </f:facet>
- </rich:dataGrid>
- </h:form>
- </rich:panel>
+</style>
+ <rich:panel>
+ <f:facet name="header">
+ <h:outputText value="Car Store"></h:outputText>
+ </f:facet>
+ <h:form>
+ <rich:dataGrid value="#{dataTableScrollerBean.allCars}" var="car" columns="3" elements="9" width="600px">
+ <rich:panel bodyClass="pbody">
+ <f:facet name="header">
+ <h:outputText value="#{car.make} #{car.model}"></h:outputText>
+ </f:facet>
+ <h:panelGrid columns="2">
+ <h:outputText value="Price:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.price}" />
+ <h:outputText value="Mileage:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.mileage}" />
+ <h:outputText value="VIN:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.vin}" />
+ <h:outputText value="Stock:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.stock}" />
+ </h:panelGrid>
+ </rich:panel>
+ <f:facet name="footer">
+ <rich:datascroller></rich:datascroller>
+ </f:facet>
+ </rich:dataGrid>
+ </h:form>
+ </rich:panel>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,31 +1,31 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
-
-
-
- <p>The component takes a list from a model and outputs it the same way as with
- <h:PanelGrid> for inline data. To define grid properties and styles, use the same
- definitions as for <h:panelGrid>.<br />
- The following example shows the dataGrid component in use:
- </p>
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+
+
+ <p>The component takes a list from a model and outputs it the same way as with
+ <h:PanelGrid> for inline data. To define grid properties and styles, use the same
+ definitions as for <h:panelGrid>.<br />
+ The following example shows the dataGrid component in use:
+ </p>
+
<fieldset class="demo_fieldset">
- <legend class="demo_legend">DataGrid example</legend>
- <div class="sample-container">
- <ui:include src="/richfaces/dataGrid/examples/form.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/dataGrid/examples/form.xhtml"/>
- </ui:include>
+ <legend class="demo_legend">DataGrid example</legend>
+ <div class="sample-container">
+ <ui:include src="/richfaces/dataGrid/examples/form.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/dataGrid/examples/form.xhtml"/>
+ </ui:include>
</div>
- </fieldset>
+ </fieldset>
</ui:define>
-
- </ui:composition>
-</html>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataGrid.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Data Grid</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Data Grid</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/lists.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/lists.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/lists.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,24 +1,24 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-
-<style>
-.label{
-font-weight:bold;
-}
-</style>
- <h:form>
- <rich:dataList var="car" value="#{dataTableScrollerBean.allCars}" rows="10">
- <h:outputText value="#{car.make} #{car.model}"/><br/>
- <h:outputText value="Price:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.price} " />
- <h:outputText value="Mileage:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.mileage} " />
- <h:outputText value="VIN:" styleClass="label"></h:outputText>
- <h:outputText value="#{car.vin}" />
- </rich:dataList>
- </h:form>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+<style>
+.label{
+font-weight:bold;
+}
+</style>
+ <h:form>
+ <rich:dataList var="car" value="#{dataTableScrollerBean.allCars}" rows="10">
+ <h:outputText value="#{car.make} #{car.model}"/><br/>
+ <h:outputText value="Price:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.price} " />
+ <h:outputText value="Mileage:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.mileage} " />
+ <h:outputText value="VIN:" styleClass="label"></h:outputText>
+ <h:outputText value="#{car.vin}" />
+ </rich:dataList>
+ </h:form>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,31 +1,31 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
-
-
-
- <p>Data Lists components allows to generate DL, DT and DD lists using lists
- from the model bean.
- <br />
- The following example shows the dataList component in use. Two another components could be used in the same way.
- </p>
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+
+
+ <p>Data Lists components allows to generate DL, DT and DD lists using lists
+ from the model bean.
+ <br />
+ The following example shows the dataList component in use. Two another components could be used in the same way.
+ </p>
+
<fieldset class="demo_fieldset">
- <legend class="demo_legend">Example</legend>
- <div class="sample-container" >
- <ui:include src="/richfaces/dataLists/examples/lists.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/dataLists/examples/lists.xhtml"/>
- </ui:include>
+ <legend class="demo_legend">Example</legend>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/dataLists/examples/lists.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/dataLists/examples/lists.xhtml"/>
+ </ui:include>
</div>
- </fieldset>
- </ui:define>
-
- </ui:composition>
-</html>
+ </fieldset>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataLists.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataLists.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataLists.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Data Lists</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Data Lists</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/editTable.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -124,7 +124,7 @@
</h:panelGroup>
</f:facet>
<h:form>
- <table width="100%">
+ <table width="100%">
<tbody>
<tr>
<td align="center" width="50%">
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/modifiableModel.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/modifiableModel.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/examples/modifiableModel.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <style>
.rich-filter-input{
width:50px;
}
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/modifiableModel.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/modifiableModel.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTable/modifiableModel.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,39 +1,39 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
- <p>
- This is another sample of <b>ExtendedDataModel</b> implementation which additionally shows
- how to implement <b>sorting and filtering in your model</b>.
- </p>
- <p>
- Model class should extend <b>ExtendedDataTableModel</b> and additionally implement
- <b>Modifiable interface</b>. This interface defines <b>modify</b> method. This
- method is called with lists of sort and filter fields as parameters and should perform sorting and
- filtering according to the fields.
- </p>
- <p><b>Note</b> that
- filtering in this sample uses <i>contains</i> instead of <i>startsWith</i> conditions.
- </p>
- <div class="sample-container" >
-
- <ui:include src="/richfaces/dataTable/examples/modifiableModel.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/dataTable/examples/modifiableModel.xhtml"/>
- <ui:param name="openlabel" value="View Source" />
- </ui:include>
-
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/WEB-INF/src/org/richfaces/demo/modifiableModel/HibernateDataModel.java"/>
- <ui:param name="openlabel" value="View HibernateDataModel.java Source" />
- <ui:param name="sourcetype" value="java" />
- </ui:include>
- </div>
- </ui:define>
- </ui:composition>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <p>
+ This is another sample of <b>ExtendedDataModel</b> implementation which additionally shows
+ how to implement <b>sorting and filtering in your model</b>.
+ </p>
+ <p>
+ Model class should extend <b>ExtendedDataTableModel</b> and additionally implement
+ <b>Modifiable interface</b>. This interface defines <b>modify</b> method. This
+ method is called with lists of sort and filter fields as parameters and should perform sorting and
+ filtering according to the fields.
+ </p>
+ <p><b>Note</b> that
+ filtering in this sample uses <i>contains</i> instead of <i>startsWith</i> conditions.
+ </p>
+ <div class="sample-container" >
+
+ <ui:include src="/richfaces/dataTable/examples/modifiableModel.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/dataTable/examples/modifiableModel.xhtml"/>
+ <ui:param name="openlabel" value="View Source" />
+ </ui:include>
+
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/WEB-INF/src/org/richfaces/demo/modifiableModel/HibernateDataModel.java"/>
+ <ui:param name="openlabel" value="View HibernateDataModel.java Source" />
+ <ui:param name="sourcetype" value="java" />
+ </ui:include>
+ </div>
+ </ui:define>
+ </ui:composition>
</html>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTableScroller/customScroller.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTableScroller/customScroller.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dataTableScroller/customScroller.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,43 +1,43 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
- <p>
- This sample is designed to show how to use <b>datascroller</b> component
- <b>facets</b> for component look-and-feel and functionality <b>customization</b>.
- </p>
- <p>
- As you could see the <b>datascroller</b> customizes step controls
- and default buttons changes to select which allows to switch to
- the four nearest pages to the current one.
- </p>
- <fieldset class="demo_fieldset">
- <legend class="demo_legend">Data Scroller customization</legend>
- <div class="sample-container">
- <ui:include src="/richfaces/dataTableScroller/examples/customScroller.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/dataTableScroller/examples/customScroller.xhtml"/>
- <ui:param name="openlabel" value="View Source" />
- </ui:include>
- </div>
- </fieldset>
- <p>
- The next new JS API functions are introduced and were used to build this sample:
- </p>
- <ul>
- <li>switchToPage(pageToGoValue)</li>
- <li>next()</li>
- <li>previous()</li>
- <li>first()</li>
- <li>last()</li>
- <li>fastForward()</li>
- <li>fastRewind()</li>
- </ul>
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <p>
+ This sample is designed to show how to use <b>datascroller</b> component
+ <b>facets</b> for component look-and-feel and functionality <b>customization</b>.
+ </p>
+ <p>
+ As you could see the <b>datascroller</b> customizes step controls
+ and default buttons changes to select which allows to switch to
+ the four nearest pages to the current one.
+ </p>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Data Scroller customization</legend>
+ <div class="sample-container">
+ <ui:include src="/richfaces/dataTableScroller/examples/customScroller.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/dataTableScroller/examples/customScroller.xhtml"/>
+ <ui:param name="openlabel" value="View Source" />
+ </ui:include>
+ </div>
+ </fieldset>
+ <p>
+ The next new JS API functions are introduced and were used to build this sample:
+ </p>
+ <ul>
+ <li>switchToPage(pageToGoValue)</li>
+ <li>next()</li>
+ <li>previous()</li>
+ <li>first()</li>
+ <li>last()</li>
+ <li>fastForward()</li>
+ <li>fastRewind()</li>
+ </ul>
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/form/snippets/commandLinkProblem.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/form/snippets/commandLinkProblem.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/form/snippets/commandLinkProblem.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
....
- <-- This code does not work correctly after the link is re-rendered -->
+ <-- This code does not work correctly after the link is re-rendered -->
<h:form>
....
<a4j:commandButton value="Update Non-Ajax Link" reRender="panel" />
....
<h:panelGrid id="panel">
....
- <h:commandLink value="Non-Ajax Submit" action="foo" >
- ...
+ <h:commandLink value="Non-Ajax Submit" action="foo" >
+ ...
</h:commandLink>
....
</h:panelGrid>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/hotKey/examples/example.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/hotKey/examples/example.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/hotKey/examples/example.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,10 +1,10 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
<ui:composition>
<a4j:loadScript src="/scripts/picturesUtils.js"/>
@@ -18,7 +18,7 @@
</f:facet>
<h:graphicImage value="#{slidesBean.currentPicture}" id="pic"/>
</rich:panel>
- <rich:hotKey key="ctrl+up" handler="enlarge('#{rich:clientId('pic')}');return false;"/>
+ <rich:hotKey key="ctrl+up" handler="enlarge('#{rich:clientId('pic')}');return false;"/>
<rich:hotKey key="ctrl+down" handler="decrease('#{rich:clientId('pic')}');return false;"/>
<rich:hotKey key="ctrl+left" handler="prev();return false;"/>
<rich:hotKey key="ctrl+right" handler="next();return false;"/>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/hotKey/examples/inputNumbers.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/hotKey/examples/inputNumbers.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/hotKey/examples/inputNumbers.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,10 +1,10 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j">
<ui:composition>
<rich:listShuttle var="cap" sourceValue="#{capitalsBean.capitals}" id="ls"
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,15 +1,15 @@
....
- <-- This code does not work correctly after the link is re-rendered -->
- <-- Parameter will not be encoded correctly in this case -->
+ <-- This code does not work correctly after the link is re-rendered -->
+ <-- Parameter will not be encoded correctly in this case -->
<h:form>
....
<a4j:commandButton value="Update Non-Ajax Link" reRender="panel" />
....
<h:panelGrid id="panel">
....
- <h:commandLink value="Non-Ajax Submit" action="foo" >
- <f:param name="param1" value="foo"/>
- ...
+ <h:commandLink value="Non-Ajax Submit" action="foo" >
+ <f:param name="param1" value="foo"/>
+ ...
</h:commandLink>
....
</h:panelGrid>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
- <style type="text/css">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <style type="text/css">
.viewsourcepanel {
padding: 10px;
width: 100%;
@@ -17,35 +17,35 @@
.viewsourcebody {
padding: 0;
- }
-
- input[type="button"], input[type="submit"] {
- background-color:#{a4jSkin.trimColor};
- }
- </style>
- <p>a4j:htmlCommandLink functionality is similar to the standard h:commandLink component except the additional feature.
-
- </p>
- <p>
- h:commandLink renderer generates the JavaScript code that is used to submit a form when a link
- is clicked. However, if the h:commandLink is rendered outside of the form, for example, when
- you point to it with reRender, the wrong code is generated that causes incorrect functionality.
- This issue could be solved by a4j:form usage.
- </p>
- <p>But another problem is that the link should render hidden inputs
- for its parameters encoding. And these fields are not generated if the link is not initially rendered and
- then updated via Ajax. Such problems could be solved with the a4j:htmlCommandLink usage. Necessary fields are encoded
- even when the link is not rendered initially. Hence it may be Ajax updated and parameters work correctly.
- </p>
+ }
+
+ input[type="button"], input[type="submit"] {
+ background-color:#{a4jSkin.trimColor};
+ }
+ </style>
+ <p>a4j:htmlCommandLink functionality is similar to the standard h:commandLink component except the additional feature.
+
+ </p>
+ <p>
+ h:commandLink renderer generates the JavaScript code that is used to submit a form when a link
+ is clicked. However, if the h:commandLink is rendered outside of the form, for example, when
+ you point to it with reRender, the wrong code is generated that causes incorrect functionality.
+ This issue could be solved by a4j:form usage.
+ </p>
+ <p>But another problem is that the link should render hidden inputs
+ for its parameters encoding. And these fields are not generated if the link is not initially rendered and
+ then updated via Ajax. Such problems could be solved with the a4j:htmlCommandLink usage. Necessary fields are encoded
+ even when the link is not rendered initially. Hence it may be Ajax updated and parameters work correctly.
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">HtmlCommandLink usage example</legend>
<div class="sample-container">
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
- <rich:insert highlight="xhtml" src="/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml"></rich:insert>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
+ <rich:insert highlight="xhtml" src="/richfaces/htmlCommandLink/snippets/commandLinkProblem.xhtml"></rich:insert>
</rich:panel>
</div>
- </fieldset>
- </ui:define>
-
- </ui:composition>
-</html>
+ </fieldset>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/htmlCommandLink.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Html Command Link</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Html Command Link</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/simpleDefault.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/simpleDefault.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/examples/simpleDefault.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,9 +1,9 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
<rich:panel style="width:220px;">
<f:facet name="header">
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,31 +1,31 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
- <style>
- .top{
- vertical-align:top;
- }
- .equals {
- width: 45%;
- }
- </style>
- <p>
- <b>InplaceInput </b>is a simple input component which displays the current value as
- <i>outputText </i>and switches to <i>inputText </i>based representation after a defined event
- to allow editing this value.
- </p>
-
- <p>
- You could use two simplest examples below. For the first demo, just click on a label
- to edit the value and
- click somewhere outside the component to store this value(Or just press ENTER button).
- </p>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <style>
+ .top{
+ vertical-align:top;
+ }
+ .equals {
+ width: 45%;
+ }
+ </style>
+ <p>
+ <b>InplaceInput </b>is a simple input component which displays the current value as
+ <i>outputText </i>and switches to <i>inputText </i>based representation after a defined event
+ to allow editing this value.
+ </p>
+
+ <p>
+ You could use two simplest examples below. For the first demo, just click on a label
+ to edit the value and
+ click somewhere outside the component to store this value(Or just press ENTER button).
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">The simplest InplaceInput</legend>
<div class="sample-container" jsfc="h:panelGroup" layout="block">
@@ -36,23 +36,23 @@
</ui:include>
</div>
</fieldset>
- <p>
- The second example has controls for components enabled with <b>showControls </b>attribute.
- These controls should be used in order to apply a value or cancel editing.
- </p>
+ <p>
+ The second example has controls for components enabled with <b>showControls </b>attribute.
+ These controls should be used in order to apply a value or cancel editing.
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">InplaceInput with controls</legend>
<div class="sample-container" jsfc="h:panelGroup" layout="block">
- <br/>
- <ui:include src="/richfaces/inplaceInput/examples/simpleWithControls.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/inplaceInput/examples/simpleWithControls.xhtml"/>
- </ui:include>
+ <br/>
+ <ui:include src="/richfaces/inplaceInput/examples/simpleWithControls.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/inplaceInput/examples/simpleWithControls.xhtml"/>
+ </ui:include>
</div>
- </fieldset>
+ </fieldset>
<p>
Controls used by inplace could be redefined using <b>controls</b> named facet:
- </p>
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">InplaceInput with customized controls</legend>
<div class="sample-container">
@@ -63,33 +63,33 @@
</ui:include>
</div>
</fieldset>
- <p>
- Inplace Input could be rendered with <i>span </i>or <i>div </i>elements to display its value.
- To change default span output, use <b>layout </b>attribute with <i>block </i>value.
- </p>
- <p>
- The next example shows you Inplace Input component usage in dataTable. Custom event is
- fired on saving a value used in this example to perform Ajax validation for the value entered.
- </p>
- <p>
+ <p>
+ Inplace Input could be rendered with <i>span </i>or <i>div </i>elements to display its value.
+ To change default span output, use <b>layout </b>attribute with <i>block </i>value.
+ </p>
+ <p>
+ The next example shows you Inplace Input component usage in dataTable. Custom event is
+ fired on saving a value used in this example to perform Ajax validation for the value entered.
+ </p>
+ <p>
<b>Note:</b> Inplaces in this example also customized with <b>editEvent </b>
- attribute.
+ attribute.
</p>
<p>
<b>Perform double click at any price in order to change it.</b>
- </p>
+ </p>
<fieldset class="demo_fieldset">
- <legend class="demo_legend">InplaceInput as table cell editor</legend>
- <div class="sample-container">
+ <legend class="demo_legend">InplaceInput as table cell editor</legend>
+ <div class="sample-container">
<br/>
- <ui:include src="/richfaces/inplaceInput/examples/blockInplace.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/inplaceInput/examples/blockInplace.xhtml"/>
- </ui:include>
+ <ui:include src="/richfaces/inplaceInput/examples/blockInplace.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/inplaceInput/examples/blockInplace.xhtml"/>
+ </ui:include>
</div>
- </fieldset>
- </ui:define>
-
- </ui:composition>
-</html>
+ </fieldset>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceInput.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Inplace Input component</ui:define>
- <ui:define name="body">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Inplace Input component</ui:define>
+ <ui:define name="body">
<ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/selectItems.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/selectItems.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/examples/selectItems.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -5,7 +5,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <style>
.inplace{
border: none;
cursor:pointer;
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
- <style>
+ <style>
.rich-inplace-select-item{
font-size: #{a4jSkin.generalSizeFont};
color: #{a4jSkin.generalTextColor};
@@ -16,65 +16,65 @@
font-size: #{a4jSkin.generalSizeFont};
color: #{a4jSkin.generalTextColor};
}
- </style>
-
- <p>
- <b>Inplace Select</b>is a simple input component which displays current value as
- <i>outputText </i>and switches to <i>Select </i>based representation after a defined event
- to allow editing this value.
- </p>
-
- <p>
- You could try the simplest example below. Just click on a label
- to edit the value and click somewhere outside the component to store this value(Or just press ENTER button).
- </p>
+ </style>
+
+ <p>
+ <b>Inplace Select</b>is a simple input component which displays current value as
+ <i>outputText </i>and switches to <i>Select </i>based representation after a defined event
+ to allow editing this value.
+ </p>
+
+ <p>
+ You could try the simplest example below. Just click on a label
+ to edit the value and click somewhere outside the component to store this value(Or just press ENTER button).
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Example</legend>
- <div class="sample-container">
- <ui:include src="/richfaces/inplaceSelect/examples/simple.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/inplaceSelect/examples/simple.xhtml"/>
- </ui:include>
+ <div class="sample-container">
+ <ui:include src="/richfaces/inplaceSelect/examples/simple.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/inplaceSelect/examples/simple.xhtml"/>
+ </ui:include>
</div>
- </fieldset>
- <p>
- In this example <i>f:selectItems</i> tag is used to define a list of items to use.
- Additionally the next useful attributes are used:
- </p>
- <ul>
- <li>Controls "save" and "cancel" are turned on with <b>showControls</b> attribute</li>
- <li><b>Layout</b> attribute is defined as <b>block</b> and inplace is rendered as <i>div</i> an element instead of<i> span </i></li>
-
- <li>
- <b>openOnEdit</b> with true value defines that a select popup list will be opened
- automatically after edit state is activated.
- </li>
- <li> Classes customization is used</li>
- </ul>
+ </fieldset>
+ <p>
+ In this example <i>f:selectItems</i> tag is used to define a list of items to use.
+ Additionally the next useful attributes are used:
+ </p>
+ <ul>
+ <li>Controls "save" and "cancel" are turned on with <b>showControls</b> attribute</li>
+ <li><b>Layout</b> attribute is defined as <b>block</b> and inplace is rendered as <i>div</i> an element instead of<i> span </i></li>
+
+ <li>
+ <b>openOnEdit</b> with true value defines that a select popup list will be opened
+ automatically after edit state is activated.
+ </li>
+ <li> Classes customization is used</li>
+ </ul>
<p><b>Double click to edit value</b> <i>(editEvent set as ondblclick)</i>.</p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Example</legend>
- <div class="sample-container" >
- <ui:include src="/richfaces/inplaceSelect/examples/selectItems.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/inplaceSelect/examples/selectItems.xhtml"/>
- </ui:include>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/inplaceSelect/examples/selectItems.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/inplaceSelect/examples/selectItems.xhtml"/>
+ </ui:include>
</div>
- </fieldset>
- <p>
- And the last example shows how to save the simplest value via Ajax request and
- how customize controls using <b>controls</b> facet.
- </p>
+ </fieldset>
+ <p>
+ And the last example shows how to save the simplest value via Ajax request and
+ how customize controls using <b>controls</b> facet.
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Example</legend>
- <div class="sample-container">
- <ui:include src="/richfaces/inplaceSelect/examples/controlsCustomization.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/inplaceSelect/examples/controlsCustomization.xhtml"/>
- </ui:include>
+ <div class="sample-container">
+ <ui:include src="/richfaces/inplaceSelect/examples/controlsCustomization.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/inplaceSelect/examples/controlsCustomization.xhtml"/>
+ </ui:include>
</div>
- </fieldset>
- </ui:define>
-
- </ui:composition>
-</html>
+ </fieldset>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/inplaceSelect.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Inplace Select component</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Inplace Select component</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/gridcenter.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/gridcenter.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/gridcenter.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,24 +1,24 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j">
- <p>
- <b>Layout/LayoutPanel components</b> based on  <h:outputLink value="http://developer.yahoo.com/yui/grids/" style="color:#0078d0">Yahoo Nesting Grids</h:outputLink>.
-
- </p>
- <p>
- Layout is a wrapper component which should consist of layouts panels.
- Every layout panel could be positioned inside the layout with corresponding
- position attribute(<i>with top, bottom, left, right and center values</i>).
- </p>
- <p>
- Currently for a horizontally aligned panels the "width" attribute
- means a part of outer panel what that component takes.
- This is a same semantic as HTML elements have - see 
- <h:outputLink style="color:#0078d0" value="http://www.w3.org/TR/html401/types.html#type-multi-length" target="blank">HTML MultiLength</h:outputLink>
- In future we plan to expand the layouts with possibility of fixed and percents based width definitions.
- </p>
-
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j">
+ <p>
+ <b>Layout/LayoutPanel components</b> based on  <h:outputLink value="http://developer.yahoo.com/yui/grids/" style="color:#0078d0">Yahoo Nesting Grids</h:outputLink>.
+
+ </p>
+ <p>
+ Layout is a wrapper component which should consist of layouts panels.
+ Every layout panel could be positioned inside the layout with corresponding
+ position attribute(<i>with top, bottom, left, right and center values</i>).
+ </p>
+ <p>
+ Currently for a horizontally aligned panels the "width" attribute
+ means a part of outer panel what that component takes.
+ This is a same semantic as HTML elements have - see 
+ <h:outputLink style="color:#0078d0" value="http://www.w3.org/TR/html401/types.html#type-multi-length" target="blank">HTML MultiLength</h:outputLink>
+ In future we plan to expand the layouts with possibility of fixed and percents based width definitions.
+ </p>
+
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/gridleft.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/gridleft.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/gridleft.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,20 +1,20 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j">
- <p>
- <b>Page component</b> is responsible for complete page structure encoding.
- In difference with old <i>a4j:page</i> component it additionally provides
- facets for page parts definitions, and optionally provides styling based
- on <b>RichFaces</b> skinability.
- </p>
- <p>
- Next facets available in built-in implementation - <b>top, bottom, and sidebar</b>.
- And child content encoded as body part of the page.
- </p>
- <p>
- Also main important feature - <b>Themes support</b> implemented on top of this component.
- </p>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j">
+ <p>
+ <b>Page component</b> is responsible for complete page structure encoding.
+ In difference with old <i>a4j:page</i> component it additionally provides
+ facets for page parts definitions, and optionally provides styling based
+ on <b>RichFaces</b> skinability.
+ </p>
+ <p>
+ Next facets available in built-in implementation - <b>top, bottom, and sidebar</b>.
+ And child content encoded as body part of the page.
+ </p>
+ <p>
+ Also main important feature - <b>Themes support</b> implemented on top of this component.
+ </p>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/gridtop.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/gridtop.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/gridtop.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,16 +1,16 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j">
- <p style="font-style: italic">
- Layout of this demo page built on top of  <h:outputLink target="blank" value="http://developer.yahoo.com/yui/layout/" style="color:#0078d0">Yahoo layouts</h:outputLink>.
- The page layout including settings side bar, header and footer are
- produced by <b>rich:page</b> component and nesting
- grid in body created with <b>Layout/LayoutPanel</b> components pair.
- </p>
- <p style="font-style: italic">
- Complete info about the layouts design could be found at  <h:outputLink target="blank" value="http://www.jboss.org/community/docs/DOC-13336" style="color:#0078d0">RichFaces Layouts design wiki page</h:outputLink>.
- </p>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j">
+ <p style="font-style: italic">
+ Layout of this demo page built on top of  <h:outputLink target="blank" value="http://developer.yahoo.com/yui/layout/" style="color:#0078d0">Yahoo layouts</h:outputLink>.
+ The page layout including settings side bar, header and footer are
+ produced by <b>rich:page</b> component and nesting
+ grid in body created with <b>Layout/LayoutPanel</b> components pair.
+ </p>
+ <p style="font-style: italic">
+ Complete info about the layouts design could be found at  <h:outputLink target="blank" value="http://www.jboss.org/community/docs/DOC-13336" style="color:#0078d0">RichFaces Layouts design wiki page</h:outputLink>.
+ </p>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/sidebar.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/sidebar.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/includes/sidebar.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,39 +1,39 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j">
- <h:form>
- <h:panelGrid columns="2">
- <f:facet name="header">
- <h:outputText value="Page Attributes"/>
- </f:facet>
- <h:outputLabel for="theme" value="Page Theme" />
- <h:selectOneMenu id="theme" style="width:100px"
- value="#{layoutBean.theme}">
- <f:selectItem itemValue="" itemLabel="Default" />
- <f:selectItem itemValue="simple" itemLabel="Simple" />
- <f:selectItem itemValue="violetRays" itemLabel="Violet Rays" />
- <f:selectItem itemValue="oldschool" itemLabel="Old School" />
- <f:selectItem itemValue="smooth" itemLabel="Smooth" />
- </h:selectOneMenu>
- <h:outputLabel for="width" value="Page Width" />
- <h:inputText id="width" value="#{layoutBean.width}" style="width:100px"/>
- <h:outputLabel for="sidebarwidth" value="Sidebar Width" />
- <h:inputText id="sidebarwidth" value="#{layoutBean.sidebarWidth}" style="width:100px"/>
- <h:outputLabel for="position" value="Side bar position" />
- <h:selectOneMenu value="#{layoutBean.position}" id="position" style="width:100px">
- <f:selectItem itemValue="left" />
- <f:selectItem itemValue="right" />
- </h:selectOneMenu>
- <h:outputLabel for="skin" value="Current skin" />
- <h:selectOneMenu value="#{skinBean.skin}" id="skin" style="width:100px">
- <f:selectItem itemValue="blueSky" itemLabel="blueSky" />
- <f:selectItem itemValue="ruby" itemLabel="ruby" />
- <f:selectItem itemValue="emeraldTown" itemLabel="emeraldTown" />
- </h:selectOneMenu>
- <h:commandButton value="Change"></h:commandButton>
- </h:panelGrid>
- </h:form>
-</ui:composition>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j">
+ <h:form>
+ <h:panelGrid columns="2">
+ <f:facet name="header">
+ <h:outputText value="Page Attributes"/>
+ </f:facet>
+ <h:outputLabel for="theme" value="Page Theme" />
+ <h:selectOneMenu id="theme" style="width:100px"
+ value="#{layoutBean.theme}">
+ <f:selectItem itemValue="" itemLabel="Default" />
+ <f:selectItem itemValue="simple" itemLabel="Simple" />
+ <f:selectItem itemValue="violetRays" itemLabel="Violet Rays" />
+ <f:selectItem itemValue="oldschool" itemLabel="Old School" />
+ <f:selectItem itemValue="smooth" itemLabel="Smooth" />
+ </h:selectOneMenu>
+ <h:outputLabel for="width" value="Page Width" />
+ <h:inputText id="width" value="#{layoutBean.width}" style="width:100px"/>
+ <h:outputLabel for="sidebarwidth" value="Sidebar Width" />
+ <h:inputText id="sidebarwidth" value="#{layoutBean.sidebarWidth}" style="width:100px"/>
+ <h:outputLabel for="position" value="Side bar position" />
+ <h:selectOneMenu value="#{layoutBean.position}" id="position" style="width:100px">
+ <f:selectItem itemValue="left" />
+ <f:selectItem itemValue="right" />
+ </h:selectOneMenu>
+ <h:outputLabel for="skin" value="Current skin" />
+ <h:selectOneMenu value="#{skinBean.skin}" id="skin" style="width:100px">
+ <f:selectItem itemValue="blueSky" itemLabel="blueSky" />
+ <f:selectItem itemValue="ruby" itemLabel="ruby" />
+ <f:selectItem itemValue="emeraldTown" itemLabel="emeraldTown" />
+ </h:selectOneMenu>
+ <h:commandButton value="Change"></h:commandButton>
+ </h:panelGrid>
+ </h:form>
+</ui:composition>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/template.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/template.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts/page/template.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,54 +1,54 @@
-<rich:page xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j" markupType="xhtml"
- contentType="text/html" theme="#{layoutBean.theme}"
- width="#{layoutBean.width}" sidebarWidth="#{layoutBean.sidebarWidth}"
- sidebarPosition="#{layoutBean.position}">
- <f:facet name="sidebar">
- <ui:include src="/richfaces/layouts/page/includes/sidebar.xhtml" />
- </f:facet>
- <f:facet name="header">
- <h:panelGroup>
- <table width="100%"><tbody><tr>
- <td><h2>RichFaces Layouts</h2></td>
- <td align="right">
- <h:outputLink value="http://labs.jboss.com/portal/jbossrichfaces/downloads">Download</h:outputLink> 
- <h:outputLink value="http://jboss.com/index.html?module=bb&op=viewforum&f=261">Support</h:outputLink> 
- <h:outputLink value="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone...">Developer Guide</h:outputLink>
- </td>
- </tr></tbody></table>
- </h:panelGroup>
- </f:facet>
- <f:facet name="footer">
- <h:outputText
- value="Copyright (c) 2009 RichFaces. All rights reserved. RichFaces version #{environment.version}" />
- </f:facet>
- <rich:tabPanel switchType="client">
- <rich:tab label="overview">
- <rich:layout>
- <rich:layoutPanel position="top" width="100%">
- <ui:include src="/richfaces/layouts/page/includes/gridtop.xhtml" />
- </rich:layoutPanel>
- <rich:layoutPanel position="left" width="50%">
- <ui:include src="/richfaces/layouts/page/includes/gridleft.xhtml" />
- </rich:layoutPanel>
- <rich:layoutPanel position="center" width="50%">
- <ui:include src="/richfaces/layouts/page/includes/gridcenter.xhtml" />
- </rich:layoutPanel>
- <rich:layoutPanel position="bottom">
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/layouts/page/template.xhtml"/>
- <ui:param name="openlabel" value="View this page template source code"/>
- </ui:include>
- <br/>
- </rich:layoutPanel>
- </rich:layout>
- </rich:tab>
- <rich:tab label="Themes support">
- <ui:include src="/richfaces/layouts/page/includes/themes.xhtml" />
- </rich:tab>
- </rich:tabPanel>
-</rich:page>
+<rich:page xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j" markupType="xhtml"
+ contentType="text/html" theme="#{layoutBean.theme}"
+ width="#{layoutBean.width}" sidebarWidth="#{layoutBean.sidebarWidth}"
+ sidebarPosition="#{layoutBean.position}">
+ <f:facet name="sidebar">
+ <ui:include src="/richfaces/layouts/page/includes/sidebar.xhtml" />
+ </f:facet>
+ <f:facet name="header">
+ <h:panelGroup>
+ <table width="100%"><tbody><tr>
+ <td><h2>RichFaces Layouts</h2></td>
+ <td align="right">
+ <h:outputLink value="http://labs.jboss.com/portal/jbossrichfaces/downloads">Download</h:outputLink> 
+ <h:outputLink value="http://jboss.com/index.html?module=bb&op=viewforum&f=261">Support</h:outputLink> 
+ <h:outputLink value="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone...">Developer Guide</h:outputLink>
+ </td>
+ </tr></tbody></table>
+ </h:panelGroup>
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText
+ value="Copyright (c) 2009 RichFaces. All rights reserved. RichFaces version #{environment.version}" />
+ </f:facet>
+ <rich:tabPanel switchType="client">
+ <rich:tab label="overview">
+ <rich:layout>
+ <rich:layoutPanel position="top" width="100%">
+ <ui:include src="/richfaces/layouts/page/includes/gridtop.xhtml" />
+ </rich:layoutPanel>
+ <rich:layoutPanel position="left" width="50%">
+ <ui:include src="/richfaces/layouts/page/includes/gridleft.xhtml" />
+ </rich:layoutPanel>
+ <rich:layoutPanel position="center" width="50%">
+ <ui:include src="/richfaces/layouts/page/includes/gridcenter.xhtml" />
+ </rich:layoutPanel>
+ <rich:layoutPanel position="bottom">
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/layouts/page/template.xhtml"/>
+ <ui:param name="openlabel" value="View this page template source code"/>
+ </ui:include>
+ <br/>
+ </rich:layoutPanel>
+ </rich:layout>
+ </rich:tab>
+ <rich:tab label="Themes support">
+ <ui:include src="/richfaces/layouts/page/includes/themes.xhtml" />
+ </rich:tab>
+ </rich:tabPanel>
+</rich:page>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/layouts.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Layouts</ui:define>
- <ui:define name="body">
- <ui:include src="/richfaces/layouts/usage.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Layouts</ui:define>
+ <ui:define name="body">
+ <ui:include src="/richfaces/layouts/usage.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/listShuttle/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/listShuttle/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/listShuttle/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,20 +1,20 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
- <p>
- <b>listShuttle</b> component allows to select items using two lists with move controls and reorder items in result list.
- </p>
- <p>
- List Shuttle could contain several columns in list representation. And it
- also has strong keyboard support out of the box.
- </p>
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <p>
+ <b>listShuttle</b> component allows to select items using two lists with move controls and reorder items in result list.
+ </p>
+ <p>
+ List Shuttle could contain several columns in list representation. And it
+ also has strong keyboard support out of the box.
+ </p>
+
<fieldset class="demo_fieldset">
<legend class="demo_legend">ListShuttle example</legend>
<div class="sample-container">
@@ -24,26 +24,26 @@
After you move some items between lists or reorder them in "Currently Active" list - you'll
see the changes on the toolbar
</p>
- <br/><br/>
- <ui:include src="/richfaces/listShuttle/examples/toolBarCustomization.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/listShuttle/examples/toolBarCustomization.xhtml"/>
- </ui:include>
- </div>
- </fieldset>
- <p>
- Content definition for this component - analogous to any Iteration component.
- So, all you need is define collection in List Shuttle <b>sourceValue</b> attribute
- and iterate the collection in nested columns through <b>var</b> attribute.
- </p>
- <p>
- Result items will be stored under the collection defined in <b>targetValue</b> attribute.
- </p>
- <p>
- In order to set initially selected rows or to process submitted selection -
- use <b>sourceSelection</b> and <b>targetSelection</b> attributes.
- </p>
- </ui:define>
-
- </ui:composition>
-</html>
+ <br/><br/>
+ <ui:include src="/richfaces/listShuttle/examples/toolBarCustomization.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/listShuttle/examples/toolBarCustomization.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
+ <p>
+ Content definition for this component - analogous to any Iteration component.
+ So, all you need is define collection in List Shuttle <b>sourceValue</b> attribute
+ and iterate the collection in nested columns through <b>var</b> attribute.
+ </p>
+ <p>
+ Result items will be stored under the collection defined in <b>targetValue</b> attribute.
+ </p>
+ <p>
+ In order to set initially selected rows or to process submitted selection -
+ use <b>sourceSelection</b> and <b>targetSelection</b> attributes.
+ </p>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/listShuttle.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/listShuttle.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/listShuttle.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - List Shuttle Component</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - List Shuttle Component</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,33 +1,33 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
- <p>
- Log component allows you to inspect client side activities
- during an Ajax request. It shows reuqest data, response data, DOM
- tree changes on update and other useful debug information.
- </p>
- <p>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <p>
+ Log component allows you to inspect client side activities
+ during an Ajax request. It shows reuqest data, response data, DOM
+ tree changes on update and other useful debug information.
+ </p>
+ <p>
Debug info can be rendered on the main page or as a separate popup window.
- There you can explore debug info for Simple Repeater example:
- </p>
-
+ There you can explore debug info for Simple Repeater example:
+ </p>
+
<fieldset class="demo_fieldset">
- <legend class="demo_legend">Log demo</legend>
- <div class="sample-container">
- <ui:include src="/richfaces/log/examples/log.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/log/examples/log.xhtml"/>
- <ui:param name="openlabel" value="View Source" />
- </ui:include>
+ <legend class="demo_legend">Log demo</legend>
+ <div class="sample-container">
+ <ui:include src="/richfaces/log/examples/log.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/log/examples/log.xhtml"/>
+ <ui:param name="openlabel" value="View Source" />
+ </ui:include>
</div>
- </fieldset>
- </ui:define>
-
- </ui:composition>
-</html>
+ </fieldset>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/log.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/log.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/log.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Log component</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Log component</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/messages/examples/form.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/messages/examples/form.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/messages/examples/form.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,23 +1,23 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-
- <style type="text/css">
- .rich-messages-marker img {padding-right:7px;}
- .rich-message-label {color:red;}
- .top {vertical-align:top;}
- </style>
-
-
- <rich:panel style="width:400px">
- <f:facet name="header">
- <h:outputText value="Validation Form"/>
- </f:facet>
-
- <h:form>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+ <style type="text/css">
+ .rich-messages-marker img {padding-right:7px;}
+ .rich-message-label {color:red;}
+ .top {vertical-align:top;}
+ </style>
+
+
+ <rich:panel style="width:400px">
+ <f:facet name="header">
+ <h:outputText value="Validation Form"/>
+ </f:facet>
+
+ <h:form>
<rich:messages passedLabel="Data is allowed to be stored." layout="list">
<f:facet name="header">
<h:outputText value="Entered Data Status:"></h:outputText>
@@ -29,28 +29,28 @@
<h:graphicImage value="/images/ajax/error.gif" />
</f:facet>
</rich:messages>
-
- <h:panelGrid columns="2">
- <h:outputText value="Name:" />
- <h:inputText label="Name" id="name" required="true" value="#{userBean.name}">
- <f:validateLength minimum="3" />
- </h:inputText>
- <h:outputText value="Job:" />
- <h:inputText label="Job" id="job" required="true" value="#{userBean.job}">
- <f:validateLength minimum="3" maximum="50" />
- </h:inputText>
- <h:outputText value="Address:" />
- <h:inputText label="Address" id="address" required="true" value="#{userBean.address}">
- <f:validateLength minimum="10" />
- </h:inputText>
- <h:outputText value="Zip:" />
- <h:inputText label="Zip" id="zip" required="true" value="#{userBean.zip}">
- <f:validateLength minimum="4" maximum="9" />
- </h:inputText>
- <f:facet name="footer">
- <a4j:commandButton value="Validate" />
- </f:facet>
- </h:panelGrid>
- </h:form>
- </rich:panel>
+
+ <h:panelGrid columns="2">
+ <h:outputText value="Name:" />
+ <h:inputText label="Name" id="name" required="true" value="#{userBean.name}">
+ <f:validateLength minimum="3" />
+ </h:inputText>
+ <h:outputText value="Job:" />
+ <h:inputText label="Job" id="job" required="true" value="#{userBean.job}">
+ <f:validateLength minimum="3" maximum="50" />
+ </h:inputText>
+ <h:outputText value="Address:" />
+ <h:inputText label="Address" id="address" required="true" value="#{userBean.address}">
+ <f:validateLength minimum="10" />
+ </h:inputText>
+ <h:outputText value="Zip:" />
+ <h:inputText label="Zip" id="zip" required="true" value="#{userBean.zip}">
+ <f:validateLength minimum="4" maximum="9" />
+ </h:inputText>
+ <f:facet name="footer">
+ <a4j:commandButton value="Validate" />
+ </f:facet>
+ </h:panelGrid>
+ </h:form>
+ </rich:panel>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/messages/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/messages/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/messages/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,39 +1,39 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
-
-
- <p>rich:messages is an extension for a standard h:messages component. In addition to what the
- standard component provides, rich:messages:
- <ul>
- <li>does not require to be wrapped with a4j:outputPanel in order to be rendered during the
- Ajax requests</li>
- <li>allows to have one "passed" or a few "failed" markers before the text labels</li>
- <li>has a predefined css class names for different kinds of messages severities</li>
- </ul>
- </p>
- <p>The message markers is defined with facets. There are several facets names available
- to design the marker for different kind of messages severities. The following example
- shows how the markers might be used to mark the "passed" and "failed" form fields.
- Fill the form and click the "Validate" button to see the entered data passing the
- defined validation rules.
- </p>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+
+ <p>rich:messages is an extension for a standard h:messages component. In addition to what the
+ standard component provides, rich:messages:
+ <ul>
+ <li>does not require to be wrapped with a4j:outputPanel in order to be rendered during the
+ Ajax requests</li>
+ <li>allows to have one "passed" or a few "failed" markers before the text labels</li>
+ <li>has a predefined css class names for different kinds of messages severities</li>
+ </ul>
+ </p>
+ <p>The message markers is defined with facets. There are several facets names available
+ to design the marker for different kind of messages severities. The following example
+ shows how the markers might be used to mark the "passed" and "failed" form fields.
+ Fill the form and click the "Validate" button to see the entered data passing the
+ defined validation rules.
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Form validation using rich:messages example</legend>
- <div class="sample-container" >
- <ui:include src="/richfaces/messages/examples/form.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/messages/examples/form.xhtml"/>
- </ui:include>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/messages/examples/form.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/messages/examples/form.xhtml"/>
+ </ui:include>
</div>
- </fieldset>
- </ui:define>
-
- </ui:composition>
-</html>
+ </fieldset>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/messages.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/messages.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/messages.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Rich Messages</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Rich Messages</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
</html>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/playlist.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/playlist.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/example/playlist.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,12 +1,12 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <style>
- .cent{
- text-align:center;
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <style>
+ .cent{
+ text-align:center;
}
.top{
vertical-align:top;
@@ -18,22 +18,22 @@
width:200px;
}
</style>
- <h:form>
+ <h:form>
<h:panelGrid columns="2" columnClasses="top 70per, top 30per" width="100%">
- <rich:orderingList value="#{library.songsList}" var="lib" listHeight="300" listWidth="350" converter="orderingListConverter" selection="#{library.selectedSongsSet}">
- <rich:column width="180">
- <f:facet name="header">
- <h:outputText value="Song Name" />
- </f:facet>
- <h:outputText value="#{lib.title}"></h:outputText>
- </rich:column>
- <rich:column>
- <f:facet name="header">
- <h:outputText value="Artist Name" />
- </f:facet>
+ <rich:orderingList value="#{library.songsList}" var="lib" listHeight="300" listWidth="350" converter="orderingListConverter" selection="#{library.selectedSongsSet}">
+ <rich:column width="180">
+ <f:facet name="header">
+ <h:outputText value="Song Name" />
+ </f:facet>
+ <h:outputText value="#{lib.title}"></h:outputText>
+ </rich:column>
+ <rich:column>
+ <f:facet name="header">
+ <h:outputText value="Artist Name" />
+ </f:facet>
<h:outputText value="#{lib.album.artist.name}"></h:outputText><br/>
</rich:column>
- <a4j:support event="onclick" ignoreDupResponses="true" requestDelay="500" action="#{library.takeSelection}" reRender="output"/>
+ <a4j:support event="onclick" ignoreDupResponses="true" requestDelay="500" action="#{library.takeSelection}" reRender="output"/>
<a4j:support event="onkeyup" ignoreDupResponses="true" requestDelay="500" action="#{library.takeSelection}" reRender="output"/>
</rich:orderingList>
<rich:panel id="output" header="Current Selection" style="width:200px">
@@ -43,5 +43,5 @@
<h:outputText value="No Songs Selected" rendered="#{empty library.selectedSongsList}"/>
</rich:panel>
</h:panelGrid>
- </h:form>
+ </h:form>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/orderingList/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,47 +1,47 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
- <p>
- <b>orderingList</b> component allows to reorder items in a list.
- </p>
- <p>
- Ordering List could contain several columns in list representation. And it
- also has strong keyboard support out of the box.
- </p>
-
- <fieldset class="demo_fieldset">
- <legend class="demo_legend">OrderingList example</legend>
- <div class="sample-container">
- <p>Manage simple playlist represented via Ordering List:</p>
- <br/>
- <ui:include src="/richfaces/orderingList/example/playlist.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/orderingList/example/playlist.xhtml"/>
- </ui:include>
- <br/>
- </div>
- </fieldset>
- <p>
- In this example you may select some songs (using the mouse and Ctrl/Shift keys) and move them
- within the list using controls.
- </p>
-
- <p>
- Content definition for this component is similar to any Iteration component.
- Thus, all you need is to define collection in Ordering List <b>value</b> attribute
- and iterate the collection in nested columns with <b>var</b> attribute.
- </p>
- <p>
- In order to set initially selected rows or to process submitted selection,
- use <b>selection</b> attribute.
- </p>
- </ui:define>
-
- </ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <p>
+ <b>orderingList</b> component allows to reorder items in a list.
+ </p>
+ <p>
+ Ordering List could contain several columns in list representation. And it
+ also has strong keyboard support out of the box.
+ </p>
+
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">OrderingList example</legend>
+ <div class="sample-container">
+ <p>Manage simple playlist represented via Ordering List:</p>
+ <br/>
+ <ui:include src="/richfaces/orderingList/example/playlist.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/orderingList/example/playlist.xhtml"/>
+ </ui:include>
+ <br/>
+ </div>
+ </fieldset>
+ <p>
+ In this example you may select some songs (using the mouse and Ctrl/Shift keys) and move them
+ within the list using controls.
+ </p>
+
+ <p>
+ Content definition for this component is similar to any Iteration component.
+ Thus, all you need is to define collection in Ordering List <b>value</b> attribute
+ and iterate the collection in nested columns with <b>var</b> attribute.
+ </p>
+ <p>
+ In order to set initially selected rows or to process submitted selection,
+ use <b>selection</b> attribute.
+ </p>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/orderingList.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/orderingList.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/orderingList.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Ordering List Component</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Ordering List Component</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page/snippets/gen.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page/snippets/gen.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page/snippets/gen.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,8 +1,8 @@
-<html>
- <head>
- <!--...Head Content here-->
- </head>
- <body>
- <!--...Page Content Here-->
- </body>
+<html>
+ <head>
+ <!--...Head Content here-->
+ </head>
+ <body>
+ <!--...Page Content Here-->
+ </body>
</html>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page/snippets/page.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page/snippets/page.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page/snippets/page.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,8 +1,8 @@
-<f:view>
- <a4j:page>
- <f:facet name="head">
- <!--...Head Content here-->
- </f:facet>
- <!--...Page Content here-->
- </a4j:page>
+<f:view>
+ <a4j:page>
+ <f:facet name="head">
+ <!--...Head Content here-->
+ </f:facet>
+ <!--...Page Content here-->
+ </a4j:page>
</f:view>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
- <style type="text/css">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <style type="text/css">
.viewsourcepanel {
padding: 10px;
width: 100%;
@@ -18,39 +18,39 @@
.viewsourcebody {
padding: 0;
}
-
- input[type="button"], input[type="submit"] {
- background-color:#{a4jSkin.trimColor};
- }
- </style>
- <p>
- <b><a4j:page></b> is a deprecated component used for solving of incompatibility
- problems in early Ajax4jsf and MyFaces versions.
- </p>
- <p>
- The component could be used to encode the
- full html page structure. Header facet provided to insert html header content
- to the page markup.
- </p>
- <p>
- This component should be defined as a child component for <f:view> For example:
+
+ input[type="button"], input[type="submit"] {
+ background-color:#{a4jSkin.trimColor};
+ }
+ </style>
+ <p>
+ <b><a4j:page></b> is a deprecated component used for solving of incompatibility
+ problems in early Ajax4jsf and MyFaces versions.
</p>
+ <p>
+ The component could be used to encode the
+ full html page structure. Header facet provided to insert html header content
+ to the page markup.
+ </p>
+ <p>
+ This component should be defined as a child component for <f:view> For example:
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">AjaxPage usage example</legend>
<div class="sample-container">
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
- <rich:insert src="/richfaces/page/snippets/page.xhtml" highlight="xhtml"></rich:insert>
- </rich:panel>
- <p>
- <b>Will be rendered as:</b>
- </p>
- <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
- <rich:insert src="/richfaces/page/snippets/gen.xhtml" highlight="xhtml"></rich:insert>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
+ <rich:insert src="/richfaces/page/snippets/page.xhtml" highlight="xhtml"></rich:insert>
</rich:panel>
+ <p>
+ <b>Will be rendered as:</b>
+ </p>
+ <rich:panel styleClass="viewsourcepanel" bodyClass="viewsourcebody rich-laguna-panel-no-header">
+ <rich:insert src="/richfaces/page/snippets/gen.xhtml" highlight="xhtml"></rich:insert>
+ </rich:panel>
</div>
- </fieldset>
- </ui:define>
-
- </ui:composition>
-</html>
+ </fieldset>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/page.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Page component</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Page component</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
</html>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/examples/example.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/examples/example.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/panelMenu/examples/example.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -6,71 +6,71 @@
xmlns:rich="http://richfaces.org/rich">
- <style>
- .cols{
+ <style>
+ .cols{
vertical-align:top;
- width:50%;
- }
+ width:50%;
+ }
</style>
<h:form id="form">
- <h:panelGrid columns="2" columnClasses="cols" width="100%">
+ <h:panelGrid columns="2" columnClasses="cols" width="100%">
<rich:panelMenu style="width:200px" mode="ajax"
iconExpandedGroup="disc" iconCollapsedGroup="disc"
iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
iconCollapsedTopGroup="chevronDown">
<rich:panelMenuGroup label="Group 1">
- <rich:panelMenuItem label="Item 1.1" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 1.1"/>
- </rich:panelMenuItem>
- <rich:panelMenuItem label="Item 1.2" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 1.2"/>
- </rich:panelMenuItem>
- <rich:panelMenuItem label="Item 1.3" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 1.3"/>
- </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 1.1" action="#{panelMenu.updateCurrent}">
+ <f:param name="current" value="Item 1.1"/>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 1.2" action="#{panelMenu.updateCurrent}">
+ <f:param name="current" value="Item 1.2"/>
+ </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 1.3" action="#{panelMenu.updateCurrent}">
+ <f:param name="current" value="Item 1.3"/>
+ </rich:panelMenuItem>
</rich:panelMenuGroup>
<rich:panelMenuGroup label="Group 2">
- <rich:panelMenuItem label="Item 2.1" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 2.1"/>
- </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2.1" action="#{panelMenu.updateCurrent}">
+ <f:param name="current" value="Item 2.1"/>
+ </rich:panelMenuItem>
<rich:panelMenuItem label="Item 2.2" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 2.2"/>
- </rich:panelMenuItem>
+ <f:param name="current" value="Item 2.2"/>
+ </rich:panelMenuItem>
<rich:panelMenuItem label="Item 2.3" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 2.3"/>
- </rich:panelMenuItem>
+ <f:param name="current" value="Item 2.3"/>
+ </rich:panelMenuItem>
<rich:panelMenuGroup label="Group 2.4">
- <rich:panelMenuItem label="Item 2.4.1" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 2.4.1"/>
- </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2.4.1" action="#{panelMenu.updateCurrent}">
+ <f:param name="current" value="Item 2.4.1"/>
+ </rich:panelMenuItem>
<rich:panelMenuItem label="Item 2.4.2" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 2.4.2"/>
- </rich:panelMenuItem>
+ <f:param name="current" value="Item 2.4.2"/>
+ </rich:panelMenuItem>
<rich:panelMenuItem label="Item 2.4.3" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 2.4.3"/>
- </rich:panelMenuItem>
+ <f:param name="current" value="Item 2.4.3"/>
+ </rich:panelMenuItem>
</rich:panelMenuGroup>
- <rich:panelMenuItem label="Item 2.5" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 2.5"/>
- </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 2.5" action="#{panelMenu.updateCurrent}">
+ <f:param name="current" value="Item 2.5"/>
+ </rich:panelMenuItem>
</rich:panelMenuGroup>
<rich:panelMenuGroup label="Group 3">
- <rich:panelMenuItem label="Item 3.1" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 3.1"/>
- </rich:panelMenuItem>
+ <rich:panelMenuItem label="Item 3.1" action="#{panelMenu.updateCurrent}">
+ <f:param name="current" value="Item 3.1"/>
+ </rich:panelMenuItem>
<rich:panelMenuItem label="Item 3.2" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 3.2"/>
- </rich:panelMenuItem>
+ <f:param name="current" value="Item 3.2"/>
+ </rich:panelMenuItem>
<rich:panelMenuItem label="Item 3.3" action="#{panelMenu.updateCurrent}">
- <f:param name="current" value="Item 3.3"/>
- </rich:panelMenuItem>
+ <f:param name="current" value="Item 3.3"/>
+ </rich:panelMenuItem>
</rich:panelMenuGroup>
</rich:panelMenu>
- <rich:panel bodyClass="rich-laguna-panel-no-header">
- <a4j:outputPanel ajaxRendered="true">
- <h:outputText value="#{panelMenu.current} selected" id="current"/>
- </a4j:outputPanel>
- </rich:panel>
- </h:panelGrid>
+ <rich:panel bodyClass="rich-laguna-panel-no-header">
+ <a4j:outputPanel ajaxRendered="true">
+ <h:outputText value="#{panelMenu.current} selected" id="current"/>
+ </a4j:outputPanel>
+ </rich:panel>
+ </h:panelGrid>
</h:form>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/items.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/items.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/pickList/examples/items.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,17 +4,17 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
- .top{
- vertical-align:top;
+ <style>
+ .top{
+ vertical-align:top;
}
.pbody{
padding:0px;
height:120px;
width:150px;
overflow:auto;
- }
- </style>
+ }
+ </style>
<h:form>
<h:panelGrid columns="2" columnClasses="top, top">
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/portlet/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/portlet/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/portlet/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,49 +1,49 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
- <p>
- The <a4j:portlet> should be used in a portal environment. The main
- component purpose is implementation of possibility to create several instances
- for the same portlet on one page.
- </p>
- <p>
- Portal page can include some instances of the same portlet but clientId of
- elements should be different for each window. In that case 'namespace' is used
- for each portlet. The <a4j:portlet> implemets NaimingContainer interface and
- adds a namespace to all components on a page. All portlet content should be
- wrapped by <a4j:portlet> for resolving the problems mentioned before.
- </p>
- <p>
- More info about portal environments support can be found on the users forums.
- </p>
- <p>
- Portlet Sample could be checked out from JBoss SVN:
- <a href="http://anonsvn.jboss.org/repos/ajax4jsf/trunk/samples/portal-echo/">
- portal-echo application
- </a>
- </p>
- <p>
- Usage instructions for this demo could be found at the corresponding:
- <a href="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107325">
- JBoss forum topic
- </a>
- </p>
- <ui:remove>
- <div class="sample-container">
- <ui:include src="/richfaces/push/examples/push.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/push/examples/push.xhtml"/>
- <ui:param name="openlabel" value="View Source" />
- </ui:include>
- </div>
- </ui:remove>
- </ui:define>
-
- </ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <p>
+ The <a4j:portlet> should be used in a portal environment. The main
+ component purpose is implementation of possibility to create several instances
+ for the same portlet on one page.
+ </p>
+ <p>
+ Portal page can include some instances of the same portlet but clientId of
+ elements should be different for each window. In that case 'namespace' is used
+ for each portlet. The <a4j:portlet> implemets NaimingContainer interface and
+ adds a namespace to all components on a page. All portlet content should be
+ wrapped by <a4j:portlet> for resolving the problems mentioned before.
+ </p>
+ <p>
+ More info about portal environments support can be found on the users forums.
+ </p>
+ <p>
+ Portlet Sample could be checked out from JBoss SVN:
+ <a href="http://anonsvn.jboss.org/repos/ajax4jsf/trunk/samples/portal-echo/">
+ portal-echo application
+ </a>
+ </p>
+ <p>
+ Usage instructions for this demo could be found at the corresponding:
+ <a href="http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107325">
+ JBoss forum topic
+ </a>
+ </p>
+ <ui:remove>
+ <div class="sample-container">
+ <ui:include src="/richfaces/push/examples/push.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/push/examples/push.xhtml"/>
+ <ui:param name="openlabel" value="View Source" />
+ </ui:include>
+ </div>
+ </ui:remove>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/portlet.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/portlet.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/portlet.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Portlet component</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Portlet component</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/examples/client.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/examples/client.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/examples/client.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,40 +1,40 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-
- <script>
-//<![CDATA[
- var counter = 1;
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+ <script>
+//<![CDATA[
+ var counter = 1;
var intervalID;
- function updateProgress(i) {
- $('form:progressBar').component.setValue(counter*5);
- if ((counter++)>20){
+ function updateProgress(i) {
+ $('form:progressBar').component.setValue(counter*5);
+ if ((counter++)>20){
clearInterval(intervalID);
document.getElementById('button').disabled=false;
- }
- }
-
- function startProgress(){
+ }
+ }
+
+ function startProgress(){
counter=1;
- document.getElementById('button').disabled=true;
- $('form:progressBar').component.enable();
- $('form:progressBar').component.setValue(1);
- intervalID = setInterval(updateProgress,5000);
- }
-//]]>
- </script>
- <h:form id="form">
- <rich:progressBar mode="client" id="progressBar">
- <f:facet name="initial">
- <h:outputText value="Process doesn't started yet"/>
- </f:facet>
- <f:facet name="complete">
- <h:outputText value="Process Done"/>
- </f:facet>
- </rich:progressBar>
- <button type="button" onclick="startProgress();" style="margin: 9px 0px 5px;" id="button">Start Progress</button>
- </h:form>
+ document.getElementById('button').disabled=true;
+ $('form:progressBar').component.enable();
+ $('form:progressBar').component.setValue(1);
+ intervalID = setInterval(updateProgress,5000);
+ }
+//]]>
+ </script>
+ <h:form id="form">
+ <rich:progressBar mode="client" id="progressBar">
+ <f:facet name="initial">
+ <h:outputText value="Process doesn't started yet"/>
+ </f:facet>
+ <f:facet name="complete">
+ <h:outputText value="Process Done"/>
+ </f:facet>
+ </rich:progressBar>
+ <button type="button" onclick="startProgress();" style="margin: 9px 0px 5px;" id="button">Start Progress</button>
+ </h:form>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/progressBar/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,76 +1,76 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
-
- <p><b>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+ <p><b>
rich:progressBar</b> is a component which could be used to display progress of
- any client or server side process.
+ any client or server side process.
</p>
<p>
In order to display progress of some server side process(<b>mode="ajax"</b>) component
uses polling method. It just polls server to get the <b>value </b>which should be
updated by server side process.
- </p>
- <p>Next simple example shows you progress bar which polls server every two second to get new progress value</p>
+ </p>
+ <p>Next simple example shows you progress bar which polls server every two second to get new progress value</p>
<fieldset class="demo_fieldset">
- <legend class="demo_legend">Server Side</legend>
- <div class="sample-container" >
- <ui:include src="/richfaces/progressBar/examples/polling.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/progressBar/examples/polling.xhtml"/>
- </ui:include>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/WEB-INF/src/org/richfaces/demo/progressBar/ProgressBarBean.java"/>
- <ui:param name="openlabel" value="View Java Bean Source" />
- <ui:param name="sourcetype" value="java" />
- </ui:include>
+ <legend class="demo_legend">Server Side</legend>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/progressBar/examples/polling.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/progressBar/examples/polling.xhtml"/>
+ </ui:include>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/WEB-INF/src/org/richfaces/demo/progressBar/ProgressBarBean.java"/>
+ <ui:param name="openlabel" value="View Java Bean Source" />
+ <ui:param name="sourcetype" value="java" />
+ </ui:include>
</div>
</fieldset>
<p>
In order to customize progressBar next main attributes used:
</p>
- <ul>
- <li><b>minValue, maxValue</b> - defines boundary values for progress bar</li>
+ <ul>
+ <li><b>minValue, maxValue</b> - defines boundary values for progress bar</li>
<li><b>value</b> - value binding to property which kept process progress</li>
- <li><b>enabled</b> - boolean attribute. If false progress stops polling</li>
- </ul>
+ <li><b>enabled</b> - boolean attribute. If false progress stops polling</li>
+ </ul>
<p>
Also next two facets could be defined for states customization:
</p>
- <ul>
- <li><b>initial</b> rendered before progress started</li>
- <li><b>complete</b> rendered after process complete</li>
- </ul>
+ <ul>
+ <li><b>initial</b> rendered before progress started</li>
+ <li><b>complete</b> rendered after process complete</li>
+ </ul>
<p>
Next example shows client side progress bar. Progress Bar JS API should be
used to update progress value from client side process.
- </p>
+ </p>
<fieldset class="demo_fieldset">
<legend class="demo_legend">Client Side</legend>
- <div class="sample-container" >
- <ui:include src="/richfaces/progressBar/examples/client.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/progressBar/examples/client.xhtml"/>
- </ui:include>
- </div>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/progressBar/examples/client.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/progressBar/examples/client.xhtml"/>
+ </ui:include>
+ </div>
</fieldset>
<p>
Next JS API functions should be used to update progress:
</p>
- <ul>
- <li><b>enable()</b> </li>
+ <ul>
+ <li><b>enable()</b> </li>
<li><b>disable()</b> </li>
<li><b>setValue(newValue)</b> </li>
- <li><b>setLabel(newLabel)</b> </li>
- </ul>
-
- </ui:define>
-
- </ui:composition>
-</html>
+ <li><b>setLabel(newLabel)</b> </li>
+ </ul>
+
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/progressBar.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/progressBar.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/progressBar.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Progress Bar component</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Progress Bar component</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/push.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/push.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/push.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Ajax Push</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Ajax Push</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/queue/examples/queue.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/queue/examples/queue.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/queue/examples/queue.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -10,7 +10,7 @@
<style>
.inner td{
border:none;
- }
+ }
</style>
<h:form id="form1" prependId="false">
<a4j:queue requestDelay="1000" ignoreDupResponce="true"/>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/repeat/examples/repeater.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/repeat/examples/repeater.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/repeat/examples/repeater.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,57 +1,57 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-
-
- <h:form>
- <a4j:outputPanel id="table">
- <table border="1" class="dr-table rich-table">
- <thead class="dr-table-thead">
- <tr class="dr-table-header rich-table-header">
- <th class="dr-table-headercell rich-table-headercell"><h:outputText value="Product Code" /></th>
- <th class="dr-table-headercell rich-table-headercell"><h:outputText value="Proposed Price" /></th>
- <th class="dr-table-headercell rich-table-headercell"><h:outputText value="Sales Cost" /></th>
- <th class="dr-table-headercell rich-table-headercell" style="width: 150px"><h:outputText value="Reason" /></th>
- <th class="dr-table-headercell rich-table-headercell"><h:outputText value="Proposed Gross Margin" /></th>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+
+ <h:form>
+ <a4j:outputPanel id="table">
+ <table border="1" class="dr-table rich-table">
+ <thead class="dr-table-thead">
+ <tr class="dr-table-header rich-table-header">
+ <th class="dr-table-headercell rich-table-headercell"><h:outputText value="Product Code" /></th>
+ <th class="dr-table-headercell rich-table-headercell"><h:outputText value="Proposed Price" /></th>
+ <th class="dr-table-headercell rich-table-headercell"><h:outputText value="Sales Cost" /></th>
+ <th class="dr-table-headercell rich-table-headercell" style="width: 150px"><h:outputText value="Reason" /></th>
+ <th class="dr-table-headercell rich-table-headercell"><h:outputText value="Proposed Gross Margin" /></th>
</tr>
</thead>
- <tbody>
- <a4j:repeat value="#{salesReport.items}" var="item" binding="#{updateBean.repeater}">
- <tr>
- <td align="center" class="dr-subtable-cell rich-subtable-cell">
- <h:outputText value="#{item.productCode}" />
- </td>
- <td class="dr-subtable-cell rich-subtable-cell">
- <h:inputText binding="#{updateBean.priceRef}"
- immediate="false" value="#{item.proposedPrice}" size="7">
- <a4j:support immediate="true" action="#{updateBean.change}"
- event="onchange" reRender="reason,margin" />
- </h:inputText>
- </td>
- <td class="dr-subtable-cell rich-subtable-cell">
- <h:outputText value="#{item.salesCost}" />
- </td>
- <td class="dr-subtable-cell rich-subtable-cell">
- <h:selectOneMenu id="reason" required="true"
- value="#{item.reason}">
- <f:selectItems value="#{item.reasons}" />
- </h:selectOneMenu>
- </td>
- <td class="dr-subtable-cell rich-subtable-cell">
- <h:outputText id="margin"
- value="#{item.proposedGrossMargin}">
- <f:convertNumber pattern="$###0.000" />
- </h:outputText>
- </td>
- </tr>
- </a4j:repeat>
- </tbody>
- </table>
- </a4j:outputPanel>
- <rich:messages />
- </h:form>
-
+ <tbody>
+ <a4j:repeat value="#{salesReport.items}" var="item" binding="#{updateBean.repeater}">
+ <tr>
+ <td align="center" class="dr-subtable-cell rich-subtable-cell">
+ <h:outputText value="#{item.productCode}" />
+ </td>
+ <td class="dr-subtable-cell rich-subtable-cell">
+ <h:inputText binding="#{updateBean.priceRef}"
+ immediate="false" value="#{item.proposedPrice}" size="7">
+ <a4j:support immediate="true" action="#{updateBean.change}"
+ event="onchange" reRender="reason,margin" />
+ </h:inputText>
+ </td>
+ <td class="dr-subtable-cell rich-subtable-cell">
+ <h:outputText value="#{item.salesCost}" />
+ </td>
+ <td class="dr-subtable-cell rich-subtable-cell">
+ <h:selectOneMenu id="reason" required="true"
+ value="#{item.reason}">
+ <f:selectItems value="#{item.reasons}" />
+ </h:selectOneMenu>
+ </td>
+ <td class="dr-subtable-cell rich-subtable-cell">
+ <h:outputText id="margin"
+ value="#{item.proposedGrossMargin}">
+ <f:convertNumber pattern="$###0.000" />
+ </h:outputText>
+ </td>
+ </tr>
+ </a4j:repeat>
+ </tbody>
+ </table>
+ </a4j:outputPanel>
+ <rich:messages />
+ </h:form>
+
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/repeat/usage.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/repeat/usage.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/repeat/usage.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,40 +1,40 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
-
-
-
- <p>
- The <a4j:repeat> component implements a basic iteration component.
- Additionally to facelets <ui:repeat> component it allows to update
- a set of its children instead of the whole using AJAX requests.
- <br />
- The following example shows the repeat component in use.
- Here you could explore how to make updatable only two particular
- cells of a table using Ajax Keys.
- </p>
-
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+
+
+ <p>
+ The <a4j:repeat> component implements a basic iteration component.
+ Additionally to facelets <ui:repeat> component it allows to update
+ a set of its children instead of the whole using AJAX requests.
+ <br />
+ The following example shows the repeat component in use.
+ Here you could explore how to make updatable only two particular
+ cells of a table using Ajax Keys.
+ </p>
+
<fieldset class="demo_fieldset">
<legend class="demo_legend">Repeat example</legend>
- <div class="sample-container" >
- <ui:include src="/richfaces/repeat/examples/repeater.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/repeat/examples/repeater.xhtml"/>
- </ui:include>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/repeat/examples/UpdateBean.java"/>
- <ui:param name="openlabel" value="View UpdateBean.java Source" />
- <ui:param name="sourcetype" value="java" />
- </ui:include>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/repeat/examples/repeater.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/repeat/examples/repeater.xhtml"/>
+ </ui:include>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/repeat/examples/UpdateBean.java"/>
+ <ui:param name="openlabel" value="View UpdateBean.java Source" />
+ <ui:param name="sourcetype" value="java" />
+ </ui:include>
</div>
- </fieldset>
- </ui:define>
-
- </ui:composition>
-</html>
+ </fieldset>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/repeat.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/repeat.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/repeat.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,13 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components - Repeat</ui:define>
- <ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components - Repeat</ui:define>
+ <ui:define name="body">
+ <ui:include src="/templates/include/tab-panel.xhtml" />
+ </ui:define>
+</ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/scrollableDataTable/examples/scrollableDataTable.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -5,7 +5,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
- <style>
+ <style>
.scrolls{
width:300px;
height:200px;
@@ -18,7 +18,7 @@
width="700px" id="carList" rows="40" columnClasses="col"
value="#{dataTableScrollerBean.allCars}" var="category" sortMode="single"
binding="#{dataTableScrollerBean.table}"
- sortOrder="#{dataTableScrollerBean.order}"
+ sortOrder="#{dataTableScrollerBean.order}"
selection="#{dataTableScrollerBean.selection}">
<rich:column id="make">
@@ -45,42 +45,42 @@
<f:facet name="header"><h:outputText styleClass="headerText" value="Stock" /></f:facet>
<h:outputText value="#{category.stock}" />
</rich:column>
- </rich:scrollableDataTable>
- <rich:spacer height="20px"/>
- <a4j:commandButton value="Show Current Selection" reRender="table"
- action="#{dataTableScrollerBean.takeSelection}"
- oncomplete="javascript:Richfaces.showModalPanel('panel');"/>
+ </rich:scrollableDataTable>
+ <rich:spacer height="20px"/>
+ <a4j:commandButton value="Show Current Selection" reRender="table"
+ action="#{dataTableScrollerBean.takeSelection}"
+ oncomplete="javascript:Richfaces.showModalPanel('panel');"/>
</h:form>
- <rich:modalPanel id="panel" autosized="false" keepVisualState="false" width="315" height="230">
- <f:facet name="header">
- <h:outputText value="Selected Rows"/>
- </f:facet>
- <f:facet name="controls">
- <span style="cursor:pointer" onclick="javascript:Richfaces.hideModalPanel('panel')">X</span>
- </f:facet>
+ <rich:modalPanel id="panel" autosized="false" keepVisualState="false" width="315" height="230">
+ <f:facet name="header">
+ <h:outputText value="Selected Rows"/>
+ </f:facet>
+ <f:facet name="controls">
+ <span style="cursor:pointer" onclick="javascript:Richfaces.hideModalPanel('panel')">X</span>
+ </f:facet>
<h:panelGroup layout="block" styleClass="scrolls">
- <rich:dataTable value="#{dataTableScrollerBean.selectedCars}" var="sel" id="table">
- <rich:column>
- <f:facet name="header"><h:outputText value="Make" /></f:facet>
- <h:outputText value="#{sel.make}" />
- </rich:column>
- <rich:column id="model">
- <f:facet name="header"><h:outputText value="Model" /></f:facet>
- <h:outputText value="#{sel.model}" />
- </rich:column>
- <rich:column id="price">
- <f:facet name="header"><h:outputText value="Price" /></f:facet>
- <h:outputText value="#{sel.price}" />
- </rich:column>
- <rich:column id="mileage">
- <f:facet name="header"><h:outputText value="Mileage" /></f:facet>
- <h:outputText value="#{sel.mileage}" />
- </rich:column>
- <rich:column id="stock">
- <f:facet name="header"><h:outputText value="Stock" /></f:facet>
- <h:outputText value="#{sel.stock}" />
- </rich:column>
+ <rich:dataTable value="#{dataTableScrollerBean.selectedCars}" var="sel" id="table">
+ <rich:column>
+ <f:facet name="header"><h:outputText value="Make" /></f:facet>
+ <h:outputText value="#{sel.make}" />
+ </rich:column>
+ <rich:column id="model">
+ <f:facet name="header"><h:outputText value="Model" /></f:facet>
+ <h:outputText value="#{sel.model}" />
+ </rich:column>
+ <rich:column id="price">
+ <f:facet name="header"><h:outputText value="Price" /></f:facet>
+ <h:outputText value="#{sel.price}" />
+ </rich:column>
+ <rich:column id="mileage">
+ <f:facet name="header"><h:outputText value="Mileage" /></f:facet>
+ <h:outputText value="#{sel.mileage}" />
+ </rich:column>
+ <rich:column id="stock">
+ <f:facet name="header"><h:outputText value="Stock" /></f:facet>
+ <h:outputText value="#{sel.stock}" />
+ </rich:column>
</rich:dataTable>
- </h:panelGroup>
+ </h:panelGroup>
</rich:modalPanel>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/simpleSingleSorting.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/simpleSingleSorting.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/sortingFeature/examples/simpleSingleSorting.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -7,7 +7,7 @@
<style>
.center{
text-align:center;
- }
+ }
</style>
<h:form>
<rich:dataTable value="#{capitalsBean.capitals}" var="cap" width="300px" columnClasses="center"
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/spacer/examples/spacers.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,8 +4,8 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-
- <style>
+
+ <style>
.div_near_spacer {
border-top-width: 0px;
border-left-width: 0px;
@@ -14,8 +14,8 @@
height: 2px;
background-color: #{a4jSkin.panelBorderColor};
border-right-width: 0px
- }
- </style>
+ }
+ </style>
<p>
There is a spacer 100x10<rich:spacer width="100" height="10" title="Here is a spacer..."/>before this.
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/details.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/details.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/details.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,9 +1,9 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
<ui:composition>
<p>
In order to use Rich Faces State Manager API you should perform next steps:
@@ -12,7 +12,7 @@
<li>
Register state manager El resolver and navigation handler in faces config:
<p>
- <rich:insert src="/richfaces/stateAPI/snippets/app.xml" highlight="xml"/>
+ <rich:insert src="/richfaces/stateAPI/snippets/app.xml" highlight="xml"/>
</p>
</li>
<li>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/example.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/example.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/example.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,9 +1,9 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j">
<ui:composition>
<h:panelGroup id="wizard">
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/loginResult.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/loginResult.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/loginResult.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,19 +1,19 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j">
<ui:composition>
- <rich:panel>
+ <rich:panel>
<f:facet name="header">
Welcome!
</f:facet>
<h:outputText value="Successfully logged in as #{state.bean.name}"/>
<br/>
- <a4j:commandLink value="logout" action="logout"/>
+ <a4j:commandLink value="logout" action="logout"/>
</rich:panel>
</ui:composition>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/registerResult.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/registerResult.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/stateAPI/examples/registerResult.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,19 +1,19 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j">
<ui:composition>
- <rich:panel>
+ <rich:panel>
<f:facet name="header">
Welcome!
</f:facet>
<h:outputText value="Successfully registered as #{state.bean.name}"/>
<br/>
- <a4j:commandLink value="logout" action="logout"/>
+ <a4j:commandLink value="logout" action="logout"/>
</rich:panel>
</ui:composition>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/examples/objects.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/examples/objects.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/examples/objects.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -10,7 +10,7 @@
<script type="text/javascript">
function printObjectsSelected(output, sgcomponent){
output.innerHTML=sgcomponent.getSelectedItems().pluck('state');
- }
+ }
</script>
<h:form id="form">
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/tabRemove.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/tabRemove.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/tabPanel/tabRemove.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,23 +1,23 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich">
- <ui:composition template="/templates/component-sample.xhtml">
- <ui:define name="sample">
- <p>
- This simple sample is added according to numerous Forum requests and shows
- how to implement <b>tabs deletion</b> from <b>tabPanel</b> component.
- </p>
-
- <div class="sample-container">
- <ui:include src="/richfaces/tabPanel/examples/tabRemove.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/tabPanel/examples/tabRemove.xhtml"/>
- </ui:include>
- </div>
- </ui:define>
-
- </ui:composition>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <p>
+ This simple sample is added according to numerous Forum requests and shows
+ how to implement <b>tabs deletion</b> from <b>tabPanel</b> component.
+ </p>
+
+ <div class="sample-container">
+ <ui:include src="/richfaces/tabPanel/examples/tabRemove.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/tabPanel/examples/tabRemove.xhtml"/>
+ </ui:include>
+ </div>
+ </ui:define>
+
+ </ui:composition>
+</html>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/examples/iconBar.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/examples/iconBar.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/toolBar/examples/iconBar.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -5,7 +5,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-<style>
+<style>
.pic{
margin-bottom: -4px;
margin-right: 2px;
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/tree/simple-tree-dnd.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/tree/simple-tree-dnd.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/tree/simple-tree-dnd.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -12,7 +12,7 @@
and also demonstrates drag and drop from outside the tree to some
of its nodes.
</p>
- <ul>
+ <ul>
<li>
Select "Unsorted" node to see all the pictures in preview panel
from the right. Then you could drag and drop any picture to any other
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-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/include/header.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -151,12 +151,12 @@
</h:outputLink>
</td>
<ui:remove>
- <td>
- <h:outputLink value="#{componentNavigator.currentComponent.contextRelativeDemoLocation}">
- Null
- <f:param value="NULL" name="s"/>
- </h:outputLink>
- </td>
+ <td>
+ <h:outputLink value="#{componentNavigator.currentComponent.contextRelativeDemoLocation}">
+ Null
+ <f:param value="NULL" name="s"/>
+ </h:outputLink>
+ </td>
</ui:remove>
<td class="control">
<rich:toggleControl for="skin_chooser" value="...less" />
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/main.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/main.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/main.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -66,7 +66,7 @@
</tr>
</tbody>
</table>
-
+
<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"></script>
<script type="text/javascript">
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/gridcenter.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/gridcenter.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/gridcenter.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,24 +1,24 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j">
- <p>
- <b>Layout/LayoutPanel components</b> based on  <h:outputLink value="http://developer.yahoo.com/yui/grids/">Yahoo Nesting Grids</h:outputLink>.
-
- </p>
- <p>
- Layout is a wrapper component which should consist of layouts panels.
- Every layout panel could be positioned inside the layout with corresponding
- position attribute(<i>with top, bottom, left, right and center values</i>).
- </p>
- <p>
- Currently for a horizontally aligned panels the "width" attribute
- means a part of outer panel what that component takes.
- This is a same semantic as HTML elements have - see 
- <h:outputLink value="http://www.w3.org/TR/html401/types.html#type-multi-length" target="blank">HTML MultiLength</h:outputLink>
- In future we plan to expand the layouts with possibility of fixed and percents based width definitions.
- </p>
-
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j">
+ <p>
+ <b>Layout/LayoutPanel components</b> based on  <h:outputLink value="http://developer.yahoo.com/yui/grids/">Yahoo Nesting Grids</h:outputLink>.
+
+ </p>
+ <p>
+ Layout is a wrapper component which should consist of layouts panels.
+ Every layout panel could be positioned inside the layout with corresponding
+ position attribute(<i>with top, bottom, left, right and center values</i>).
+ </p>
+ <p>
+ Currently for a horizontally aligned panels the "width" attribute
+ means a part of outer panel what that component takes.
+ This is a same semantic as HTML elements have - see 
+ <h:outputLink value="http://www.w3.org/TR/html401/types.html#type-multi-length" target="blank">HTML MultiLength</h:outputLink>
+ In future we plan to expand the layouts with possibility of fixed and percents based width definitions.
+ </p>
+
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/gridleft.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/gridleft.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/gridleft.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,20 +1,20 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j">
- <p>
- <b>Page component</b> is responsible for complete page structure encoding.
- In difference with old <i>a4j:page</i> component it additionally provides
- facets for page parts definitions, and optionally provides styling based
- on <b>RichFaces</b> skinability.
- </p>
- <p>
- Next facets available in built-in implementation - <b>top, bottom, and sidebar</b>.
- And child content encoded as body part of the page.
- </p>
- <p>
- Also main important feature - <b>Themes support</b> implemented on top of this component.
- </p>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j">
+ <p>
+ <b>Page component</b> is responsible for complete page structure encoding.
+ In difference with old <i>a4j:page</i> component it additionally provides
+ facets for page parts definitions, and optionally provides styling based
+ on <b>RichFaces</b> skinability.
+ </p>
+ <p>
+ Next facets available in built-in implementation - <b>top, bottom, and sidebar</b>.
+ And child content encoded as body part of the page.
+ </p>
+ <p>
+ Also main important feature - <b>Themes support</b> implemented on top of this component.
+ </p>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/gridtop.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/gridtop.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/gridtop.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,16 +1,16 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j">
- <p style="font-style: italic">
- Layout of this demo page built on top of  <h:outputLink target="blank" value="http://developer.yahoo.com/yui/layout/">Yahoo layouts</h:outputLink>.
- The page layout including settings side bar, header and footer are
- produced by <b>rich:page</b> component and nesting
- grid in body created with <b>Layout/LayoutPanel</b> components pair.
- </p>
- <p style="font-style: italic">
- Complete info about the layouts design could be found at  <h:outputLink target="blank" value="http://www.jboss.org/community/docs/DOC-13336">RichFaces Layouts design wiki page</h:outputLink>.
- </p>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j">
+ <p style="font-style: italic">
+ Layout of this demo page built on top of  <h:outputLink target="blank" value="http://developer.yahoo.com/yui/layout/">Yahoo layouts</h:outputLink>.
+ The page layout including settings side bar, header and footer are
+ produced by <b>rich:page</b> component and nesting
+ grid in body created with <b>Layout/LayoutPanel</b> components pair.
+ </p>
+ <p style="font-style: italic">
+ Complete info about the layouts design could be found at  <h:outputLink target="blank" value="http://www.jboss.org/community/docs/DOC-13336">RichFaces Layouts design wiki page</h:outputLink>.
+ </p>
</ui:composition>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/sidebar.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/sidebar.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/includes/sidebar.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,39 +1,39 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j">
- <h:form>
- <h:panelGrid columns="2">
- <f:facet name="header">
- <h:outputText value="Page Attributes"/>
- </f:facet>
- <h:outputLabel for="theme" value="Page Theme" />
- <h:selectOneMenu id="theme" style="width:75px"
- value="#{layoutBean.theme}">
- <f:selectItem itemValue="" itemLabel="Default" />
- <f:selectItem itemValue="simple" itemLabel="Simple" />
- <f:selectItem itemValue="violetRays" itemLabel="Violet Rays" />
- <f:selectItem itemValue="theme1" itemLabel="Theme One" />
- <f:selectItem itemValue="theme2" itemLabel="Theme Two" />
- </h:selectOneMenu>
- <h:outputLabel for="width" value="Page Width" />
- <h:inputText id="width" value="#{layoutBean.width}" style="width:75px"/>
- <h:outputLabel for="sidebarwidth" value="Sidebar Width" />
- <h:inputText id="sidebarwidth" value="#{layoutBean.sidebarWidth}" style="width:75px"/>
- <h:outputLabel for="position" value="Side bar position" />
- <h:selectOneMenu value="#{layoutBean.position}" id="position" style="width:75px">
- <f:selectItem itemValue="left" />
- <f:selectItem itemValue="right" />
- </h:selectOneMenu>
- <h:outputLabel for="skin" value="Current skin" />
- <h:selectOneMenu value="#{skinBean.skin}" id="skin" style="width:75px">
- <f:selectItem itemValue="blueSky" itemLabel="blueSky" />
- <f:selectItem itemValue="ruby" itemLabel="ruby" />
- <f:selectItem itemValue="emeraldTown" itemLabel="emeraldTown" />
- </h:selectOneMenu>
- <h:commandButton value="Change"></h:commandButton>
- </h:panelGrid>
- </h:form>
-</ui:composition>
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j">
+ <h:form>
+ <h:panelGrid columns="2">
+ <f:facet name="header">
+ <h:outputText value="Page Attributes"/>
+ </f:facet>
+ <h:outputLabel for="theme" value="Page Theme" />
+ <h:selectOneMenu id="theme" style="width:75px"
+ value="#{layoutBean.theme}">
+ <f:selectItem itemValue="" itemLabel="Default" />
+ <f:selectItem itemValue="simple" itemLabel="Simple" />
+ <f:selectItem itemValue="violetRays" itemLabel="Violet Rays" />
+ <f:selectItem itemValue="theme1" itemLabel="Theme One" />
+ <f:selectItem itemValue="theme2" itemLabel="Theme Two" />
+ </h:selectOneMenu>
+ <h:outputLabel for="width" value="Page Width" />
+ <h:inputText id="width" value="#{layoutBean.width}" style="width:75px"/>
+ <h:outputLabel for="sidebarwidth" value="Sidebar Width" />
+ <h:inputText id="sidebarwidth" value="#{layoutBean.sidebarWidth}" style="width:75px"/>
+ <h:outputLabel for="position" value="Side bar position" />
+ <h:selectOneMenu value="#{layoutBean.position}" id="position" style="width:75px">
+ <f:selectItem itemValue="left" />
+ <f:selectItem itemValue="right" />
+ </h:selectOneMenu>
+ <h:outputLabel for="skin" value="Current skin" />
+ <h:selectOneMenu value="#{skinBean.skin}" id="skin" style="width:75px">
+ <f:selectItem itemValue="blueSky" itemLabel="blueSky" />
+ <f:selectItem itemValue="ruby" itemLabel="ruby" />
+ <f:selectItem itemValue="emeraldTown" itemLabel="emeraldTown" />
+ </h:selectOneMenu>
+ <h:commandButton value="Change"></h:commandButton>
+ </h:panelGrid>
+ </h:form>
+</ui:composition>
Modified: branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/template.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/template.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/templates/page/template.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,54 +1,54 @@
-<rich:page xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a4j="http://richfaces.org/a4j" markupType="xhtml"
- contentType="text/html" theme="#{layoutBean.theme}"
- width="#{layoutBean.width}" sidebarWidth="#{layoutBean.sidebarWidth}"
- sidebarPosition="#{layoutBean.position}">
- <f:facet name="sidebar">
- <ui:include src="/richfaces/layouts/page/includes/sidebar.xhtml" />
- </f:facet>
- <f:facet name="header">
- <h:panelGroup>
- <table width="100%"><tbody><tr>
- <td><h2>RichFaces Layouts</h2></td>
- <td align="right">
- <h:outputLink value="http://labs.jboss.com/portal/jbossrichfaces/downloads">Download</h:outputLink> 
- <h:outputLink value="http://jboss.com/index.html?module=bb&op=viewforum&f=261">Support</h:outputLink> 
- <h:outputLink value="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone...">Developer Guide</h:outputLink>
- </td>
- </tr></tbody></table>
- </h:panelGroup>
- </f:facet>
- <f:facet name="footer">
- <h:outputText
- value="Copyright (c) 2009 RichFaces. All rights reserved. RichFaces version #{environment.version}" />
- </f:facet>
- <rich:tabPanel switchType="client">
- <rich:tab label="overview">
- <rich:layout>
- <rich:layoutPanel position="top" width="100%">
- <ui:include src="/richfaces/layouts/page/includes/gridtop.xhtml" />
- </rich:layoutPanel>
- <rich:layoutPanel position="left" width="50">
- <ui:include src="/richfaces/layouts/page/includes/gridleft.xhtml" />
- </rich:layoutPanel>
- <rich:layoutPanel position="center" width="50">
- <ui:include src="/richfaces/layouts/page/includes/gridcenter.xhtml" />
- </rich:layoutPanel>
- <rich:layoutPanel position="bottom">
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath" value="/richfaces/layouts/page/template.xhtml"/>
- <ui:param name="openlabel" value="View this page template source code"/>
- </ui:include>
- <br/>
- </rich:layoutPanel>
- </rich:layout>
- </rich:tab>
- <rich:tab label="Themes support">
- <ui:include src="/richfaces/layouts/page/includes/themes.xhtml" />
- </rich:tab>
- </rich:tabPanel>
-</rich:page>
+<rich:page xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a4j="http://richfaces.org/a4j" markupType="xhtml"
+ contentType="text/html" theme="#{layoutBean.theme}"
+ width="#{layoutBean.width}" sidebarWidth="#{layoutBean.sidebarWidth}"
+ sidebarPosition="#{layoutBean.position}">
+ <f:facet name="sidebar">
+ <ui:include src="/richfaces/layouts/page/includes/sidebar.xhtml" />
+ </f:facet>
+ <f:facet name="header">
+ <h:panelGroup>
+ <table width="100%"><tbody><tr>
+ <td><h2>RichFaces Layouts</h2></td>
+ <td align="right">
+ <h:outputLink value="http://labs.jboss.com/portal/jbossrichfaces/downloads">Download</h:outputLink> 
+ <h:outputLink value="http://jboss.com/index.html?module=bb&op=viewforum&f=261">Support</h:outputLink> 
+ <h:outputLink value="http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone...">Developer Guide</h:outputLink>
+ </td>
+ </tr></tbody></table>
+ </h:panelGroup>
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText
+ value="Copyright (c) 2009 RichFaces. All rights reserved. RichFaces version #{environment.version}" />
+ </f:facet>
+ <rich:tabPanel switchType="client">
+ <rich:tab label="overview">
+ <rich:layout>
+ <rich:layoutPanel position="top" width="100%">
+ <ui:include src="/richfaces/layouts/page/includes/gridtop.xhtml" />
+ </rich:layoutPanel>
+ <rich:layoutPanel position="left" width="50">
+ <ui:include src="/richfaces/layouts/page/includes/gridleft.xhtml" />
+ </rich:layoutPanel>
+ <rich:layoutPanel position="center" width="50">
+ <ui:include src="/richfaces/layouts/page/includes/gridcenter.xhtml" />
+ </rich:layoutPanel>
+ <rich:layoutPanel position="bottom">
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/layouts/page/template.xhtml"/>
+ <ui:param name="openlabel" value="View this page template source code"/>
+ </ui:include>
+ <br/>
+ </rich:layoutPanel>
+ </rich:layout>
+ </rich:tab>
+ <rich:tab label="Themes support">
+ <ui:include src="/richfaces/layouts/page/includes/themes.xhtml" />
+ </rich:tab>
+ </rich:tabPanel>
+</rich:page>
Modified: branches/community/3.3.X/samples/richfaces-ear-demo/webapp/src/main/webapp/pages/guess.xhtml
===================================================================
--- branches/community/3.3.X/samples/richfaces-ear-demo/webapp/src/main/webapp/pages/guess.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/richfaces-ear-demo/webapp/src/main/webapp/pages/guess.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,25 +1,25 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-<head>
-<title>Guess number demo</title>
-</head>
-<body>
-<f:view>
- <h:form id="form" >
- <rich:panel>
- <f:facet name="header" >
- <h:outputText value="Guess number demo application"/>
- </f:facet>
- Guess number from <h:outputText value="#{guessView.min}"/> to <h:outputText value="#{guessView.max}"/>
- <h:commandButton value="Start" action="#{guessView.start}" />
- </rich:panel>
- </h:form>
- <a4j:log hotkey="D" />
-</f:view>
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+<head>
+<title>Guess number demo</title>
+</head>
+<body>
+<f:view>
+ <h:form id="form" >
+ <rich:panel>
+ <f:facet name="header" >
+ <h:outputText value="Guess number demo application"/>
+ </f:facet>
+ Guess number from <h:outputText value="#{guessView.min}"/> to <h:outputText value="#{guessView.max}"/>
+ <h:commandButton value="Start" action="#{guessView.start}" />
+ </rich:panel>
+ </h:form>
+ <a4j:log hotkey="D" />
+</f:view>
+</body>
+</html>
Modified: branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/RF-3425.xhtml
===================================================================
--- branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/RF-3425.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/RF-3425.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -11,7 +11,7 @@
xmlns:dt="http://labs.jboss.com/jbossrichfaces/ui/dataTable"
>
<body>
- <f:view>
+ <f:view>
<h:form>
<sg:scrollableDataTable value="#{modelBuilder.model1}" var="issues"
frozenColCount="1" first="0" rows="30" width="1000px" height="200px">
Modified: branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/grid1.xhtml
===================================================================
--- branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/grid1.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/grid1.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -30,28 +30,28 @@
</f:facet>
</dt:column>
<dt:column width="200px">
- <f:facet name="header">
- <h:outputText value="data"></h:outputText>
- </f:facet>
- <f:facet name="footer">
- <h:outputText value="footer"></h:outputText>
- </f:facet>
+ <f:facet name="header">
+ <h:outputText value="data"></h:outputText>
+ </f:facet>
+ <f:facet name="footer">
+ <h:outputText value="footer"></h:outputText>
+ </f:facet>
<h:outputText value="data"></h:outputText>
</dt:column>
</sg:scrollableDataTable>
<a4j:commandButton value="reRender" reRender="table"/>
<img src="q.jpg"/>
- <script type="text/javascript">
-<!--
+ <script type="text/javascript">
+<!--
document.observe("grid:initialized", function(event) {
console.log("Element with ID (" + event.target.id +
") fire event with name " + event.eventName + ".");
-});
+});
document.observe("grid:onresizecolumn", function(event) {
console.log("Element with ID (" + event.target.id +
") fire event with name " + event.eventName + ".");
});
-//-->
+//-->
</script>
</ui:composition>
</jsp:root>
Modified: branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/scrollable-grid.xhtml
===================================================================
--- branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/scrollable-grid.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/scrollable-grid.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -43,10 +43,10 @@
<body>
- <f:view>
- <h:form>
- <h:selectOneRadio binding="#{skinBean.component}" />
- <h:commandLink action="#{skinBean.change}" value="set skin" />
+ <f:view>
+ <h:form>
+ <h:selectOneRadio binding="#{skinBean.component}" />
+ <h:commandLink action="#{skinBean.change}" value="set skin" />
</h:form>
<h:form>
Modified: branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/test2.xhtml
===================================================================
--- branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/test2.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/scrollableDataTableDemo/src/main/webapp/pages/test2.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -10,7 +10,7 @@
>
<body>
- <f:view>
+ <f:view>
<h:form>
<dt:dataTable value="#{jiraService.channel.issues}"
var="issues"
Modified: branches/community/3.3.X/samples/seamEAR/wars/seamWebapp/src/main/webapp/pages/mediaOutput.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamEAR/wars/seamWebapp/src/main/webapp/pages/mediaOutput.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamEAR/wars/seamWebapp/src/main/webapp/pages/mediaOutput.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,29 +1,29 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:f="http://java.sun.com/jsf/core">
-
- <head>
- <title>Paint image in a4j:mediaOutput</title>
- </head>
- <body>
- <f:view>
- <h:form>
- <h:panelGrid columns="2">
- Width: <h:inputText value="#{data.width}" required="true"/>
- Height: <h:inputText value="#{data.height}" required="true"/>
- </h:panelGrid>
- <a4j:mediaOutput mimeType="image/jpeg" createContent="#{media.paint}" session="true" value="#{data}"
- cacheable="false" uriAttribute="src" element="img" style="width:#{data.width};height:#{data.height}"/>
- <h:messages/>
- <h:commandButton value="Paint" />
- </h:form>
- </f:view>
- </body>
-
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <head>
+ <title>Paint image in a4j:mediaOutput</title>
+ </head>
+ <body>
+ <f:view>
+ <h:form>
+ <h:panelGrid columns="2">
+ Width: <h:inputText value="#{data.width}" required="true"/>
+ Height: <h:inputText value="#{data.height}" required="true"/>
+ </h:panelGrid>
+ <a4j:mediaOutput mimeType="image/jpeg" createContent="#{media.paint}" session="true" value="#{data}"
+ cacheable="false" uriAttribute="src" element="img" style="width:#{data.width};height:#{data.height}"/>
+ <h:messages/>
+ <h:commandButton value="Paint" />
+ </h:form>
+ </f:view>
+ </body>
+
</html>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/seamEAR/wars/seamWebapp/src/main/webapp/pages/register.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamEAR/wars/seamWebapp/src/main/webapp/pages/register.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamEAR/wars/seamWebapp/src/main/webapp/pages/register.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,28 +1,28 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core">
-
- <head>
- <title>Register New User</title>
- </head>
- <body>
- <f:view>
- <h:form>
- <s:validateAll>
- <h:panelGrid columns="2">
- Username: <h:inputText value="#{user.username}" required="true"/>
- Real Name: <h:inputText value="#{user.name}" required="true"/>
- Password: <h:inputSecret value="#{user.password}" required="true"/>
- </h:panelGrid>
- </s:validateAll>
- <h:messages/>
- <h:commandButton value="Register" action="#{register.register}"/>
- </h:form>
- </f:view>
- </body>
-
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <head>
+ <title>Register New User</title>
+ </head>
+ <body>
+ <f:view>
+ <h:form>
+ <s:validateAll>
+ <h:panelGrid columns="2">
+ Username: <h:inputText value="#{user.username}" required="true"/>
+ Real Name: <h:inputText value="#{user.name}" required="true"/>
+ Password: <h:inputSecret value="#{user.password}" required="true"/>
+ </h:panelGrid>
+ </s:validateAll>
+ <h:messages/>
+ <h:commandButton value="Register" action="#{register.register}"/>
+ </h:form>
+ </f:view>
+ </body>
+
</html>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/seamEAR/wars/seamWebapp/src/main/webapp/pages/registered.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamEAR/wars/seamWebapp/src/main/webapp/pages/registered.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamEAR/wars/seamWebapp/src/main/webapp/pages/registered.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,16 +1,16 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:f="http://java.sun.com/jsf/core">
-
- <head>
- <title>Successfully Registered New User</title>
- </head>
- <body>
- <f:view>
- Welcome, #{user.name}, you are successfully registered as #{user.username}.
- </f:view>
- </body>
-
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <head>
+ <title>Successfully Registered New User</title>
+ </head>
+ <body>
+ <f:view>
+ Welcome, #{user.name}, you are successfully registered as #{user.username}.
+ </f:view>
+ </body>
+
</html>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/error.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/error.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/error.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,18 +1,18 @@
-<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- template="layout/template.xhtml">
-
-<ui:define name="body">
-
- <h1>Error</h1>
- <p>Something bad happened :-(</p>
-
- <h:messages styleClass="message"/>
-
-</ui:define>
-</ui:composition>
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ template="layout/template.xhtml">
+
+<ui:define name="body">
+
+ <h1>Error</h1>
+ <p>Something bad happened :-(</p>
+
+ <h:messages styleClass="message"/>
+
+</ui:define>
+</ui:composition>
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/include/button.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/include/button.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/include/button.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,39 +1,39 @@
-<div xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:c="http://java.sun.com/jstl/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a="http://richfaces.org/a4j"
- xmlns:s="http://jboss.com/products/seam/taglib"><!--<div style="overflow:auto;width:100%;height:450px">-->
-<h:form>
- <a:outputPanel>
- <rich:dataTable id="distTable" rows="10" width="100%" var="dist"
- onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
- onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
- value="#{distributionDetails}">
- <f:facet name="header">
-
- <rich:columnGroup>
- <rich:column>
- <h:outputText value="Utility" />
- </rich:column>
- <rich:column>
- <h:outputText value="Description" />
- </rich:column>
- </rich:columnGroup>
- </f:facet>
- <rich:column>
- <h:outputText value="#{dist.utilityCodeDescription}" />
- </rich:column>
-
- <rich:column>
- <h:outputText value="#{dist.description}" />
- <h:graphicImage url="img/blank.gif" width="0" height="0" border="0"
- alt="" />
- </rich:column>
- </rich:dataTable>
- <div class="datascroller"><rich:datascroller for="distTable" />
- </div>
- </a:outputPanel>
-</h:form> <!--</div>--></div>
+<div xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:c="http://java.sun.com/jstl/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a="http://richfaces.org/a4j"
+ xmlns:s="http://jboss.com/products/seam/taglib"><!--<div style="overflow:auto;width:100%;height:450px">-->
+<h:form>
+ <a:outputPanel>
+ <rich:dataTable id="distTable" rows="10" width="100%" var="dist"
+ onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
+ onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
+ value="#{distributionDetails}">
+ <f:facet name="header">
+
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="Utility" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Description" />
+ </rich:column>
+ </rich:columnGroup>
+ </f:facet>
+ <rich:column>
+ <h:outputText value="#{dist.utilityCodeDescription}" />
+ </rich:column>
+
+ <rich:column>
+ <h:outputText value="#{dist.description}" />
+ <h:graphicImage url="img/blank.gif" width="0" height="0" border="0"
+ alt="" />
+ </rich:column>
+ </rich:dataTable>
+ <div class="datascroller"><rich:datascroller for="distTable" />
+ </div>
+ </a:outputPanel>
+</h:form> <!--</div>--></div>
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/include/dataTable.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/include/dataTable.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/include/dataTable.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,39 +1,39 @@
-<div xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:c="http://java.sun.com/jstl/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a="http://richfaces.org/a4j"
- xmlns:s="http://jboss.com/products/seam/taglib"><!--<div style="overflow:auto;width:100%;height:450px">-->
-<h:form>
- <a:outputPanel>
- <rich:dataTable id="distTable" rows="10" width="100%" var="dist"
- onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
- onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
- value="#{distributionDetails}">
- <f:facet name="header">
-
- <rich:columnGroup>
- <rich:column>
- <h:outputText value="Utility" />
- </rich:column>
- <rich:column>
- <h:outputText value="Description" />
- </rich:column>
- </rich:columnGroup>
- </f:facet>
- <rich:column>
- <h:outputText value="#{dist.utilityCodeDescription}" />
- </rich:column>
-
- <rich:column>
- <h:outputText value="#{dist.description}" />
- <h:graphicImage url="img/blank.gif" width="0" height="0" border="0"
- alt="" />
- </rich:column>
- </rich:dataTable>
- <div class="datascroller"><rich:datascroller for="distTable" />
- </div>
- </a:outputPanel>
-</h:form> <!--</div>--></div>
+<div xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:c="http://java.sun.com/jstl/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a="http://richfaces.org/a4j"
+ xmlns:s="http://jboss.com/products/seam/taglib"><!--<div style="overflow:auto;width:100%;height:450px">-->
+<h:form>
+ <a:outputPanel>
+ <rich:dataTable id="distTable" rows="10" width="100%" var="dist"
+ onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
+ onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
+ value="#{distributionDetails}">
+ <f:facet name="header">
+
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="Utility" />
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Description" />
+ </rich:column>
+ </rich:columnGroup>
+ </f:facet>
+ <rich:column>
+ <h:outputText value="#{dist.utilityCodeDescription}" />
+ </rich:column>
+
+ <rich:column>
+ <h:outputText value="#{dist.description}" />
+ <h:graphicImage url="img/blank.gif" width="0" height="0" border="0"
+ alt="" />
+ </rich:column>
+ </rich:dataTable>
+ <div class="datascroller"><rich:datascroller for="distTable" />
+ </div>
+ </a:outputPanel>
+</h:form> <!--</div>--></div>
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/ledger/_activeAccountTemplate.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/ledger/_activeAccountTemplate.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/ledger/_activeAccountTemplate.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,86 +1,86 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:ng="http://alliancedata.com/jsf/nextgen"
- xmlns:a="http://richfaces.org/a4j"
- xmlns:c="http://java.sun.com/jstl/core"
- xmlns:fn="http://java.sun.com/jsp/jstl/functions"
- xmlns:s="http://jboss.com/products/seam/taglib">
-
-<f:view contentType="text/html">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta http-equiv="refresh" content="2700;url=/nextgen/logout.seam"/>
-
- <link href="css/ads.css" rel="stylesheet" type="text/css"/>
- <link href="css/date.css" rel="stylesheet" type="text/css"/>
- <link href="css/drop_down.css" type="text/css" rel="stylesheet" />
- <link href="css/notepad.css" rel="stylesheet" type="text/css"/>
- <script src="javascript/tooltip.js" type="text/javascript" ></script>
- <script src="javascript/common.js" type="text/javascript" ></script>
- <script src="javascript/html-form-input-mask.js" type="text/javascript" ></script>
-
- <link href="/nextgen/img/ads.ico" rel="icon" />
-
- <LINK REL="SHORTCUT ICON" HREF="/nextgen/img/ads.ico"/>
-
-
- <ng:standardTitle/>
-
- <ui:insert name="headerContent"/>
-
-</head>
-
-<body onload="Xaprb.InputMask.setupElementMasks()" >
-
-<div id="maincontainer" style="width:1280px;">
- <ui:include src="/_header.xhtml">
- <c:if test="#{globalPageAction.showGlobalPage}">
- <ui:param name="enableMenu" value="false"/>
- </c:if>
- </ui:include>
-
- <div id="contentwrapper">
-
- <div id="contentcolumn">
- <div class="innertube" style="margin-top:2px">
-
- <div style="#{(globalPageAction.showGlobalPage)?'display:none':''}">
- <ui:insert name="content"/>
- </div>
-
- <c:if test="#{globalPageAction.showGlobalPage}">
- <ui:include src="#{globalPageAction.globalPage}"/>
- </c:if>
-
- </div>
- </div>
- <div id="bottomcontent">
- <div class="innertube" style="margin-top:2px">
- <ui:include src="_notepad.xhtml"/>
- </div>
- </div>
-
- </div>
-
- <div id="leftcolumn" >
- <div class="innertube">
-
-
- <ui:include src="/_quickCustomerReference.xhtml">
- <ui:param name="navigate" value="#{navigate}"/>
- </ui:include>
- </div>
- </div>
-
-</div>
-
-
-</body>
-</f:view>
-
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:ng="http://alliancedata.com/jsf/nextgen"
+ xmlns:a="http://richfaces.org/a4j"
+ xmlns:c="http://java.sun.com/jstl/core"
+ xmlns:fn="http://java.sun.com/jsp/jstl/functions"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+
+<f:view contentType="text/html">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+ <meta http-equiv="refresh" content="2700;url=/nextgen/logout.seam"/>
+
+ <link href="css/ads.css" rel="stylesheet" type="text/css"/>
+ <link href="css/date.css" rel="stylesheet" type="text/css"/>
+ <link href="css/drop_down.css" type="text/css" rel="stylesheet" />
+ <link href="css/notepad.css" rel="stylesheet" type="text/css"/>
+ <script src="javascript/tooltip.js" type="text/javascript" ></script>
+ <script src="javascript/common.js" type="text/javascript" ></script>
+ <script src="javascript/html-form-input-mask.js" type="text/javascript" ></script>
+
+ <link href="/nextgen/img/ads.ico" rel="icon" />
+
+ <LINK REL="SHORTCUT ICON" HREF="/nextgen/img/ads.ico"/>
+
+
+ <ng:standardTitle/>
+
+ <ui:insert name="headerContent"/>
+
+</head>
+
+<body onload="Xaprb.InputMask.setupElementMasks()" >
+
+<div id="maincontainer" style="width:1280px;">
+ <ui:include src="/_header.xhtml">
+ <c:if test="#{globalPageAction.showGlobalPage}">
+ <ui:param name="enableMenu" value="false"/>
+ </c:if>
+ </ui:include>
+
+ <div id="contentwrapper">
+
+ <div id="contentcolumn">
+ <div class="innertube" style="margin-top:2px">
+
+ <div style="#{(globalPageAction.showGlobalPage)?'display:none':''}">
+ <ui:insert name="content"/>
+ </div>
+
+ <c:if test="#{globalPageAction.showGlobalPage}">
+ <ui:include src="#{globalPageAction.globalPage}"/>
+ </c:if>
+
+ </div>
+ </div>
+ <div id="bottomcontent">
+ <div class="innertube" style="margin-top:2px">
+ <ui:include src="_notepad.xhtml"/>
+ </div>
+ </div>
+
+ </div>
+
+ <div id="leftcolumn" >
+ <div class="innertube">
+
+
+ <ui:include src="/_quickCustomerReference.xhtml">
+ <ui:param name="navigate" value="#{navigate}"/>
+ </ui:include>
+ </div>
+ </div>
+
+</div>
+
+
+</body>
+</f:view>
+
+</html>
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/ledger/_ledgerTranasctionDistribution.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/ledger/_ledgerTranasctionDistribution.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/ledger/_ledgerTranasctionDistribution.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,137 +1,137 @@
-<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<div xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:c="http://java.sun.com/jstl/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a="http://richfaces.org/a4j"
- xmlns:s="http://jboss.com/products/seam/taglib"
-xmlns:ng="http://alliancedata.com/jsf/nextgen">
-
- <h:panelGroup id="distHeader">
- <table>
- <tr>
- <td>
- <div class="leftGraylabelM">
- <h:outputText value="Premises"/>
- </div>
- </td>
- <td align="left">
- <h:outputText
- title="Premise Number#{ledgerTransactionHistoryAction.distributionTransaction.premisesNumber}"
- value="#{ledgerTransactionHistoryAction.distributionTransaction.serviceAddress}"/>
- </td>
- </tr>
- <tr>
- <td>
- <div class="leftGraylabelM">
- <h:outputText value="Transaction Date"/>
- </div>
- </td>
- <td align="left">
- <h:outputText value="#{ledgerTransactionHistoryAction.distributionTransaction.transactionDate}">
- <f:convertDateTime dateStyle="short"/>
- </h:outputText>
- </td>
- </tr>
- <tr>
- <td>
- <div class="leftGraylabelM">
- <h:outputText value="Ledger Type"/>
- </div>
- </td>
- <td align="left">
- <h:outputText
- value="#{ledgerTransactionHistoryAction.distributionTransaction.ledgerCodeDescription}"/>
- </td>
- </tr>
- </table>
- </h:panelGroup>
-
- <div class="spacer"></div>
-
- <!--<div style="overflow:auto;width:100%;height:450px">-->
- <a:form id="tranAllocationId">
- <a:commandButton action="#{ledgerTransactionHistoryAction.fetchTransactionDistrubution}" value="Get Allocation" reRender="tranAllocationId"></a:commandButton>
- <rich:dataTable id="distTable"
- rows="10"
- width="100%"
- var="dist"
- onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
- onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
- value="#{ledgerTransactionHistoryAction.distributionTransaction.ledgerTransactionDistributionDetails}">
- <f:facet name="header">
- <rich:columnGroup>
- <rich:column>
- <h:outputText value="Utility"/>
- </rich:column>
- <rich:column>
- <h:outputText value="Description"/>
- </rich:column>
- <rich:column>
- <h:outputText value="Amount"/>
- </rich:column>
- <rich:column>
- <h:outputText value="Unallocated"/>
- <br/>
- <h:outputText value="Balance"/>
- </rich:column>
- <rich:column>
- <h:outputText value="Ledger"/>
- </rich:column>
- <rich:column>
- <h:outputText value="Alternate"/>
- <br/>
- <h:outputText value="Ledger"/>
- </rich:column>
- <rich:column>
- <h:outputText value="Action"/>
- <br/>
- <h:outputText value="Type"/>
- </rich:column>
- <rich:column>
- <h:outputText value="Allocated"/>
- </rich:column>
- </rich:columnGroup>
- </f:facet>
- <rich:column>
- <h:outputText value="#{dist.utilityCodeDescription}"/>
- </rich:column>
- <rich:column>
- <h:outputText value="#{dist.description}"/>
- <h:graphicImage url="img/blank.gif" width="0" height="0" border="0" alt=""/>
- </rich:column>
- <rich:column styleClass="ledgerCurrencyColumn">
- <h:outputText value="#{dist.amount}">
- <f:convertNumber pattern="#{patterns.currencyWithCreditNoSymbol}"/>
- </h:outputText>
- <rich:spacer width="20" rendered="#{dist.amount >=0}"/>
- </rich:column>
- <rich:column styleClass="ledgerCurrencyColumn">
- <h:outputText value="#{dist.unallocatedBalance}">
- <f:convertNumber pattern="#{patterns.currencyWithCreditNoSymbol}"/>
- </h:outputText>
- </rich:column>
- <rich:column>
- <h:outputText value="#{dist.ledgerSubsystemDescription}"/>
- <h:graphicImage url="img/blank.gif" width="0" height="0" border="0" alt=""/>
- </rich:column>
- <rich:column>
- <h:outputText value="#{dist.alternateLedgerSubsystemDescription}"/>
- <h:graphicImage url="img/blank.gif" width="0" height="0" border="0" alt=""/>
- </rich:column>
- <rich:column>
- <h:outputText value="#{messages[dist.actionType]}"/>
- <h:graphicImage url="img/blank.gif" width="0" height="0" border="0" alt=""/>
- </rich:column>
- <rich:column>
- <h:outputText value="#{dist.allocationMethod}"/>
- </rich:column>
- </rich:dataTable>
- <div class="datascroller">
- <rich:datascroller for="distTable"/>
- </div>
- </a:form>
- <!--</div>-->
-</div>
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<div xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:c="http://java.sun.com/jstl/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a="http://richfaces.org/a4j"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+xmlns:ng="http://alliancedata.com/jsf/nextgen">
+
+ <h:panelGroup id="distHeader">
+ <table>
+ <tr>
+ <td>
+ <div class="leftGraylabelM">
+ <h:outputText value="Premises"/>
+ </div>
+ </td>
+ <td align="left">
+ <h:outputText
+ title="Premise Number#{ledgerTransactionHistoryAction.distributionTransaction.premisesNumber}"
+ value="#{ledgerTransactionHistoryAction.distributionTransaction.serviceAddress}"/>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div class="leftGraylabelM">
+ <h:outputText value="Transaction Date"/>
+ </div>
+ </td>
+ <td align="left">
+ <h:outputText value="#{ledgerTransactionHistoryAction.distributionTransaction.transactionDate}">
+ <f:convertDateTime dateStyle="short"/>
+ </h:outputText>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div class="leftGraylabelM">
+ <h:outputText value="Ledger Type"/>
+ </div>
+ </td>
+ <td align="left">
+ <h:outputText
+ value="#{ledgerTransactionHistoryAction.distributionTransaction.ledgerCodeDescription}"/>
+ </td>
+ </tr>
+ </table>
+ </h:panelGroup>
+
+ <div class="spacer"></div>
+
+ <!--<div style="overflow:auto;width:100%;height:450px">-->
+ <a:form id="tranAllocationId">
+ <a:commandButton action="#{ledgerTransactionHistoryAction.fetchTransactionDistrubution}" value="Get Allocation" reRender="tranAllocationId"></a:commandButton>
+ <rich:dataTable id="distTable"
+ rows="10"
+ width="100%"
+ var="dist"
+ onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
+ onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
+ value="#{ledgerTransactionHistoryAction.distributionTransaction.ledgerTransactionDistributionDetails}">
+ <f:facet name="header">
+ <rich:columnGroup>
+ <rich:column>
+ <h:outputText value="Utility"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Description"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Amount"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Unallocated"/>
+ <br/>
+ <h:outputText value="Balance"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Ledger"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Alternate"/>
+ <br/>
+ <h:outputText value="Ledger"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Action"/>
+ <br/>
+ <h:outputText value="Type"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="Allocated"/>
+ </rich:column>
+ </rich:columnGroup>
+ </f:facet>
+ <rich:column>
+ <h:outputText value="#{dist.utilityCodeDescription}"/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{dist.description}"/>
+ <h:graphicImage url="img/blank.gif" width="0" height="0" border="0" alt=""/>
+ </rich:column>
+ <rich:column styleClass="ledgerCurrencyColumn">
+ <h:outputText value="#{dist.amount}">
+ <f:convertNumber pattern="#{patterns.currencyWithCreditNoSymbol}"/>
+ </h:outputText>
+ <rich:spacer width="20" rendered="#{dist.amount >=0}"/>
+ </rich:column>
+ <rich:column styleClass="ledgerCurrencyColumn">
+ <h:outputText value="#{dist.unallocatedBalance}">
+ <f:convertNumber pattern="#{patterns.currencyWithCreditNoSymbol}"/>
+ </h:outputText>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{dist.ledgerSubsystemDescription}"/>
+ <h:graphicImage url="img/blank.gif" width="0" height="0" border="0" alt=""/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{dist.alternateLedgerSubsystemDescription}"/>
+ <h:graphicImage url="img/blank.gif" width="0" height="0" border="0" alt=""/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{messages[dist.actionType]}"/>
+ <h:graphicImage url="img/blank.gif" width="0" height="0" border="0" alt=""/>
+ </rich:column>
+ <rich:column>
+ <h:outputText value="#{dist.allocationMethod}"/>
+ </rich:column>
+ </rich:dataTable>
+ <div class="datascroller">
+ <rich:datascroller for="distTable"/>
+ </div>
+ </a:form>
+ <!--</div>-->
+</div>
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/ledger/ledgerDetails.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/ledger/ledgerDetails.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/ledger/ledgerDetails.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,87 +1,87 @@
-<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:ng="http://alliancedata.com/jsf/nextgen"
- xmlns:c="http://java.sun.com/jstl/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a="http://richfaces.org/a4j"
- template="_activeAccountTemplate.xhtml">
- <ui:param name="navigate" value="true"/>
- <ui:param name="enableMenu" value="#{ledgerTransactionHistoryAction.selectedTransaction.class.name != 'com.alliancedata.ecis.dto.ledger.BillingTransactionDto'}"/>
-
- <ui:define name="headerContent">
- <ng:standardTitle/>
- </ui:define>
-
- <ui:define name="content">
- <rich:panel id="tp"
- styleClass="panel"
- headerClass="blueHeader"
- bodyClass="grayPanelBody"
- style="width:99.5%">
- <f:facet name="header" >
- <h:panelGroup>
- <h:outputText styleClass="panelHeaderText" value="Transaction Detail"/>
- <h:outputText styleClass="panelHeaderText" value="-"/>
- <h:outputText styleClass="panelHeaderText" value="Payment History" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.PaymentTransactionDto'}"/>
- <h:outputText styleClass="panelHeaderText" value="Late Charge History" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.LateChargeHistoryDto'}"/>
- <h:outputText styleClass="panelHeaderText" value="Unposted Payment" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.UnpostedPaymentDto'}"/>
- <h:outputText styleClass="panelHeaderText" value="Unposted Adjustment" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.MiscellaneousChargeDto'}"/>
- <h:outputText styleClass="panelHeaderText" value="Deposit History" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.DepositDto'}"/>
- <h:outputText styleClass="panelHeaderText" value="Contract History" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.ContractHistoryDto'}"/>
- <h:outputText styleClass="panelHeaderText" value="Billing History" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.BillingTransactionDto'}"/>
- </h:panelGroup>
- </f:facet>
-
-
- <rich:tabPanel width="100%"
- selectedTab="#{ledgerTransactionHistoryAction.selectedTab}"
- switchType="client" id="ledger_tab_panel"
- rendered="#{ledgerAction.initialized}"
- contentClass="tabContent" activeTabClass="tabActive"
- disabledTabClass="tabDisabled" inactiveTabClass="tabInactive"
- tabClass="tab" styleClass="standardTabPanel">
-
- <rich:spacer style="height:3px" />
- <rich:tab id="tranHistoryTab" name="tranHistoryTab" label="History"
- action="#{ledgerTransactionHistoryAction.fetchTransactionHistory}" >
- <div class="tabContentLayout">
-
- <ui:include src="ledger/_transactionHistory.xhtml"/>
- </div>
- <h:form>
- <rich:toolBar height="34" styleClass="buttonBar">
-
- <rich:toolBarGroup styleClass="buttonBar" location="right">
- <s:button value="Close" view="/ledger.xhtml" styleClass="btn"/>
- </rich:toolBarGroup>
- </rich:toolBar>
- </h:form>
-
- </rich:tab>
- <rich:tab name="distributionTab" id="distributionTab" label="Allocation"
- disabled="#{ledgerTransactionHistoryAction.selectedTransaction.class.name == 'com.alliancedata.ecis.dto.ledger.UnpostedPaymentDto' or ledgerTransactionHistoryAction.selectedTransaction.class.name == 'com.alliancedata.ecis.dto.ledger.MiscellaneousChargeDto'}"
- action="#{ledgerTransactionHistoryAction.fetchTransactionDistrubution}" >
- <div class="tabContentLayout">
- <ui:include src="ledger/_ledgerTranasctionDistribution.xhtml"/>
- <h:form>
- <rich:toolBar height="34" styleClass="buttonBar">
-
- <rich:toolBarGroup styleClass="buttonBar" location="right">
- <s:button value="Close" view="/ledger.xhtml" styleClass="btn"/>
- </rich:toolBarGroup>
- </rich:toolBar>
- </h:form>
- </div>
-
- </rich:tab>
-
- </rich:tabPanel>
- </rich:panel>
- </ui:define>
-
-</ui:composition>
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:ng="http://alliancedata.com/jsf/nextgen"
+ xmlns:c="http://java.sun.com/jstl/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a="http://richfaces.org/a4j"
+ template="_activeAccountTemplate.xhtml">
+ <ui:param name="navigate" value="true"/>
+ <ui:param name="enableMenu" value="#{ledgerTransactionHistoryAction.selectedTransaction.class.name != 'com.alliancedata.ecis.dto.ledger.BillingTransactionDto'}"/>
+
+ <ui:define name="headerContent">
+ <ng:standardTitle/>
+ </ui:define>
+
+ <ui:define name="content">
+ <rich:panel id="tp"
+ styleClass="panel"
+ headerClass="blueHeader"
+ bodyClass="grayPanelBody"
+ style="width:99.5%">
+ <f:facet name="header" >
+ <h:panelGroup>
+ <h:outputText styleClass="panelHeaderText" value="Transaction Detail"/>
+ <h:outputText styleClass="panelHeaderText" value="-"/>
+ <h:outputText styleClass="panelHeaderText" value="Payment History" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.PaymentTransactionDto'}"/>
+ <h:outputText styleClass="panelHeaderText" value="Late Charge History" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.LateChargeHistoryDto'}"/>
+ <h:outputText styleClass="panelHeaderText" value="Unposted Payment" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.UnpostedPaymentDto'}"/>
+ <h:outputText styleClass="panelHeaderText" value="Unposted Adjustment" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.MiscellaneousChargeDto'}"/>
+ <h:outputText styleClass="panelHeaderText" value="Deposit History" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.DepositDto'}"/>
+ <h:outputText styleClass="panelHeaderText" value="Contract History" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.ContractHistoryDto'}"/>
+ <h:outputText styleClass="panelHeaderText" value="Billing History" rendered="#{ledgerTransactionHistoryAction.selectedTransaction.class.name eq 'com.alliancedata.ecis.dto.ledger.BillingTransactionDto'}"/>
+ </h:panelGroup>
+ </f:facet>
+
+
+ <rich:tabPanel width="100%"
+ selectedTab="#{ledgerTransactionHistoryAction.selectedTab}"
+ switchType="client" id="ledger_tab_panel"
+ rendered="#{ledgerAction.initialized}"
+ contentClass="tabContent" activeTabClass="tabActive"
+ disabledTabClass="tabDisabled" inactiveTabClass="tabInactive"
+ tabClass="tab" styleClass="standardTabPanel">
+
+ <rich:spacer style="height:3px" />
+ <rich:tab id="tranHistoryTab" name="tranHistoryTab" label="History"
+ action="#{ledgerTransactionHistoryAction.fetchTransactionHistory}" >
+ <div class="tabContentLayout">
+
+ <ui:include src="ledger/_transactionHistory.xhtml"/>
+ </div>
+ <h:form>
+ <rich:toolBar height="34" styleClass="buttonBar">
+
+ <rich:toolBarGroup styleClass="buttonBar" location="right">
+ <s:button value="Close" view="/ledger.xhtml" styleClass="btn"/>
+ </rich:toolBarGroup>
+ </rich:toolBar>
+ </h:form>
+
+ </rich:tab>
+ <rich:tab name="distributionTab" id="distributionTab" label="Allocation"
+ disabled="#{ledgerTransactionHistoryAction.selectedTransaction.class.name == 'com.alliancedata.ecis.dto.ledger.UnpostedPaymentDto' or ledgerTransactionHistoryAction.selectedTransaction.class.name == 'com.alliancedata.ecis.dto.ledger.MiscellaneousChargeDto'}"
+ action="#{ledgerTransactionHistoryAction.fetchTransactionDistrubution}" >
+ <div class="tabContentLayout">
+ <ui:include src="ledger/_ledgerTranasctionDistribution.xhtml"/>
+ <h:form>
+ <rich:toolBar height="34" styleClass="buttonBar">
+
+ <rich:toolBarGroup styleClass="buttonBar" location="right">
+ <s:button value="Close" view="/ledger.xhtml" styleClass="btn"/>
+ </rich:toolBarGroup>
+ </rich:toolBar>
+ </h:form>
+ </div>
+
+ </rich:tab>
+
+ </rich:tabPanel>
+ </rich:panel>
+ </ui:define>
+
+</ui:composition>
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/AJSF86.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/AJSF86.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/AJSF86.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,20 +1,20 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:a4j="http://richfaces.org/a4j">
-<head><title>Seam + ajax4jsf + binding</title></head>
-<body>
-<h:form>
- Input:
- <h:inputText binding="#{testController.input}"
- value="#{testController.value}">
- <a4j:support event="onkeyup" reRender="repeater"/>
- </h:inputText>
- <h:commandButton value="Ok" />
- <br/>
- Repeat:
- <h:outputText id="repeater" value="#{testController.value}"/>
-</h:form>
-</body>
-</html>
+<?xml version='1.0' encoding='UTF-8'?>
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:a4j="http://richfaces.org/a4j">
+<head><title>Seam + ajax4jsf + binding</title></head>
+<body>
+<h:form>
+ Input:
+ <h:inputText binding="#{testController.input}"
+ value="#{testController.value}">
+ <a4j:support event="onkeyup" reRender="repeater"/>
+ </h:inputText>
+ <h:commandButton value="Ok" />
+ <br/>
+ Repeat:
+ <h:outputText id="repeater" value="#{testController.value}"/>
+</h:form>
+</body>
+</html>
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
>
<f:view>
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/mediaOutput.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/mediaOutput.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/mediaOutput.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,29 +1,29 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:s="http://jboss.com/products/seam/taglib"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:f="http://java.sun.com/jsf/core">
-
- <head>
- <title>Paint image in a4j:mediaOutput</title>
- </head>
- <body>
- <f:view>
- <h:form>
- <h:panelGrid columns="2">
- Width: <h:inputText value="#{data.width}" required="true"/>
- Height: <h:inputText value="#{data.height}" required="true"/>
- </h:panelGrid>
- <a4j:mediaOutput mimeType="image/jpeg" createContent="#{media.paint}" session="true" value="#{data}"
- cacheable="false" uriAttribute="src" element="img" style="width:#{data.width};height:#{data.height}"/>
- <h:messages/>
- <h:commandButton value="Paint" />
- </h:form>
- </f:view>
- </body>
-
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:f="http://java.sun.com/jsf/core">
+
+ <head>
+ <title>Paint image in a4j:mediaOutput</title>
+ </head>
+ <body>
+ <f:view>
+ <h:form>
+ <h:panelGrid columns="2">
+ Width: <h:inputText value="#{data.width}" required="true"/>
+ Height: <h:inputText value="#{data.height}" required="true"/>
+ </h:panelGrid>
+ <a4j:mediaOutput mimeType="image/jpeg" createContent="#{media.paint}" session="true" value="#{data}"
+ cacheable="false" uriAttribute="src" element="img" style="width:#{data.width};height:#{data.height}"/>
+ <h:messages/>
+ <h:commandButton value="Paint" />
+ </h:form>
+ </f:view>
+ </body>
+
</html>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/repeater.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/repeater.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/repeater.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,38 +1,38 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html">
- <head><title>Simple repeater in seam</title></head>
- <body>
- <h1>Simple ajax repeater</h1>
- <h:form>
- <h:panelGrid columns="3" border="1">
- <h:inputText value="#{seamBean.text}">
- <a4j:support reRender="out,conversation" event="onkeyup"></a4j:support>
- </h:inputText>
- <h:outputText id="out" value="#{seamBean.text}"></h:outputText>
- <h:outputText value="All form submit."></h:outputText>
- <h:inputText value="#{seamBean.text2}">
- <a4j:support reRender="out,outs,conversation" event="onkeyup"></a4j:support>
- </h:inputText>
- <h:outputText id="outs" value="#{seamBean.text2}"></h:outputText>
- <h:outputText value="AJAX Single submit."></h:outputText>
- <h:outputText id="conversation" value="Conversation ID: #{conversation.id}"></h:outputText>
- <a4j:commandButton action="#{seamBean.start}" value="Start conversation" reRender="out,conversation"></a4j:commandButton>
- <a4j:commandButton action="#{seamBean.stop}" value="Stop conversation" reRender="out,conversation"></a4j:commandButton>
- </h:panelGrid>
- <a4j:commandButton action="#{seamBean.clearSession}" value="Set session expiration to 10 sec" reRender="out,conversation"></a4j:commandButton>
- <a4j:outputPanel ajaxRendered="true">
- <h:messages></h:messages>
- </a4j:outputPanel>
- <a4j:status startText="Request..." stopText=""></a4j:status>
- <h2>Non-Ajax conversation</h2>
- <h:commandButton action="#{seamBean.start}" value="Start conversation" reRender="out,conversation"></h:commandButton>
- <h:commandButton action="#{seamBean.stop}" value="Stop conversation" reRender="out,conversation"></h:commandButton>
- <h:commandButton value="Refresh" ></h:commandButton>
- <h:commandButton value="Reference to non-existed action" action="#{seamBean.delete}"></h:commandButton>
- </h:form>
- <a4j:log hotkey="M"></a4j:log>
- </body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html">
+ <head><title>Simple repeater in seam</title></head>
+ <body>
+ <h1>Simple ajax repeater</h1>
+ <h:form>
+ <h:panelGrid columns="3" border="1">
+ <h:inputText value="#{seamBean.text}">
+ <a4j:support reRender="out,conversation" event="onkeyup"></a4j:support>
+ </h:inputText>
+ <h:outputText id="out" value="#{seamBean.text}"></h:outputText>
+ <h:outputText value="All form submit."></h:outputText>
+ <h:inputText value="#{seamBean.text2}">
+ <a4j:support reRender="out,outs,conversation" event="onkeyup"></a4j:support>
+ </h:inputText>
+ <h:outputText id="outs" value="#{seamBean.text2}"></h:outputText>
+ <h:outputText value="AJAX Single submit."></h:outputText>
+ <h:outputText id="conversation" value="Conversation ID: #{conversation.id}"></h:outputText>
+ <a4j:commandButton action="#{seamBean.start}" value="Start conversation" reRender="out,conversation"></a4j:commandButton>
+ <a4j:commandButton action="#{seamBean.stop}" value="Stop conversation" reRender="out,conversation"></a4j:commandButton>
+ </h:panelGrid>
+ <a4j:commandButton action="#{seamBean.clearSession}" value="Set session expiration to 10 sec" reRender="out,conversation"></a4j:commandButton>
+ <a4j:outputPanel ajaxRendered="true">
+ <h:messages></h:messages>
+ </a4j:outputPanel>
+ <a4j:status startText="Request..." stopText=""></a4j:status>
+ <h2>Non-Ajax conversation</h2>
+ <h:commandButton action="#{seamBean.start}" value="Start conversation" reRender="out,conversation"></h:commandButton>
+ <h:commandButton action="#{seamBean.stop}" value="Stop conversation" reRender="out,conversation"></h:commandButton>
+ <h:commandButton value="Refresh" ></h:commandButton>
+ <h:commandButton value="Reference to non-existed action" action="#{seamBean.delete}"></h:commandButton>
+ </h:form>
+ <a4j:log hotkey="M"></a4j:log>
+ </body>
+</html>
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/stress.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/stress.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/stress.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,40 +4,40 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
- >
- <head>
- <title>Stress test for an AJAX requests</title>
- <script type="text/javascript">
- function inspect(data,time){
- LOG.info("Data is "+data+" at time "+time);
- }
- </script>
- </head>
+ xmlns:c="http://java.sun.com/jstl/core"
+ >
+ <head>
+ <title>Stress test for an AJAX requests</title>
+ <script type="text/javascript">
+ function inspect(data,time){
+ LOG.info("Data is "+data+" at time "+time);
+ }
+ </script>
+ </head>
<body>
- <f:view>
- <h1>Stress test for an AJAX requests</h1>
- <h:form>
- <a4j:jsFunction name="stress" action="#{stressBean.next}" reRender="text" eventsQueue="stress"/>
- <h:panelGrid columns="2">
- <a4j:commandButton value="Next" action="#{stressBean.next}" reRender="text" />
- <h:outputText id="text" value="#{stressBean.counter}"/>
- <input id="startBtn" type="button" value="Start" onclick="start()"/>
- <input id="stopBtn" type="button" value="Stop" onclick="stop()" />
- </h:panelGrid>
- <script type="text/javascript">
- // <![CDATA[
- var stressInterval;
- function start(){
- stressInterval=window.setInterval(stress,20);
- };
- function stop() {
- window.clearInterval(stressInterval);
- };
- // ]]>
- </script>
- </h:form>
- <a4j:log hotkey="M" />
- </f:view>
+ <f:view>
+ <h1>Stress test for an AJAX requests</h1>
+ <h:form>
+ <a4j:jsFunction name="stress" action="#{stressBean.next}" reRender="text" eventsQueue="stress"/>
+ <h:panelGrid columns="2">
+ <a4j:commandButton value="Next" action="#{stressBean.next}" reRender="text" />
+ <h:outputText id="text" value="#{stressBean.counter}"/>
+ <input id="startBtn" type="button" value="Start" onclick="start()"/>
+ <input id="stopBtn" type="button" value="Stop" onclick="stop()" />
+ </h:panelGrid>
+ <script type="text/javascript">
+ // <![CDATA[
+ var stressInterval;
+ function start(){
+ stressInterval=window.setInterval(stress,20);
+ };
+ function stop() {
+ window.clearInterval(stressInterval);
+ };
+ // ]]>
+ </script>
+ </h:form>
+ <a4j:log hotkey="M" />
+ </f:view>
</body>
</html>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/tabPanel.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/tabPanel.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/tabPanel.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,40 +1,40 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:c="http://java.sun.com/jstl/core"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:a="http://richfaces.org/a4j"
- xmlns:s="http://jboss.com/products/seam/taglib">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>Rich tab panel</title>
-</head>
-<body>
-<rich:tabPanel width="100%" selectedTab="#{menuAction.selectedTab}"
- switchType="ajax" id="ledger_tab_panel"
- rendered="#{ledgerAction.initialized}" contentClass="tabContent"
- activeTabClass="tabActive" disabledTabClass="tabDisabled"
- inactiveTabClass="tabInactive" tabClass="tab"
- styleClass="standardTabPanel">
- <rich:tab name="ledgerTranTab" label="Ledger Transactions"
- action="#{ledgerAction.initializeLedgerPage}">
- <div class="tabContentLayout"><ui:include
- src="/include/button.xhtml" /></div>
- <h:form id="lform1">
- <h:commandButton value="Switch to repeater" action="#{ledgerAction.initializeRepeaterPage}" />
- </h:form>
- </rich:tab>
- <rich:tab id="agingTab" name="agingTab" label="Aging"
- action="#{ledgerAction.fetchLedgerAging}">
- <div class="tabContentLayout"><ui:include
- src="/include/dataTable.xhtml" /></div>
- <h:form>
- <h:commandButton value="Switch to repeater" action="#{ledgerAction.initializeRepeaterPage}" />
- </h:form>
- </rich:tab>
-</rich:tabPanel>
-</body>
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:c="http://java.sun.com/jstl/core"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:a="http://richfaces.org/a4j"
+ xmlns:s="http://jboss.com/products/seam/taglib">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>Rich tab panel</title>
+</head>
+<body>
+<rich:tabPanel width="100%" selectedTab="#{menuAction.selectedTab}"
+ switchType="ajax" id="ledger_tab_panel"
+ rendered="#{ledgerAction.initialized}" contentClass="tabContent"
+ activeTabClass="tabActive" disabledTabClass="tabDisabled"
+ inactiveTabClass="tabInactive" tabClass="tab"
+ styleClass="standardTabPanel">
+ <rich:tab name="ledgerTranTab" label="Ledger Transactions"
+ action="#{ledgerAction.initializeLedgerPage}">
+ <div class="tabContentLayout"><ui:include
+ src="/include/button.xhtml" /></div>
+ <h:form id="lform1">
+ <h:commandButton value="Switch to repeater" action="#{ledgerAction.initializeRepeaterPage}" />
+ </h:form>
+ </rich:tab>
+ <rich:tab id="agingTab" name="agingTab" label="Aging"
+ action="#{ledgerAction.fetchLedgerAging}">
+ <div class="tabContentLayout"><ui:include
+ src="/include/dataTable.xhtml" /></div>
+ <h:form>
+ <h:commandButton value="Switch to repeater" action="#{ledgerAction.initializeRepeaterPage}" />
+ </h:form>
+ </rich:tab>
+</rich:tabPanel>
+</body>
</html>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/trinidad.xhtml
===================================================================
--- branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/trinidad.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/seamIntegration/src/main/webapp/pages/trinidad.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -1,43 +1,43 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<f:view xmlns="http://www.w3.org/1999/xhtml"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:tr="http://myfaces.apache.org/trinidad">
- <tr:document title="InputText Demo">
- <tr:form>
- <tr:panelGroupLayout layout="vertical">
- <f:facet name="separator">
- <tr:separator/>
- </f:facet>
- <tr:panelGroupLayout layout="horizontal">
- <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_inputText.html"
- text="Tag Documentation"/>
- <tr:spacer width="10"/>
- <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#inputText"
- text="Skinning Key Documentation"/>
- </tr:panelGroupLayout>
- <tr:outputFormatted styleUsage="instruction" value="<b>inputText</b>"/>
- <tr:inputText label="Label" value="Some text"/>
- <tr:commandButton text="Submit"/>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>InputText Bound To Date</b>"/>
- <tr:inputText label="Label2" value="#{seamBean.date1}" autoSubmit="true">
- <f:convertDateTime dateStyle="long"/>
- </tr:inputText>
- <a4j:commandButton value="RichFaces AJAX Submit" reRender="output"/>
- <tr:outputText styleClass="AFInstructionText" value="The submitted value was: "/>
- <tr:outputText id="output" value="#{seamBean.date1}"/>
- <tr:outputFormatted styleUsage="instruction"
- value="<b>InputText with help facet</b>"/>
- <tr:inputText label="Label3">
- <f:facet name="help">
- <tr:outputText value="Help facet text"/>
- </f:facet>
- </tr:inputText>
- </tr:panelGroupLayout>
- </tr:form>
- </tr:document>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<f:view xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:tr="http://myfaces.apache.org/trinidad">
+ <tr:document title="InputText Demo">
+ <tr:form>
+ <tr:panelGroupLayout layout="vertical">
+ <f:facet name="separator">
+ <tr:separator/>
+ </f:facet>
+ <tr:panelGroupLayout layout="horizontal">
+ <tr:commandLink immediate="true" text="Component Guide" action="guide"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_inputText.html"
+ text="Tag Documentation"/>
+ <tr:spacer width="10"/>
+ <tr:goLink destination="http://myfaces.apache.org/trinidad/skin-selectors.html#inputText"
+ text="Skinning Key Documentation"/>
+ </tr:panelGroupLayout>
+ <tr:outputFormatted styleUsage="instruction" value="<b>inputText</b>"/>
+ <tr:inputText label="Label" value="Some text"/>
+ <tr:commandButton text="Submit"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>InputText Bound To Date</b>"/>
+ <tr:inputText label="Label2" value="#{seamBean.date1}" autoSubmit="true">
+ <f:convertDateTime dateStyle="long"/>
+ </tr:inputText>
+ <a4j:commandButton value="RichFaces AJAX Submit" reRender="output"/>
+ <tr:outputText styleClass="AFInstructionText" value="The submitted value was: "/>
+ <tr:outputText id="output" value="#{seamBean.date1}"/>
+ <tr:outputFormatted styleUsage="instruction"
+ value="<b>InputText with help facet</b>"/>
+ <tr:inputText label="Label3">
+ <f:facet name="help">
+ <tr:outputText value="Help facet text"/>
+ </f:facet>
+ </tr:inputText>
+ </tr:panelGroupLayout>
+ </tr:form>
+ </tr:document>
</f:view>
\ No newline at end of file
Modified: branches/community/3.3.X/samples/sortingFilteringDemo/src/main/webapp/pages/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/sortingFilteringDemo/src/main/webapp/pages/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/sortingFilteringDemo/src/main/webapp/pages/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
>
<f:view>
Modified: branches/community/3.3.X/samples/stdcomponents-sample/src/main/webapp/pages/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/stdcomponents-sample/src/main/webapp/pages/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/stdcomponents-sample/src/main/webapp/pages/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
>
<f:view>
Modified: branches/community/3.3.X/samples/tomahawkCompability/src/main/webapp/pages/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/tomahawkCompability/src/main/webapp/pages/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/tomahawkCompability/src/main/webapp/pages/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
>
<f:view>
Modified: branches/community/3.3.X/samples/tree-demo/src/main/webapp/pages/index.jsp
===================================================================
--- branches/community/3.3.X/samples/tree-demo/src/main/webapp/pages/index.jsp 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/tree-demo/src/main/webapp/pages/index.jsp 2009-06-01 08:55:58 UTC (rev 14417)
@@ -160,7 +160,13 @@
<dnd:dndParam name="treeParam" value="Tree Parameter" />
<dnd:dndParam name="accept" value="accept" />
- <rich:treeNode ondrop="blinkElement(this.getElement())" type="input" dropListener="#{bean.processDrop}" oncollapse="Element.removeClassName(event['treeItem'].getElement(), 'colored')" onexpand="Element.addClassName(event['treeItem'].getElement(), 'colored')">
+ <rich:treeNode ondrop="blinkElement(this.getElement())"
+ type="input"
+ dropListener="#{bean.processDrop}"
+ oncollapse="Element.removeClassName(event['treeItem'].getElement(), 'colored')"
+ onexpand="Element.addClassName(event['treeItem'].getElement(), 'colored')"
+ oncomplete="alert('-1-');">
+
<h:outputText value="#{data} : " />
<h:outputText value="#{bean.counter1} : " />
<h:selectBooleanCheckbox value="#{bean.reRenderValue}" />
Modified: branches/community/3.3.X/samples/treeModelDemo/src/main/webapp/pages/index.xhtml
===================================================================
--- branches/community/3.3.X/samples/treeModelDemo/src/main/webapp/pages/index.xhtml 2009-05-29 18:31:03 UTC (rev 14416)
+++ branches/community/3.3.X/samples/treeModelDemo/src/main/webapp/pages/index.xhtml 2009-06-01 08:55:58 UTC (rev 14417)
@@ -4,7 +4,7 @@
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
- xmlns:c="http://java.sun.com/jsp/jstl/core"
+ xmlns:c="http://java.sun.com/jstl/core"
>
<f:view>
15 years, 6 months