JBoss Rich Faces SVN: r10278 - in trunk/ui/scrollableDataTable/src/main: javascript/ClientUI/controls/grid and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-09-02 12:44:46 -0400 (Tue, 02 Sep 2008)
New Revision: 10278
Modified:
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java
trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js
Log:
RF-4367
Modified: trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java
===================================================================
--- trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java 2008-09-02 16:27:38 UTC (rev 10277)
+++ trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/ScrollableDataTableBaseRenderer.java 2008-09-02 16:44:46 UTC (rev 10278)
@@ -646,14 +646,11 @@
String options = (String)parameters.get(s_id);
grid.setScrollPos(options);
if(options.length() > 0){
- grid.setFirst(Integer.parseInt(options.split(",")[1]));
+ String[] si = options.split(",");
+ grid.setFirst(Integer.parseInt(si[1]));
+ component.getAttributes().put(ScrollableDataTableUtils.CLIENT_ROW_KEY, Integer.parseInt(si[3]));
}
}
- int value = 0;
- if (grid.getRows() != 0) {
- value = grid.getFirst() % grid.getRows();
- }
- component.getAttributes().put(ScrollableDataTableUtils.CLIENT_ROW_KEY, value);
composite.decode(context, component);
Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js 2008-09-02 16:27:38 UTC (rev 10277)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/GridBody.js 2008-09-02 16:44:46 UTC (rev 10278)
@@ -335,7 +335,8 @@
var startRowIndx = 0;
var countToLoad = 0;
- this.scrollInput.value = task.pos + "," + this.currRange.start + "," + this.currRange.end;
+ var firstIndex = this._getRowIndex(this.templNormal.getElement().rows[0].id);
+ this.scrollInput.value = task.pos + "," + this.currRange.start + "," + this.currRange.end+ "," + firstIndex;
// if we have intersepted ranges than rearrange rows
// in other case just move rows table to first position
@@ -345,7 +346,7 @@
}
if(switchType === 0) {
- startRowIndx = this._getRowIndex(this.templNormal.getElement().rows[0].id);
+ startRowIndx = firstIndex;
startIndex = range.start;
countToLoad = range.end - range.start;
}
@@ -358,7 +359,7 @@
switchType = 1;
countToLoad = range.start - this.currRange.start;
if(countToLoad > 0) {
- startRowIndx = this._getRowIndex(normalTbl.rows[0].id);
+ startRowIndx = firstIndex;
startIndex = this.currRange.end;
}
}
@@ -392,7 +393,7 @@
ClientUILib.log(ClientUILogger.WARNING, "Start loading: index: " + startIndex + ", and startRow: " + startRowIndx + ", and count: " + countToLoad);
this.currRange = range;
this.currentPos = task.pos;
- this.scrollInput.value = task.pos + "," + this.currRange.start + "," + this.currRange.end;
+ this.scrollInput.value = task.pos + "," + this.currRange.start + "," + this.currRange.end+ "," + firstIndex;
if (this.grid.options.hideWhenScrolling) {
@@ -725,14 +726,15 @@
},
updateScrollState: function() {
- var value = ($(this.gridId + ":si")).value
- if (value !='' && this.currRange.end >= Number(value)) {
+ this.scrollInput = $(this.gridId + ":si");
+ var value = this.scrollInput.value;
+ if (value !='' && this.currRange.end >= Number(value.split(',')[2])) {
this.restoreScrollState();
}
+ this.scrollInput.value = this.currentPos + "," + this.currRange.start + "," + this.currRange.end+ "," + this._getRowIndex(this.templNormal.getElement().rows[0].id);
},
restoreScrollState: function() {
- this.scrollInput = $(this.gridId + ":si");
var value = this.scrollInput.value;
if(value !=''){
var values = value.split(',');
16 years, 3 months
JBoss Rich Faces SVN: r10277 - trunk/test-applications/jsp/src/main/webapp/InputNumberSlider.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2008-09-02 12:27:38 -0400 (Tue, 02 Sep 2008)
New Revision: 10277
Modified:
trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp
Log:
add events to inputNumberSlider
Modified: trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp 2008-09-02 15:47:28 UTC (rev 10276)
+++ trunk/test-applications/jsp/src/main/webapp/InputNumberSlider/InputNumberSlider.jsp 2008-09-02 16:27:38 UTC (rev 10277)
@@ -16,7 +16,29 @@
barClass="#{style.barClass}" tipClass="#{style.barClass}" inputClass="#{style.inputClass}"
handleClass="#{style.handleStyle}" styleClass="#{style.tipStyle}"
maxlength="#{inputNumberSlider.maxlength}"
- onblur="#{event.onblur}" onchange="#{event.onchange}" onclick="#{event.onclick}" ondblclick="#{event.ondblclick}" onerror="#{event.onerror}" onfocus="#{event.onfocus}" onmousedown="#{event.onmousedown}" onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}" onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}" onselect="#{event.onselect}" onslide="#{event.onslide}">
+ onblur="#{event.onblur}"
+ onchange="#{event.onchange}"
+ onclick="#{event.onclick}"
+ ondblclick="#{event.ondblclick}"
+ onerror="#{event.onerror}"
+ onfocus="#{event.onfocus}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
+ onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}"
+ onmouseup="#{event.onmouseup}"
+ onselect="#{event.onselect}"
+ onslide="#{event.onslide}"
+ oninputclick="#{event.oninputclick}"
+ oninputdblclick="#{event.oninputdblclick}"
+ oninputkeydown="#{event.oninputkeydown}"
+ oninputkeypress="#{event.oninputkeypress}"
+ oninputkeyup="#{event.oninputkeyup}"
+ oninputmousedown="#{event.oninputmousedown}"
+ oninputmousemove="#{event.oninputmousemove}"
+ oninputmouseout="#{event.oninputmouseout}"
+ oninputmouseover="#{event.oninputmouseover}"
+ oninputmouseup="#{event.oninputmouseup}">
</rich:inputNumberSlider>
<h:panelGroup>
<a4j:commandButton value="valueChangeListener (show)" reRender="valueCLID" />
16 years, 3 months
JBoss Rich Faces SVN: r10276 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-09-02 11:47:28 -0400 (Tue, 02 Sep 2008)
New Revision: 10276
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples/simple.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-4375
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples/simple.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples/simple.xhtml 2008-09-02 15:44:05 UTC (rev 10275)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/tree/examples/simple.xhtml 2008-09-02 15:47:28 UTC (rev 10276)
@@ -18,7 +18,7 @@
<rich:tree style="width:300px" nodeSelectListener="#{simpleTreeBean.processSelection}"
reRender="selectedNode" ajaxSubmitSelection="true" switchType="client"
- value="#{simpleTreeBean.treeNode}" var="item">
+ value="#{simpleTreeBean.treeNode}" var="item" ajaxKeys="#{null}">
</rich:tree>
<h:outputText escape="false" value="Selected Node: #{simpleTreeBean.nodeTitle}" id="selectedNode" />
16 years, 3 months
JBoss Rich Faces SVN: r10275 - in trunk/ui: inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-09-02 11:44:05 -0400 (Tue, 02 Sep 2008)
New Revision: 10275
Modified:
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
trunk/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script/SpinnerScript.js
Log:
https://jira.jboss.org/jira/browse/RF-4373
Modified: trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
===================================================================
--- trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2008-09-02 15:15:59 UTC (rev 10274)
+++ trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2008-09-02 15:44:05 UTC (rev 10275)
@@ -391,7 +391,9 @@
if (e.keyCode == 13) {
if (this.required || "" != this.input.value)
this.input.value=this.getNearestValue(this.value);
- this.input.form.submit();
+ if (this.input.form) {
+ this.input.form.submit();
+ }
}
if (this.eventChanged && this.isValueChanged()){
this.eventChanged(e);
Modified: trunk/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script/SpinnerScript.js
===================================================================
--- trunk/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script/SpinnerScript.js 2008-09-02 15:15:59 UTC (rev 10274)
+++ trunk/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script/SpinnerScript.js 2008-09-02 15:44:05 UTC (rev 10275)
@@ -311,7 +311,9 @@
if (e.keyCode == 13){
if (this.spinner.required || "" != this.edit.value)
this.edit.value = this.getValidValue(this.edit.value);
- this.edit.form.submit();
+ if (this.edit.form) {
+ this.edit.form.submit();
+ }
}
},
16 years, 3 months
JBoss Rich Faces SVN: r10274 - trunk/test-applications/jsp/src/main/webapp/ListShuttle.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2008-09-02 11:15:59 -0400 (Tue, 02 Sep 2008)
New Revision: 10274
Modified:
trunk/test-applications/jsp/src/main/webapp/ListShuttle/ListShuttleProperty.jsp
Log:
Correct JS API for List Shuttle
Modified: trunk/test-applications/jsp/src/main/webapp/ListShuttle/ListShuttleProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ListShuttle/ListShuttleProperty.jsp 2008-09-02 15:15:18 UTC (rev 10273)
+++ trunk/test-applications/jsp/src/main/webapp/ListShuttle/ListShuttleProperty.jsp 2008-09-02 15:15:59 UTC (rev 10274)
@@ -5,7 +5,67 @@
<f:subview id="listShuttlePropertySubviewID">
<h:commandButton value="add test" action="#{listShuttle.addHtmlListShuttle}"></h:commandButton>
-
+
+ <h:panelGrid columns="3">
+ <h:column></h:column>
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.hide()"
+ value="hide"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.show()"
+ value="show"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isShown())"
+ value="isShown"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.enable()"
+ value="enable"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.disable()"
+ value="disable"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isEnabled())"
+ value="isEnabled"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.up()"
+ value="up"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.down()"
+ value="down"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.top()"
+ value="top"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.bottom()"
+ value="bottom"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copy()"
+ value="copy"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.remove()"
+ value="remove"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copyAll()"
+ value="copyAll"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.removeAll()"
+ value="removeAll"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.targetList.getSelection())"
+ value="targetList.getSelection"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.sourceList.getSelection())"
+ value="sourceList.getSelection"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.targetList.getItems())"
+ value="targetList.getItems"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.sourceList.getItems())"
+ value="sourceList.getItems"></a4j:commandLink>
+ </h:panelGrid>
+
<h:panelGrid columns="2">
<h:column></h:column>
<h:panelGroup>
@@ -117,59 +177,7 @@
<a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
</h:inputText>
</h:panelGrid>
- <h:panelGrid columns="3">
- <h:column></h:column>
- <h:outputText value="JavaScript API"></h:outputText>
- <h:column></h:column>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.doHide()"
- value="Hide"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.doShow()"
- value="Show"></a4j:commandLink>
- <a4j:commandLink
- onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isShown()"
- value="isShown"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.Enable()"
- value="Enable"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.Disable()"
- value="Disable"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.isEnabled()"
- value="isEnabled"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.moveUp()"
- value="moveUp"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.moveDown()"
- value="moveDown"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.moveTop()"
- value="moveTop"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.moveBottom()"
- value="moveBottom"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copy()"
- value="copy"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.remove()"
- value="remove"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copyAll()"
- value="copyAll"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.removeAll()"
- value="removeAll"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.getSelection()"
- value="getSelection"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.getItems()"
- value="getItems"></a4j:commandLink>
- </h:panelGrid>
+
<br />
<br />
<div style="FONT-WEIGHT: bold;">rich:findComponent</div>
16 years, 3 months
JBoss Rich Faces SVN: r10273 - trunk/test-applications/facelets/src/main/webapp/ListShuttle.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2008-09-02 11:15:18 -0400 (Tue, 02 Sep 2008)
New Revision: 10273
Modified:
trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml
Log:
Correct JS API for List Shuttle
Modified: trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml 2008-09-02 13:18:00 UTC (rev 10272)
+++ trunk/test-applications/facelets/src/main/webapp/ListShuttle/ListShuttleProperty.xhtml 2008-09-02 15:15:18 UTC (rev 10273)
@@ -6,6 +6,67 @@
xmlns:rich="http://richfaces.org/rich"
id="listShuttlePropertySubviewID">
<h:commandButton action="#{listShuttle.add}" value="add test" />
+
+ <h:panelGrid columns="3">
+ <h:column></h:column>
+ <h:outputText value="JavaScript API"></h:outputText>
+ <h:column></h:column>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.hide()"
+ value="hide"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.show()"
+ value="show"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isShown())"
+ value="isShown"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.enable()"
+ value="enable"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.disable()"
+ value="disable"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isEnabled())"
+ value="isEnabled"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.up()"
+ value="up"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.down()"
+ value="down"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.top()"
+ value="top"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.bottom()"
+ value="bottom"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copy()"
+ value="copy"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.remove()"
+ value="remove"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copyAll()"
+ value="copyAll"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="$('formID:listShuttleSubviewID:listShuttleID').component.removeAll()"
+ value="removeAll"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.targetList.getSelection())"
+ value="targetList.getSelection"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.sourceList.getSelection())"
+ value="sourceList.getSelection"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.targetList.getItems())"
+ value="targetList.getItems"></a4j:commandLink>
+ <a4j:commandLink
+ onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.sourceList.getItems())"
+ value="sourceList.getItems"></a4j:commandLink>
+ </h:panelGrid>
+
<h:panelGrid columns="2">
<h:column></h:column>
<h:panelGroup>
@@ -117,62 +178,10 @@
<a4j:support event="onclick" reRender="listShuttleID"></a4j:support>
</h:inputText>
</h:panelGrid>
- <h:panelGrid columns="3">
- <h:column></h:column>
- <h:outputText value="JavaScript API"></h:outputText>
- <h:column></h:column>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.doHide()"
- value="Hide"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.doShow()"
- value="Show"></a4j:commandLink>
- <a4j:commandLink
- onclick="alert($('formID:listShuttleSubviewID:listShuttleID').component.isShown)"
- value="isShown"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.Enable()"
- value="Enable"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.Disable()"
- value="Disable"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.isEnabled()"
- value="isEnabled"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.moveUp"
- value="moveUp"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.moveDown"
- value="moveDown"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.moveTop"
- value="moveTop"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.moveBottom"
- value="moveBottom"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copy"
- value="copy"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.remove"
- value="remove"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.copyAll"
- value="copyAll"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.removeAll"
- value="removeAll"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.getSelection"
- value="getSelection"></a4j:commandLink>
- <a4j:commandLink
- onclick="$('formID:listShuttleSubviewID:listShuttleID').component.getItems"
- value="getItems"></a4j:commandLink>
- </h:panelGrid>
+
<br />
<br />
- <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
+ <!-- <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
<h:panelGrid columns="2">
<rich:column>
<a4j:commandLink value="getActiveItem" reRender="findID"></a4j:commandLink>
@@ -181,5 +190,5 @@
<h:outputText
value="#{rich:findComponent('listShuttleID').activeItem}" />
</rich:column>
- </h:panelGrid>
+ </h:panelGrid>-->
</f:subview>
\ No newline at end of file
16 years, 3 months
JBoss Rich Faces SVN: r10272 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-09-02 09:18:00 -0400 (Tue, 02 Sep 2008)
New Revision: 10272
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/nestedPanels.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-4376
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/nestedPanels.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/nestedPanels.xhtml 2008-09-02 12:31:03 UTC (rev 10271)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/panel/examples/nestedPanels.xhtml 2008-09-02 13:18:00 UTC (rev 10272)
@@ -15,7 +15,6 @@
<f:facet name="header">
For Application Developers
</f:facet>
- For Application Developers
<ul>
<li>Production quality Open Source</li>
<li>Does Open Source and has an Open Architecture</li>
16 years, 3 months
JBoss Rich Faces SVN: r10271 - trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-09-02 08:31:03 -0400 (Tue, 02 Sep 2008)
New Revision: 10271
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml
Log:
remove header facet from extendedDataTable in case of RF-4359
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml 2008-09-02 12:15:05 UTC (rev 10270)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/extendedDataTable/examples/simple.xhtml 2008-09-02 12:31:03 UTC (rev 10271)
@@ -12,9 +12,6 @@
<rich:extendedDataTable value="#{capitalsBean.capitals}" var="cap" id="table"
width="420px" height="400px" sortMode="#{extendedTableBean.sortMode}"
selectionMode="#{extendedTableBean.selectionMode}">
- <f:facet name="header">
- <h:outputText value="States Capitals"/>
- </f:facet>
<rich:column sortable="false">
<f:facet name="header">
<h:outputText value="Flag"/>
16 years, 3 months
JBoss Rich Faces SVN: r10270 - trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-09-02 08:15:05 -0400 (Tue, 02 Sep 2008)
New Revision: 10270
Modified:
trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
https://jira.jboss.org/jira/browse/RF-4357
Modified: trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
===================================================================
--- trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2008-09-02 10:55:49 UTC (rev 10269)
+++ trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2008-09-02 12:15:05 UTC (rev 10270)
@@ -875,9 +875,9 @@
}
var itm = {text:value, object:this.fetchValues[this.index]}
- var flag = (this.selectedItems[index].text != value || this.selectedItems[index].object==null ? true : false);
+ var flag = (!this.selectedItems[index] || this.selectedItems[index].text != value || this.selectedItems[index].object==null ? true : false);
this.selectedItemsCache[value] = itm;
- this.selectedItems[index] = itm;
+ if (!this.selectedItems[index]) this.selectedItems.push(itm); else this.selectedItems[index] = itm;
if (flag)
{
//call user listner
16 years, 3 months
JBoss Rich Faces SVN: r10269 - trunk/samples/darkX/src/main/resources/org/richfaces/skins/darkx/css.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-09-02 06:55:49 -0400 (Tue, 02 Sep 2008)
New Revision: 10269
Modified:
trunk/samples/darkX/src/main/resources/org/richfaces/skins/darkx/css/toolBar.xcss
Log:
https://jira.jboss.org/jira/browse/RF-4353
Modified: trunk/samples/darkX/src/main/resources/org/richfaces/skins/darkx/css/toolBar.xcss
===================================================================
--- trunk/samples/darkX/src/main/resources/org/richfaces/skins/darkx/css/toolBar.xcss 2008-09-02 10:55:29 UTC (rev 10268)
+++ trunk/samples/darkX/src/main/resources/org/richfaces/skins/darkx/css/toolBar.xcss 2008-09-02 10:55:49 UTC (rev 10269)
@@ -6,7 +6,6 @@
<u:selector name=".rich-toolbar">
<u:style name="padding" value="0px 5px 0px 5px" />
- <u:style name="height" value="0px" />
<u:style name="border-color" skin="newBorder" />
<u:style name="background-position" value="0% 50%" />
16 years, 3 months