JBoss Rich Faces SVN: r3158 - trunk/framework/test/src/main/java/org/ajax4jsf/tests.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-09-27 16:54:49 -0400 (Thu, 27 Sep 2007)
New Revision: 3158
Modified:
trunk/framework/test/src/main/java/org/ajax4jsf/tests/MockViewRoot.java
Log:
fix for http://jira.jboss.org/jira/browse/RF-1004
Modified: trunk/framework/test/src/main/java/org/ajax4jsf/tests/MockViewRoot.java
===================================================================
--- trunk/framework/test/src/main/java/org/ajax4jsf/tests/MockViewRoot.java 2007-09-27 20:45:40 UTC (rev 3157)
+++ trunk/framework/test/src/main/java/org/ajax4jsf/tests/MockViewRoot.java 2007-09-27 20:54:49 UTC (rev 3158)
@@ -25,7 +25,7 @@
import javax.faces.event.PhaseId;
import org.ajax4jsf.component.AjaxViewRoot;
-import org.apache.commons.collections.Buffer;
+import org.ajax4jsf.event.EventsQueue;
/**
* @author Nick - mailto:nbelaevski@exadel.com
@@ -34,15 +34,15 @@
*/
public class MockViewRoot extends AjaxViewRoot {
- public Buffer getAjaxEventsQueue(FacesContext context) {
+ public EventsQueue getAjaxEventsQueue(FacesContext context) {
return super.getAjaxEventsQueue(context);
}
- public Buffer[] getEvents(FacesContext context) {
+ public EventsQueue[] getEvents(FacesContext context) {
return super.getEvents(context);
}
- public Buffer getEventsQueue(FacesContext context, PhaseId phase) {
+ public EventsQueue getEventsQueue(FacesContext context, PhaseId phase) {
return super.getEventsQueue(context, phase);
}
17 years, 2 months
JBoss Rich Faces SVN: r3157 - in trunk/framework/impl/src: main/java/org/ajax4jsf/event and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-09-27 16:45:40 -0400 (Thu, 27 Sep 2007)
New Revision: 3157
Added:
trunk/framework/impl/src/main/java/org/ajax4jsf/event/EventsQueue.java
trunk/framework/impl/src/test/java/org/ajax4jsf/event/
trunk/framework/impl/src/test/java/org/ajax4jsf/event/EventsQueueTest.java
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/component/AjaxViewRoot.java
Log:
fix for http://jira.jboss.org/jira/browse/RF-1004
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/component/AjaxViewRoot.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/component/AjaxViewRoot.java 2007-09-27 17:58:21 UTC (rev 3156)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/component/AjaxViewRoot.java 2007-09-27 20:45:40 UTC (rev 3157)
@@ -22,6 +22,7 @@
package org.ajax4jsf.component;
import java.io.IOException;
+import java.util.NoSuchElementException;
import javax.faces.FacesException;
import javax.faces.component.UIComponent;
@@ -34,16 +35,13 @@
import org.ajax4jsf.Messages;
import org.ajax4jsf.application.AjaxSingleException;
-import org.ajax4jsf.component.AjaxContainer;
import org.ajax4jsf.context.AjaxContext;
import org.ajax4jsf.context.AjaxContextImpl;
import org.ajax4jsf.context.InvokerCallback;
import org.ajax4jsf.context.ViewIdHolder;
import org.ajax4jsf.event.AjaxListener;
+import org.ajax4jsf.event.EventsQueue;
import org.ajax4jsf.renderkit.AjaxContainerRenderer;
-import org.apache.commons.collections.Buffer;
-import org.apache.commons.collections.BufferUnderflowException;
-import org.apache.commons.collections.UnboundedFifoBuffer;
/**
* Custom ViewRoot for support render parts of tree for Ajax requests. Main
@@ -149,9 +147,9 @@
* phase, for wich events must be processed.
*/
void broadcastEvents(FacesContext context, PhaseId phaseId) {
- Buffer[] events = getEvents(context);
- Buffer anyPhaseEvents = events[PhaseId.ANY_PHASE.getOrdinal()];
- Buffer phaseEvents = events[phaseId.getOrdinal()];
+ EventsQueue[] events = getEvents(context);
+ EventsQueue anyPhaseEvents = events[PhaseId.ANY_PHASE.getOrdinal()];
+ EventsQueue phaseEvents = events[phaseId.getOrdinal()];
if (phaseEvents.isEmpty() && anyPhaseEvents.isEmpty())
return;
// FacesEvent event = null;
@@ -176,7 +174,7 @@
* @param phaseEventsQueue
* @param havePhaseEvents
*/
- public void processEvents(Buffer phaseEventsQueue, boolean havePhaseEvents) {
+ public void processEvents(EventsQueue phaseEventsQueue, boolean havePhaseEvents) {
FacesEvent event;
while (havePhaseEvents) {
try {
@@ -195,20 +193,20 @@
// clearEvents();
// return;
}
- } catch (BufferUnderflowException e) {
+ } catch (NoSuchElementException e) {
havePhaseEvents = false;
}
}
}
public void broadcastAjaxEvents(FacesContext context) {
- Buffer queue = getAjaxEventsQueue(context);
+ EventsQueue queue = getAjaxEventsQueue(context);
processEvents(queue, !queue.isEmpty());
}
- private Buffer[] events;
+ private EventsQueue[] events;
- private Buffer ajaxEvents = new UnboundedFifoBuffer();
+ private EventsQueue ajaxEvents = new EventsQueue();
/**
* Use FIFO buffers for hold Faces Events. Hold this buffers in Request
@@ -219,14 +217,14 @@
* @param phase
* @return
*/
- protected Buffer getEventsQueue(FacesContext context, PhaseId phase) {
+ protected EventsQueue getEventsQueue(FacesContext context, PhaseId phase) {
return getEvents(context)[phase.getOrdinal()];
}
/**
* @return
*/
- protected Buffer[] getEvents(FacesContext context) {
+ protected EventsQueue[] getEvents(FacesContext context) {
if (events == null) {
clearEvents(context);
}
@@ -239,16 +237,16 @@
* @param context
* @return
*/
- protected Buffer getAjaxEventsQueue(FacesContext context) {
+ protected EventsQueue getAjaxEventsQueue(FacesContext context) {
return ajaxEvents;
}
public void clearEvents(FacesContext context) {
int len;
- events = new Buffer[len = PhaseId.VALUES.size()];
+ events = new EventsQueue[len = PhaseId.VALUES.size()];
for (int i = 0; i < len; i++) {
- events[i] = new UnboundedFifoBuffer();
+ events[i] = new EventsQueue();
}
}
Added: trunk/framework/impl/src/main/java/org/ajax4jsf/event/EventsQueue.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/event/EventsQueue.java (rev 0)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/event/EventsQueue.java 2007-09-27 20:45:40 UTC (rev 3157)
@@ -0,0 +1,97 @@
+/**
+ *
+ */
+package org.ajax4jsf.event;
+
+import java.util.Collection;
+import java.util.Iterator;
+import java.util.NoSuchElementException;
+import java.util.Queue;
+
+import javax.faces.event.FacesEvent;
+
+/**
+ * Very simple implementation of FIFO buffer, to organize JSF events queue.
+ * @author asmirnov
+ *
+ */
+public class EventsQueue {
+
+ private QueueElement first;
+
+ private QueueElement last;
+
+ /**
+ * Remove and return first queued event.
+ * @return faces event form top of queue
+ * @throws NoSuchElementException , if queue is empty.
+ */
+ public FacesEvent remove() throws NoSuchElementException {
+ if(isEmpty()){
+ throw new NoSuchElementException("Events queue is empty");
+ }
+ FacesEvent element = first.getElement();
+ first = first.getPrevisious();
+ if(null == first){
+ last = null;
+ }
+ return element;
+ }
+
+ /**
+ * Add event to queue.
+ * @param element
+ */
+ public void add(FacesEvent element) {
+ QueueElement queueElement = new QueueElement(element);
+ if(isEmpty()){
+ first = last = queueElement;
+ } else {
+ last.setPrevisious(queueElement);
+ last = queueElement;
+ }
+ }
+
+ public void clear() {
+ first = last = null;
+ }
+
+ public boolean isEmpty() {
+ return null == first;
+ }
+
+ private static class QueueElement {
+
+ private QueueElement previsious;
+
+ private FacesEvent element;
+
+ public QueueElement(FacesEvent element) {
+ this.element = element;
+ }
+
+
+ /**
+ * @param previsious the previsious to set
+ */
+ public void setPrevisious(QueueElement previsious) {
+ this.previsious = previsious;
+ }
+
+
+ /**
+ * @return the previsious
+ */
+ public QueueElement getPrevisious() {
+ return previsious;
+ }
+
+ /**
+ * @return the element
+ */
+ public FacesEvent getElement() {
+ return element;
+ }
+
+ }
+}
Added: trunk/framework/impl/src/test/java/org/ajax4jsf/event/EventsQueueTest.java
===================================================================
--- trunk/framework/impl/src/test/java/org/ajax4jsf/event/EventsQueueTest.java (rev 0)
+++ trunk/framework/impl/src/test/java/org/ajax4jsf/event/EventsQueueTest.java 2007-09-27 20:45:40 UTC (rev 3157)
@@ -0,0 +1,90 @@
+/**
+ *
+ */
+package org.ajax4jsf.event;
+
+
+
+import java.util.NoSuchElementException;
+
+import javax.faces.component.UICommand;
+import javax.faces.event.ActionEvent;
+
+import junit.framework.TestCase;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class EventsQueueTest extends TestCase {
+
+ /**
+ * @param name
+ */
+ public EventsQueueTest(String name) {
+ super(name);
+ }
+
+ /* (non-Javadoc)
+ * @see junit.framework.TestCase#setUp()
+ */
+ protected void setUp() throws Exception {
+ super.setUp();
+ }
+
+ /* (non-Javadoc)
+ * @see junit.framework.TestCase#tearDown()
+ */
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ /**
+ * Test method for {@link org.ajax4jsf.event.EventsQueue#remove()}.
+ */
+ public void testRemove() {
+ ActionEvent event = new ActionEvent(new UICommand());
+ EventsQueue queue = new EventsQueue();
+ queue.add(event);
+ assertFalse(queue.isEmpty());
+ ActionEvent event2 = new ActionEvent(new UICommand());
+ queue.add(event2);
+ assertSame(event, queue.remove());
+ assertSame(event2, queue.remove());
+ assertTrue(queue.isEmpty());
+ try {
+ queue.remove();
+ } catch (NoSuchElementException e) {
+ return;
+ }
+ assertTrue("exception not thrown",false);
+ }
+
+ /**
+ * Test method for {@link org.ajax4jsf.event.EventsQueue#add(javax.faces.event.FacesEvent)}.
+ */
+ public void testAdd() {
+ ActionEvent event = new ActionEvent(new UICommand());
+ EventsQueue queue = new EventsQueue();
+ queue.add(event);
+ assertFalse(queue.isEmpty());
+ ActionEvent event2 = new ActionEvent(new UICommand());
+ queue.add(event2);
+ }
+
+ /**
+ * Test method for {@link org.ajax4jsf.event.EventsQueue#clear()}.
+ */
+ public void testClear() {
+ ActionEvent event = new ActionEvent(new UICommand());
+ EventsQueue queue = new EventsQueue();
+ queue.add(event);
+ assertFalse(queue.isEmpty());
+ ActionEvent event2 = new ActionEvent(new UICommand());
+ queue.add(event2);
+ queue.clear();
+ assertTrue(queue.isEmpty());
+ }
+
+
+}
17 years, 2 months
JBoss Rich Faces SVN: r3156 - trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2007-09-27 13:58:21 -0400 (Thu, 27 Sep 2007)
New Revision: 3156
Modified:
trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/SelectionRendererContributor.java
Log:
RF-942
Modified: trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/SelectionRendererContributor.java
===================================================================
--- trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/SelectionRendererContributor.java 2007-09-27 17:26:37 UTC (rev 3155)
+++ trunk/ui/scrollableDataTable/src/main/java/org/richfaces/renderkit/html/SelectionRendererContributor.java 2007-09-27 17:58:21 UTC (rev 3156)
@@ -168,8 +168,16 @@
ScriptOptions scriptOptions = new ScriptOptions(component);
scriptOptions.addOption("selectionInput", getSelectionInputName(
context, (UIScrollableDataTable) component));
- scriptOptions.addOption("selectedClass");
- scriptOptions.addOption("activeClass");
+ Map attributes = component.getAttributes();
+ Object attribut = attributes.get("selectedClass");
+ if (attribut == null) {
+ attribut = "";
+ }
+ scriptOptions.addOption("selectedClass", attribut);
+ attribut = attributes.get("activeClass");
+ if (attribut == null) {
+ attribut = "";
+ }scriptOptions.addOption("activeClass", attribut);
return scriptOptions;
}
17 years, 2 months
JBoss Rich Faces SVN: r3155 - trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-09-27 13:26:37 -0400 (Thu, 27 Sep 2007)
New Revision: 3155
Modified:
trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.jboss.com/jira/browse/RF-1022
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 2007-09-27 17:25:39 UTC (rev 3154)
+++ trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-09-27 17:26:37 UTC (rev 3155)
@@ -80,9 +80,6 @@
Element.hide(this.update);
- this.preventBlur = function(event) {
- Event.stop(event);
- };
this.onBlurListener = this.onBlur.bindAsEventListener(this);
Event.observe(this.element, "blur", this.onBlurListener);
@@ -159,6 +156,9 @@
}
this.upDown = 0;
},
+ preventBlur:function(event) {
+ Event.stop(event);
+ },
preventBlurByScroll: function() {
Event.observe(this.update, "click", this.preventBlur);
17 years, 2 months
JBoss Rich Faces SVN: r3154 - branches/3.1.x/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-09-27 13:25:39 -0400 (Thu, 27 Sep 2007)
New Revision: 3154
Modified:
branches/3.1.x/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.jboss.com/jira/browse/RF-1022
Modified: branches/3.1.x/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
===================================================================
--- branches/3.1.x/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-09-27 17:16:05 UTC (rev 3153)
+++ branches/3.1.x/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-09-27 17:25:39 UTC (rev 3154)
@@ -153,6 +153,17 @@
this.upDown = 0;
},
+ preventBlur:function(event) {
+ Event.stop(event);
+ },
+
+ preventBlurByScroll: function() {
+ Event.observe(this.update, "click", this.preventBlur);
+ },
+
+ enableBlurByScroll: function() {
+ Event.stopObserving(this.update, "click", this.preventBlur);
+ },
show: function() {
if ("SAFARI" == RichFaces.navigatorType()) {
this.wasScroll = false;
@@ -164,6 +175,7 @@
if (Element.getStyle(this.update, 'display')
== 'none') this.options.onShow(this.element, this.update, this.options);
this.disableSubmit();
+ this.preventBlurByScroll();
},
@@ -176,6 +188,7 @@
Event.stopObserving(this.overflow, "scroll", this.onScrollListener)
}
this.stopIndicator();
+ this.enableBlurByScroll();
if (Element.getStyle(this.update, 'display')
!= 'none') this.options.onHide(this.element, this.update, this.options);
this.enableSubmit();
17 years, 2 months
JBoss Rich Faces SVN: r3153 - trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-09-27 13:16:05 -0400 (Thu, 27 Sep 2007)
New Revision: 3153
Modified:
trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.jboss.com/jira/browse/RF-1022
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 2007-09-27 16:21:40 UTC (rev 3152)
+++ trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-09-27 17:16:05 UTC (rev 3153)
@@ -79,7 +79,11 @@
this.element.setAttribute('autocomplete', 'off');
Element.hide(this.update);
-
+
+ this.preventBlur = function(event) {
+ Event.stop(event);
+ };
+
this.onBlurListener = this.onBlur.bindAsEventListener(this);
Event.observe(this.element, "blur", this.onBlurListener);
@@ -138,6 +142,7 @@
Event.observe(el, "submit", this.onSubmitListener);
}
}
+
},
enableSubmit: function() {
@@ -154,6 +159,14 @@
}
this.upDown = 0;
},
+
+ preventBlurByScroll: function() {
+ Event.observe(this.update, "click", this.preventBlur);
+ },
+
+ enableBlurByScroll: function() {
+ Event.stopObserving(this.update, "click", this.preventBlur);
+ },
show: function() {
if ("SAFARI" == RichFaces.navigatorType()) {
@@ -166,7 +179,7 @@
if (Element.getStyle(this.update, 'display')
== 'none') this.options.onShow(this.element, this.update, this.options);
this.disableSubmit();
-
+ this.preventBlurByScroll();
},
hide: function() {
@@ -180,6 +193,7 @@
this.stopIndicator();
if (Element.getStyle(this.update, 'display')
!= 'none') this.options.onHide(this.element, this.update, this.options);
+ this.enableBlurByScroll();
this.enableSubmit();
this.hasFocus = false;
this.active = false;
17 years, 2 months
JBoss Rich Faces SVN: r3152 - in trunk/ui/togglePanel/src/main: templates and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-09-27 12:21:40 -0400 (Thu, 27 Sep 2007)
New Revision: 3152
Modified:
trunk/ui/togglePanel/src/main/config/component/togglePanel.xml
trunk/ui/togglePanel/src/main/templates/togglePanel.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1023
Modified: trunk/ui/togglePanel/src/main/config/component/togglePanel.xml
===================================================================
--- trunk/ui/togglePanel/src/main/config/component/togglePanel.xml 2007-09-27 16:19:32 UTC (rev 3151)
+++ trunk/ui/togglePanel/src/main/config/component/togglePanel.xml 2007-09-27 16:21:40 UTC (rev 3152)
@@ -232,7 +232,8 @@
<description>
CSS style(s) to be applied when this component is
rendered
- </description>
+ </description>
+ <defaultvalue>""</defaultvalue>
</property>
<property>
<name>styleClass</name>
@@ -242,7 +243,8 @@
applied when this element is rendered. This value must
be passed through as the "class" attribute on generated
markup
- </description>
+ </description>
+ <defaultvalue>""</defaultvalue>
</property>
<property>
Modified: trunk/ui/togglePanel/src/main/templates/togglePanel.jspx
===================================================================
--- trunk/ui/togglePanel/src/main/templates/togglePanel.jspx 2007-09-27 16:19:32 UTC (rev 3151)
+++ trunk/ui/togglePanel/src/main/templates/togglePanel.jspx 2007-09-27 16:21:40 UTC (rev 3152)
@@ -18,7 +18,8 @@
<![CDATA[org.richfaces.component.util.FormUtil.throwEnclFormReqExceptionIfNeed(context,component);]]>
</jsp:scriptlet>
- <div id="#{clientId}">
+ <div id="#{clientId}" style="#{component.attributes['style']}"
+ class="#{component.attributes['styleClass']}" >
<vcp:body/>
<f:call name="handleFacets"/>
</div>
17 years, 3 months
JBoss Rich Faces SVN: r3151 - trunk/test-applications/jsp/src/main/webapp/DataTable.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-09-27 12:19:32 -0400 (Thu, 27 Sep 2007)
New Revision: 3151
Modified:
trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp
Log:
fix bgcolor
Modified: trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp 2007-09-27 16:16:56 UTC (rev 3150)
+++ trunk/test-applications/jsp/src/main/webapp/DataTable/DT.jsp 2007-09-27 16:19:32 UTC (rev 3151)
@@ -3,14 +3,15 @@
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<f:subview id="DataTableID">
- <h:form>
-
+ <h:form>
<rich:dataTable id="dataTableID" var="dataTableID"
- value="#{dataTable.mounths}" rowKeyVar="key" styleClass="table"
+ value="#{dataTable.mounths}" rowKeyVar="key" styleClass="dtStyle"
captionClass="caption" rowClasses="rowa,rowb,rowc rowcc"
- headerClass="header" footerClass="footer"
- onRowClick="alert('row #{key}')" rendered="#{dataTable.rendered}" align="#{dataTable.align}" bgcolor="#{dataTable.bgcolor}"
- border="#{dataTable.border}" columnsWidth="#{dataTable.columnsWidth}" width="#{dataTable.width}" title="DataTableTite">
+ headerClass="header" footerClass="footer"
+ onRowClick="alert('row #{key}')" rendered="#{dataTable.rendered}"
+ align="#{dataTable.align}" bgcolor="#{dataTable.bgcolor}"
+ border="#{dataTable.border}" columnsWidth="#{dataTable.columnsWidth}"
+ width="#{dataTable.width}" title="DataTableTite">
<f:facet name="caption">
<h:outputText value="caption" />
</f:facet>
@@ -93,23 +94,6 @@
<a4j:support event="onchange" reRender="dataTableID"></a4j:support>
</h:inputText>
- <h:outputText value="Background Colour"></h:outputText>
- <h:selectOneMenu value="#{dataTable.bgcolor}">
- <f:selectItem itemLabel="aqua" itemValue="aqua" />
- <f:selectItem itemLabel="blue" itemValue="blue" />
- <f:selectItem itemLabel="fuchsia" itemValue="fuchsia" />
- <f:selectItem itemLabel="gray" itemValue="gray" />
- <f:selectItem itemLabel="lime" itemValue="lime" />
- <f:selectItem itemLabel="maroon" itemValue="maroon" />
- <f:selectItem itemLabel="purple" itemValue="purple" />
- <f:selectItem itemLabel="red" itemValue="red" />
- <f:selectItem itemLabel="silver" itemValue="silver" />
- <f:selectItem itemLabel="teal" itemValue="teal" />
- <f:selectItem itemLabel="yellow" itemValue="yellow" />
- <f:selectItem itemLabel="white" itemValue="white" />
- <a4j:support event="onclick" reRender="dataTableID"></a4j:support>
- </h:selectOneMenu>
-
<h:outputText value="rendered:" />
<h:selectBooleanCheckbox value="#{dataTable.rendered}"
onclick="submit();" />
17 years, 3 months
JBoss Rich Faces SVN: r3150 - branches/3.1.x/docs/userguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-09-27 12:16:56 -0400 (Thu, 27 Sep 2007)
New Revision: 3150
Added:
branches/3.1.x/docs/userguide/en/src/main/resources/images/dataTable2.png
branches/3.1.x/docs/userguide/en/src/main/resources/images/datadefinitionlist2.png
branches/3.1.x/docs/userguide/en/src/main/resources/images/dataorderedlist2.png
branches/3.1.x/docs/userguide/en/src/main/resources/images/datascroller3.png
branches/3.1.x/docs/userguide/en/src/main/resources/images/inputNumberSpinner3.png
branches/3.1.x/docs/userguide/en/src/main/resources/images/panel3.png
branches/3.1.x/docs/userguide/en/src/main/resources/images/slider5.png
Log:
http://jira.jboss.com/jira/browse/RF-971 - updated branch version
Added: branches/3.1.x/docs/userguide/en/src/main/resources/images/dataTable2.png
===================================================================
(Binary files differ)
Property changes on: branches/3.1.x/docs/userguide/en/src/main/resources/images/dataTable2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/3.1.x/docs/userguide/en/src/main/resources/images/datadefinitionlist2.png
===================================================================
(Binary files differ)
Property changes on: branches/3.1.x/docs/userguide/en/src/main/resources/images/datadefinitionlist2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/3.1.x/docs/userguide/en/src/main/resources/images/dataorderedlist2.png
===================================================================
(Binary files differ)
Property changes on: branches/3.1.x/docs/userguide/en/src/main/resources/images/dataorderedlist2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/3.1.x/docs/userguide/en/src/main/resources/images/datascroller3.png
===================================================================
(Binary files differ)
Property changes on: branches/3.1.x/docs/userguide/en/src/main/resources/images/datascroller3.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/3.1.x/docs/userguide/en/src/main/resources/images/inputNumberSpinner3.png
===================================================================
(Binary files differ)
Property changes on: branches/3.1.x/docs/userguide/en/src/main/resources/images/inputNumberSpinner3.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/3.1.x/docs/userguide/en/src/main/resources/images/panel3.png
===================================================================
(Binary files differ)
Property changes on: branches/3.1.x/docs/userguide/en/src/main/resources/images/panel3.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: branches/3.1.x/docs/userguide/en/src/main/resources/images/slider5.png
===================================================================
(Binary files differ)
Property changes on: branches/3.1.x/docs/userguide/en/src/main/resources/images/slider5.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 3 months
JBoss Rich Faces SVN: r3149 - branches/3.1.x/samples/calendar-sample/src/main/webapp/pages.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2007-09-27 12:15:14 -0400 (Thu, 27 Sep 2007)
New Revision: 3149
Modified:
branches/3.1.x/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp
Log:
RF-978
Modified: branches/3.1.x/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp
===================================================================
--- branches/3.1.x/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp 2007-09-27 16:14:56 UTC (rev 3148)
+++ branches/3.1.x/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp 2007-09-27 16:15:14 UTC (rev 3149)
@@ -57,7 +57,10 @@
valueChangeListener="#{calendarBean.ddd}"
reRender="counter"
inputClass="ic"
- buttonClass="bc">
+ buttonClass="bc"
+ horizontalOffset="3"
+ verticalOffset="3"
+ mode="ajax">
<f:facet name="optionalHeader">
<h:outputText value="optionalHeader Facet" />
</f:facet>
17 years, 3 months