JBoss Rich Faces SVN: r13162 - in trunk/test-applications/seleniumTest/richfaces/src: test/java/org/richfaces/testng and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2009-03-24 14:52:05 -0400 (Tue, 24 Mar 2009)
New Revision: 13162
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/ajaxLog/ajaxLogAutoTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLogTest.java
Log:
RF-6320
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/ajaxLog/ajaxLogAutoTest.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLogTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLogTest.java 2009-03-24 18:50:37 UTC (rev 13161)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLogTest.java 2009-03-24 18:52:05 UTC (rev 13162)
@@ -34,69 +34,46 @@
private final static String INIT_POPUP_MODE = "#{logBean.initPopupMode}";
- // @Test
- public void testAjaxLogLayout(Template template) {
- renderPage(template);
+ //@Test
+ public void testLogComponentWithPopupTrue(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, INIT_POPUP_MODE);
+ String inputElemId = tester.getClientId("input");
- String parentId = getParentId() + "_form:";
+ writeStatus("Check log component opens popup window by hotkey, ajax request changes component content");
+ selenium.controlKeyDown();
+ selenium.shiftKeyDown();
+ selenium.keyDown(inputElemId, "\\76");
+ selenium.shiftKeyUp();
+ selenium.controlKeyUp();
- String inputElemId = parentId + "input";
- String logElemId = "logConsole";
+ selenium.windowFocus();
writeStatus("Type smth. All typing is being logged");
-
type(inputElemId, "typing");
- waitForAjaxCompletion();
- writeStatus("test that log element is present");
- AssertRendered(logElemId);
+ try {
+ selenium.selectWindow("logWindow");
+ selenium.windowFocus();
+ // at least dozen messages have to be logged
+ String body = selenium.getBodyText();
+ if (!body.contains("debug[")) {
+ Assert.fail("There is no debug messages here");
+ }
- writeStatus("test that clear button is present and has proper label");
+ // check clear button
+ selenium.click("//button");
- if (selenium.isElementPresent("//div[@id='logConsole']/button")) {
- String clearBtnLabel = selenium.getText("//div[@id='logConsole']/button");
- if (null == clearBtnLabel || !clearBtnLabel.trim().equalsIgnoreCase("Clear")) {
- Assert.fail("Clear button has obscure label");
+ body = selenium.getBodyText();
+ if (body.contains("debug[")) {
+ Assert.fail("log must be empty");
}
- } else {
- Assert.fail("Clear button is not rendered");
+ } finally {
+ selenium.selectWindow(null);
}
-
- writeStatus("at least dozen messages have to be logged");
- int logCount = selenium.getXpathCount("//div[@id='logConsole']/div").intValue();
- if (logCount < 12) {
- Assert.fail("There are suspiciously few log messages here");
- }
-
- writeStatus("check clear button");
- selenium.click("//div[@id='logConsole']/button");
-
- logCount = selenium.getXpathCount("//div[@id='logConsole']/div").intValue();
- if (logCount > 0) {
- Assert.fail("log must be empty");
- }
-
- writeStatus("test style attribute");
-
- // String style =
- // selenium.getAttribute("//div[@id='logConsole']/@style");
- int w = selenium.getElementWidth("//div[@id='logConsole']").intValue();
- int h = selenium.getElementHeight("//div[@id='logConsole']").intValue();
-
- if (800 != w || 300 != h) {
- Assert.fail("Style does not affect ajax log component");
- }
}
@Test
- public void testLogComponentWithPopupTrue(Template template) {
- AutoTester tester = getAutoTester(this);
- tester.renderPage(template, INIT_POPUP_MODE);
- writeStatus("Check log component opens popup window by hotkey, ajax request changes component content");
- // TODO: implement test
- }
-
- @Test
public void testLogComponentWithPopupFalse(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
15 years, 9 months
JBoss Rich Faces SVN: r13161 - in trunk/test-applications/realworld2: web/src/main/java/org/richfaces/realworld/util and 5 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2009-03-24 14:50:37 -0400 (Tue, 24 Mar 2009)
New Revision: 13161
Added:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/util/Help.java
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/tags/templates/help.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/img/icons/
trunk/test-applications/realworld2/web/src/main/webapp/img/icons/help.gif
trunk/test-applications/realworld2/web/src/main/webapp/includes/help/
trunk/test-applications/realworld2/web/src/main/webapp/includes/help/tree_build_descr.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/help/tree_click_descr.xhtml
Modified:
trunk/test-applications/realworld2/doc/tree_build_descr.xhtml
trunk/test-applications/realworld2/doc/tree_click_descr.xhtml
Log:
Modified: trunk/test-applications/realworld2/doc/tree_build_descr.xhtml
===================================================================
--- trunk/test-applications/realworld2/doc/tree_build_descr.xhtml 2009-03-24 18:47:27 UTC (rev 13160)
+++ trunk/test-applications/realworld2/doc/tree_build_descr.xhtml 2009-03-24 18:50:37 UTC (rev 13161)
@@ -8,78 +8,50 @@
<h1> The <rich:tree> component</h1>
<p>The component is designed for hierarchical data presentation and is applied for building a tree structure. The component also uses built-in drag and drop.</p>
-<p>The <rich:tree> component in the PhotoAlbum application helps to represent and realize inherently the �Shelves�Albums�Photos� paradigm. Shelf is the highest possible level in the tree hierarchy. Shelfs are used to group thematic albums and may contain as many albums as needed. Photos are not represented in the tree because of their possible big quantities, which can make tree clumsy. Photos by themselves are rendered in the center of the screen (hereinafter referred to as watching area).</p>
+<p>The <rich:tree> component in the PhotoAlbum application helps to represent and realize inherently the "Shelves-Albums-Photos" paradigm. Shelf is the highest possible level in the tree hierarchy. Shelfs are used to group thematic albums and may contain as many albums as needed. Photos are not represented in the tree because of their possible big quantities, which can make tree clumsy. Photos by themselves are rendered in the center of the screen (hereinafter referred to as watching area).</p>
-<p>Implicitly, the <rich:tree> components takes one of the main position in the PhotoAlbum and bounded with many application logic. There are several ways to realize the <rich:tree>. In the current application the <rich:tree> is realized using model tag <rich:treeNodesAdaptor>.</p>
+<p>Implicitly, the <rich:tree> components takes one of the main position in the PhotoAlbum and bounded with many application logic. There are several ways to realize the <rich:tree>. In the current application the <rich:tree> is realized using model tag <rich:treeNodesAdaptor>.</p>
-<p>Using the <rich:treeNodesAdaptor> means that the typical hierarchical tree structure is built on page straight in the component tree. The code snippet below shows the idea of how the tree can be built on the page with the help of adaptors:</p>
+<p>Using the <rich:treeNodesAdaptor> means that the typical hierarchical tree structure is built on page straight in the component tree. The code snippet below shows the idea of how the tree can be built on the page with the help of adaptors:</p>
-<BLOCKQUOTE>
-<rich:tree>
- <rich:treeNodesAdaptor>
- <rich:treeNode />
+<pre>
+<rich:tree>
+ <rich:treeNodesAdaptor>
+ </rich:treeNode />
- <rich:treeNodesAdaptor>
- <rich:treeNode />
+ <rich:treeNodesAdaptor>
+ </rich:treeNode />
- <rich:treeNodesAdaptor>
- <rich:treeNode />
+ <rich:treeNodesAdaptor>
+ </rich:treeNode />
- <rich:treeNodesAdaptor>
- <rich:treeNode />
- </rich:treeNodesAdaptor>
+ <rich:treeNodesAdaptor>
+ </rich:treeNode />
+ </rich:treeNodesAdaptor>
- </rich:treeNodesAdaptor>
- </rich:treeNodesAdaptor>
- </rich:treeNodesAdaptor>
-</rich:tree>
-</BLOCKQUOTE>
+ </rich:treeNodesAdaptor>
+ </rich:treeNodesAdaptor>
+ </rich:treeNodesAdaptor>
+</rich:tree>
+</pre>
<p>The NodesAdaptors completely repeat the tree hierarchy that takes place in an application. Adaptors may be nested one into another as deeply as needed. </p>
-<p>When using <rich:treeNodesAdaptor> component there is no need to specify the "value" and "var" attributes for the <rich:tree>. The values for nodes to be rendered are passed directly into the corresponding adaptor and the component do all the necessary iterative job. </p>
+<p>When using <rich:treeNodesAdaptor> component there is no need to specify the "value" and "var" attributes for the <rich:tree>. The values for nodes to be rendered are passed directly into the corresponding adaptor and the component do all the necessary iterative job. </p>
-<p>The realization of the <rich:tree> in the application is very close to the model shown above. The <rich:treeNodesAdaptor> component has �nodes� attribute. This attribute accepts collections that may include lists, arrays, maps, XML NodeList and NamedNodeMap either as single objects. The top <rich:treeNodesAdaptor> in the application responses for shelfs rendering. It �nodes� attribute refers to getShelfs() method of ShelfManager class and gets the collection of shelfs associated with the current user and all the shared shelfs in the system. Take a look at this method:</p>
+<p>The realization of the <rich:tree> in the application is very close to the model shown above. The <rich:treeNodesAdaptor>component has "nodes" attribute. This attribute accepts collections that may include lists, arrays, maps, XML NodeList and NamedNodeMap either as single objects. The top <rich:treeNodesAdaptor> in the application responses for shelfs rendering. It "nodes" attribute refers to getShelfs() method of ShelfManager class and gets the collection of shelfs associated with the current user and all the shared shelfs in the system. Take a look at this method:</p>
-<BLOCKQUOTE>
- public List<Shelf> getShelfs(){
+<pre>
+ public List<Shelf> getShelfs(){
if(shelfs == null){
shelfs = shelfAction.getShelfs(user);
}
return shelfs;
}
-</BLOCKQUOTE>
+</pre>
-<p>After the �nodes� attribute of �shelf� <rich:treeNodesAdaptor> receives the collection of shelfs, it switches to the nested �album� <rich:treeNodesAdaptor>, which �nodes� attribute refers in it turn to albums field of the Shelf class and takes the collection of all albums associated with the current shelf. The <rich:treeNodesAdaptor> renders all the albums that belongs to current iterating shelf and switches back to the �shelf� adaptor to render and iterate the next shelf in the received earlier collection. Here is how it looks in the webapp/includes/index/tree.xhtml file:</p>
-<BLOCKQUOTE>
-<rich:tree id="tree" ...>
- <rich:treeNodesAdaptor nodes="#{shelfManager.getShelfs()}" ...>
- <rich:treeNode reRender="mainArea" ...>
- <rich:dropSupport id="shelfDND" .../>
- <ui:include src="/includes/contextMenu/CMForShelf.xhtml" >
- <ui:param name="shelf" ... />
- </ui:include>
- <h:outputText value="#{shelf.name}" />
- <h:outputText value=" :: " /> <strong>#{shelfManager.getCountUnvisitedImages(shelf)}
- </strong> new
- <a4j:support reRender="tree, mainArea" .../>
- <a4j:support reRender="tree, mainArea" .../>
- </rich:treeNode>
- <rich:treeNodesAdaptor var="album" ...>
- <rich:treeNode reRender="mainArea" ...>
- <ui:include src="/includes/contextMenu/CMForAlbum.xhtml" >
- <ui:param name="album" ... />
- </ui:include>
- <rich:dndParam name="label" ... />
- <h:outputText value="#{album.name}" />
- <h:outputText value=" :: " />
- <strong>#{albumManager.getCountUnvisitedImages(album)}</strong> new
- <rich:dropSupport id="php" .../>
- <a4j:support reRender="tree, mainArea" .../>
- <a4j:support reRender="tree, mainArea" .../>
- </rich:treeNode>
- </rich:treeNodesAdaptor>
- </rich:treeNodesAdaptor>
-</rich:tree>
-<BLOCKQUOTE>
+<p>After the "nodes" attribute of "shelf" <rich:treeNodesAdaptor> receives the collection of shelfs, it switches to the nested "album" <rich:treeNodesAdaptor>, which "nodes" attribute refers in it turn to albums field of the Shelf class and takes the collection of all albums associated with the current shelf. The <rich:treeNodesAdaptor> renders all the albums that belongs to current iterating shelf and switches back to the "shelf" adaptor to render and iterate the next shelf in the received earlier collection. Here is how it looks in the webapp/includes/index/tree.xhtml file:</p>
+<pre>
+<rich:insert src="/includes/index/tree.xhtml"></rich:insert>
+</pre>
</ui:composition>
\ No newline at end of file
Modified: trunk/test-applications/realworld2/doc/tree_click_descr.xhtml
===================================================================
--- trunk/test-applications/realworld2/doc/tree_click_descr.xhtml 2009-03-24 18:47:27 UTC (rev 13160)
+++ trunk/test-applications/realworld2/doc/tree_click_descr.xhtml 2009-03-24 18:50:37 UTC (rev 13161)
@@ -4,8 +4,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-
-<h1> How the tree built</h1>
-<h1> What happens when click on tree node</h1>
-<BLOCKQUOTE>
+<h1> List of use-cases on rich:tree component:</h1>
+<a4j:commandLink actionListener="#{help.navigateTo('/includes/help/tree_build_descr.xhtml')}" reRender="helpForm"> How the tree built</a4j:commandLink><br/>
+<a4j:commandLink actionListener="#{help.navigateTo('/includes/help/tree_build_descr.xhtml')}" reRender="helpForm"> What happens when click on tree node</a4j:commandLink>
</ui:composition>
\ No newline at end of file
Added: trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/util/Help.java
===================================================================
--- trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/util/Help.java (rev 0)
+++ trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/util/Help.java 2009-03-24 18:50:37 UTC (rev 13161)
@@ -0,0 +1,26 @@
+package org.richfaces.realworld.util;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.AutoCreate;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+
+@Name("help")
+(a)Scope(ScopeType.CONVERSATION)
+@AutoCreate
+public class Help {
+
+ private String page;
+
+ public String getPage() {
+ return page;
+ }
+
+ public void setPage(String page) {
+ this.page = page;
+ }
+
+ public void navigateTo(String src){
+ this.setPage(src);
+ }
+}
Property changes on: trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/util/Help.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Added: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/tags/templates/help.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/tags/templates/help.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added: trunk/test-applications/realworld2/web/src/main/webapp/img/icons/help.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/realworld2/web/src/main/webapp/img/icons/help.gif
___________________________________________________________________
Name: svn:mime-type
+ image/gif
Added: trunk/test-applications/realworld2/web/src/main/webapp/includes/help/tree_build_descr.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/realworld2/web/src/main/webapp/includes/help/tree_build_descr.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added: trunk/test-applications/realworld2/web/src/main/webapp/includes/help/tree_click_descr.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/realworld2/web/src/main/webapp/includes/help/tree_click_descr.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
15 years, 9 months
JBoss Rich Faces SVN: r13160 - in trunk/test-applications/realworld2/web/src/main: webapp/WEB-INF/tags and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2009-03-24 14:47:27 -0400 (Tue, 24 Mar 2009)
New Revision: 13160
Removed:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/util/Functions.java
Modified:
trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/tags/realWorld-taglib.xml
trunk/test-applications/realworld2/web/src/main/webapp/includes/index/tree.xhtml
trunk/test-applications/realworld2/web/src/main/webapp/includes/misc/modalPanels.xhtml
Log:
Add help modal panel
Deleted: trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/util/Functions.java
===================================================================
--- trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/util/Functions.java 2009-03-24 18:45:52 UTC (rev 13159)
+++ trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/util/Functions.java 2009-03-24 18:47:27 UTC (rev 13160)
@@ -1,37 +0,0 @@
-/**
- *
- */
-package org.richfaces.realworld.util;
-
-/**
- * @author Nick Belaevski
- *
- */
-public class Functions {
-
- private Functions() {
- }
-
- public static String rectangle(int width, int height, int maxSize) {
- long newWidth;
- long newHeight;
-
- if (width > height) {
- newWidth = maxSize;
- newHeight = Math.round((((double)height) / width) * maxSize);
- } else {
- newHeight = maxSize;
- newWidth = Math.round((((double)width) / height) * maxSize);
- }
-
- if (newHeight <= 0) {
- newHeight = 1;
- }
-
- if (newWidth <= 0) {
- newWidth = 1;
- }
-
- return "width: " + newWidth + "px; height: " + newHeight + "px;";
- }
-}
Modified: trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/tags/realWorld-taglib.xml
===================================================================
--- trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/tags/realWorld-taglib.xml 2009-03-24 18:45:52 UTC (rev 13159)
+++ trunk/test-applications/realworld2/web/src/main/webapp/WEB-INF/tags/realWorld-taglib.xml 2009-03-24 18:47:27 UTC (rev 13160)
@@ -13,6 +13,10 @@
<source>templates/shelf.xhtml</source>
</tag>
<tag>
+ <tag-name>help</tag-name>
+ <source>templates/help.xhtml</source>
+ </tag>
+ <tag>
<tag-name>confirm</tag-name>
<source>templates/confirmation.xhtml</source>
</tag>
@@ -23,9 +27,4 @@
<renderer-type>org.ajax4jsf.components.RealworldAjaxCommandButtonRenderer</renderer-type>
</component>
</tag>
- <function>
- <function-name>rectangle</function-name>
- <function-class>org.richfaces.realworld.util.Functions</function-class>
- <function-signature>java.lang.String rectangle(int, int, int)</function-signature>
- </function>
</facelet-taglib>
\ No newline at end of file
Modified: trunk/test-applications/realworld2/web/src/main/webapp/includes/index/tree.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/realworld2/web/src/main/webapp/includes/misc/modalPanels.xhtml
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Rich Faces SVN: r13159 - trunk/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/tree.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2009-03-24 14:45:52 -0400 (Tue, 24 Mar 2009)
New Revision: 13159
Modified:
trunk/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/tree/Bean.java
Log:
Modified: trunk/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/tree/Bean.java
===================================================================
--- trunk/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/tree/Bean.java 2009-03-24 18:04:07 UTC (rev 13158)
+++ trunk/test-applications/seamApp/web/src/main/java/org/richfaces/helloworld/domain/tree/Bean.java 2009-03-24 18:45:52 UTC (rev 13159)
@@ -190,7 +190,7 @@
tree.setRowKey(null);
// Force more than one node to update here:
for (int i = 0; i < 5; i++) {
- ListRowKey dirtyKey = new ListRowKey(Integer.toString(i));
+ ListRowKey dirtyKey = new ListRowKey(null,Integer.toString(i));
keys.add(dirtyKey);
tree.setRowKey(dirtyKey);
ajaxCtx.addComponentToAjaxRender(tree.getParent(), tree.getClientId(fctx));
@@ -207,7 +207,7 @@
public String expand() {
if (expandPath != null && expandPath.length() != 0) {
try {
- tree.queueNodeExpand(new ListRowKey(expandPath));
+ tree.queueNodeExpand(new ListRowKey(null,expandPath));
} catch (IOException e) {
e.printStackTrace();
@@ -312,7 +312,7 @@
String pathToExpand = getPathToExpand();
if (pathToExpand != null && pathToExpand.trim().length() != 0) {
try {
- ((UITree) getTree()).queueNodeExpand(new ListRowKey(pathToExpand));
+ ((UITree) getTree()).queueNodeExpand(new ListRowKey(null,pathToExpand));
} catch (IOException e) {
throw new FacesException(e);
}
15 years, 9 months
JBoss Rich Faces SVN: r13158 - Reports/3.3.1 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2009-03-24 14:04:07 -0400 (Tue, 24 Mar 2009)
New Revision: 13158
Modified:
trunk/test-applications/qa/Test Reports/3.3.1/RFTestReport3.3.1.BETA1.xls
Log:
Modified: trunk/test-applications/qa/Test Reports/3.3.1/RFTestReport3.3.1.BETA1.xls
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Rich Faces SVN: r13157 - Plan and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2009-03-24 14:03:15 -0400 (Tue, 24 Mar 2009)
New Revision: 13157
Modified:
trunk/test-applications/qa/Test Plan/TestPlan-RF.doc
Log:
Modified: trunk/test-applications/qa/Test Plan/TestPlan-RF.doc
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Rich Faces SVN: r13156 - Reports/3.3.1 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2009-03-24 13:59:51 -0400 (Tue, 24 Mar 2009)
New Revision: 13156
Modified:
trunk/test-applications/qa/Test Reports/3.3.1/RFTestReport3.3.1.BETA1.xls
Log:
Modified: trunk/test-applications/qa/Test Reports/3.3.1/RFTestReport3.3.1.BETA1.xls
===================================================================
(Binary files differ)
15 years, 9 months
JBoss Rich Faces SVN: r13155 - trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-03-24 13:36:50 -0400 (Tue, 24 Mar 2009)
New Revision: 13155
Modified:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml
Log:
https://jira.jboss.org/jira/browse/RF-6419https://jira.jboss.org/jira/bro...
added new features
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml 2009-03-24 17:36:32 UTC (rev 13154)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/faces-config.xml 2009-03-24 17:36:50 UTC (rev 13155)
@@ -112,6 +112,11 @@
<value>false</value>
</managed-property>
</managed-bean>
+ <managed-bean>
+ <managed-bean-name>fileUpload</managed-bean-name>
+ <managed-bean-class>org.docs.fileUpload.FileUpload</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
<application>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
<locale-config>
15 years, 9 months
JBoss Rich Faces SVN: r13153 - trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2009-03-24 13:35:14 -0400 (Tue, 24 Mar 2009)
New Revision: 13153
Modified:
trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml
Log:
https://jira.jboss.org/jira/browse/RF-6419https://jira.jboss.org/jira/bro...
added new features
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml 2009-03-24 17:34:28 UTC (rev 13152)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/WEB-INF/web.xml 2009-03-24 17:35:14 UTC (rev 13153)
@@ -15,12 +15,21 @@
<filter>
<display-name>Ajax4jsf Filter</display-name>
<filter-name>ajax4jsf</filter-name>
- <filter-class>org.ajax4jsf.Filter</filter-class>
+ <filter-class>org.ajax4jsf.Filter</filter-class>
+ <init-param>
+ <param-name>createTempFiles</param-name>
+ <param-value>false</param-value>
+ </init-param>
+ <init-param>
+ <param-name>maxRequestSize</param-name>
+ <param-value>10000000</param-value>
+ </init-param>
</filter>
+
<context-param>
<param-name>org.richfaces.LoadScriptStrategy</param-name>
<param-value>ALL</param-value>
@@ -47,6 +56,7 @@
</context-param>
+
<!-- Seam -->
<listener>
15 years, 9 months