JBoss Rich Faces SVN: r10884 - in trunk/test-applications/regressionArea: Seam-ear and 9 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-10-23 10:36:31 -0400 (Thu, 23 Oct 2008)
New Revision: 10884
Added:
trunk/test-applications/regressionArea/Seam-ejb/src/main/java/org/richfaces/regressionarea/issues/
trunk/test-applications/regressionArea/Seam-ejb/src/main/java/org/richfaces/regressionarea/issues/rf4507/
trunk/test-applications/regressionArea/Seam-ejb/src/main/java/org/richfaces/regressionarea/issues/rf4507/CalendarDataModelItemImpl.java
trunk/test-applications/regressionArea/Seam-ejb/src/main/java/org/richfaces/regressionarea/issues/rf4507/CalendarModelBean.java
trunk/test-applications/regressionArea/Seam-web/src/main/webapp/pages/4500-4600/
trunk/test-applications/regressionArea/Seam-web/src/main/webapp/pages/4500-4600/rf4507.xhtml
trunk/test-applications/regressionArea/Seam-web/src/test/java/org/richfaces/testng/rf4507/
trunk/test-applications/regressionArea/Seam-web/src/test/java/org/richfaces/testng/rf4507/Test.java
Modified:
trunk/test-applications/regressionArea/
trunk/test-applications/regressionArea/Seam-ear/
trunk/test-applications/regressionArea/Seam-ejb/
trunk/test-applications/regressionArea/Seam-web/src/test/resources/testng.xml
trunk/test-applications/regressionArea/pom.xml
Log:
https://jira.jboss.org/jira/browse/RF-4507
Property changes on: trunk/test-applications/regressionArea
___________________________________________________________________
Name: svn:ignore
+ target
Property changes on: trunk/test-applications/regressionArea/Seam-ear
___________________________________________________________________
Name: svn:ignore
- target
+ target
.project
.settings
Property changes on: trunk/test-applications/regressionArea/Seam-ejb
___________________________________________________________________
Name: svn:ignore
- target
+ target
.classpath
.project
.settings
Added: trunk/test-applications/regressionArea/Seam-ejb/src/main/java/org/richfaces/regressionarea/issues/rf4507/CalendarDataModelItemImpl.java
===================================================================
--- trunk/test-applications/regressionArea/Seam-ejb/src/main/java/org/richfaces/regressionarea/issues/rf4507/CalendarDataModelItemImpl.java (rev 0)
+++ trunk/test-applications/regressionArea/Seam-ejb/src/main/java/org/richfaces/regressionarea/issues/rf4507/CalendarDataModelItemImpl.java 2008-10-23 14:36:31 UTC (rev 10884)
@@ -0,0 +1,49 @@
+package org.richfaces.regressionarea.issues.rf4507;
+
+import org.richfaces.model.CalendarDataModelItem;
+
+/**
+ * @author mikalaj
+ *
+ */
+public class CalendarDataModelItemImpl implements CalendarDataModelItem {
+
+ private Object data;
+
+ private int day;
+
+ public CalendarDataModelItemImpl(Object data, int day) {
+ super();
+ this.data = data;
+ this.day = day;
+ }
+
+ public CalendarDataModelItemImpl() {
+ super();
+ }
+
+ public Object getData() {
+ return data;
+ }
+
+ public int getDay() {
+ return day;
+ }
+
+ public String getStyleClass() {
+ return null;
+ }
+
+ public Object getToolTip() {
+ return null;
+ }
+
+ public boolean hasToolTip() {
+ return false;
+ }
+
+ public boolean isEnabled() {
+ return true;
+ }
+
+}
Added: trunk/test-applications/regressionArea/Seam-ejb/src/main/java/org/richfaces/regressionarea/issues/rf4507/CalendarModelBean.java
===================================================================
--- trunk/test-applications/regressionArea/Seam-ejb/src/main/java/org/richfaces/regressionarea/issues/rf4507/CalendarModelBean.java (rev 0)
+++ trunk/test-applications/regressionArea/Seam-ejb/src/main/java/org/richfaces/regressionarea/issues/rf4507/CalendarModelBean.java 2008-10-23 14:36:31 UTC (rev 10884)
@@ -0,0 +1,47 @@
+package org.richfaces.regressionarea.issues.rf4507;
+
+import java.util.Calendar;
+import java.util.Date;
+import java.util.Locale;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.richfaces.model.CalendarDataModel;
+import org.richfaces.model.CalendarDataModelItem;
+
+/**
+ * This test case for: <a href="https://jira.jboss.org/jira/browse/RF-4507">RF-4507 - Calendar with preload
+ * overrides AJAX data for all preceding components</a>
+ *
+ * @author Nick Belaevski
+ *
+ */
+
+@Name("rf4507")
+(a)Scope(ScopeType.APPLICATION)
+public class CalendarModelBean implements CalendarDataModel {
+
+ public CalendarDataModelItem[] getData(Date[] dateArray) {
+ if (dateArray == null) {
+ return null;
+ }
+
+ Calendar calendar = Calendar.getInstance(Locale.US);
+ CalendarDataModelItem[] items = new CalendarDataModelItem[dateArray.length];
+
+ for (int i = 0; i < items.length; i++) {
+ calendar.setTime(dateArray[i]);
+ items[i] = new CalendarDataModelItemImpl(calendar.get(Calendar.DAY_OF_MONTH) + "-" +
+ (calendar.get(Calendar.MONTH) + 1),
+ calendar.get(Calendar.DAY_OF_MONTH));
+ }
+
+ return items;
+ }
+
+ public Object getToolTip(Date date) {
+ return null;
+ }
+
+}
Added: trunk/test-applications/regressionArea/Seam-web/src/main/webapp/pages/4500-4600/rf4507.xhtml
===================================================================
--- trunk/test-applications/regressionArea/Seam-web/src/main/webapp/pages/4500-4600/rf4507.xhtml (rev 0)
+++ trunk/test-applications/regressionArea/Seam-web/src/main/webapp/pages/4500-4600/rf4507.xhtml 2008-10-23 14:36:31 UTC (rev 10884)
@@ -0,0 +1,26 @@
+<!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="#{templateBean.template}">
+ <ui:define name="style">
+
+ </ui:define>
+ <ui:define name="component">
+ <h:form id="form">
+ <a4j:commandLink value="First Link" id="link1" data="#{'firstLink'}" oncomplete="window.receivedData = data" />
+
+ <rich:calendar value="22-10-2008" id="calendar" popup="false" mode="ajax" dataModel="#{rf4507}">
+ <h:outputText value="{data}" />
+ <f:convertDateTime pattern="dd-MM-yyyy"/>
+ </rich:calendar>
+
+ <a4j:commandLink value="Second Link" id="link2" data="#{'secondLink'}" oncomplete="window.receivedData = data" />
+ </h:form>
+ </ui:define>
+</ui:composition>
+</html>
\ No newline at end of file
Added: trunk/test-applications/regressionArea/Seam-web/src/test/java/org/richfaces/testng/rf4507/Test.java
===================================================================
--- trunk/test-applications/regressionArea/Seam-web/src/test/java/org/richfaces/testng/rf4507/Test.java (rev 0)
+++ trunk/test-applications/regressionArea/Seam-web/src/test/java/org/richfaces/testng/rf4507/Test.java 2008-10-23 14:36:31 UTC (rev 10884)
@@ -0,0 +1,59 @@
+package org.richfaces.testng.rf4507;
+
+import org.ajax4jsf.template.Template;
+import org.richfaces.SeleniumTestBase;
+import org.testng.Assert;
+
+public class Test extends SeleniumTestBase {
+
+ private String getIdSelector(Template template, String id) {
+ return "//*[@id='" + template.getPrefix() + id + "']";
+ }
+
+ private void testCalendarSwitch(Template template, int buttonPosition, String cellText) {
+ renderPage(template);
+
+ AssertTextEquals(getIdSelector(template, "form:calendarDayCell6") + "/div", "5-10");
+
+ selenium.assignId(getIdSelector(template, "form:calendarHeader") + "//td[*[@class='rich-calendar-tool-btn']][" + buttonPosition + "]/div", "testButton");
+ fireMouseEvent("testButton", "click", 0, 0, false);
+ waitForAjaxCompletion();
+
+ AssertTextEquals(getIdSelector(template, "form:calendarDayCell6") + "/div", cellText);
+ }
+
+ private void testLink(Template template, String linkId, String data) throws Exception {
+ renderPage(template);
+
+ Assert.assertEquals("null", selenium.getEval("window.receivedData"));
+
+ clickAjaxCommandAndWait(getIdSelector(template, linkId));
+
+ Assert.assertEquals(data, selenium.getEval("window.receivedData"));
+ }
+
+ @org.testng.annotations.Test
+ public void testNextMonth(Template template) throws Exception {
+ testCalendarSwitch(template, 4, "2-11");
+ }
+
+ @org.testng.annotations.Test
+ public void testPreviousMonth(Template template) throws Exception {
+ testCalendarSwitch(template, 2, "7-9");
+ }
+
+ @org.testng.annotations.Test
+ public void testFirstLink(Template template) throws Exception {
+ testLink(template, "form:link1", "firstLink");
+ }
+
+ @org.testng.annotations.Test
+ public void testSecondLink(Template template) throws Exception {
+ testLink(template, "form:link2", "secondLink");
+ }
+
+ public String getTestUrl() {
+ return "pages/4500-4600/rf4507.xhtml";
+ }
+
+}
Modified: trunk/test-applications/regressionArea/Seam-web/src/test/resources/testng.xml
===================================================================
--- trunk/test-applications/regressionArea/Seam-web/src/test/resources/testng.xml 2008-10-23 13:46:20 UTC (rev 10883)
+++ trunk/test-applications/regressionArea/Seam-web/src/test/resources/testng.xml 2008-10-23 14:36:31 UTC (rev 10884)
@@ -7,6 +7,7 @@
<parameter name="filterPrefix" value="/faces/NEKO/"/>
<packages>
<package name="org.richfaces.testng" />
+ <package name="org.richfaces.testng.rf4507" />
</packages>
</test-->
<test name="FireFoxFunctionalTestsDANe">
@@ -16,6 +17,7 @@
<parameter name="browser" value="*firefox"/>
<packages>
<package name="org.richfaces.testng" />
+ <package name="org.richfaces.testng.rf4507" />
</packages>
</test>
</suite>
Modified: trunk/test-applications/regressionArea/pom.xml
===================================================================
--- trunk/test-applications/regressionArea/pom.xml 2008-10-23 13:46:20 UTC (rev 10883)
+++ trunk/test-applications/regressionArea/pom.xml 2008-10-23 14:36:31 UTC (rev 10884)
@@ -62,10 +62,10 @@
<properties>
<contextroot>Seam</contextroot>
<earname>Seam-ear-${version}</earname>
- <richversion>3.2.2.GA</richversion>
+ <richversion>3.3.0-SNAPSHOT</richversion>
<seamversion>2.0.2.SP1</seamversion>
<jsfversion>1.2_09</jsfversion>
- <jbosshome>D:/Install/Java/jboss-4.2.3.GA</jbosshome>
+ <jbosshome>C:/tmp/jboss-4.2.2.GA</jbosshome>
<jbosscontext>default</jbosscontext>
</properties>
17 years, 2 months
JBoss Rich Faces SVN: r10883 - in trunk/sandbox/ui/editor/src/main: java/org/richfaces/renderkit and 7 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alevkovsky
Date: 2008-10-23 09:46:20 -0400 (Thu, 23 Oct 2008)
New Revision: 10883
Added:
trunk/sandbox/ui/editor/src/main/java/org/richfaces/renderkit/resources/
trunk/sandbox/ui/editor/src/main/java/org/richfaces/renderkit/resources/EditorHTMLRenderer.java
Modified:
trunk/sandbox/ui/editor/src/main/config/resources/resources-config.xml
trunk/sandbox/ui/editor/src/main/java/org/richfaces/renderkit/EditorRendererBase.java
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/content.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/pagebreak/css/content.xcss
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js
trunk/sandbox/ui/editor/src/main/templates/editor.jspx
Log:
Add resource renderer
Modified: trunk/sandbox/ui/editor/src/main/config/resources/resources-config.xml
===================================================================
--- trunk/sandbox/ui/editor/src/main/config/resources/resources-config.xml 2008-10-23 13:42:07 UTC (rev 10882)
+++ trunk/sandbox/ui/editor/src/main/config/resources/resources-config.xml 2008-10-23 13:46:20 UTC (rev 10883)
@@ -36,6 +36,7 @@
<resource>
<name>scripts/tiny_mce/plugins/advhr/rule.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advhr/rule.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/advimage/css/advimage.xcss</name>
@@ -54,6 +55,7 @@
<resource>
<name>scripts/tiny_mce/plugins/advimage/image.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advimage/image.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/advimage/img/sample.gif</name>
@@ -96,6 +98,7 @@
<resource>
<name>scripts/tiny_mce/plugins/advlink/link.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/advlink/link.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/autosave/editor_plugin.js</name>
@@ -160,6 +163,7 @@
<resource>
<name>scripts/tiny_mce/plugins/emotions/emotions.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/emotions/emotions.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/emotions/img/smiley-cool.gif</name>
@@ -238,6 +242,7 @@
<resource>
<name>scripts/tiny_mce/plugins/example/dialog.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/example/dialog.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/example/editor_plugin.js</name>
@@ -285,6 +290,7 @@
<resource>
<name>scripts/tiny_mce/plugins/fullpage/fullpage.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/fullpage/fullpage.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/fullpage/js/fullpage.js</name>
@@ -309,6 +315,7 @@
<resource>
<name>scripts/tiny_mce/plugins/fullscreen/fullscreen.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/fullscreen/fullscreen.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/iespell/editor_plugin.js</name>
@@ -365,6 +372,7 @@
<resource>
<name>scripts/tiny_mce/plugins/inlinepopups/template.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/template.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/insertdatetime/editor_plugin.js</name>
@@ -450,6 +458,7 @@
<resource>
<name>scripts/tiny_mce/plugins/media/media.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/media.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/nonbreaking/editor_plugin.js</name>
@@ -496,6 +505,7 @@
<resource>
<name>scripts/tiny_mce/plugins/paste/blank.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/blank.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/paste/css/blank.xcss</name>
@@ -533,10 +543,12 @@
<resource>
<name>scripts/tiny_mce/plugins/paste/pastetext.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/pastetext.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/paste/pasteword.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/paste/pasteword.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/preview/editor_plugin.js</name>
@@ -551,6 +563,7 @@
<resource>
<name>scripts/tiny_mce/plugins/preview/example.html</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/preview/example.html</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/preview/jscripts/embed.js</name>
@@ -560,6 +573,7 @@
<resource>
<name>scripts/tiny_mce/plugins/preview/preview.html</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/preview/preview.html</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/print/editor_plugin.js</name>
@@ -574,6 +588,7 @@
<resource>
<name>scripts/tiny_mce/plugins/safari/blank.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/safari/blank.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/safari/editor_plugin.js</name>
@@ -622,6 +637,7 @@
<resource>
<name>scripts/tiny_mce/plugins/searchreplace/searchreplace.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/searchreplace/searchreplace.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/spellchecker/css/content.xcss</name>
@@ -668,10 +684,12 @@
<resource>
<name>scripts/tiny_mce/plugins/style/props.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/style/props.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/table/cell.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/cell.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/table/css/cell.xcss</name>
@@ -723,18 +741,22 @@
<resource>
<name>scripts/tiny_mce/plugins/table/merge_cells.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/merge_cells.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/table/row.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/row.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/table/table.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/table/table.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/template/blank.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/template/blank.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/template/css/template.xcss</name>
@@ -763,6 +785,7 @@
<resource>
<name>scripts/tiny_mce/plugins/template/template.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/template/template.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/visualchars/editor_plugin.js</name>
@@ -777,18 +800,22 @@
<resource>
<name>scripts/tiny_mce/plugins/xhtmlxtras/abbr.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/abbr.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/xhtmlxtras/acronym.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/acronym.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/xhtmlxtras/attributes.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/attributes.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/xhtmlxtras/cite.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/cite.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/xhtmlxtras/css/attributes.xcss</name>
@@ -801,6 +828,7 @@
<resource>
<name>scripts/tiny_mce/plugins/xhtmlxtras/del.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/del.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js</name>
@@ -815,6 +843,7 @@
<resource>
<name>scripts/tiny_mce/plugins/xhtmlxtras/ins.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/plugins/xhtmlxtras/ins.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js</name>
@@ -859,18 +888,22 @@
<resource>
<name>scripts/tiny_mce/themes/advanced/about.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/about.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/themes/advanced/anchor.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/anchor.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/themes/advanced/charmap.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/charmap.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/themes/advanced/color_picker.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/color_picker.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/themes/advanced/editor_template.js</name>
@@ -885,6 +918,7 @@
<resource>
<name>scripts/tiny_mce/themes/advanced/image.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/image.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/themes/advanced/img/colorpicker.jpg</name>
@@ -942,6 +976,7 @@
<resource>
<name>scripts/tiny_mce/themes/advanced/link.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/link.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/themes/advanced/skins/default/content.xcss</name>
@@ -1014,6 +1049,7 @@
<resource>
<name>scripts/tiny_mce/themes/advanced/source_editor.htm</name>
<path>org/richfaces/renderkit/html/scripts/tiny_mce/themes/advanced/source_editor.htm</path>
+ <renderer class="org.richfaces.renderkit.resources.EditorHTMLRenderer"/>
</resource>
<resource>
<name>scripts/tiny_mce/themes/simple/editor_template.js</name>
Modified: trunk/sandbox/ui/editor/src/main/java/org/richfaces/renderkit/EditorRendererBase.java
===================================================================
--- trunk/sandbox/ui/editor/src/main/java/org/richfaces/renderkit/EditorRendererBase.java 2008-10-23 13:42:07 UTC (rev 10882)
+++ trunk/sandbox/ui/editor/src/main/java/org/richfaces/renderkit/EditorRendererBase.java 2008-10-23 13:46:20 UTC (rev 10883)
@@ -34,6 +34,7 @@
import org.ajax4jsf.javascript.ScriptUtils;
import org.ajax4jsf.util.InputUtils;
+import org.ajax4jsf.webapp.WebXml;
import org.richfaces.component.UIEditor;
/**
@@ -104,4 +105,12 @@
return fieldValue;
}
+ protected String getFacesMappingSuffix(FacesContext context) {
+ String suffix = WebXml.getInstance(context).getFacesServletSuffix();
+ if (suffix == null) {
+ suffix = "";
+ }
+ return suffix;
+ }
+
}
Added: trunk/sandbox/ui/editor/src/main/java/org/richfaces/renderkit/resources/EditorHTMLRenderer.java
===================================================================
--- trunk/sandbox/ui/editor/src/main/java/org/richfaces/renderkit/resources/EditorHTMLRenderer.java (rev 0)
+++ trunk/sandbox/ui/editor/src/main/java/org/richfaces/renderkit/resources/EditorHTMLRenderer.java 2008-10-23 13:46:20 UTC (rev 10883)
@@ -0,0 +1,137 @@
+/**
+ *
+ */
+package org.richfaces.renderkit.resources;
+
+import java.io.BufferedReader;
+import java.io.BufferedWriter;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
+
+import org.ajax4jsf.Messages;
+import org.ajax4jsf.resource.BaseResourceRenderer;
+import org.ajax4jsf.resource.InternetResource;
+import org.ajax4jsf.resource.ResourceContext;
+import org.ajax4jsf.webapp.WebXml;
+
+/**
+ * Editor html pages renderer - used for correcting scripts src
+ * @author Alexandr Levkovsky
+ *
+ */
+public class EditorHTMLRenderer extends BaseResourceRenderer {
+
+ /**
+ * @see org.ajax4jsf.resource.BaseResourceRenderer#getCommonAttrs()
+ */
+ @Override
+ protected String[][] getCommonAttrs() {
+ return null;
+ }
+
+ /**
+ * @see org.ajax4jsf.resource.BaseResourceRenderer#getHrefAttr()
+ */
+ @Override
+ protected String getHrefAttr() {
+ return null;
+ }
+
+ /**
+ * @see org.ajax4jsf.resource.BaseResourceRenderer#getTag()
+ */
+ @Override
+ protected String getTag() {
+ return "span";
+ }
+
+ /**
+ * @see org.ajax4jsf.resource.ResourceRenderer#getContentType()
+ */
+ public String getContentType() {
+ return "text/html";
+ }
+
+ /**
+ * @see org.ajax4jsf.resource.BaseResourceRenderer#send(org.ajax4jsf.resource.InternetResource, org.ajax4jsf.resource.ResourceContext)
+ */
+ @Override
+ public int send(InternetResource base, ResourceContext context)
+ throws IOException {
+
+ InputStream in = base.getResourceAsStream(context);
+ OutputStream out = context.getOutputStream();
+ if (null == in) {
+ String message = Messages.getMessage(
+ Messages.NO_INPUT_STREAM_ERROR, base.getKey());
+ throw new IOException(message);
+ }
+ int total;
+
+ // update scripts src
+ String mappingSuffix = getFacesMappingSuffix(base);
+ if (mappingSuffix != null) {
+ total = updateAndSendResource(in, out, mappingSuffix);
+ } else {
+ total = sendStream(in, out);
+ }
+
+ return total;
+ }
+
+ /**
+ * Method to correct scripts src
+ * @param resource
+ */
+ private int updateAndSendResource(InputStream in, OutputStream out,
+ String mappingSuffix) throws IOException {
+
+ //TODO Pasha, replace with regular expression if needed?
+
+ int total = 0;
+ BufferedReader br = new BufferedReader(new InputStreamReader(in));
+ BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(out));
+ try {
+ while (br.ready()) {
+ String line = br.readLine();
+ if (line.indexOf(".js") != -1) {
+ line = line.replace(".js", ".js" + mappingSuffix);
+ }
+ bw.write(line);
+ bw.newLine();
+ total += line.getBytes().length;
+ }
+ } finally {
+ bw.flush();
+ br.close();
+ bw.close();
+ in.close();
+ out.close();
+ }
+ return total;
+ }
+
+ /**
+ * Method to get servlet mapping suffix
+ *
+ * @param context
+ * @return
+ */
+ private String getFacesMappingSuffix(InternetResource resource) {
+ WebXml w = WebXml.getInstance();
+ String suffix = w.getFacesServletSuffix();
+ return suffix;
+ }
+
+ /**
+ * @see org.ajax4jsf.resource.BaseResourceRenderer#requireFacesContext()
+ */
+ @Override
+ public boolean requireFacesContext() {
+ return true;
+ }
+
+}
Property changes on: trunk/sandbox/ui/editor/src/main/java/org/richfaces/renderkit/resources/EditorHTMLRenderer.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js 2008-10-23 13:42:07 UTC (rev 10882)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js 2008-10-23 13:46:20 UTC (rev 10883)
@@ -1,7 +1,6 @@
if (!window.Richfaces) window.Richfaces = {};
Richfaces.Editor = {};
Richfaces.Editor.REGEXP_CSS = /(\/tiny_mce\/(?:themes|plugins)\/[\w\.\\\/]*[\w\.]+\.)(c|C)[sS]{2}$/;
-Richfaces.Editor.preInit = {extSuffix:".jsf"};
/*Richfaces.Editor.getResourceURL = function (baseURL, type) {
return Richfaces.Editor.ResourceHTML.replace("$1", baseURL);
};*/
@@ -9,16 +8,19 @@
RichEditor = Class.create();
Object.extend(RichEditor.prototype, {
- initialize: function(id, parameters) {
+ initialize: function(id, parameters, suffix) {
this.id = id;
this.editorTextAreaId = this.id +'TextArea';
this.params = parameters;
+ this.suffix = suffix;
var obj = $(this.id);
obj.component = this;
obj.richfacesComponent="richfaces:editor";
this["rich:destructor"] = "destruct";
+ tinymce.extSuffix = this.suffix;
+
tinyMCE.init({
mode: this.params.mode,
theme: this.params.theme,
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.xcss 2008-10-23 13:42:07 UTC (rev 10882)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.xcss 2008-10-23 13:46:20 UTC (rev 10883)
@@ -146,7 +146,17 @@
</u:selector>
<f:verbatim>
<![CDATA[
-.clearlooks2 .mceBottom .mceRight {right:0; width:5px; background: url(img/corners.gif) -34px 0}
+.clearlooks2 .mceBottom .mceRight {right:0; width:5px}
+]]>
+</f:verbatim>
+<u:selector name=".clearlooks2 .mceBottom .mceRight">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif"/>
+ </u:style>
+ <u:style name="background-position" value="-34px 0"/>
+</u:selector>
+<f:verbatim>
+<![CDATA[
.clearlooks2 .mceBottom span {display:none}
.clearlooks2 .mceStatusbar .mceBottom, .clearlooks2 .mceStatusbar .mceBottom div {height:23px}
]]>
@@ -157,20 +167,12 @@
</u:style>
<u:style name="background-position" value="-29px 0"/>
</u:selector>
-<f:verbatim>
-<![CDATA[
-]]>
-</f:verbatim>
<u:selector name=".clearlooks2 .mceStatusbar .mceBottom .mceCenter">
<u:style name="background-image">
<f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif"/>
</u:style>
<u:style name="background-position" value="0 -52px"/>
</u:selector>
-<f:verbatim>
-<![CDATA[
-]]>
-</f:verbatim>
<u:selector name=".clearlooks2 .mceStatusbar .mceBottom .mceRight">
<u:style name="background-image">
<f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif"/>
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/content.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/content.xcss 2008-10-23 13:42:07 UTC (rev 10882)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/css/content.xcss 2008-10-23 13:46:20 UTC (rev 10883)
@@ -5,11 +5,31 @@
<f:verbatim><![CDATA[
.mceItemFlash, .mceItemShockWave, .mceItemQuickTime, .mceItemWindowsMedia, .mceItemRealMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc;}
-.mceItemShockWave {background-image: url(../img/shockwave.gif);}
-.mceItemFlash {background-image:url(../img/flash.gif);}
-.mceItemQuickTime {background-image:url(../img/quicktime.gif);}
-.mceItemWindowsMedia {background-image:url(../img/windowsmedia.gif);}
-.mceItemRealMedia {background-image:url(../img/realmedia.gif);}
]]>
</f:verbatim>
+<u:selector name=".mceItemShockWave">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/img/shockwave.gif"/>
+ </u:style>
+</u:selector>
+<u:selector name=".mceItemFlash">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/img/flash.gif"/>
+ </u:style>
+</u:selector>
+<u:selector name=".mceItemQuickTime">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/img/quicktime.gif"/>
+ </u:style>
+</u:selector>
+<u:selector name=".mceItemWindowsMedia">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/img/windowsmedia.gif"/>
+ </u:style>
+</u:selector>
+<u:selector name=".mceItemRealMedia">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/media/img/realmedia.gif"/>
+ </u:style>
+</u:selector>
</f:template>
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/pagebreak/css/content.xcss
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/pagebreak/css/content.xcss 2008-10-23 13:42:07 UTC (rev 10882)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/pagebreak/css/content.xcss 2008-10-23 13:46:20 UTC (rev 10883)
@@ -4,7 +4,15 @@
xmlns="http://www.w3.org/1999/xhtml" >
<f:verbatim><![CDATA[
-.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../img/pagebreak.gif) no-repeat center top;}
+.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px}
]]>
</f:verbatim>
+<u:selector name=".mcePageBreak">
+ <u:style name="background-image">
+ <f:resource f:key="/org/richfaces/renderkit/html/scripts/tiny_mce/plugins/pagebreak/img/pagebreak.gif"/>
+ </u:style>
+ <u:style name="background-color" value="#fff"/>
+ <u:style name="background-repeat" value="no-repeat"/>
+ <u:style name="background-position" value="center top"/>
+</u:selector>
</f:template>
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js 2008-10-23 13:42:07 UTC (rev 10882)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js 2008-10-23 13:46:20 UTC (rev 10883)
@@ -17,13 +17,6 @@
t.isIE6 = t.isIE && /MSIE [56]/.test(ua);
t.isGecko = !t.isWebKit && /Gecko/.test(ua);
t.isMac = ua.indexOf('Mac') != -1;
-
- // RF: added by PY
- if (Richfaces.Editor && Richfaces.Editor.preInit)
- {
- t.extSuffix = Richfaces.Editor.preInit.extSuffix;
- }
- // RF: end
// TinyMCE .NET webcontrol might be setting the values for TinyMCE
if (w.tinyMCEPreInit) {
Modified: trunk/sandbox/ui/editor/src/main/templates/editor.jspx
===================================================================
--- trunk/sandbox/ui/editor/src/main/templates/editor.jspx 2008-10-23 13:42:07 UTC (rev 10882)
+++ trunk/sandbox/ui/editor/src/main/templates/editor.jspx 2008-10-23 13:46:20 UTC (rev 10883)
@@ -21,11 +21,12 @@
#{this:getFormattedComponentStringValue(context, component)}
</textarea>
- <script type="text/javascript">
+ <script type="text/javascript">
new RichEditor('#{clientId}', {
mode: '#{component.attributes['mode']}',
- theme: '#{component.attributes['theme']}'
- });
+ theme: '#{component.attributes['theme']}'},
+ '#{this:getFacesMappingSuffix(context)}'
+ );
</script>
</div>
</f:root>
17 years, 2 months
JBoss Rich Faces SVN: r10882 - trunk/docs/userguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-10-23 09:42:07 -0400 (Thu, 23 Oct 2008)
New Revision: 10882
Modified:
trunk/docs/userguide/en/src/main/docbook/modules/RFCSettings.xml
Log:
RF-4542: docs for web.xml settings incorrectly reference SeamFaceletViewHandler
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCSettings.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCSettings.xml 2008-10-23 13:40:39 UTC (rev 10881)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCSettings.xml 2008-10-23 13:42:07 UTC (rev 10882)
@@ -1,175 +1,113 @@
<?xml version='1.0' encoding='UTF-8'?>
-<chapter id="SettingsForDifferentEnvironments"
- xreflabel="SettingsForDifferentEnvironments">
- <?dbhtml filename="SettingsForDifferentEnvironments.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>MyFaces</keyword>
+<chapter id="SettingsForDifferentEnvironments" xreflabel="SettingsForDifferentEnvironments">
+ <?dbhtml filename="SettingsForDifferentEnvironments.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>MyFaces</keyword>
- <keyword>JSF</keyword>
+ <keyword>JSF</keyword>
- <keyword>RichFaces</keyword>
+ <keyword>RichFaces</keyword>
- </keywordset>
- </chapterinfo>
+ </keywordset>
+ </chapterinfo>
+ <title>Settings for different environments</title>
+ <para> RichFaces comes with support for all tags (components) included in the JavaServer
+ Faces specification. To add RichFaces capabilities to the existing JSF project
+ you should just put the RichFaces libraries into the lib folder of the project
+ and add filter mapping. The behavior of the existing project doesn't
+ change just because of RichFaces. </para> &wadParams; <section id="SunJSFRI">
+ <?dbhtml filename="SunJSFRI.html"?>
+ <title>Sun JSF RI</title>
+ <para> RichFaces works with implementation of <property>JSF</property> (JSF 1.2)
+ and with most <property>JSF</property> component libraries without any
+ additional settings. For more information look at: </para>
- <title>Settings for different environments</title>
- <para>
- RichFaces comes with support for all tags (components) included
- in the JavaServer Faces specification. To add RichFaces
- capabilities to the existing JSF project you should just put the
- RichFaces libraries into the lib folder of the project and add
- filter mapping. The behavior of the existing project
- doesn't change just because of RichFaces.
- </para>
- &wadParams;
- <section id="SunJSFRI">
- <?dbhtml filename="SunJSFRI.html"?>
- <title>Sun JSF RI</title>
- <para>
- RichFaces works with implementation of
- <property>JSF</property>
- (JSF 1.2) and with most
- <property>JSF</property>
- component libraries without any additional settings. For
- more information look at:
- </para>
+ <simplelist>
+ <member>
+ <ulink url="http://java.sun.com/javaee/javaserverfaces/">
+ java.sun.com </ulink>
+ </member>
+ </simplelist>
+ <para> Additional information how to get <code> ViewExpiredExceptions </code>
+ when using <property>RichFaces</property> with <property>JSF
+ 1.2</property> you can find <ulink
+ url="http://wiki.jboss.org/auth/wiki//RichFacesCookbook/ViewExpiredException"
+ >here</ulink>. </para>
+ </section>
+ <section id="ApacheMyFaces">
+ <?dbhtml filename="ApacheMyFaces.html"?>
+ <title>Apache MyFaces</title>
+ <para> RichFaces works with <property>Apache MyFaces</property> 1.2 version
+ including specific libraries like TOMAHAWK Sandbox and Trinidad (the
+ previous ADF Faces). However, there are some considerations to take
+ into account for configuring applications to work with
+ <property>MyFaces</property> and RichFaces. </para>
+ <para> There are some problems with different filters defined in the web.xml
+ file clashing. To avoid these problems, the RichFaces filter must be
+ the first one among other filters in the web.xml configuration file. </para>
+ <para> For more information look at: <ulink url="http://myfaces.apache.org">
+ http://myfaces.apache.org </ulink>
+ </para>
+ <para> There's one more problem while using <property>MyFaces +
+ Seam</property> . If you use this combination you should use <emphasis
+ role="bold">
+ <property><a4j:page></property>
+ </emphasis> inside <emphasis role="bold">
+ <property><f:view></property>
+ </emphasis> (right after it in your code) wrapping another content
+ inside your pages because of some problems in realization of <emphasis
+ role="bold">
+ <property><f:view></property>
+ </emphasis> in myFaces. </para>
+ <para> The problem is to be overcome in the nearest future. </para>
+ </section>
+ <section id="FaceletsSupport">
+ <?dbhtml filename="FaceletsSupport.html"?>
+ <title>Facelets Support</title>
+ <para> A high-level support for <property>Facelets</property> is one of our main
+ support features. When working with RichFaces, there is no difference
+ what release of <property>Facelets</property> is used. </para>
+ <para> You should also take into account that some JSF frameworks such as
+ <property>Facelets</property> use their own
+ <code>ViewHandler</code> and need to have it first in the
+ chain of ViewHandlers and the RichFaces AjaxViewHandler is not an
+ exception. At first RichFaces installs its ViewHandler in any case, so
+ in case of two frameworks, for example RichFaces + Facelets, no
+ changes in settings are required. Although, when more then one
+ framework (except RichFaces) is used, it's possible to use
+ the <code>VIEW_HANDLERS</code> parameter defining these frameworks
+ view handlers according to its usage order in it. For example, the
+ declaration: </para>
- <simplelist>
- <member>
- <ulink
- url="http://java.sun.com/javaee/javaserverfaces/">
- java.sun.com
- </ulink>
- </member>
- </simplelist>
- <para>
- Additional information how to get
- <code>
- ViewExpiredExceptions
- </code>
- when using <property>RichFaces</property>
- with <property>JSF 1.2</property>
- you can find <ulink url="http://wiki.jboss.org/auth/wiki//RichFacesCookbook/ViewExpiredException">here</ulink>.
- </para>
- </section>
- <section id="ApacheMyFaces">
- <?dbhtml filename="ApacheMyFaces.html"?>
- <title>Apache MyFaces</title>
- <para>
- RichFaces works with
- <property>Apache MyFaces</property>
- 1.2 version including specific libraries like TOMAHAWK
- Sandbox and Trinidad (the previous ADF Faces). However,
- there are some considerations to take into account for
- configuring applications to work with
- <property>MyFaces</property>
- and RichFaces.
- </para>
- <para>
- There are some problems with different filters defined in
- the web.xml file clashing. To avoid these problems, the
- RichFaces filter must be the first one among other filters
- in the web.xml configuration file.
- </para>
- <para>
- For more information look at:
- <ulink url="http://myfaces.apache.org">
- http://myfaces.apache.org
- </ulink>
- </para>
- <para>
- There's one more problem while using
- <property>MyFaces + Seam</property>
- . If you use this combination you should use
- <emphasis role="bold">
- <property><a4j:page></property>
- </emphasis>
- inside
- <emphasis role="bold">
- <property><f:view></property>
- </emphasis>
- (right after it in your code) wrapping another content
- inside your pages because of some problems in realization of
- <emphasis role="bold">
- <property><f:view></property>
- </emphasis>
- in myFaces.
- </para>
- <para>
- The problem is to be overcome in the nearest future.
- </para>
- </section>
- <section id="FaceletsSupport">
- <?dbhtml filename="FaceletsSupport.html"?>
- <title>Facelets Support</title>
- <para>
- A high-level support for
- <property>Facelets</property>
- is one of our main support features. When working with
- RichFaces, there is no difference what release of
- <property>Facelets</property>
- is used.
- </para>
- <para>
- You should also take into account that some JSF frameworks
- such as
- <property>Facelets</property>
- use their own
- <code>ViewHandler</code>
- and need to have it first in the chain of ViewHandlers and
- the RichFaces AjaxViewHandler is not an exception. At first
- RichFaces installs its ViewHandler in any case, so in case
- of two frameworks, for example RichFaces + Facelets, no
- changes in settings are required. Although, when more then
- one framework (except RichFaces) is used, it's possible to
- use the
- <code>VIEW_HANDLERS</code>
- parameter defining these frameworks view handlers according
- to its usage order in it. For example, the declaration:
- </para>
-
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML">
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML">
<context-param>
<param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
<param-value>com.sun.facelets.FaceletViewHandler</param-value>
</context-param>
</programlisting>
- <para>
- says that
- <property>Facelets</property>
- will officially be the first, however <code>AjaxViewHandler</code> will
- be a little ahead temporarily to do some small, but very
- important job.
- </para>
- <note>
- <title>Note:</title>
- <para>
- In this case you don't have to define
- <code>FaceletViewHandler</code>
- in the WEB-INF/faces-config.xml.
- </para>
- </note>
- </section>
- <section id="JBossSeamSupport">
- <?dbhtml filename="JBossSeamSupport.html"?>
- <title>JBoss Seam Support</title>
- <para>
- RichFaces now works out-of-the-box with
- <property>JBoss Seam</property>
- and Facelets running inside JBoss AS 4.0.4 and higher. There
- is no more shared JAR files needed. You just have to package
- the RichFaces library with your application.
- </para>
- <para>
- Your web.xml for
- <property>Seam 1.2</property>
- must be like this:
- </para>
- <programlisting role="XML"><![CDATA[<?xml version="1.0" ?>
+ <para> says that <property>Facelets</property> will officially be the first,
+ however <code>AjaxViewHandler</code> will be a little ahead
+ temporarily to do some small, but very important job. </para>
+ <note>
+ <title>Note:</title>
+ <para> In this case you don't have to define
+ <code>FaceletViewHandler</code> in the
+ WEB-INF/faces-config.xml. </para>
+ </note>
+ </section>
+ <section id="JBossSeamSupport">
+ <?dbhtml filename="JBossSeamSupport.html"?>
+ <title>JBoss Seam Support</title>
+ <para> RichFaces now works out-of-the-box with <property>JBoss Seam</property>
+ and Facelets running inside JBoss AS 4.0.4 and higher. There is no
+ more shared JAR files needed. You just have to package the RichFaces
+ library with your application. </para>
+ <para> Your web.xml for <property>Seam 1.2</property> must be like this: </para>
+ <programlisting role="XML"><![CDATA[<?xml version="1.0" ?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
@@ -188,13 +126,8 @@
<url-pattern>*.seam</url-pattern>
</filter-mapping>
- <context-param>
- <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
- <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
- </context-param>
+<!-- Seam -->
- <!-- Seam -->
-
<listener>
<listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
</listener>
@@ -249,13 +182,11 @@
</servlet-mapping>
</web-app>]]></programlisting>
- <para>
- <property>Seam 2</property>
- supports RichFaces Filter. Thus your web.xml for Seam 2 must
- be like this:
- </para>
+ <para>
+ <property>Seam 2</property> supports RichFaces Filter. Thus your
+ web.xml for Seam 2 must be like this: </para>
- <programlisting role="XML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+ <programlisting role="XML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -317,34 +248,29 @@
</web-app>]]></programlisting>
- <para>
- Only one issue still persists while using
- <property>Seam</property>
- with MyFaces. Look at myFaces part of this section.
- </para>
- <para>Detailed information on how to integrate Richfaces and Trinidad and how to hide ".seam" postfix in the URL you can find
- <ulink url="http://wiki.jboss.org/auth/wiki/RichFacesWithTrinidad">here</ulink></para>
- </section>
- <section id="PortletSupport">
- <title>Portlet Support</title>
- <para>
- <property>JBoss Portlets</property>
- have support since version Ajax4jsf 1.1.1. This support is
- improved in RichFaces 3.2.1. Provide your feedback on
- compatible with RichFaces if you face some problems.
- </para>
- </section>
- <section id="SybaseEAServer">
- <title>Sybase EAServer</title>
- <para>
- The load-on-startup for the Faces Servlet had to be set to 0
- in web.xml.
- </para>
+ <para> Only one issue still persists while using <property>Seam</property> with
+ MyFaces. Look at myFaces part of this section. </para>
+ <para>Detailed information on how to integrate Richfaces and Trinidad and how to
+ hide ".seam" postfix in the URL you can find <ulink
+ url="http://wiki.jboss.org/auth/wiki/RichFacesWithTrinidad"
+ >here</ulink></para>
+ </section>
+ <section id="PortletSupport">
+ <title>Portlet Support</title>
+ <para>
+ <property>JBoss Portlets</property> have support since version
+ Ajax4jsf 1.1.1. This support is improved in RichFaces 3.2.1. Provide
+ your feedback on compatible with RichFaces if you face some problems.
+ </para>
+ </section>
+ <section id="SybaseEAServer">
+ <title>Sybase EAServer</title>
+ <para> The load-on-startup for the Faces Servlet had to be set to 0 in web.xml. </para>
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML"><![CDATA[...
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
@@ -352,30 +278,23 @@
</servlet>
...
]]></programlisting>
- <para>
- This is because, EAServer calls servlet <code>init()</code> before the
- <code>ServletContextInitializer</code>. Not an EAServer bug, this is in
- Servlet 2.3 spec.
- </para>
- </section>
- <section id="OracleAS_OC4J">
- <title>Oracle AS/OC4J</title>
- <para>
- In order to deploy your project with RichFaces components to
- an
- <property>Oracle AS</property>
- you just have to prevent the application's class loader
- from importing the Oracle XML parser. Use the following
- notation in
- <property>orion-application.xml</property>
- :
- </para>
- <programlisting role="XML"><![CDATA[...
+ <para> This is because, EAServer calls servlet <code>init()</code> before the
+ <code>ServletContextInitializer</code>. Not an EAServer bug,
+ this is in Servlet 2.3 spec. </para>
+ </section>
+ <section id="OracleAS_OC4J">
+ <title>Oracle AS/OC4J</title>
+ <para> In order to deploy your project with RichFaces components to an
+ <property>Oracle AS</property> you just have to prevent the
+ application's class loader from importing the Oracle XML
+ parser. Use the following notation in
+ <property>orion-application.xml</property> : </para>
+ <programlisting role="XML"><![CDATA[...
<imported-shared-libraries>
<remove-inherited name="oracle.xml"/>
<remove-inherited name="oracle.xml.security"/>
</imported-shared-libraries>
...
]]></programlisting>
- </section>
+ </section>
</chapter>
17 years, 2 months
JBoss Rich Faces SVN: r10881 - trunk/docs/userguide/en/src/main/docbook/modules.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-10-23 09:40:39 -0400 (Thu, 23 Oct 2008)
New Revision: 10881
Modified:
trunk/docs/userguide/en/src/main/docbook/modules/RFCGettingStarted.xml
Log:
RF-4056: Getting Started with RichFaces chapter should be updated
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCGettingStarted.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCGettingStarted.xml 2008-10-23 13:33:13 UTC (rev 10880)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCGettingStarted.xml 2008-10-23 13:40:39 UTC (rev 10881)
@@ -13,52 +13,58 @@
</chapterinfo>
<title>Getting Started with RichFaces</title>
<para>This chapter describes all necessary actions and configurations that should be done
- for adding the RichFaces library into a JSF project. The description relies on a
- simple JSF application creation process from downloading the libraries to
- running the application in a browser.</para>
+ for plugging the RichFaces components into a JSF appplication. The description
+ relies on a simple JSF with RichFaces application creation process from
+ downloading the libraries to running the application in a browser. The process
+ of application creation described here is common and does not depends on used
+ IDE. </para>
+ <para>See "<ulink
+ url="http://docs.jboss.org/tools/movies/demos/rich_faces_demo/rich_faces_demo.htm"
+ > RichFaces Toolkit for developing Web application</ulink>"
+ video tutorial for benefits that gives the JBoss Developer Studio for developing
+ applications using RichFaces. </para>
+
<section id="DownloadingRichFaces">
<?dbhtml filename="DownloadingRichFaces.html" ?>
<title>Downloading the RichFaces</title>
-
- <para> The latest release of RichFaces components is available for download at
+ <para>The latest release of RichFaces components is available for download at
<ulink url="http://labs.jboss.com/jbossrichfaces/downloads"
>JBoss RichFaces Downloads area</ulink> at JBoss community.
- Files that uploaded there have different extensions, which should be
- touched here: <code>*.bin.zip</code> archives contain full compiled
- version of components for Windows and Mac operating systems and
- <code>*.src.zip</code> archives have it source code;
- <code>*.bin.tar.gz</code> and <code>*.src.tar.gz</code>
- archives contain compiled version and source code for UNIX-like
- systems correspondingly; uploaded there <code>*.jar</code> files
- contain components skins. </para>
- <para> In computer file system create new folder; download and unzip the archive
- with components there. </para>
+ Binary files (uploaded there in <code>*.bin.zip</code> or
+ <code>*.bin.tar.gz</code> archives) contains compiled,
+ ready-to-use version of RichFaces with set of basic skins. </para>
+ <para>To start with RichFaces in computer file system create new folder with
+ name "RichFaces", download and unzip the archive with binaries there.
+ </para>
</section>
- <section id="Creating a simple application with RichFaces">
+ <section id="Simple JSF application with RichFaces">
<?dbhtml filename="Installation.html" ?>
- <title>Creating a simple application with RichFaces</title>
+ <title>Simple JSF application with RichFaces</title>
<para> "RichFaces Greeter"—the simple application—is hello-world like
application but with one difference: the world of RichFaces will say
- "Hello!" to user first. </para>
- <para> Create new JSF 1.2 project with name "Greeter", JSFBlankWithLibs template
- and Servlet version 2.5. </para>
- <para> To import RichFaces libraries into the project in the JBoss Developer
- studio click with RMB on the project name in the "Package Explorer"
- window and select "Build Path"—›"Configure Build Path…" in context
- menu. In opened "Java Build Path" window click "Add external JARs…"
- button in "Libraries" tab. Pass to the folder with unzipped earlier
- RichFaces components and open <code>lib</code> folder. This folder contains three
- <code>*.jar</code> files with API, UI and implementation
- libraries. Select all of them and add to project libraries. Another
- way to import RichFaces libraries into the project is to copy in
- computer file system that "jars" from <code>lib</code> folder to
- <code>WEB-INF/lib</code> folder of the application. </para>
- <para> After RichFaces libraries where added into the project libraries it is
- necessary to register them in project <code>web.xml</code> file. Add following in
- <code>web.xml</code>: </para>
- <programlisting role="XML"><![CDATA[...
+ "Hello!" to user first.
+ </para>
+ <para> Create standard JSF 1.2 project with all necessary libraries; name the project
+ "Greeter" and follow the decription. </para>
+
+ <section id="Adding RichFaces libraries into the project">
+ <title>Adding RichFaces libraries into the project</title>
+ <para>Pass to the folder with unzipped earlier RichFaces binary files
+ and open <code>lib</code> folder. This folder contains three
+ <code>*.jar</code> files with API, UI and
+ implementation libraries. Copy that "jars" from
+ <code>lib</code> folder to <code>WEB-INF/lib</code> folder
+ of "Greeter" JSF application. </para>
+ </section>
+
+ <section id="Registering RichFaces in web.xml">
+ <title>Registering RichFaces in web.xml</title>
+ <para> After RichFaces libraries where added into the project it is
+ necessary to register them in project <code>web.xml</code>
+ file. Add following lines in <code>web.xml</code>: </para>
+ <programlisting role="XML"><![CDATA[...
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
@@ -78,20 +84,12 @@
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
...]]></programlisting>
- <para> To enable standard control skinning following lines should be added into
- <code>web.xml</code> too: </para>
- <programlisting role="XML"><![CDATA[...
-<context-param>
- <param-name>org.richfaces.CONTROL_SKINNING</param-name>
- <param-value>enable</param-value>
-</context-param>
-...]]></programlisting>
- <para> Finally the <code>web.xml</code> should look like the following: </para>
- <programlisting role="XML"><![CDATA[<?xml version="1.0"?>
+ <para>Finally the <code>web.xml</code> should look like the following: </para>
+ <programlisting role="XML"><![CDATA[<?xml version="1.0"?>
<web-app version="2.5"
- xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<display-name>Greeter</display-name>
<context-param>
@@ -103,13 +101,7 @@
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
-
-<!-- Enabling control skinning -->
-<context-param>
- <param-name>org.richfaces.CONTROL_SKINNING</param-name>
- <param-value>enable</param-value>
-</context-param>
-
+
<!-- RichFaces Filter -->
<filter>
<display-name>RichFaces Filter</display-name>
@@ -146,13 +138,17 @@
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
-</web-app>
-...]]></programlisting>
- <para> The "RichFaces Greeter" application need a managed bean. Create a new
- managed bean with name <code>user</code> in <code>demo</code> package and paste there the following simple
- code: </para>
- <programlisting role="JAVA">package demo;
+</web-app>]]></programlisting>
+ </section>
+ <section id="Managed bean">
+ <title>Managed bean</title>
+ <para>The "RichFaces Greeter" application need a managed bean. In
+ project <code>JavaSource</code> folder create a new managed
+ bean with name <code>user</code> in <code>demo</code>
+ package and paste there the following simple code: </para>
+ <programlisting role="JAVA">package demo;
+
public class user {
private String name="";
public String getName() {
@@ -162,13 +158,18 @@
this.name = name;
}
}</programlisting>
- <para> With the next step the "user" bean should be registered in <code>faces-config.xml</code> file: </para>
- <programlisting role="XML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
+ </section>
+
+ <section id="Registering bean in faces-cofig.xml">
+ <title>Registering bean in faces-cofig.xml</title>
+ <para>With the next step the <code>user</code> bean should be
+ registered in <code>faces-config.xml</code> file: </para>
+ <programlisting role="XML"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<faces-config version="1.2"
- xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xi="http://www.w3.org/2001/XInclude"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
<managed-bean>
<description>UsernName Bean</description>
<managed-bean-name>user</managed-bean-name>
@@ -182,10 +183,15 @@
</managed-bean>
</faces-config>
]]></programlisting>
- <para> The "RichFaces Greeter" application has only one JSP page. Create <code>pages</code>
- folder in root of <code>WEB CONTENT</code> folder. Create <code>greeter.jsp</code> page
- inside <code>pages</code> and add there following code: </para>
- <programlisting role="XML"><![CDATA[<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+ </section>
+
+ <section id="RichFaces Greeter index.jsp">
+ <title>RichFaces Greeter index.jsp</title>
+ <para> The "RichFaces Greeter" application has only one JSP page.
+ Create <code>index.jsp</code> page in root of <code>WEB
+ CONTENT</code> folder and add there following
+ code: </para>
+ <programlisting role="XML"><![CDATA[<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<!-- RichFaces tag library declaration -->
@@ -215,32 +221,34 @@
</h:panelGroup>
</f:view>
</body>
- </html>]]></programlisting>
- <para> The application uses two RichFaces components: <emphasis role="bold">
- <property><a4j:commandButton></property>
- </emphasis> with built-in Ajax support allows rendering a
- greeting dynamically after a response comes back and <emphasis
- role="bold">
- <property><a4j:form></property>
- </emphasis> helps the button to perform the action. </para>
- <para> Note, that the RichFaces tag library should be declared on each JSP page.
- For XHTML pages add following lines for tag library declaration: </para>
- <programlisting role="XML"><![CDATA[<xmlns:a4j="http://richfaces.org/a4j">
+</html>]]></programlisting>
+ <para>The application uses two RichFaces components: <emphasis
+ role="bold">
+ <property><a4j:commandButton></property>
+ </emphasis> with built-in Ajax support allows rendering a
+ greeting dynamically after a response comes back and
+ <emphasis role="bold">
+ <property><a4j:form></property>
+ </emphasis> helps the button to perform the action. </para>
+ <para>Note, that the RichFaces tag library should be declared on each
+ JSP page. For XHTML pages add following lines for tag
+ library declaration: </para>
+ <programlisting role="XML"><![CDATA[<xmlns:a4j="http://richfaces.org/a4j">
<xmlns:rich="http://richfaces.org/rich">]]></programlisting>
- <para> That’s it. Run the application on server. Write the full pass to <code>greeter.jsp</code> page in browser;
- do not forget to change the extension to <code>*.jsf</code>: <code>http://localhost:8080/Greeter/pages/greeter.jsf</code>
- </para>
- <figure>
- <title>"RichFaces Greeter" application</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/RichFaces Greeter.png" />
- </imageobject>
- </mediaobject>
- </figure>
- <para>
- <ulink url="http://docs.jboss.org/tools/movies/demos/rich_faces_demo/rich_faces_demo.htm">RichFaces Toolkit for developing Web application</ulink> video tutorial at JBoss portal
- shows how to perform the described actions in JBoss Developer Studio in details.
- </para>
+ <para>That’s it. Run the application on server. Write the full pass to
+ <code>index.jsp</code> page in browser:
+ <code>http://localhost:8080/Greeter/index.jsf</code>
+ </para>
+ <figure>
+ <title>"RichFaces Greeter" application</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
+ fileref="images/RichFaces Greeter.png"
+ />
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </section>
</section>
</chapter>
17 years, 2 months
JBoss Rich Faces SVN: r10880 - in trunk/test-applications/seleniumTest/richfaces/src: main/webapp/layout and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-10-23 09:33:13 -0400 (Thu, 23 Oct 2008)
New Revision: 10880
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListShuttleBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/layout.xhtml
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/listShuttle/listShuttleTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java
Log:
sourceValue/targetValue updated, listener fire with multiple selection
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListShuttleBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListShuttleBean.java 2008-10-23 13:21:34 UTC (rev 10879)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListShuttleBean.java 2008-10-23 13:33:13 UTC (rev 10880)
@@ -2,6 +2,7 @@
import java.util.ArrayList;
import java.util.List;
+import java.util.Set;
import javax.faces.event.ActionEvent;
import javax.faces.event.ValueChangeEvent;
@@ -11,6 +12,10 @@
public class ListShuttleBean {
private List<ListShuttleItem> items = null;
private List<ListShuttleItem> freeItems = null;
+
+ private Set<ListShuttleItem> sourceSelection;
+ private Set<ListShuttleItem> targetSelection;
+
private boolean controlsVisible = true;
private boolean sourceRequired;
@@ -37,6 +42,8 @@
valueChangeListener = false;
string = "something";
valueChangeListener = false;
+ sourceSelection = null;
+ targetSelection = null;
items = new ArrayList<ListShuttleItem>();
freeItems = new ArrayList<ListShuttleItem>();
for (int i = 0; i < 5; i++) {
@@ -148,4 +155,36 @@
string = "value was changed";
}
}
+
+ public void setTargetSelection(Set<ListShuttleItem> targetSelection) {
+ this.targetSelection = targetSelection;
+ }
+
+ public Set<ListShuttleItem> getTargetSelection() {
+ return targetSelection;
+ }
+
+ public Object[] getTargetSelection2() {
+ if (targetSelection != null) {
+ return targetSelection.toArray();
+ } else {
+ return null;
+ }
+ }
+
+ public void setSourceSelection(Set<ListShuttleItem> sourceSelection) {
+ this.sourceSelection = sourceSelection;
+ }
+
+ public Set<ListShuttleItem> getSourceSelection() {
+ return sourceSelection;
+ }
+
+ public Object[] getSourceSelection2() {
+ if (sourceSelection != null) {
+ return sourceSelection.toArray();
+ } else {
+ return null;
+ }
+ }
}
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/layout.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/listShuttle/listShuttleTest.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java 2008-10-23 13:21:34 UTC (rev 10879)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java 2008-10-23 13:33:13 UTC (rev 10880)
@@ -9,7 +9,6 @@
import java.util.Map;
import org.ajax4jsf.template.Template;
-import org.richfaces.AutoTester;
import org.richfaces.SeleniumEvent;
import org.richfaces.SeleniumTestBase;
import org.testng.Assert;
@@ -33,6 +32,10 @@
String targetTableId;
+ String sourceSelectionTableId;
+
+ String targetSelectionTableId;
+
String availebleListId;
String targetListId;
@@ -82,6 +85,8 @@
lsId = parentId + "ls";
sourceTableId = parentId + "sourceTableId";
targetTableId = parentId + "targetTableId";
+ sourceSelectionTableId = parentId + "sourceSelectionTableId";
+ targetSelectionTableId = parentId + "targetSelectionTableId";
availebleListId = parentId + "lstbody";
targetListId = parentId + "lstlTbody";
copyAllId = parentId + "lscopyAll";
@@ -128,7 +133,7 @@
}
/**
- * sourceValue/targetValue updated, listener fire
+ * sourceValue/targetValue updated, listener fire with multiple selection
*/
@Test
public void testValuesAndListener(Template template) {
@@ -136,13 +141,25 @@
Assert.assertEquals(getValueById(inputTextId), "something", "Value of inputText(id='inputTextId') must equal initial value('something').");
_assertTableRowsCount(sourceTableId, 5);
_assertTableRowsCount(targetTableId, 0);
+ _assertTableRowsCount(sourceSelectionTableId, 0);
+ _assertTableRowsCount(targetSelectionTableId, 0);
+
+ _selectItem(parentId + "ls:0", true);
+ _selectItem(parentId + "ls:2", true);
- clickById(copyAllId);
+ clickById(copyId);
+
+ _selectItem(parentId + "ls:1", true);
+ _selectItem(parentId + "ls:3", true);
+ _selectItem(parentId + "ls:0", true);
+
clickAjaxCommandAndWait(submitId);
Assert.assertEquals(getValueById(inputTextId), "value was changed", "Value of inputText(id='inputTextId') must equal changed value('value was changed').");
- _assertTableRowsCount(sourceTableId, 0);
- _assertTableRowsCount(targetTableId, 5);
+ _assertTableRowsCount(sourceTableId, 3);
+ _assertTableRowsCount(targetTableId, 2);
+ _assertTableRowsCount(sourceSelectionTableId, 2);
+ _assertTableRowsCount(targetSelectionTableId, 1);
}
/**
@@ -503,16 +520,20 @@
}
}
- private void _selectItem(String itemId) {
+ private void _selectItem(String itemId, boolean ctrl) {
writeStatus("Select item id: " + itemId);
try {
- fireMouseEvent(itemId, "click", 0, 0, false);
+ fireMouseEvent(itemId, "click", 0, 0, ctrl);
} catch (Exception e) {
writeStatus("Selection item id: " + itemId + " failed.");
Assert.fail("No item was found. Item id: " + itemId + e);
}
}
+ private void _selectItem(String itemId) {
+ _selectItem(itemId, false);
+ }
+
private void _checkItemText(String text, String listId, int i) {
StringBuffer b = new StringBuffer("$('");
b.append(listId);
17 years, 2 months
JBoss Rich Faces SVN: r10879 - trunk/test-applications/seamApp/ejb/src/main/resources.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-10-23 09:21:34 -0400 (Thu, 23 Oct 2008)
New Revision: 10879
Modified:
trunk/test-applications/seamApp/ejb/src/main/resources/components.properties
Log:
Modified: trunk/test-applications/seamApp/ejb/src/main/resources/components.properties
===================================================================
--- trunk/test-applications/seamApp/ejb/src/main/resources/components.properties 2008-10-23 02:16:11 UTC (rev 10878)
+++ trunk/test-applications/seamApp/ejb/src/main/resources/components.properties 2008-10-23 13:21:34 UTC (rev 10879)
@@ -1,4 +1,4 @@
#
#Mon Sep 15 14:29:32 EEST 2008
-jndiPattern=SeamApp-ear-1.0-SNAPSHOT/#{ejbName}/local
+jndiPattern=SeamApp/#{ejbName}/local
embeddedEjb=false
\ No newline at end of file
17 years, 2 months
JBoss Rich Faces SVN: r10878 - trunk/test-applications/regressionArea/Seam-web.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-10-22 22:16:11 -0400 (Wed, 22 Oct 2008)
New Revision: 10878
Modified:
trunk/test-applications/regressionArea/Seam-web/
Log:
service files svn:ignored
Property changes on: trunk/test-applications/regressionArea/Seam-web
___________________________________________________________________
Name: svn:ignore
- target
+ target
test-output
.settings
.project
17 years, 2 months
JBoss Rich Faces SVN: r10877 - trunk/test-applications/regressionArea/Seam-web.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-10-22 22:14:34 -0400 (Wed, 22 Oct 2008)
New Revision: 10877
Removed:
trunk/test-applications/regressionArea/Seam-web/.classpath
trunk/test-applications/regressionArea/Seam-web/.project
trunk/test-applications/regressionArea/Seam-web/.settings/
Log:
Eclipse service files removed
Deleted: trunk/test-applications/regressionArea/Seam-web/.classpath
===================================================================
--- trunk/test-applications/regressionArea/Seam-web/.classpath 2008-10-23 02:13:58 UTC (rev 10876)
+++ trunk/test-applications/regressionArea/Seam-web/.classpath 2008-10-23 02:14:34 UTC (rev 10877)
@@ -1,86 +0,0 @@
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
- <classpathentry kind="src" path="src/test/java" output="target/test-classes"/>
- <classpathentry kind="src" path="src/test/resources" output="target/test-classes" excluding="**/*.java"/>
- <classpathentry kind="output" path="target/classes"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/ant/ant/1.6.5/ant-1.6.5.jar" sourcepath="M2_REPO/ant/ant/1.6.5/ant-1.6.5-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/ant/ant/1.7.1/ant-1.7.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar"/>
- <classpathentry kind="var" path="M2_REPO/bsh/bsh/1.3.0/bsh-1.3.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar" sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar">
- <attributes>
- <attribute value="jar:file:/C:/Documents%20and%20Settings/Andrey/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-javadoc.jar!/" name="javadoc_location"/>
- <attribute value="/WEB-INF/lib" name="org.eclipse.jst.component.dependency"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="var" path="M2_REPO/commons-codec/commons-codec/1.3/commons-codec-1.3.jar" sourcepath="M2_REPO/commons-codec/commons-codec/1.3/commons-codec-1.3-sources.jar">
- <attributes>
- <attribute value="jar:file:/C:/Documents%20and%20Settings/Andrey/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3-javadoc.jar!/" name="javadoc_location"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/3.2/commons-collections-3.2.jar" sourcepath="M2_REPO/commons-collections/commons-collections/3.2/commons-collections-3.2-sources.jar">
- <attributes>
- <attribute value="/WEB-INF/lib" name="org.eclipse.jst.component.dependency"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="var" path="M2_REPO/commons-digester/commons-digester/1.8/commons-digester-1.8.jar" sourcepath="M2_REPO/commons-digester/commons-digester/1.8/commons-digester-1.8-sources.jar">
- <attributes>
- <attribute value="/WEB-INF/lib" name="org.eclipse.jst.component.dependency"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.3/commons-lang-2.3.jar" sourcepath="M2_REPO/commons-lang/commons-lang/2.3/commons-lang-2.3-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar">
- <attributes>
- <attribute value="jar:file:/C:/Documents%20and%20Settings/Andrey/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-javadoc.jar!/" name="javadoc_location"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="var" path="M2_REPO/dom4j/dom4j/1.6.1-jboss/dom4j-1.6.1-jboss.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/el/el-api/1.0/el-api-1.0.jar" sourcepath="M2_REPO/javax/el/el-api/1.0/el-api-1.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/codehaus/groovy/maven/gmaven-common/1.0-rc-3/gmaven-common-1.0-rc-3.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/codehaus/groovy/maven/feature/gmaven-feature-api/1.0-rc-3/gmaven-feature-api-1.0-rc-3.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/codehaus/groovy/maven/feature/gmaven-feature-support/1.0-rc-3/gmaven-feature-support-1.0-rc-3.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/codehaus/groovy/maven/runtime/gmaven-runtime-1.5/1.0-rc-3/gmaven-runtime-1.5-1.0-rc-3.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/codehaus/groovy/maven/runtime/gmaven-runtime-api/1.0-rc-3/gmaven-runtime-api-1.0-rc-3.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/codehaus/groovy/maven/runtime/gmaven-runtime-default/1.0-rc-3/gmaven-runtime-default-1.0-rc-3.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/codehaus/groovy/maven/runtime/gmaven-runtime-support/1.0-rc-3/gmaven-runtime-support-1.0-rc-3.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/codehaus/groovy/groovy-all-minimal/1.5.6/groovy-all-minimal-1.5.6.jar" sourcepath="M2_REPO/org/codehaus/groovy/groovy-all-minimal/1.5.6/groovy-all-minimal-1.5.6-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/el/jboss-el/2.0.1.GA/jboss-el-2.0.1.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam/2.0.1.GA/jboss-seam-2.0.1.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-debug/2.0.1.GA/jboss-seam-debug-2.0.1.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-remoting/2.0.1.GA/jboss-seam-remoting-2.0.1.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-ui/2.0.1.GA/jboss-seam-ui-2.0.1.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/jline/jline/0.9.94/jline-0.9.94.jar" sourcepath="M2_REPO/jline/jline/0.9.94/jline-0.9.94-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/faces/jsf-api/1.2_09/jsf-api-1.2_09.jar" sourcepath="M2_REPO/javax/faces/jsf-api/1.2_09/jsf-api-1.2_09-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14.jar" sourcepath="M2_REPO/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/faces/jsf-impl/1.2_09/jsf-impl-1.2_09.jar" sourcepath="M2_REPO/javax/faces/jsf-impl/1.2_09/jsf-impl-1.2_09-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar" sourcepath="M2_REPO/junit/junit/3.8.1/junit-3.8.1-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.14/log4j-1.2.14.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-utils/1.5.5/plexus-utils-1.5.5.jar" sourcepath="M2_REPO/org/codehaus/plexus/plexus-utils/1.5.5/plexus-utils-1.5.5-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/thoughtworks/qdox/qdox/1.6.3/qdox-1.6.3.jar" sourcepath="M2_REPO/com/thoughtworks/qdox/qdox/1.6.3/qdox-1.6.3-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/richfaces/framework/richfaces-api/3.2.2.GA/richfaces-api-3.2.2.GA.jar">
- <attributes>
- <attribute value="/WEB-INF/lib" name="org.eclipse.jst.component.dependency"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="var" path="M2_REPO/org/richfaces/framework/richfaces-impl/3.2.2.GA/richfaces-impl-3.2.2.GA.jar">
- <attributes>
- <attribute value="/WEB-INF/lib" name="org.eclipse.jst.component.dependency"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="var" path="M2_REPO/org/richfaces/ui/richfaces-ui/3.2.2.GA/richfaces-ui-3.2.2.GA.jar">
- <attributes>
- <attribute value="/WEB-INF/lib" name="org.eclipse.jst.component.dependency"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="src" path="/Seam-ejb"/>
- <classpathentry kind="var" path="M2_REPO/org/openqa/selenium/core/selenium-core/1.0-SNAPSHOT/selenium-core-1.0-SNAPSHOT.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/openqa/selenium/client-drivers/selenium-java-client-driver/1.0-SNAPSHOT/selenium-java-client-driver-1.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/openqa/selenium/client-drivers/selenium-java-client-driver/1.0-SNAPSHOT/selenium-java-client-driver-1.0-SNAPSHOT-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/openqa/selenium/server/selenium-server/1.0-SNAPSHOT/selenium-server-1.0-SNAPSHOT-standalone.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/openqa/selenium/server/selenium-server-coreless/1.0-SNAPSHOT/selenium-server-coreless-1.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/openqa/selenium/server/selenium-server-coreless/1.0-SNAPSHOT/selenium-server-coreless-1.0-SNAPSHOT-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar" sourcepath="M2_REPO/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/testng/testng/5.8/testng-5.8-jdk15.jar"/>
-</classpath>
\ No newline at end of file
Deleted: trunk/test-applications/regressionArea/Seam-web/.project
===================================================================
--- trunk/test-applications/regressionArea/Seam-web/.project 2008-10-23 02:13:58 UTC (rev 10876)
+++ trunk/test-applications/regressionArea/Seam-web/.project 2008-10-23 02:14:34 UTC (rev 10877)
@@ -1,24 +0,0 @@
-<projectDescription>
- <name>Seam-web</name>
- <comment/>
- <projects>
- <project>Seam-ejb</project>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.wst.common.project.facet.core.builder</name>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.wst.validation.validationbuilder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
- <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
- </natures>
-</projectDescription>
\ No newline at end of file
17 years, 2 months
JBoss Rich Faces SVN: r10876 - trunk/test-applications/regressionArea/Seam-ejb.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-10-22 22:13:58 -0400 (Wed, 22 Oct 2008)
New Revision: 10876
Removed:
trunk/test-applications/regressionArea/Seam-ejb/.classpath
trunk/test-applications/regressionArea/Seam-ejb/.project
trunk/test-applications/regressionArea/Seam-ejb/.settings/
Log:
Eclipse service files removed
Deleted: trunk/test-applications/regressionArea/Seam-ejb/.classpath
===================================================================
--- trunk/test-applications/regressionArea/Seam-ejb/.classpath 2008-10-23 02:13:39 UTC (rev 10875)
+++ trunk/test-applications/regressionArea/Seam-ejb/.classpath 2008-10-23 02:13:58 UTC (rev 10876)
@@ -1,58 +0,0 @@
-<classpath>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
- <classpathentry kind="output" path="target/classes"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="var" path="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar" sourcepath="M2_REPO/javax/activation/activation/1.1/activation-1.1-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6.jar" sourcepath="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar"/>
- <classpathentry kind="var" path="M2_REPO/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar"/>
- <classpathentry kind="var" path="M2_REPO/bsh/bsh/1.3.0/bsh-1.3.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/cglib/cglib/2.1_3/cglib-2.1_3.jar" sourcepath="M2_REPO/cglib/cglib/2.1_3/cglib-2.1_3-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar" sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar">
- <attributes>
- <attribute value="jar:file:/C:/Documents%20and%20Settings/Andrey/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-javadoc.jar!/" name="javadoc_location"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/3.2/commons-collections-3.2.jar" sourcepath="M2_REPO/commons-collections/commons-collections/3.2/commons-collections-3.2-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-digester/commons-digester/1.8/commons-digester-1.8.jar" sourcepath="M2_REPO/commons-digester/commons-digester/1.8/commons-digester-1.8-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.3/commons-lang-2.3.jar" sourcepath="M2_REPO/commons-lang/commons-lang/2.3/commons-lang-2.3-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-sources.jar">
- <attributes>
- <attribute value="jar:file:/C:/Documents%20and%20Settings/Andrey/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4-javadoc.jar!/" name="javadoc_location"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="var" path="M2_REPO/dom4j/dom4j/1.6.1-jboss/dom4j-1.6.1-jboss.jar"/>
- <classpathentry kind="var" path="M2_REPO/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar" sourcepath="M2_REPO/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3-sources.jar">
- <attributes>
- <attribute value="jar:file:/C:/Documents%20and%20Settings/Andrey/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3-javadoc.jar!/" name="javadoc_location"/>
- </attributes>
- </classpathentry>
- <classpathentry kind="var" path="M2_REPO/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar" sourcepath="M2_REPO/javax/ejb/ejb-api/3.0/ejb-api-3.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/el/el-api/1.0/el-api-1.0.jar" sourcepath="M2_REPO/javax/el/el-api/1.0/el-api-1.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate/3.2.4.sp1/hibernate-3.2.4.sp1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/embedded/hibernate-all/beta3/hibernate-all-beta3.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-annotations/3.3.0.ga/hibernate-annotations-3.3.0.ga.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar"/>
- <classpathentry kind="var" path="M2_REPO/jboss/javassist/3.3.ga/javassist-3.3.ga.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/el/jboss-el/2.0.1.GA/jboss-el-2.0.1.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-el/2.0.0.GA/jboss-el-2.0.0.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/embedded/jboss-embedded/beta3/jboss-embedded-beta3.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/embedded/jboss-embedded-all/beta3/jboss-embedded-all-beta3.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam/2.0.1.GA/jboss-seam-2.0.1.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-debug/2.0.1.GA/jboss-seam-debug-2.0.1.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-remoting/2.0.1.GA/jboss-seam-remoting-2.0.1.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/seam/jboss-seam-ui/2.0.1.GA/jboss-seam-ui-2.0.1.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/faces/jsf-api/1.2_09/jsf-api-1.2_09.jar" sourcepath="M2_REPO/javax/faces/jsf-api/1.2_09/jsf-api-1.2_09-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14.jar" sourcepath="M2_REPO/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/faces/jsf-impl/1.2_09/jsf-impl-1.2_09.jar" sourcepath="M2_REPO/javax/faces/jsf-impl/1.2_09/jsf-impl-1.2_09-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar" sourcepath="M2_REPO/junit/junit/3.8.1/junit-3.8.1-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.14/log4j-1.2.14.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar" sourcepath="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/richfaces/framework/richfaces-api/3.2.2.GA/richfaces-api-3.2.2.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/richfaces/framework/richfaces-impl/3.2.2.GA/richfaces-impl-3.2.2.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/richfaces/ui/richfaces-ui/3.2.2.GA/richfaces-ui-3.2.2.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/testng/testng/5.5/testng-5.5-jdk15.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jboss/embedded/thirdparty-all/beta3/thirdparty-all-beta3.jar"/>
-</classpath>
\ No newline at end of file
Deleted: trunk/test-applications/regressionArea/Seam-ejb/.project
===================================================================
--- trunk/test-applications/regressionArea/Seam-ejb/.project 2008-10-23 02:13:39 UTC (rev 10875)
+++ trunk/test-applications/regressionArea/Seam-ejb/.project 2008-10-23 02:13:58 UTC (rev 10876)
@@ -1,22 +0,0 @@
-<projectDescription>
- <name>Seam-ejb</name>
- <comment/>
- <projects/>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.wst.common.project.facet.core.builder</name>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.wst.validation.validationbuilder</name>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
- <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
- </natures>
-</projectDescription>
\ No newline at end of file
17 years, 2 months