JBoss Rich Faces SVN: r11993 - in trunk/ui/columns/src/main: java/org/richfaces/taglib and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: alevkovsky
Date: 2008-12-23 09:26:04 -0500 (Tue, 23 Dec 2008)
New Revision: 11993
Modified:
trunk/ui/columns/src/main/config/component/columns.xml
trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsHandler.java
trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsTag.java
Log:
https://jira.jboss.org/jira/browse/RF-4292
Modified: trunk/ui/columns/src/main/config/component/columns.xml
===================================================================
--- trunk/ui/columns/src/main/config/component/columns.xml 2008-12-23 13:21:19 UTC (rev 11992)
+++ trunk/ui/columns/src/main/config/component/columns.xml 2008-12-23 14:26:04 UTC (rev 11993)
@@ -81,5 +81,13 @@
Binding attribute
</description>
</property>
+ <property>
+ <name>rendered</name>
+ <classname>boolean</classname>
+ <description>
+ Attribute defines if component should be rendered. Default value is "true".
+ </description>
+ <defaultvalue>true</defaultvalue>
+ </property>
</component>
</components>
Modified: trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsHandler.java
===================================================================
--- trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsHandler.java 2008-12-23 13:21:19 UTC (rev 11992)
+++ trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsHandler.java 2008-12-23 14:26:04 UTC (rev 11993)
@@ -95,6 +95,9 @@
/** end attribute */
private TagAttribute end;
+
+ /** rendered attribute */
+ private boolean rendered = true;
class IterationContext {
@@ -400,12 +403,32 @@
}
}
- /* (non-Javadoc)
- * @see org.richfaces.taglib.ComponentHandler#apply(com.sun.facelets.FaceletContext, javax.faces.component.UIComponent)
- */
+ private void initRendered(FaceletContext ctx) {
+ TagAttribute renderedAttribute = getAttribute("rendered");
+ if (renderedAttribute != null) {
+ try {
+ this.rendered = (Boolean) renderedAttribute.getObject(ctx);
+ } catch (ClassCastException e) {
+ this.rendered = true;
+ }
+ }
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.richfaces.taglib.ComponentHandler#apply(com.sun.facelets.FaceletContext,
+ * javax.faces.component.UIComponent)
+ */
//@Override
public void apply(FaceletContext ctx, UIComponent parent)
throws IOException, FacesException, ELException {
+
+ initRendered(ctx);
+ if(!rendered){
+ return;
+ }
+
IterationContext iterationContext = new IterationContext();
iterationContextLocal.set(iterationContext);
Modified: trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsTag.java
===================================================================
--- trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsTag.java 2008-12-23 13:21:19 UTC (rev 11992)
+++ trunk/ui/columns/src/main/java/org/richfaces/taglib/ColumnsTag.java 2008-12-23 14:26:04 UTC (rev 11993)
@@ -241,6 +241,14 @@
* width Attribute defines width of column. Default value is "100px".
*/
private ValueExpression _width;
+
+ /**
+ * Attribute defines if component should be rendered.
+ */
+ private ValueExpression _rendered;
+
+ /** boolean value of rendered attr */
+ private boolean rendered = true;
/**
* SortOrder is an enumeration of the possible sort orderings. Setter for
@@ -282,7 +290,10 @@
*/
@Override
public int doStartTag() throws JspException {
-
+ initRendered();
+ if(!rendered){
+ return SKIP_BODY;
+ }
prepare();
if (hasNext()) {
@@ -329,6 +340,9 @@
*/
@Override
public int doEndTag() throws JspException {
+ if(!rendered){
+ return EVAL_PAGE;
+ }
if (!atFirst()) {
return super.doEndTag();
}
@@ -672,7 +686,21 @@
// TODO: handle exception
}
}
+
+ /**
+ * Extracts boolean value from index rendered
+ */
+ private void initRendered() {
+ if (_rendered != null) {
+ try {
+ rendered = (Boolean) _rendered.getValue(getELContext());
+ } catch (ClassCastException e) {
+ rendered = true;
+ }
+ }
+ }
+
/**
* Return true if we didn't complete column's count
*
@@ -1109,4 +1137,14 @@
public void setSortExpression(ValueExpression __sortExpression) {
this._sortExpression = __sortExpression;
}
+
+ /**
+ * Attribute defines whether to render component or not
+ * Setter for rendered
+ *
+ * @param __rendered - new value
+ */
+ public void setRendered(ValueExpression __rendered) {
+ this._rendered = __rendered;
+ }
}
16 years
JBoss Rich Faces SVN: r11992 - trunk/framework/impl/src/main/resources/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: pgolawski
Date: 2008-12-23 08:21:19 -0500 (Tue, 23 Dec 2008)
New Revision: 11992
Modified:
trunk/framework/impl/src/main/resources/org/richfaces/component/messages_de.properties
Log:
use proper German messages
Modified: trunk/framework/impl/src/main/resources/org/richfaces/component/messages_de.properties
===================================================================
--- trunk/framework/impl/src/main/resources/org/richfaces/component/messages_de.properties 2008-12-23 13:18:35 UTC (rev 11991)
+++ trunk/framework/impl/src/main/resources/org/richfaces/component/messages_de.properties 2008-12-23 13:21:19 UTC (rev 11992)
@@ -1,9 +1,9 @@
# components
org.richfaces.component.UIExtendedDataTable.Menu.Columns=Spalten
-org.richfaces.component.UIExtendedDataTable.Menu.SortAscending=Sortieren aufsteigend
-org.richfaces.component.UIExtendedDataTable.Menu.SortDescending=Sortieren absteigend
-org.richfaces.component.UIExtendedDataTable.Menu.GroupByColumn=Gruppe nach Spalte
-org.richfaces.component.UIExtendedDataTable.Menu.DisableGrouping=Deaktivieren Sie Gruppierung
+org.richfaces.component.UIExtendedDataTable.Menu.SortAscending=Absteigend sortieren
+org.richfaces.component.UIExtendedDataTable.Menu.SortDescending=Aufsteigend sortieren
+org.richfaces.component.UIExtendedDataTable.Menu.GroupByColumn=Gruppierung anhand der Spalte
+org.richfaces.component.UIExtendedDataTable.Menu.DisableGrouping=Gruppierung aufheben
# converters
16 years
JBoss Rich Faces SVN: r11991 - trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-12-23 08:18:35 -0500 (Tue, 23 Dec 2008)
New Revision: 11991
Modified:
trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
Log:
https://jira.jboss.org/jira/browse/RF-2648
Modified: trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
===================================================================
--- trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-12-23 12:13:56 UTC (rev 11990)
+++ trunk/ui/menu-components/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2008-12-23 13:18:35 UTC (rev 11991)
@@ -399,6 +399,10 @@
var scrollOffsets = Position.realOffset(this.layer);
toolTipX = toolTipX + scrollOffsets[0];
toolTipY = toolTipY + scrollOffsets[1];
+ var dx = window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0;
+ var dy = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
+ toolTipX -= dx;
+ toolTipY -= dy;
var layerdim = Element.getDimensions(this.layer);
var layerLeft = toolTipX;
16 years
JBoss Rich Faces SVN: r11990 - trunk/ui/inplaceSelect/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-12-23 07:13:56 -0500 (Tue, 23 Dec 2008)
New Revision: 11990
Modified:
trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
Log:
remove default value
Modified: trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml
===================================================================
--- trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-12-23 12:10:58 UTC (rev 11989)
+++ trunk/ui/inplaceSelect/src/main/config/component/inplaceselect.xml 2008-12-23 12:13:56 UTC (rev 11990)
@@ -71,7 +71,7 @@
<classname>java.lang.String</classname>
<description>The attribute is used to display text while
value is undefined</description>
- <defaultvalue>"\u00a0\u00a0\u00a0"</defaultvalue>
+ <defaultvalue>""</defaultvalue>
</property>
<property>
<name>showControls</name>
16 years
JBoss Rich Faces SVN: r11989 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-12-23 07:10:58 -0500 (Tue, 23 Dec 2008)
New Revision: 11989
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/organiser.xhtml
Log:
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/organiser.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/organiser.xhtml 2008-12-23 11:06:46 UTC (rev 11988)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/organiser.xhtml 2008-12-23 12:10:58 UTC (rev 11989)
@@ -45,7 +45,7 @@
</f:facet>
<h:form>
<h:panelGrid columns="2" id="editContent">
- <h:outputText value="Short Descrition:"/>
+ <h:outputText value="Short Description:"/>
<h:inputText value="#{calendarDataModel.currentShortDescription}"/>
<h:outputText value="Day Notes:"/>
<h:inputTextarea value="#{calendarDataModel.currentDescription}"/>
16 years
JBoss Rich Faces SVN: r11988 - trunk/docs/faq/en/src/main/docbook/module.
by richfaces-svn-commits@lists.jboss.org
Author: cluts
Date: 2008-12-23 06:06:46 -0500 (Tue, 23 Dec 2008)
New Revision: 11988
Modified:
trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml
Log:
RF-5176 - the new section has been added
Modified: trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml
===================================================================
--- trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2008-12-23 11:05:40 UTC (rev 11987)
+++ trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2008-12-23 11:06:46 UTC (rev 11988)
@@ -2741,4 +2741,16 @@
</itemizedlist>
</para>
</section>
+ <section id="OnJBossServer">
+ <title>How to launch the RichFaces sample on the JBoss server </title>
+ <para>
+ In order to launch the RichFaces sample application on the JBoss server you necessary to add the following code to your web.xml:
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<context-param>
+ <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
+ <param-value>true</param-value>
+</context-param>
+...]]></programlisting>
+ </section>
</chapter>
16 years
JBoss Rich Faces SVN: r11987 - 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: 2008-12-23 06:05:40 -0500 (Tue, 23 Dec 2008)
New Revision: 11987
Added:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/facetsTest.xhtml
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/layoutTests.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
https://jira.jboss.org/jira/browse/RF-5343
Added: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/facetsTest.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/facetsTest.xhtml (rev 0)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/facetsTest.xhtml 2008-12-23 11:05:40 UTC (rev 11987)
@@ -0,0 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+
+<ui:composition template="#{templateBean.template}">
+ <ui:define name="component">
+ <h:form id="_form">
+ <rich:calendar
+ id="calendar"
+ popup="false"
+ cellWidth="70px"
+ cellHeight="70px">
+ <f:facet name="header">
+ <h:panelGrid columns="2">
+ <h:outputText value="Header"/>
+ <h:outputText value="{todayControl}"/>
+ </h:panelGrid>
+ </f:facet>
+ <f:facet name="optionalHeader">
+ <h:outputText value="optionalHeader"/>
+ </f:facet>
+ <f:facet name="weekDay">
+ <h:outputText value="WD: {weekDayLabelShort}"/>
+ </f:facet>
+ <f:facet name="weekNumber">
+ <h:outputText value="WN: {weekNumber}" style="color:red"/>
+ </f:facet>
+ <f:facet name="footer">
+ <h:panelGrid columns="4">
+ <h:outputText value="Footer"/>
+ <h:outputText value="{previousMonthControl}"/>
+ <h:outputText value="{currentMonthControl}"/>
+ <h:outputText value="{nextMonthControl}"/>
+ </h:panelGrid>
+ </f:facet>
+ <f:facet name="optionalFooter">
+ <h:outputText value="optionalFooter"/>
+ </f:facet>
+ <h:outputText value="{day}"></h:outputText>
+ </rich:calendar>
+ </h:form>
+ </ui:define>
+</ui:composition>
+</html>
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/layoutTests.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2008-12-23 10:54:38 UTC (rev 11986)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2008-12-23 11:05:40 UTC (rev 11987)
@@ -75,6 +75,8 @@
static final String RESET_TIME_ON_DATE_SELECTION_TEST_URL = "pages/calendar/resetTimeOnDateSelectTest.xhtml";
+ static final String FACETS_TEST_URL = "pages/calendar/facetsTest.xhtml";
+
static final String CONTROLS_FORM_ID = "_controls:";
static final String availableDayCellClass = "rich-calendar-cell-size rich-calendar-cell rich-calendar-btn";
@@ -191,7 +193,15 @@
String enableManualInputId;
String boundaryDatesModeId;
+
+ String optionalHeaderFacetId;
+ String optionalFooterFacetId;
+
+ String headerFacetId;
+
+ String footerFacetId;
+
void initIds(String parentId) {
calendarId = parentId + FORM_ID + "calendar";
calendarHeaderId = calendarId + "Header";
@@ -241,6 +251,10 @@
directionId = parentId + FORM_ID + "direction";
enableManualInputId = parentId + FORM_ID + "enableManualInput";
boundaryDatesModeId = parentId + FORM_ID + "boundaryDatesMode";
+ optionalHeaderFacetId = calendarId + "HeaderOptional";
+ optionalFooterFacetId = calendarId + "FooterOptional";
+ headerFacetId = calendarId + "Header";
+ footerFacetId = calendarId + "Footer";
}
String getStatus() {
@@ -1636,10 +1650,43 @@
@Test
public void testFacets(Template template) {
- renderPage(LAYOUT_TESTS_URL, template, null);
+ renderPage(FACETS_TEST_URL, template, null);
initIds(getParentId());
+ writeStatus("Check facets of the component: 'header', 'footer', 'optionalHeader', 'optionalFooter', 'weekNumber' and 'weekDay'");
- writeStatus("Check facets of the component: 'header', 'footer', 'optionalHeader', 'optionalFooter', 'weekNumber' and 'weekDay'");
+ AssertTextEquals(optionalHeaderFacetId, "optionalHeader", "Optional header facet is not rendered to client");
+ AssertTextEquals(optionalFooterFacetId, "optionalFooter", "Optional footer facet is not rendered to client");
+
+ writeStatus("Check header facet");
+ String headerFacetText = selenium.getText(headerFacetId);
+ Assert.assertTrue(headerFacetText.matches(".*Header.*"), "Header facet is not rendered to client");
+ Assert.assertTrue(headerFacetText.matches(".*Today.*"), "Header facet is not rendered to client");
+
+ writeStatus("Check footer facet");
+ AssertPresent(footerFacetId, "Footer facet is not rendered");
+ AssertTextEquals("//*[@id='" + footerFacetId + "']/table/tbody/tr/td[1]", "Footer");
+
+ writeStatus("Check '{previousMonthControl}' element works");
+ AssertTextEquals("//*[@id='" + footerFacetId + "']/table/tbody/tr/td[2]", "<");
+ String beforeHTML = getHTMLById(calendarId);
+ selenium.click("//*[@id='" + footerFacetId + "']/table/tbody/tr/td[2]/div");
+ String afterHTML = getHTMLById(calendarId);
+ Assert.assertFalse(afterHTML.equals(beforeHTML), "It looks as if previous month control does not work");
+
+ writeStatus("Check '{nextMonthControl}' element works");
+ AssertTextEquals("//*[@id='" + footerFacetId + "']/table/tbody/tr/td[4]", ">");
+ beforeHTML = getHTMLById(calendarId);
+ selenium.click("//*[@id='" + footerFacetId + "']/table/tbody/tr/td[4]/div");
+ afterHTML = getHTMLById(calendarId);
+ Assert.assertFalse(afterHTML.equals(beforeHTML), "It looks as if next month control does not work");
+
+ writeStatus("Check 'weekNumber' facet");
+ String weekNumberCellText = selenium.getText(calendarId + "WeekNumCell1");
+ Assert.assertTrue(weekNumberCellText.matches(".*WN:.*"), "Week number facet is not rendered to client");
+
+ writeStatus("Check 'weekDay' facet");
+ String weekDayCellText = selenium.getText(calendarId + "WeekDayCell1");
+ Assert.assertTrue(weekDayCellText.matches(".*WD:.*"), "Week day facet is not rendered to client");
}
@Test
16 years
JBoss Rich Faces SVN: r11986 - in trunk/ui/fileUpload/src/main: flash/src and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-12-23 05:54:38 -0500 (Tue, 23 Dec 2008)
New Revision: 11986
Added:
trunk/ui/fileUpload/src/main/flash/bin/FileUploadComponent.swf
Modified:
trunk/ui/fileUpload/src/main/flash/src/FileUploadComponent.as
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/swf/FileUploadComponent.swf
Log:
https://jira.jboss.org/jira/browse/RF-5175
https://jira.jboss.org/jira/browse/RF-5462
Added: trunk/ui/fileUpload/src/main/flash/bin/FileUploadComponent.swf
===================================================================
(Binary files differ)
Property changes on: trunk/ui/fileUpload/src/main/flash/bin/FileUploadComponent.swf
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/ui/fileUpload/src/main/flash/src/FileUploadComponent.as
===================================================================
--- trunk/ui/fileUpload/src/main/flash/src/FileUploadComponent.as 2008-12-23 10:46:57 UTC (rev 11985)
+++ trunk/ui/fileUpload/src/main/flash/src/FileUploadComponent.as 2008-12-23 10:54:38 UTC (rev 11986)
@@ -21,6 +21,7 @@
private var fileTypes: Array;
private var uploadIndex: Number;
private var parent:MovieClip;
+ private var disabled:Boolean;
public function FileUploadComponent(parent:MovieClip) {
this.parent = parent;
@@ -31,12 +32,14 @@
this.maxFiles = 5;
this.fileTypes = null;
this.uploadIndex = -1;
+ this.disabled = true;
//ExternalInterface.addCallback("browse", this, browse);
ExternalInterface.addCallback("setProperties", this, setProperties);
ExternalInterface.addCallback("removeFile", this, removeFile);
ExternalInterface.addCallback("uploadFile", this, uploadFile);
ExternalInterface.addCallback("cancelUploadFile", this, cancelUploadFile);
+ ExternalInterface.addCallback("disableAdd", this, disableAdd);
}
public function setProperties(properties:Object)
@@ -55,6 +58,16 @@
}
}
+ public function disableAdd(isDisabled:Boolean)
+ {
+ this.disabled = isDisabled;
+ }
+
+ public function isDisabled()
+ {
+ return this.disabled;
+ }
+
public function removeFile(index:Number)
{
if (index<this.uploadIndex) this.uploadIndex--;
@@ -188,6 +201,7 @@
swfRoot.onMouseUp = function ()
{
+ if (swfRoot.app.isDisabled()) return;
swfRoot.app.browse();
ExternalInterface.call(swfRoot.app.getComponentString() + "._flashClearFocus()");
}
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
--- trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-12-23 10:46:57 UTC (rev 11985)
+++ trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2008-12-23 10:54:38 UTC (rev 11986)
@@ -833,6 +833,7 @@
}
this._updateClassNames(d1, d2, this.classes.ADD, this.classes.ADD_CONTENT);
this.disabled = _disabled;
+ this._flashDisableAdd(disabled || this.disabled);
},
disableUploadButton: function () {
@@ -1122,6 +1123,7 @@
initFlashModule: function ()
{
var allowFlash = this.options.allowFlash;
+ this.oldDisabled = this.disabled;
if (allowFlash=="auto" || allowFlash=="true")
{
var httpsSuffix = window.location.href.substr(0,5).toLowerCase()=="https" ? "s" : "";
@@ -1170,9 +1172,15 @@
this.flashComponent.style.width = this.currentInput.parentNode.style.width;
this.flashComponent.style.height = this.currentInput.parentNode.style.height;
}
- this.enable();
+ if (!this.oldDisabled) this.enable();
},
+ _flashDisableAdd: function (isDisabled)
+ {
+ if (this.flashComponent)
+ this.flashComponent.disableAdd(isDisabled);
+ },
+
_flashAdd: function(files) {
if (this.disabled) return;
Modified: trunk/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/swf/FileUploadComponent.swf
===================================================================
(Binary files differ)
16 years
JBoss Rich Faces SVN: r11985 - trunk/test-applications/jsp/src/main/webapp/tTree.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2008-12-23 05:46:57 -0500 (Tue, 23 Dec 2008)
New Revision: 11985
Modified:
trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp 2008-12-23 10:46:28 UTC (rev 11984)
+++ trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp 2008-12-23 10:46:57 UTC (rev 11985)
@@ -35,8 +35,8 @@
value="#{tTree.data}" var="defTree" binding="#{tTree.tree}"
ajaxSubmitSelection="#{tTree.ajaxSubmitSelection}"
immediate="#{tTree.immediate}" rendered="#{tTree.rendered}"
- reRender="reRenderID"
- nodeFace="#{defTree.name == 'param-value' ? 'input' : 'text'}"
+ reRender="reRenderID" ignoreDupResponses="true"
+ nodeFace="#{defTree.name != 'param-value' ? 'text' : 'input'}"
showConnectingLines="#{tTree.showConnectingLines}" focus="focusID"
nodeSelectListener="#{tTree.nodeSelectListener}"
toggleOnClick="#{tTree.toggleOnClick}"
16 years
JBoss Rich Faces SVN: r11984 - trunk/test-applications/facelets/src/main/webapp/tTree.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2008-12-23 05:46:28 -0500 (Tue, 23 Dec 2008)
New Revision: 11984
Modified:
trunk/test-applications/facelets/src/main/webapp/tTree/tTree.xhtml
trunk/test-applications/facelets/src/main/webapp/tTree/tTreeStraightforward.xhtml
Log:
Modified: trunk/test-applications/facelets/src/main/webapp/tTree/tTree.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/tTree/tTree.xhtml 2008-12-23 10:42:07 UTC (rev 11983)
+++ trunk/test-applications/facelets/src/main/webapp/tTree/tTree.xhtml 2008-12-23 10:46:28 UTC (rev 11984)
@@ -35,7 +35,8 @@
value="#{tTree.data}" var="defTree" binding="#{tTree.tree}"
ajaxSubmitSelection="#{tTree.ajaxSubmitSelection}"
immediate="#{tTree.immediate}" rendered="#{tTree.rendered}"
- reRender="reRenderID"
+ reRender="reRenderID" ignoreDupResponses="true"
+ nodeFace="#{defTree.name != 'param-value' ? 'text' : 'input'}"
showConnectingLines="#{tTree.showConnectingLines}" focus="focusID"
nodeSelectListener="#{tTree.nodeSelectListener}"
toggleOnClick="#{tTree.toggleOnClick}"
@@ -56,12 +57,12 @@
onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
onselected="#{event.onselected}">
- <rich:treeNode>
+ <rich:treeNode type="input">
<h:outputText value="#{defTree} : " />
<h:inputText value="#{defTree.name}" />
</rich:treeNode>
- <rich:treeNode>
+ <rich:treeNode type="text">
<h:outputText value="#{defTree}" />
</rich:treeNode>
</rich:tree>
Modified: trunk/test-applications/facelets/src/main/webapp/tTree/tTreeStraightforward.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/tTree/tTreeStraightforward.xhtml 2008-12-23 10:42:07 UTC (rev 11983)
+++ trunk/test-applications/facelets/src/main/webapp/tTree/tTreeStraightforward.xhtml 2008-12-23 10:46:28 UTC (rev 11984)
@@ -71,7 +71,7 @@
<rich:tree id="leftTree" style="width:300px"
nodeSelectListener="#{tTreeDND.processLSelection}"
- reRender="selectedNodeL, leftContainer" ajaxSubmitSelection="true"
+ reRender="selectedNodeL" ajaxSubmitSelection="true"
switchType="client" value="#{tTreeDND.treeNodeLeft}"
changeExpandListener="#{tTreeDND.onExpand}"
binding="#{tTreeDND.leftTree}"
@@ -96,7 +96,7 @@
<rich:tree id="rightTree" style="width:300px"
nodeSelectListener="#{tTreeDND.processRSelection}"
- reRender="selectedNodeR,rightContainer" ajaxSubmitSelection="true"
+ reRender="selectedNodeR" ajaxSubmitSelection="true"
switchType="client" value="#{tTreeDND.treeNodeRight}"
changeExpandListener="#{tTreeDND.onExpand}"
binding="#{tTreeDND.rightTree}"
16 years