JBoss Rich Faces SVN: r11783 - in trunk/test-applications/seleniumTest/richfaces/src: main/webapp/layout/autotest and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-12-15 11:21:07 -0500 (Mon, 15 Dec 2008)
New Revision: 11783
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestControls.xhtml
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestHiddens.xhtml
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/calendarAutoTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java
Log:
RF-5229
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestBean.java 2008-12-15 16:07:59 UTC (rev 11782)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestBean.java 2008-12-15 16:21:07 UTC (rev 11783)
@@ -51,6 +51,10 @@
public static final String STATUS_ID = "_auto_status";
public static final String UPDATE_MODEL_STATUS = "UpdateModel";
+
+ public static final String PROCESS_INPUT_UPDATE_MODEL = "ProcessInputUpdateModel";
+
+ public static final String PROCESS_INPUT_CHANGE_LISTENER = "ProcessInputChangeListener";
public static final String ACTION_LISTENER_STATUS = "ActionListener";
@@ -96,6 +100,10 @@
private boolean converterSet;
+ private String processInput;
+
+ private boolean processSet = false;
+
public class AutoTestConverter implements Converter {
public static final String AS_OBJECT_STRING = "AUTO_TEST_CONVERTER_AS_OBJECT";
@@ -143,8 +151,13 @@
public void actionListener(DropEvent event) {
setStatus(getStatus() + ACTION_LISTENER_STATUS);
}
-
-
+
+ public void processInputChangeListener(ValueChangeEvent event) {
+ if (processSet) {
+ setStatus(getStatus() + PROCESS_INPUT_CHANGE_LISTENER);
+ }
+ }
+
public void valueChangeListener(ValueChangeEvent event) {
setStatus(getStatus() + VALUE_CHANGE_LISTENER_STATUS);
}
@@ -437,5 +450,38 @@
this.converterSet = converterSet;
}
+ /**
+ * @return the processSet
+ */
+ public boolean isProcessSet() {
+ return processSet;
+ }
+ /**
+ * @param processSet the processSet to set
+ */
+ public void setProcessSet(boolean processSet) {
+ this.processSet = processSet;
+ }
+
+ /**
+ * @return the processInput
+ */
+ public String getProcessInput() {
+ return null;
+ }
+
+ /**
+ * @param processInput the processInput to set
+ */
+ public void setProcessInput(String processInput) {
+ if (processSet) {
+ setStatus(getStatus() + PROCESS_INPUT_UPDATE_MODEL);
+ }
+ }
+
+ public String getProcess() {
+ return "_auto_process_input";
+ }
+
}
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestControls.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestControls.xhtml 2008-12-15 16:07:59 UTC (rev 11782)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestControls.xhtml 2008-12-15 16:21:07 UTC (rev 11783)
@@ -61,7 +61,13 @@
</td>
</tr>
<tr>
+ <td>Test process:</td>
<td>
+ <h:selectBooleanCheckbox id="_auto_process" value="#{autoTestBean.processSet}"></h:selectBooleanCheckbox>
+ </td>
+ </tr>
+ <tr>
+ <td>
<h:commandButton id="_auto_load" actionListener="#{templateBean.reset}" action="#{autoTestBean.load}" value="Load"></h:commandButton>
</td>
<td>
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestHiddens.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestHiddens.xhtml 2008-12-15 16:07:59 UTC (rev 11782)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestHiddens.xhtml 2008-12-15 16:21:07 UTC (rev 11783)
@@ -5,6 +5,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:inputHidden id="_auto_input" value="#{autoTestBean.input}" required="true"></h:inputHidden>
+ <h:inputHidden id="_auto_process_input" value="#{autoTestBean.processInput}" valueChangeListener="#{autoTestBean.processInputChangeListener}"></h:inputHidden>
<a4j:outputPanel ajaxRendered="true">
<h:outputText id="_auto_status" style="display: none;" value="#{autoTestBean.status}"></h:outputText>
</a4j:outputPanel>
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/calendarAutoTest.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/calendarAutoTest.xhtml 2008-12-15 16:07:59 UTC (rev 11782)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/calendarAutoTest.xhtml 2008-12-15 16:21:07 UTC (rev 11783)
@@ -21,6 +21,7 @@
converter="#{autoTestBean.converter}"
mode="ajax"
popup="false"
+ process="#{autoTestBean.process}"
>
<f:param name="parameter1" value="value1" />
</rich:calendar>
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java 2008-12-15 16:07:59 UTC (rev 11782)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java 2008-12-15 16:21:07 UTC (rev 11783)
@@ -21,6 +21,7 @@
package org.richfaces;
import java.util.ArrayList;
+import java.util.Date;
import java.util.List;
import java.util.Map;
@@ -41,6 +42,8 @@
private static final String AUTOTEST_FORM_ID = "autoTestForm:";
private static final String INPUT_ID = "_auto_input";
+
+ private static final String PROCESS_INPUT_ID = "_auto_process_input";
public static final String STATUS_ID = "_auto_status";
@@ -393,6 +396,10 @@
private void setInternalValidationFailed() {
base.setInternalValidationFailed();
}
+
+ private void setProcessInputValue() {
+ base.setValueById(base.getParentId() + AUTOTEST_FORM_ID + PROCESS_INPUT_ID, String.valueOf(new Date().getTime()));
+ }
private void changeValue() {
base.changeValue();
@@ -420,6 +427,24 @@
}
}
+ public void testProcessAttribute() {
+ reset();
+ setupControl(TestSetupEntry.process, true);
+ setupControl(TestSetupEntry.ajaxSingle, true);
+ clickLoad();
+
+ setProcessInputValue();
+ base.sendAjax();
+
+ try{
+ checkProcessInputChangeListener(true);
+ checkUpdateModelForProcessInput(true);
+ }catch (AssertionError error) {
+ Assert.fail("Process attribute does not work. " + error);
+ }
+
+ }
+
public void testConverterAttribute() {
setupControl(TestSetupEntry.converter, true);
clickLoad();
@@ -468,6 +493,15 @@
Assert.fail(status);
}
}
+
+ public void checkProcessInputChangeListener(boolean passed) {
+ String status = getStatus();
+ if (passed && status != null && status.indexOf(AutoTestBean.PROCESS_INPUT_CHANGE_LISTENER) == -1) {
+ Assert.fail("ValueChangeListener for component specified in process attribute has been skipped");
+ } else if (!passed && status != null && status.indexOf(AutoTestBean.PROCESS_INPUT_CHANGE_LISTENER) != -1) {
+ Assert.fail(status);
+ }
+ }
public void checkNestedActionListener(boolean passed) {
String status = getStatus();
@@ -513,6 +547,15 @@
Assert.fail("Update Model phase should be skipped");
}
}
+
+ public void checkUpdateModelForProcessInput(boolean passed) {
+ String status = getStatus();
+ if (passed && status != null && status.indexOf(AutoTestBean.PROCESS_INPUT_UPDATE_MODEL) == -1) {
+ Assert.fail("Update Model phase for component defined in process attribute has been skipped");
+ } else if (!passed && status != null && status.indexOf(AutoTestBean.PROCESS_INPUT_UPDATE_MODEL) != -1) {
+ Assert.fail("Update Model phase for component defined in process attribute should be skipped");
+ }
+ }
private String getStatus() {
return base.getTextById(base.getParentId() + AUTOTEST_FORM_ID + STATUS_ID);
@@ -556,6 +599,8 @@
public static final TestSetupEntry limitToList = new TestSetupEntry("limitToList", Boolean.class, Boolean.FALSE);
public static final TestSetupEntry converter = new TestSetupEntry("converter", Boolean.class, Boolean.FALSE);
+
+ public static final TestSetupEntry process = new TestSetupEntry("process", Boolean.class, Boolean.FALSE);
public static final List<TestSetupEntry> list = new ArrayList<TestSetupEntry>();
static {
@@ -568,6 +613,7 @@
list.add(limitToList);
list.add(oncomplete);
list.add(converter);
+ list.add(process);
}
}
17 years, 5 months
JBoss Rich Faces SVN: r11782 - trunk/test-applications/facelets/src/main/webapp/InplaceInput.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-12-15 11:07:59 -0500 (Mon, 15 Dec 2008)
New Revision: 11782
Modified:
trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInputProperty.xhtml
Log:
remove rich:findComponent
Modified: trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInputProperty.xhtml
===================================================================
--- trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInputProperty.xhtml 2008-12-15 15:50:52 UTC (rev 11781)
+++ trunk/test-applications/facelets/src/main/webapp/InplaceInput/InplaceInputProperty.xhtml 2008-12-15 16:07:59 UTC (rev 11782)
@@ -111,16 +111,5 @@
<br />
<a4j:commandLink
onclick="$('formID:inplaceInputSubviewID:inplaceInputId').component.setValue('setValue')"
- value="setValuel"></a4j:commandLink>
- <br />
- <br />
- <div style="FONT-WEIGHT: bold;">rich:findComponent</div>
- <h:panelGrid columns="2">
- <rich:column>
- <a4j:commandLink value="getValue" reRender="findID"></a4j:commandLink>
- </rich:column>
- <rich:column id="findID">
- <h:outputText value="#{rich:findComponent('inplaceInputId').value}" />
- </rich:column>
- </h:panelGrid>
+ value="setValuel"></a4j:commandLink>
</f:subview>
\ No newline at end of file
17 years, 5 months
JBoss Rich Faces SVN: r11781 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2008-12-15 10:50:52 -0500 (Mon, 15 Dec 2008)
New Revision: 11781
Modified:
trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml
trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
Log:
https://jira.jboss.org/jira/browse/RF-5387 -InputNumberSlider extended component description, language is checked
Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml 2008-12-15 15:48:29 UTC (rev 11780)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml 2008-12-15 15:50:52 UTC (rev 11781)
@@ -14,9 +14,7 @@
</sectioninfo>
<section>
<title>Description</title>
- <para>The component extending standard component <emphasis role="bold">
- <property><rich:inputNumberSlider></property>
- </emphasis>.A component that lets selecting a number from a numeric region. It's a horizontal
+ <para>The component lets selecting a number from a numeric region. It's a horizontal
aligned scroll-like control with its own input field (optional) present. The keyboard input in a
field is possible (optional). Also it's possible to see the current value in the toolTip
above a dragged handle control.</para>
@@ -40,7 +38,7 @@
<listitem><para>Optional manual input possible if a text input field is present</para></listitem>
<listitem><para>Validation of manual input</para></listitem>
<listitem><para>Possibility to display 2 controls that increase/decrease the value by the defined step width, when they will be clicked.</para></listitem>
- <listitem><para>Attribute "orientation" that can have the values "vertical" and "horizontal" to define in which direction the slider should be moveable.
+ <listitem><para>Attribute "orientation" that can have the values "vertical" and "horizontal" to define in which direction the slider should be movable.
</para></listitem>
</itemizedlist>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2008-12-15 15:48:29 UTC (rev 11780)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2008-12-15 15:50:52 UTC (rev 11781)
@@ -115,7 +115,7 @@
</para>
<programlisting role="XML"><![CDATA[<rich:inputNumberSlider></rich:inputNumberSlider>]]></programlisting>
- <para>It generates on a page:</para>
+ <para>It's generated on a page:</para>
<figure>
<title>
Generated
@@ -152,7 +152,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[<rich:inputNumberSlider minValue="1" maxValue="100" showInput="false"/>]]></programlisting>
- <para>It looks at page like:</para>
+ <para>It's displayed at a page like:</para>
<figure>
<title>
<emphasis role="bold">
@@ -218,7 +218,7 @@
</emphasis>
attribute provides an association between a component, and
the message that the component (indirectly) produced. This
- attribute defines the parameters of localized error and
+ attribute defines the parameters of a localized error and
informational messages that occur as a result of conversion,
validation, or other application actions during the request
processing lifecycle. With the help of this attribute you
@@ -263,8 +263,8 @@
</emphasis>
attribute (default is "false")
possible to display 2 controls that increase/decrease the value by the
- defined step width, when they will be clicked. When the mouse will click and press,
- the pointer will move with the delay set in miliseconds in<emphasis>
+ defined step width, when they are clicked. When the mouse button is clicked and pressed,
+ the pointer is moved with a delay set in miliseconds in<emphasis>
<property>"delay"</property>
</emphasis> attribute.
</para>
@@ -279,7 +279,7 @@
showArrows="true"
delay="150"/>
]]></programlisting>
- <para>It looks at page like:</para>
+ <para>It's displayed at page like:</para>
<figure>
<title>
<emphasis role="bold">
17 years, 5 months
JBoss Rich Faces SVN: r11780 - in trunk/samples/richfaces-demo/src/main: webapp/richfaces and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-12-15 10:48:29 -0500 (Mon, 15 Dec 2008)
New Revision: 11780
Added:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/queue/QueueBean.java
trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue/customization.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue/examples/repeater.xhtml
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue.xhtml
Log:
Added: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/queue/QueueBean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/queue/QueueBean.java (rev 0)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/queue/QueueBean.java 2008-12-15 15:48:29 UTC (rev 11780)
@@ -0,0 +1,121 @@
+package org.richfaces.demo.queue;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
+import javax.faces.context.ExternalContext;
+import javax.faces.context.FacesContext;
+import javax.faces.model.SelectItem;
+
+import org.ajax4jsf.event.AjaxEvent;
+
+public class QueueBean {
+ public int requestDelay = 500;
+ public boolean ignoreDupResponces = false;
+ public boolean disabled = false;
+ public int size = -1;
+ public String sizeExceededBehavior = "dropNew";
+ public String text="";
+ public int requests=0;
+ public int events=0;
+ private static final String AJAX_REQUESTS_COUNT_ATTRIBUTE = "ajaxRequestsCount";
+
+ public List<SelectItem> strategies = new ArrayList<SelectItem>();
+
+ public QueueBean() {
+ SelectItem item = new SelectItem("dropNext", "Drop Next");
+ strategies.add(item);
+ item = new SelectItem("dropNew", "Drop New");
+ strategies.add(item);
+ item = new SelectItem("fireNext", "Fire Next");
+ strategies.add(item);
+ item = new SelectItem("fireNew", "Fire New");
+ strategies.add(item);
+ }
+
+ public void waitDelay() throws InterruptedException {
+ System.out.println("QueueBean.waitDelay()");
+ Thread.sleep(1000);
+ }
+
+ public void processAjax(AjaxEvent event) {
+ ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();
+ Map<String, Object> sessionMap = externalContext.getSessionMap();
+ Long count = (Long) sessionMap.get(AJAX_REQUESTS_COUNT_ATTRIBUTE);
+ if (count == null) {
+ count = Long.valueOf(0);
+ }
+ sessionMap.put(AJAX_REQUESTS_COUNT_ATTRIBUTE, ++count);
+ }
+
+
+ public int getRequestDelay() {
+ return requestDelay;
+ }
+
+ public void setRequestDelay(int requestDelay) {
+ this.requestDelay = requestDelay;
+ }
+
+ public boolean isIgnoreDupResponces() {
+ return ignoreDupResponces;
+ }
+
+ public void setIgnoreDupResponces(boolean ignoreDupResponces) {
+ this.ignoreDupResponces = ignoreDupResponces;
+ }
+
+ public boolean isDisabled() {
+ return disabled;
+ }
+
+ public void setDisabled(boolean disabled) {
+ this.disabled = disabled;
+ }
+
+ public int getSize() {
+ return size;
+ }
+
+ public void setSize(int size) {
+ this.size = size;
+ }
+
+ public String getSizeExceededBehavior() {
+ return sizeExceededBehavior;
+ }
+
+ public void setSizeExceededBehavior(String sizeExceedStrategy) {
+ this.sizeExceededBehavior = sizeExceedStrategy;
+ }
+
+ public String getText() {
+ return text;
+ }
+
+ public void setText(String text) {
+ this.text = text;
+ }
+
+ public List<SelectItem> getStrategies() {
+ return strategies;
+ }
+
+ public int getRequests() {
+ return requests;
+ }
+
+ public void setRequests(int reuqests) {
+ this.requests = reuqests;
+ }
+
+ public int getEvents() {
+ return events;
+ }
+
+ public void setEvents(int events) {
+ this.events = events;
+ }
+
+}
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue/customization.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue/customization.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue/customization.xhtml 2008-12-15 15:48:29 UTC (rev 11780)
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <p>
+ Description
+ </p>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Queue demo</legend>
+ <div class="sample-container">
+ <ui:include src="/richfaces/queue/examples/repeater.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/queue/examples/repeater.xhtml"/>
+ <ui:param name="openlabel" value="View Source" />
+ </ui:include>
+ </div>
+ </fieldset>
+ </ui:define>
+
+ </ui:composition>
+</html>
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue/examples/repeater.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue/examples/repeater.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue/examples/repeater.xhtml 2008-12-15 15:48:29 UTC (rev 11780)
@@ -0,0 +1,92 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich"
+ xmlns:c="http://java.sun.com/jstl/core">
+ <h:form id="form">
+ <a4j:queue requestDelay="#{queueBean.requestDelay}"
+ ignoreDupResponses="#{queueBean.ignoreDupResponces}"
+ disabled="#{queueBean.disabled}" size="#{queueBean.size}"
+ sizeExceededBehavior="#{queueBean.sizeExceededBehavior}" onsubmit="addRequest();"/>
+ <h:panelGrid columns="1" width="800px">
+ <rich:panel>
+ <h:panelGrid columns="2">
+ <h:outputText value="Type here:" />
+ <h:inputText id="myinput" value="#{queueBean.text}">
+ <a4j:support event="onkeyup" reRender="outtext,reqs"
+ onsubmit="addEvent();" ajaxSingle="true"
+ oncomplete="printCounts()"
+ onbeforedomupdate="addUpdate()" action="#{queueBean.waitDelay}"/>
+ </h:inputText>
+ <h:outputText value="Repeated text:" />
+ <h:outputText value="#{queueBean.text}" id="outtext"
+ style="font-weight:bold;" />
+ <h:outputText value="Events count:" />
+ <h:outputText value="0" id="events" />
+ <h:outputText value="Requests count:" />
+ <h:outputText value="0" id="requests" />
+ <h:outputText value="DOM updates count:" />
+ <h:outputText value="0" id="updates" />
+ </h:panelGrid>
+ </rich:panel>
+ <rich:panel>
+ <h:panelGrid columns="2">
+ <h:outputText value="Request delay:" />
+ <h:inputText value="#{queueBean.requestDelay}">
+ <f:convertNumber integerOnly="true" maxIntegerDigits="5" />
+ </h:inputText>
+
+ <h:outputText value="Ignore Duplicated Responces" />
+ <h:selectBooleanCheckbox value="#{queueBean.ignoreDupResponces}" />
+
+ <h:outputText value="Queue size" />
+ <h:inputText value="#{queueBean.size}">
+ <f:convertNumber integerOnly="true" maxIntegerDigits="5" />
+ </h:inputText>
+ <h:outputText value="Size Exceed Behavior" />
+ <h:selectOneMenu value="#{queueBean.sizeExceededBehavior}">
+ <f:selectItems value="#{queueBean.strategies}" />
+ </h:selectOneMenu>
+
+
+ <h:outputText value="Disable Queue" />
+ <h:selectBooleanCheckbox value="#{queueBean.disabled}" />
+ <f:facet name="footer">
+ <h:panelGroup>
+ <h:commandButton value="Apply"/>
+ <h:commandButton value="Reset"/>
+ </h:panelGroup>
+ </f:facet>
+ </h:panelGrid>
+ </rich:panel>
+ </h:panelGrid>
+ <a4j:log popup="false" style="width:800px; height:400px; overflow:auto;"/>
+ </h:form>
+ <script type="text/javascript">
+ var events=0;
+ var updates=0;
+ var outEvents=document.getElementById('form:events');
+ var outUpdates=document.getElementById('form:updates');
+ var outRequests=document.getElementById('form:requests');
+
+ var requests=0;
+ function addEvent(){
+ events++;
+ }
+ function addUpdate(){
+ updates++;
+ }
+ function addRequest(){
+ requests++;
+ }
+
+ function printCounts(){
+ outEvents.innerHTML=events;
+ outUpdates.innerHTML=updates;
+ outRequests.innerHTML=requests;
+ }
+ </script>
+</ui:composition>
+
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue.xhtml 2008-12-15 15:34:58 UTC (rev 11779)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue.xhtml 2008-12-15 15:48:29 UTC (rev 11780)
@@ -7,7 +7,20 @@
<ui:composition template="/templates/main.xhtml">
<ui:define name="title">RichFaces - Open Source Rich JSF Components - Queue Component</ui:define>
<ui:define name="body">
- <ui:include src="/templates/include/tab-panel.xhtml" />
+ <rich:tabPanel switchType="server" styleClass="top_tab" contentClass="content_tab" headerClass="header_tabs_class" inactiveTabClass="inactive_tab" activeTabClass="active_tab"
+ selectedTab="#{componentNavigator.currentComponent.activeTab}" valueChangeListener="#{componentNavigator.tabPanelSwitched}">
+ <rich:tab label="Usage" name="usage">
+ <ui:include src="/richfaces/queue/usage.xhtml"/>
+ </rich:tab>
+ <rich:tab label="Queue Settings" name="queueSettings">
+ <ui:include src="/richfaces/queue/customization.xhtml"/>
+ </rich:tab>
+ <rich:tab name="info" label="Tag Information">
+ <rich:insert
+ src="/WEB-INF/#{componentNavigator.currentComponent.tagInfoLocation}"
+ errorContent="/templates/include/tagInfoNotes.xhtml" />
+ </rich:tab>
+ </rich:tabPanel>
</ui:define>
</ui:composition>
</html>
17 years, 5 months
JBoss Rich Faces SVN: r11779 - in trunk/test-applications/qa/Performance Suite: 3.2.2.GA and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2008-12-15 10:34:58 -0500 (Mon, 15 Dec 2008)
New Revision: 11779
Added:
trunk/test-applications/qa/Performance Suite/3.2.2.GA - 3.3.0.BETA2/
trunk/test-applications/qa/Performance Suite/3.2.2.GA - 3.3.0.BETA2/Performance Test Suite Blank 3.2.2.GA.doc
trunk/test-applications/qa/Performance Suite/3.2.2.GA - 3.3.0.BETA2/Performance Test Suite Blank 3.3.0.BETA2.doc
trunk/test-applications/qa/Performance Suite/Performance Test Suite Blank 3.2.2.GA.doc
trunk/test-applications/qa/Performance Suite/Performance Test Suite Blank 3.3.0.BETA2.doc
Removed:
trunk/test-applications/qa/Performance Suite/DataModels/
Log:
Added: trunk/test-applications/qa/Performance Suite/3.2.2.GA - 3.3.0.BETA2/Performance Test Suite Blank 3.2.2.GA.doc
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Performance Suite/3.2.2.GA - 3.3.0.BETA2/Performance Test Suite Blank 3.2.2.GA.doc
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/qa/Performance Suite/3.2.2.GA - 3.3.0.BETA2/Performance Test Suite Blank 3.3.0.BETA2.doc
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Performance Suite/3.2.2.GA - 3.3.0.BETA2/Performance Test Suite Blank 3.3.0.BETA2.doc
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/qa/Performance Suite/Performance Test Suite Blank 3.2.2.GA.doc
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Performance Suite/Performance Test Suite Blank 3.2.2.GA.doc
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/qa/Performance Suite/Performance Test Suite Blank 3.3.0.BETA2.doc
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/qa/Performance Suite/Performance Test Suite Blank 3.3.0.BETA2.doc
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 5 months
JBoss Rich Faces SVN: r11778 - trunk/docs/cdkguide/en/src/main/docbook/tags.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-12-15 10:31:14 -0500 (Mon, 15 Dec 2008)
New Revision: 11778
Removed:
trunk/docs/cdkguide/en/src/main/docbook/tags/fclientId.xml
Log:
https://jira.jboss.org/jira/browse/RF-3692 - tag was deleted
Deleted: trunk/docs/cdkguide/en/src/main/docbook/tags/fclientId.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/fclientId.xml 2008-12-15 15:28:09 UTC (rev 11777)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/fclientId.xml 2008-12-15 15:31:14 UTC (rev 11778)
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<section id="fclientId" xreflabel="fclientId">
- <?dbhtml filename="fclientId.html"?>
- <sectioninfo>
- <keywordset>
- <keyword>f:clientId</keyword>
- </keywordset>
- </sectioninfo>
- <title><f:clientId /></title>
- <para>
- The <emphasis role="bold"><property><f:clientId /></property></emphasis> tag declares a variable with a ClientId of the component as the value.
- </para>
- <table>
- <title>The <f:clientId /> attributes</title>
- <tgroup cols="3">
- <thead>
- <row>
- <entry>Attribute Name</entry>
- <entry>Description</entry>
- <entry>Required</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry>var</entry>
- <entry>Defines a variable name</entry>
- <entry>True</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
-</section>
17 years, 5 months
JBoss Rich Faces SVN: r11777 - in trunk/docs/cdkguide/en/src/main/docbook: tags and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-12-15 10:28:09 -0500 (Mon, 15 Dec 2008)
New Revision: 11777
Added:
trunk/docs/cdkguide/en/src/main/docbook/tags/
trunk/docs/cdkguide/en/src/main/docbook/tags/ajaxupdate.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/cif.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/cobject.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/cset.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/fattribute.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/fcall.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/fclientId.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/fclientid.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/finsert.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/forEach.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/fparameter.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/fpassThru.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/fresource.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/froot.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/fverbatim.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/uinsertFacet.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/vcpbody.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/vcpmock.xml
Modified:
trunk/docs/cdkguide/en/src/main/docbook/master.xml
Log:
https://jira.jboss.org/jira/browse/RF-3692 - tags were added
Modified: trunk/docs/cdkguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-12-15 15:25:11 UTC (rev 11776)
+++ trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -220,5 +220,6 @@
<!--&fpassThru;-->
&vcpbody;
&vcpmock;
+
</chapter>
</book>
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/ajaxupdate.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/ajaxupdate.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/ajaxupdate.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="ajaxupdate" xreflabel="ajaxupdate">
+ <?dbhtml filename="ajaxupdate.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>ajax:update</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><ajax:update /></title>
+ <para>
+ The <emphasis role="bold"><property><ajax:update /></property></emphasis> tag allows to update a collection of nodes. By default, Ajax response updates only one node (with it's children) that is marked by id = clientid. If you need to update a number of nodes you should add a comma separated list of ids to <emphasis role="bold"><property><ajax:update /></property></emphasis> tag.
+ </para>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/ajaxupdate.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/cif.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/cif.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/cif.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="cif" xreflabel="cif">
+ <?dbhtml filename="cif.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>c:if</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><c:if /></title>
+ <para>
+ The <emphasis role="bold"><property><c:if /></property></emphasis> tag is a simple conditional tag, which evalutes its body if the supplied condition is true.
+ </para>
+ <table>
+ <title>The <c:if /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>test</entry>
+ <entry>Defines the test condition that determines whether or not the body content should be processed. </entry>
+ <entry>True</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/cif.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/cobject.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/cobject.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/cobject.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="cobject" xreflabel="cobject">
+ <?dbhtml filename="cobject.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>c:object</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><c:object /></title>
+ <para>
+ The <emphasis role="bold"><property><c:object /></property></emphasis> tag declares a variable that is used in java code with a value returned by an evaluated expression. A type of the result must match to the type defined by the <emphasis><property>"type"</property></emphasis> attribute.
+ </para>
+ <table>
+ <title>The <c:object /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>var</entry>
+ <entry>Defines a name of the variable</entry>
+ <entry>True</entry>
+ </row>
+ <row>
+ <entry>value</entry>
+ <entry>Defines an expression to be evaluated</entry>
+ <entry>True</entry>
+ </row>
+ <row>
+ <entry>type</entry>
+ <entry>Defines an object type</entry>
+ <entry>True</entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/cobject.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/cset.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/cset.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/cset.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="cset" xreflabel="cset">
+ <?dbhtml filename="cset.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>c:set</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><c:set /></title>
+ <para>
+ The <emphasis role="bold"><property><c:set /></property></emphasis> tag declares a request scope variable with a value returned by an evaluated expression.
+ </para>
+
+ <table>
+ <title>The <c:set /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>var</entry>
+ <entry>Defines a name of the variable which holds the value</entry>
+ <entry>True</entry>
+ </row>
+ <row>
+ <entry>value</entry>
+ <entry>Defines an expression to be evaluated</entry>
+ <entry>True</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/cset.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/fattribute.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/fattribute.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/fattribute.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="fattribute" xreflabel="fattribute">
+ <?dbhtml filename="fattribute.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>f:attribute</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><f:attribute /></title>
+ <para>
+The <emphasis role="bold"><property><f:attribute /></property></emphasis> tag assigns a value to a component attribute.
+ </para>
+ <table>
+ <title>The <f:attribute /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>name</entry>
+ <entry>Defines the name of a component attribute</entry>
+ <entry>True</entry>
+ </row>
+ <row>
+ <entry>value</entry>
+ <entry>Defines a value of the attribute</entry>
+ <entry>True</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/fattribute.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/fcall.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/fcall.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/fcall.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="fcall" xreflabel="fcall">
+ <?dbhtml filename="fcall.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>f:call</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><f:call /></title>
+ <para>
+ The <emphasis role="bold"><property><f:call /></property></emphasis> tag calls a method. For example it calls an additional method from the base class.
+ </para>
+<table>
+ <title>The <f:call /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>name</entry>
+ <entry>Defines a name of a method</entry>
+ <entry>True</entry>
+ </row>
+ <row>
+ <entry>class</entry>
+ <entry>Defines a class name</entry>
+ <entry>True</entry>
+ </row>
+ </tbody>
+ </tgroup>
+</table>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/fcall.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/fclientId.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/fclientId.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/fclientId.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="fclientId" xreflabel="fclientId">
+ <?dbhtml filename="fclientId.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>f:clientId</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><f:clientId /></title>
+ <para>
+ The <emphasis role="bold"><property><f:clientId /></property></emphasis> tag declares a variable with a ClientId of the component as the value.
+ </para>
+ <table>
+ <title>The <f:clientId /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>var</entry>
+ <entry>Defines a variable name</entry>
+ <entry>True</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/fclientId.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/fclientid.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/fclientid.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/fclientid.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="clientid" xreflabel="clientid">
+ <?dbhtml filename="clientid.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>f:clientid</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><f:clientid /></title>
+ <para>
+ The <emphasis role="bold"><property><f:clientid /></property></emphasis> tag declares a variable with a ClientId of the component as the value.
+ </para>
+ <table>
+ <title>The <f:clientid /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>var</entry>
+ <entry>Defines a variable name</entry>
+ <entry>True</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/fclientid.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/finsert.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/finsert.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/finsert.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="finsert" xreflabel="finsert">
+ <?dbhtml filename="finsert.html"?>
+<sectioninfo>
+ <keywordset>
+ <keyword>f:insert</keyword>
+ </keywordset>
+</sectioninfo>
+ <title><f:insert /></title>
+ <para>
+ The <emphasis role="bold"><property><f:insert /></property></emphasis> tag calls some subTemplate.
+ </para>
+ <table>
+ <title>The <f:insert /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>name</entry>
+ <entry>Defines a template name</entry>
+ <entry>True</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/finsert.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/forEach.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/forEach.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/forEach.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+ <section id="forEach" xreflabel="forEach">
+ <?dbhtml filename="forEach.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>c:forEach</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><c:forEach /></title>
+ <para>
+ The <emphasis role="bold"><property><c:forEach /></property></emphasis> iterates over a collection, iterator or an array of objects. It uses the same syntax as the standard JSTL <emphasis role="bold"><property><c:forEach /></property></emphasis> tag.
+ </para>
+ <table>
+ <title>The <c:forEach /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>begin</entry>
+ <entry>Defines the starting index</entry>
+ <entry>False</entry>
+ </row>
+ <row>
+ <entry>end</entry>
+ <entry>Defines the ending index</entry>
+ <entry>False</entry>
+ </row>
+ <row>
+ <entry>items</entry>
+ <entry>Defines the expression used to iterate over. This expression could resolve to an Iterator, Collection, Map, Array, Enumeration or comma separated String.</entry>
+ <entry>False</entry>
+ </row>
+ <row>
+ <entry>step</entry>
+ <entry>Defines the index increment step</entry>
+ <entry>False</entry>
+ </row>
+ <row>
+ <entry>var</entry>
+ <entry>Defines the variable name to export for the item being iterated over</entry>
+ <entry>True</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+ </section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/forEach.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/fparameter.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/fparameter.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/fparameter.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="fparameter" xreflabel="fparameter">
+ <?dbhtml filename="fparameter.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>f:parameter</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><f:parameter /></title>
+ <para>
+ The <emphasis role="bold"><property><f:parameter /></property></emphasis> tag specifies a parameter value for a method invoking. It is used within <emphasis role="bold"><property><f:call /></property></emphasis> tag.
+ </para>
+ <table>
+ <title>The <f:parameter /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>name</entry>
+ <entry>Defines a parameter name</entry>
+ <entry>True</entry>
+ </row>
+ <row>
+ <entry>value</entry>
+ <entry>Defines a parameter value</entry>
+ <entry>True</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/fparameter.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/fpassThru.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/fpassThru.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/fpassThru.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="fpassThru" xreflabel="fpassThru">
+ <?dbhtml filename="fpassThru.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>f:passThru</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><f:passThru /></title>
+ <para>
+ The <emphasis role="bold"><property><f:passThru /></property></emphasis> tag is responsible for outputting the <emphasis><property>"passThru"</property></emphasis> attribute for a component.
+ </para>
+ <table>
+ <title>The <f:passThru /> attribute</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>exclude</entry>
+ <entry>Defines the enumeration of non-transmittable parameters</entry>
+ <entry>False</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/fpassThru.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/fresource.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/fresource.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/fresource.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="fresource" xreflabel="fresource">
+ <?dbhtml filename="fresource.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>f:resource</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><f:resource /></title>
+ <para>
+ The <emphasis role="bold"><property><f:resource /></property></emphasis> tag is responsible for receiving a resource object such as image.
+ </para>
+ <table>
+ <title>The <f:resource /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>name</entry>
+ <entry>Defines a resource name which contains a path to the resource</entry>
+ <entry>True</entry>
+ </row>
+ <row>
+ <entry>var</entry>
+ <entry>Defines a resource variable that is used in a template</entry>
+ <entry>True</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/fresource.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/froot.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/froot.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/froot.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="froot" xreflabel="froot">
+ <?dbhtml filename="froot.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>f:root</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><f:root /></title>
+ <para>
+ The <emphasis role="bold"><property><f:root /></property></emphasis> tag defines a root element for renderer template.
+ </para>
+ <table>
+ <title>The <f:root /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>class</entry>
+ <entry>Defines a name for the generated class</entry> <entry>True</entry>
+ </row>
+ <row>
+ <entry>baseclass</entry>
+ <entry>Defines a name for a base class for the renderer</entry> <entry>True</entry>
+ </row>
+ <row>
+ <entry>component</entry>
+ <entry>Defines a component name</entry> <entry>True</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/froot.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/fverbatim.xml
===================================================================
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/fverbatim.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/uinsertFacet.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/uinsertFacet.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/uinsertFacet.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="uinsertFacet" xreflabel="uinsertFacet">
+ <?dbhtml filename="uinsertFacet.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>u:insertFacet</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><u:insertFacet /></title>
+ <para>
+ The <emphasis role="bold"><property><u:insertFacet /></property></emphasis> tag inserts specified facet.
+ </para>
+ <table>
+ <title>The <u:insertFacet /> attributes</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>Attribute Name</entry>
+ <entry>Description</entry>
+ <entry>Required</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>name</entry>
+ <entry>Defines a name of a facet</entry>
+ <entry>True</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+
+
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/uinsertFacet.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/vcpbody.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/vcpbody.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/vcpbody.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="vcpbody" xreflabel="vcpbody">
+ <?dbhtml filename="vcpbody.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>vcp:body</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><vcp:body /></title>
+ <para>
+ The <emphasis role="bold"><property><vcp:body /></property></emphasis> tag allows to split a template content into parts that are passed to encode() methods and defines when children elements rendering should be invoked:
+ </para>
+<itemizedlist>
+ <listitem>
+ <para>
+ the template content before the <emphasis role="bold"><property><vcp:body /></property></emphasis> tag is inputted into <code>encodeBegin()</code> method
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ the template content after the <emphasis role="bold"><property><vcp:body /></property></emphasis> tag is inputted into <code>encodeEnd()</code> method
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ on the <emphasis role="bold"><property><vcp:body /></property></emphasis> tag the <code>encodeChildren()</code> method is invoked
+ </para>
+ </listitem>
+</itemizedlist>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/vcpbody.xml
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/docs/cdkguide/en/src/main/docbook/tags/vcpmock.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/tags/vcpmock.xml (rev 0)
+++ trunk/docs/cdkguide/en/src/main/docbook/tags/vcpmock.xml 2008-12-15 15:28:09 UTC (rev 11777)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<section id="vcpmock" xreflabel="vcpmock">
+ <?dbhtml filename="vcpmock.html"?>
+ <sectioninfo>
+ <keywordset>
+ <keyword>vcp:mock</keyword>
+ </keywordset>
+ </sectioninfo>
+ <title><vcp:mock /></title>
+ <para>
+ The <emphasis role="bold"><property><vcp:mock /></property></emphasis> tag is used to mark a non-processing area.
+ </para>
+</section>
Property changes on: trunk/docs/cdkguide/en/src/main/docbook/tags/vcpmock.xml
___________________________________________________________________
Name: svn:executable
+ *
17 years, 5 months
JBoss Rich Faces SVN: r11776 - trunk/docs/cdkguide/en/src/main/docbook.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-12-15 10:25:11 -0500 (Mon, 15 Dec 2008)
New Revision: 11776
Removed:
trunk/docs/cdkguide/en/src/main/docbook/tags/
Modified:
trunk/docs/cdkguide/en/src/main/docbook/master.xml
Log:
https://jira.jboss.org/jira/browse/RF-3692 - tags were deleted due the error
Modified: trunk/docs/cdkguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-12-15 14:30:53 UTC (rev 11775)
+++ trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-12-15 15:25:11 UTC (rev 11776)
@@ -37,6 +37,11 @@
<!ENTITY fresource SYSTEM "tags/fresource.xml">
<!ENTITY froot SYSTEM "tags/froot.xml">
<!ENTITY uinsertFacet SYSTEM "tags/uinsertFacet.xml">
+<!ENTITY fpassThru SYSTEM "tags/fpassThru.xml">
+<!ENTITY vcpbody SYSTEM "tags/vcpbody.xml">
+<!ENTITY vcpmock SYSTEM "tags/vcpmock.xml">
+<!ENTITY ajaxupdate SYSTEM "tags/ajaxupdate.xml">
+<!ENTITY cobject SYSTEM "tags/cobject.xml">
]>
<book>
@@ -199,10 +204,11 @@
</keywordset>
</chapterinfo>
<title>Template tags overview</title>
-
+&ajaxupdate;
&forEach;
&cif;
&cset;
+&cobject;
&fattribute;
&finsert;
&fclientid;
@@ -211,5 +217,8 @@
&fresource;
&froot;
&uinsertFacet;
+<!--&fpassThru;-->
+&vcpbody;
+&vcpmock;
</chapter>
</book>
17 years, 5 months
JBoss Rich Faces SVN: r11775 - in trunk/test-applications/seleniumTest/richfaces/src: test/java/org/richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-12-15 09:30:53 -0500 (Mon, 15 Dec 2008)
New Revision: 11775
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestControls.xhtml
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestHiddens.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java
Log:
ajax reset moved to control form
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestControls.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestControls.xhtml 2008-12-15 14:16:36 UTC (rev 11774)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestControls.xhtml 2008-12-15 14:30:53 UTC (rev 11775)
@@ -61,7 +61,12 @@
</td>
</tr>
<tr>
- <td colspan="2"><h:commandButton id="_auto_load" actionListener="#{templateBean.reset}" action="#{autoTestBean.load}" value="Load"></h:commandButton> </td>
+ <td>
+ <h:commandButton id="_auto_load" actionListener="#{templateBean.reset}" action="#{autoTestBean.load}" value="Load"></h:commandButton>
+ </td>
+ <td>
+ <a4j:commandButton id="_auto_ajax_reset" value="Ajax reset" ajaxSingle="true" style="display: none;" action="#{autoTestBean.reset}" />
+ </td>
</tr>
</table>
</h:form>
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestHiddens.xhtml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestHiddens.xhtml 2008-12-15 14:16:36 UTC (rev 11774)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/webapp/layout/autotest/autoTestHiddens.xhtml 2008-12-15 14:30:53 UTC (rev 11775)
@@ -12,5 +12,4 @@
<h:outputText id="_auto_value" style="display: none;" value="#{autoTestBean.value}"></h:outputText>
<h:commandButton id="_auto_simple_submit" value="Simple submit" immediate="#{autoTestBean.immediate}" style="display: none;" />
<a4j:commandButton id="_auto_ajax_submit" value="Ajax submit" reRender="componentId" immediate="#{autoTestBean.immediate}" style="display: none;" />
- <a4j:commandButton id="_auto_ajax_reset" value="Ajax reset" ajaxSingle="true" style="display: none;" action="#{autoTestBean.reset}" />
</html>
\ No newline at end of file
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java 2008-12-15 14:16:36 UTC (rev 11774)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java 2008-12-15 14:30:53 UTC (rev 11775)
@@ -367,7 +367,7 @@
}
public void startTracing() {
- String resetId = base.getParentId() + AUTOTEST_FORM_ID + AJAX_RESET;
+ String resetId = base.getParentId() + AUTOTEST_CONTROLS_FORM_ID + AJAX_RESET;
base.clickAjaxCommandAndWait(resetId);
}
17 years, 5 months
JBoss Rich Faces SVN: r11774 - trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-12-15 09:16:36 -0500 (Mon, 15 Dec 2008)
New Revision: 11774
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
Fix compilation error under SDK 1.5
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-15 14:16:31 UTC (rev 11773)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2008-12-15 14:16:36 UTC (rev 11774)
@@ -28,6 +28,7 @@
import static org.ajax4jsf.bean.CalendarTestBean.getDayInMay;
import static org.ajax4jsf.bean.CalendarTestBean.valueChangeListener;
+import java.text.DateFormatSymbols;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
@@ -80,6 +81,10 @@
WEEK_DAYS_RU.add("Сб");
WEEK_DAYS_RU.add("Вс");
}
+
+ static final DateFormatSymbols symbolsUS = new DateFormatSymbols(Locale.US);
+
+ static final DateFormatSymbols symbolsRU = new DateFormatSymbols(new Locale("ru"));
String calendarId;
@@ -368,7 +373,7 @@
if (!date.contains(String.valueOf(c.get(Calendar.YEAR)))) {
Assert.fail(message + "Current date is invalid. Date string ["+date+"] does not contain current year");
}
- if (!date.contains(String.valueOf(c.getDisplayName(Calendar.MONTH, Calendar.SHORT, Locale.US)))) {
+ if (!date.contains(symbolsUS.getShortMonths()[c.get(Calendar.MONTH)])) {
Assert.fail(message + "Current date is invalid. Date string ["+date+"] does not contain current month");
}
@@ -376,7 +381,7 @@
Assert.fail(message + "Current date is invalid. Date string ["+date+"] does not contain current day");
}
- if (!date.contains(String.valueOf(c.getDisplayName(Calendar.DAY_OF_WEEK, Calendar.SHORT, Locale.US)))) {
+ if (!date.contains(symbolsUS.getShortWeekdays()[c.get(Calendar.DAY_OF_WEEK)])) {
Assert.fail(message + "Current date is invalid. Date string ["+date+"] does not contain current day of week");
}
@@ -385,7 +390,7 @@
private void checkCurrentDate(Calendar c) {
String headerDate = getCalendarDate();
- String expected = c.getDisplayName(Calendar.MONTH, Calendar.LONG, Locale.US);
+ String expected = symbolsUS.getMonths()[c.get(Calendar.MONTH)];// c.getDisplayName(Calendar.MONTH, Calendar.LONG, Locale.US);
if (!headerDate.contains(expected)) {
Assert.fail("Calendar displays invalid date. It should contain ["+expected+"]. But was ["+headerDate+"]");
}
17 years, 5 months