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);
}
}
16 years, 9 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
16 years, 9 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">
16 years, 9 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>
16 years, 9 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
16 years, 9 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>
16 years, 9 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
+ *
16 years, 9 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>
16 years, 9 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);
}
16 years, 9 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+"]");
}
16 years, 9 months
JBoss Rich Faces SVN: r11773 - in trunk/test-applications/seleniumTest/richfaces/src: test/java/org/richfaces/testng and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-12-15 09:16:31 -0500 (Mon, 15 Dec 2008)
New Revision: 11773
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TreeTest.java
Log:
tree tests are refactored and extended + https://jira.jboss.org/jira/browse/RF-4834
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeTestBean.java 2008-12-15 14:02:17 UTC (rev 11772)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeTestBean.java 2008-12-15 14:16:31 UTC (rev 11773)
@@ -293,14 +293,14 @@
public void initAjaxCoreTest() {
setSwitchType("ajax");
setToggleOnClick(false);
- setAjaxSubmitSelection(false);
+ setAjaxSubmitSelection(true);
setRichModel(true);
}
public void initAjaxCoreTestWithSwingModel() {
setSwitchType("ajax");
setToggleOnClick(false);
- setAjaxSubmitSelection(false);
+ setAjaxSubmitSelection(true);
setRichModel(false);
}
@@ -331,6 +331,13 @@
}
}
+ public void initKeyboardNavigationTest() {
+ setSwitchType("ajax");
+ setToggleOnClick(false);
+ setAjaxSubmitSelection(false);
+ setRichModel(true);
+ }
+
private TreeStateAdvisor advisor;
/**
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TreeTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TreeTest.java 2008-12-15 14:02:17 UTC (rev 11772)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TreeTest.java 2008-12-15 14:16:31 UTC (rev 11773)
@@ -43,6 +43,7 @@
private final static String INIT_AJAX_MODE = "#{treeBean.initAjaxMode}";
private final static String INIT_CLIENT_MODE = "#{treeBean.initClientMode}";
private final static String INIT_ADVISOR_TEST = "#{treeBean.initStateAdvisorTest}";
+ private final static String INIT_KEYBOARD_NAVIGATION_TEST = "#{treeBean.initKeyboardNavigationTest}";
private final static String TEAR_DOWN_METHOD = "#{treeBean.tearDown}";
private final static String INIT_DRAG_AND_DROP_TEST = "#{treeBean.initDragAndDropTest}";
private final static String DRAG_AND_DROP_TEST_URL = "pages/tree/dragAndDropTest.xhtml";
@@ -84,14 +85,16 @@
writeStatus("Navigate to the first child");
String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td/div/a");
+ writeStatus("Check node expanded events are delivered");
+ tester.checkNodeExpandedListener(true);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
type("//*[@id='"+ compId + ":childs']/div/div/table[1]/tbody/tr/td[3]/input", "New");
tester.setExtrenalValidationFailed();
tester.startTracing();
writeStatus("Test ajaxSingle attribute");
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]");
tester.checkUpdateModel(false);
- tester.checkNodeExpandedListener(true);
+ tester.checkNodeSelectedListener(true);
}
@Test
@@ -104,14 +107,16 @@
writeStatus("Navigate to the first child");
String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td/div/a");
+ writeStatus("Check node expanded events are delivered");
+ tester.checkNodeExpandedListener(true);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
writeStatus("Set a new invalid value for the child");
type("//*[@id='"+ compId + ":childs']/div/div/table[1]/tbody/tr/td[3]/input", "");
tester.startTracing();
writeStatus("Test ajaxSingle attribute in case of invalid component state");
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]");
tester.checkUpdateModel(false);
- tester.checkNodeExpandedListener(false);
+ tester.checkNodeSelectedListener(false);
}
@Test
@@ -124,14 +129,16 @@
writeStatus("Navigate to the first child");
String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td/div/a");
+ writeStatus("Check node expanded events are delivered");
+ tester.checkNodeExpandedListener(true);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
writeStatus("Set a new value for the child");
type("//*[@id='"+ compId + ":childs']/div/div/table[1]/tbody/tr/td[3]/input", "New");
tester.startTracing();
writeStatus("Test immediate attribute");
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]");
tester.checkUpdateModel(true);
- tester.checkNodeExpandedListener(true);
+ tester.checkNodeSelectedListener(true);
}
@Test
@@ -144,6 +151,8 @@
writeStatus("Navigate to the first child");
String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td/div/a");
+ writeStatus("Check node expanded events are delivered");
+ tester.checkNodeExpandedListener(true);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
writeStatus("set a new value for the child");
type("//*[@id='"+ compId + ":childs']/div/div/table[1]/tbody/tr/td[3]/input", "New");
@@ -151,9 +160,9 @@
tester.setExtrenalValidationFailed();
tester.startTracing();
writeStatus("Test immediate attribute with external validation failed");
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]");
tester.checkUpdateModel(false);
- tester.checkNodeExpandedListener(true);
+ tester.checkNodeSelectedListener(true);
}
//
@@ -170,14 +179,16 @@
writeStatus("Navigate to the first child");
String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td/div/a");
+ writeStatus("Check node expanded events are delivered");
+ tester.checkNodeExpandedListener(true);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
type("//*[@id='"+ compId + ":childs']/div/div/table[1]/tbody/tr/td[3]/input", "New");
tester.setExtrenalValidationFailed();
tester.startTracing();
writeStatus("Test ajaxSingle attribute");
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]");
tester.checkUpdateModel(false);
- tester.checkNodeExpandedListener(true);
+ tester.checkNodeSelectedListener(true);
}
//@Test
@@ -190,14 +201,16 @@
writeStatus("Navigate to the first child");
String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td/div/a");
+ writeStatus("Check node expanded events are delivered");
+ tester.checkNodeExpandedListener(true);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
writeStatus("Set a new invalid value for the child");
type("//*[@id='"+ compId + ":childs']/div/div/table[1]/tbody/tr/td[3]/input", "");
tester.startTracing();
writeStatus("Test ajaxSingle attribute in case of invalid component state");
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]");
tester.checkUpdateModel(false);
- tester.checkNodeExpandedListener(false);
+ tester.checkNodeSelectedListener(false);
}
//@Test
@@ -210,14 +223,16 @@
writeStatus("Navigate to the first child");
String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td/div/a");
+ writeStatus("Check node expanded events are delivered");
+ tester.checkNodeExpandedListener(true);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
writeStatus("Set a new value for the child");
type("//*[@id='"+ compId + ":childs']/div/div/table[1]/tbody/tr/td[3]/input", "New");
tester.startTracing();
writeStatus("Test immediate attribute");
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]");
tester.checkUpdateModel(true);
- tester.checkNodeExpandedListener(true);
+ tester.checkNodeSelectedListener(true);
}
//@Test
@@ -230,6 +245,8 @@
writeStatus("Navigate to the first child");
String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td/div/a");
+ writeStatus("Check node expanded events are delivered");
+ tester.checkNodeExpandedListener(true);
clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
writeStatus("set a new value for the child");
type("//*[@id='"+ compId + ":childs']/div/div/table[1]/tbody/tr/td[3]/input", "New");
@@ -237,9 +254,9 @@
tester.setExtrenalValidationFailed();
tester.startTracing();
writeStatus("Test immediate attribute with external validation failed");
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]");
tester.checkUpdateModel(false);
- tester.checkNodeExpandedListener(true);
+ tester.checkNodeSelectedListener(true);
}
@Test
@@ -248,23 +265,25 @@
tester.renderPage(template, INIT_TOGGLE_ON_CLICK_SERVER_MODE);
tester.reset();
tester.clickLoad();
- writeStatus("Try to toggle a node by click with server swith type");
+ writeStatus("Try to toggle a node by click with server switch type");
String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
- selenium.click("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
+ clickTreeNode("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
waitForPageToLoad();
writeStatus("Check the node is expanded and proper listeners are invoked");
Assert.assertTrue(isPresent("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]"), "Node has not been expanded");
tester.checkNodeExpandedListener(true);
+ tester.checkNodeSelectedListener(true);
tester.checkUpdateModel(true);
tester.startTracing();
writeStatus("Test the same in case of external validation failure");
writeStatus("Set external validation to fail");
tester.setExtrenalValidationFailed();
- selenium.click("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
+ clickTreeNode("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
waitForPageToLoad();
writeStatus("Check the node is not collapsed and no listeners are invoked due to external validation error");
Assert.assertTrue(isPresent("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]"), "Node has been collapsed");
tester.checkNodeExpandedListener(false);
+ tester.checkNodeSelectedListener(false);
tester.checkUpdateModel(false);
}
@@ -276,19 +295,21 @@
tester.clickLoad();
writeStatus("Try to toggle a node by click with ajax swith type");
String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
writeStatus("Check the node is expanded and proper listeners are invoked");
Assert.assertTrue(isPresent("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]"), "Node has not been expanded");
tester.checkNodeExpandedListener(true);
+ tester.checkNodeSelectedListener(true);
tester.checkUpdateModel(true);
tester.startTracing();
writeStatus("Test the same in case of external validation failure");
writeStatus("Set external validation to fail");
tester.setExtrenalValidationFailed();
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
writeStatus("Check the node is not collapsed and no listeners are invoked thanks to external validation error");
Assert.assertTrue(isPresent("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]"), "Node has been collapsed");
tester.checkNodeExpandedListener(false);
+ tester.checkNodeSelectedListener(false);
tester.checkUpdateModel(false);
}
@@ -300,23 +321,25 @@
tester.clickLoad();
writeStatus("Try to toggle a node by click with client swith type");
String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
- selenium.click("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
+ clickTreeNode("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
writeStatus("Check the node is expanded and no listeners are invoked");
Assert.assertTrue(isPresent("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]"), "Node has not been expanded");
tester.checkNodeExpandedListener(false);
+ tester.checkNodeSelectedListener(false);
tester.checkUpdateModel(false);
tester.startTracing();
writeStatus("Test the same in case of external validation failure");
writeStatus("Set external validation to fail");
tester.setExtrenalValidationFailed();
- selenium.click("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
+ clickTreeNode("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
writeStatus("Check the node is collapsed and no listeners are invoked anyway");
Assert.assertTrue(isPresent("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]"), "Node has not been collapsed");
tester.checkNodeExpandedListener(false);
+ tester.checkNodeSelectedListener(false);
tester.checkUpdateModel(false);
}
- //@Test
+ @Test
public void testAjaxSubmitSelection(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, INIT_AJAX_SUBMIT_SELECTION);
@@ -326,24 +349,28 @@
tester.startTracing();
writeStatus("the form has to be submitted and proper listeners are invoked at every node click");
String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]");
tester.checkUpdateModel(true);
+ tester.checkNodeSelectedListener(true);
tester.startTracing();
selenium.click("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td/div/a");
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]");
tester.checkUpdateModel(true);
tester.checkNodeExpandedListener(true);
+ tester.checkNodeSelectedListener(true);
tester.startTracing();
selenium.click("//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td/div/a");
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/div/table[1]/tbody/tr/td[3]");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/div/div/table[1]/tbody/tr/td[3]");
tester.checkUpdateModel(true);
tester.checkNodeExpandedListener(true);
+ tester.checkNodeSelectedListener(true);
tester.startTracing();
writeStatus("Set external validation to fail and click on node. No listeners must be invoked");
tester.setExtrenalValidationFailed();
- clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/div/div/table[2]/tbody/tr/td[3]");
+ clickTreeNodeAndWait("//*[@id='"+ compId + ":childs']/div/div/table[2]/tbody/tr/td[3]");
tester.checkUpdateModel(false);
tester.checkNodeExpandedListener(false);
+ tester.checkNodeSelectedListener(false);
}
@Test
@@ -544,12 +571,72 @@
assertClassAttributeContains(aNodeXpath, "highlighted-class", "highlightedClass attribute was not output to client");
}
+ @Test
+ public void testKeyboardNavigation(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, INIT_KEYBOARD_NAVIGATION_TEST);
+ tester.reset();
+ tester.clickLoad();
+ writeStatus("Check keyboard navigation for component");
+
+ String compId = getAutoTester(this).getClientId(AutoTester.COMPONENT_ID);
+ String firstNodeXpath = "//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td[3]";
+ String secondNodeXpath = "//*[@id='"+ compId + ":childs']/div/table[1]/tbody/tr/td[3]";
+ String thirdNodeXpath = "//*[@id='"+ compId + ":childs']/div/div/table[1]/tbody/tr/td[3]";
+
+ writeStatus("Select first node and press right arrow. Check the node is expanded and proper events are delivered");
+ clickTreeNode(firstNodeXpath);
+ selenium.keyDown(firstNodeXpath, "\\39");//right
+ waitForAjaxCompletion();
+ Assert.assertTrue(isPresent(secondNodeXpath), "Node has not been expanded");
+ tester.checkNodeExpandedListener(true);
+
+ tester.startTracing();
+ //it looks as if a focus is gone as the result of start tracing try to restore one
+ clickTreeNode(firstNodeXpath);
+
+ writeStatus("Move down to the second node and press right arrow. Check the same");
+ selenium.keyDown(firstNodeXpath, "\\40");//down
+ selenium.keyDown(secondNodeXpath, "\\39");
+ waitForAjaxCompletion();
+ Assert.assertTrue(isPresent(thirdNodeXpath), "Node has not been expanded");
+ tester.checkNodeExpandedListener(true);
+ tester.checkNodeSelectedListener(true);
+
+ tester.startTracing();
+ //it looks as if a focus is gone as the result of start tracing try to restore one
+ clickTreeNode(secondNodeXpath);
+
+ writeStatus("Press left. Check the node is collapsed and proper events are delivered");
+ selenium.keyDown(secondNodeXpath, "\\37");//left
+ waitForAjaxCompletion();
+ Assert.assertFalse(isPresent(thirdNodeXpath), "Node has not been collapsed");
+ tester.checkNodeExpandedListener(true);
+
+ tester.startTracing();
+ //it looks as if a focus is gone as the result of start tracing try to restore one
+ clickTreeNode(secondNodeXpath);
+
+ writeStatus("Move up to the first node and press left arrow. Check the same");
+ selenium.keyDown(secondNodeXpath, "\\38");//up
+ selenium.keyDown(firstNodeXpath, "\\37");
+ waitForAjaxCompletion();
+ Assert.assertFalse(isPresent(secondNodeXpath), "Node has not been collapsed");
+ tester.checkNodeExpandedListener(true);
+ tester.checkNodeSelectedListener(true);
+
+ //l37
+ //u38
+ //r39
+ //d40
+ }
+
@Override
public void sendAjax() {
AutoTester tester = getAutoTester(this);
- //String compId = tester.getClientId(AutoTester.COMPONENT_ID);
- //clickAjaxCommandAndWait("//*[@id='"+ compId + ":childs']/table[1]/tbody/tr/td/div/a");
- tester.clickAjaxSubmit();
+ String compId = tester.getClientId(AutoTester.COMPONENT_ID);
+ String xpath = "//*[@id='" + compId + ":childs']/table[1]/tbody/tr/td[3]";
+ clickTreeNodeAndWait(xpath);
}
@Override
@@ -562,6 +649,18 @@
return "pages/tree/treeAutoTest.xhtml";
}
+ private void clickTreeNode(String locator){
+ //workaround: selenium triggerMouseEvent method (only in IE) ignores mouse event button property unless
+ //it is supplied with some specific parameters (e.g. event coordinates) while it is highly expected by tree node handlers
+ selenium.mouseDownAt(locator, "1,1");
+ selenium.clickAt(locator, "1,1");
+ }
+
+ private void clickTreeNodeAndWait(String locator){
+ clickTreeNode(locator);
+ waitForAjaxCompletion();
+ }
+
/**
* Test an icon.
*
16 years, 9 months
JBoss Rich Faces SVN: r11772 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2008-12-15 09:02:17 -0500 (Mon, 15 Dec 2008)
New Revision: 11772
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, merged the current description with the extended component one.
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 13:11:19 UTC (rev 11771)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.desc.xml 2008-12-15 14:02:17 UTC (rev 11772)
@@ -1,13 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN" "http://www.oasis-open.org/docbook/xml/4.3CR3/docbookx.dtd"
+[
+<!ENTITY slider "rich:inputNumberSlider">
+]
+>
<section>
<sectioninfo>
<keywordset>
+ <keyword>&slider;</keyword>
<keyword>rich:inputNumberSlider</keyword>
</keywordset>
</sectioninfo>
<section>
<title>Description</title>
- <para>A component that lets selecting a number from a numeric region. It's a horizontal
+ <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
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>
@@ -30,6 +39,9 @@
<listitem><para>Dragged state is stable after the mouse moves</para></listitem>
<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.
+ </para></listitem>
</itemizedlist>
</section>
-</section>
\ No newline at end of file
+</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 13:11:19 UTC (rev 11771)
+++ trunk/docs/userguide/en/src/main/docbook/included/inputNumberSlider.xml 2008-12-15 14:02:17 UTC (rev 11772)
@@ -1,8 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
+
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN" "http://www.oasis-open.org/docbook/xml/4.3CR3/docbookx.dtd"
+[
+<!ENTITY slider "rich:inputNumberSlider">
+]
+>
+
<section>
<sectioninfo>
<keywordset>
<keyword>dragged handle control</keyword>
+ <keyword>&slider;</keyword>
<keyword>rich:inputNumberSlider</keyword>
<keyword>HtmlInputNumberSlider</keyword>
</keywordset>
@@ -221,6 +229,70 @@
<code>"ShortConverter.SHORT"</code>
.
</para>
+
+ <para>
+ Using the
+ <emphasis>
+ <property>"orientation"</property>
+ </emphasis>
+ attribute (default is "horizontal") is possible to change slider position.
+ </para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[<rich:inputNumberSlider minValue="0" maxValue="100" value="84" orientation="vertical"/>]]></programlisting>
+ <para>It looks at page like:</para>
+ <figure>
+ <title>
+ <emphasis role="bold">
+ <property><&slider;></property>
+ </emphasis>
+ in a vertical orientation.
+ </title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/inputNumberSlider_vertical.png" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>
+ Using the
+ <emphasis>
+ <property>"showArrows"</property>
+ </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>
+ <property>"delay"</property>
+ </emphasis> attribute.
+ </para>
+
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[
+ <rich:inputNumberSlider minValue="0"
+ maxValue="100"
+ showInput="false"
+ showArrows="true"
+ delay="150"/>
+ ]]></programlisting>
+ <para>It looks at page like:</para>
+ <figure>
+ <title>
+ <emphasis role="bold">
+ <property><&slider;></property>
+ </emphasis>
+ with horizontal arrows.
+ </title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/inputNumberSlider_arrows.png" />
+ </imageobject>
+ </mediaobject>
+ </figure>
</section>
<section>
@@ -414,6 +486,16 @@
</imageobject>
</mediaobject>
</figure>
+
+ <figure>
+ <title>Style classes for increase/decrease</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata
+ fileref="images/inputNumberSlider_cn_vertical.png" />
+ </imageobject>
+ </mediaobject>
+ </figure>
<table id="tab_cn">
<title>
@@ -467,9 +549,31 @@
</entry>
</row>
<row>
+ <entry>rich-inslider-track-border</entry>
+ <entry>
+ Defines styles for track border
+ </entry>
+ </row>
+ <row>
<entry>rich-inslider-tip</entry>
<entry>Defines styles for a hint</entry>
</row>
+ <row>
+ <entry>inputNumberSlider-increase-vertical</entry>
+ <entry>Defines styles for the top arrow</entry>
+ </row>
+ <row>
+ <entry>inputNumberSlider-decrease-vertical</entry>
+ <entry>Defines styles for the bottom arrow</entry>
+ </row>
+ <row>
+ <entry>inputNumberSlider-increase-horizontal</entry>
+ <entry>Defines styles for the right arrow</entry>
+ </row>
+ <row>
+ <entry>inputNumberSlider-decrease-horizontal</entry>
+ <entry>Defines styles for the left arrow</entry>
+ </row>
</tbody>
</tgroup>
</table>
16 years, 9 months
JBoss Rich Faces SVN: r11771 - trunk/ui/dataFilterSlider/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2008-12-15 08:11:19 -0500 (Mon, 15 Dec 2008)
New Revision: 11771
Modified:
trunk/ui/dataFilterSlider/src/main/java/org/richfaces/component/UIDataFltrSlider.java
Log:
https://jira.jboss.org/jira/browse/RF-5318
Modified: trunk/ui/dataFilterSlider/src/main/java/org/richfaces/component/UIDataFltrSlider.java
===================================================================
--- trunk/ui/dataFilterSlider/src/main/java/org/richfaces/component/UIDataFltrSlider.java 2008-12-15 13:06:51 UTC (rev 11770)
+++ trunk/ui/dataFilterSlider/src/main/java/org/richfaces/component/UIDataFltrSlider.java 2008-12-15 13:11:19 UTC (rev 11771)
@@ -80,8 +80,11 @@
AjaxRendererUtils.addRegionByName(context, this, this.getId());
String forAttr = this.getFor();
RendererUtils rendUtil = RendererUtils.getInstance();
- AjaxRendererUtils.addRegionByName(context, this, rendUtil.correctForIdReference(forAttr, this));
+ if(forAttr != null) {
+ AjaxRendererUtils.addRegionByName(context, this, rendUtil.correctForIdReference(forAttr, this));
+ }
+
if(getSliderListeners().length < 1){
addSliderListener(new DataFilterSliderAdapter(getSliderListener()));
}
@@ -213,39 +216,45 @@
int segmentTotal;
int segmentTotalStart;
+
+ Integer startRange = getStartRange();
+ Integer endRange = getEndRange();
+ Integer increment = getIncrement();
- if (getStartRange().intValue() == 0) {
- segmentTotal = (getEndRange().intValue() / getIncrement().intValue());
- //set slider start to 0
- segmentTotalStart = 0;
- } else {
- //subtract 1 for 0 based array
- segmentTotal = (getEndRange().intValue() / getIncrement().intValue()) - 1;
- //set the slider start for the loop
- segmentTotalStart = getStartRange().intValue();
+ if((startRange != null) && (endRange != null) && (increment != null)) {
+ if (getStartRange().intValue() == 0) {
+ segmentTotal = (getEndRange().intValue() / getIncrement().intValue());
+ //set slider start to 0
+ segmentTotalStart = 0;
+ } else {
+ //subtract 1 for 0 based array
+ segmentTotal = (getEndRange().intValue() / getIncrement().intValue()) - 1;
+ //set the slider start for the loop
+ segmentTotalStart = getStartRange().intValue();
+ }
+ int j = segmentTotalStart;
+
+ for (int i = segmentTotalStart; i <= segmentTotal; i++) {
+ if (i != 0) {
+ //Check to see if we are at start of slider
+ if (i != j){
+ //increment by number given
+ j = j + getIncrement().intValue();
+ }
+ } else {
+ //start at specified range
+ j = getStartRange().intValue();
+ }
+
+ if (i == segmentTotal) {
+ //this is the end so no comma and exact specified
+ sliderValues = sliderValues + getEndRange();
+ } else {
+ //add to string
+ sliderValues = sliderValues + j + ",";
+ }
+ }
}
- int j = segmentTotalStart;
-
- for (int i = segmentTotalStart; i <= segmentTotal; i++) {
- if (i != 0) {
- //Check to see if we are at start of slider
- if (i != j){
- //increment by number given
- j = j + getIncrement().intValue();
- }
- } else {
- //start at specified range
- j = getStartRange().intValue();
- }
-
- if (i == segmentTotal) {
- //this is the end so no comma and exact specified
- sliderValues = sliderValues + getEndRange();
- } else {
- //add to string
- sliderValues = sliderValues + j + ",";
- }
- }
return sliderValues;
}
16 years, 9 months
JBoss Rich Faces SVN: r11770 - Reports/3.3.0 and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tkuprevich
Date: 2008-12-15 08:06:51 -0500 (Mon, 15 Dec 2008)
New Revision: 11770
Modified:
trunk/test-applications/qa/Test Reports/3.3.0/ComponentsAssignment3.3.0.BETA3.xls
Log:
Modified: trunk/test-applications/qa/Test Reports/3.3.0/ComponentsAssignment3.3.0.BETA3.xls
===================================================================
(Binary files differ)
16 years, 9 months
JBoss Rich Faces SVN: r11769 - in trunk/test-applications/seleniumTest/richfaces/src: main/java/org/ajax4jsf/autotest/bean and 13 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: vmolotkov
Date: 2008-12-15 07:43:46 -0500 (Mon, 15 Dec 2008)
New Revision: 11769
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/AutoTestContext.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/AutoTestServlet.java
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/AutoTestDefaultValidator.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestListener.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestValidator.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JActionParam.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JCommandTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JFormTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JHTMLCommandLinkTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JIncludeTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JKeepAliveTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JOutputPanelTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JPollTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JRegionTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JRepeatItemTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JRepeatTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JStatusTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JSupport.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4jTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/AjaxListenerTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/AjaxPushTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/Bean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarDataModel.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ChildBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ComboBoxTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/Configurator.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataFilterSliderBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataScrollerBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataTableBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DnDBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DnDListener.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DropDownMenuTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/EditorBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/EffectBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/EnclosedData.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/IndexBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/InplaceInputTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/InplaceSelectTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/InputNumberSliderBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/JSFunctionBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListAction.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListShuttleBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/LoadBundleTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/Media.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MediaBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MediaData.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MessageBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MessageBean2.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ModalPanelTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/NavigateBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ObjectNotFoundException.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PageDescriptionBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PagesBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PickListTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ProgressBarTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RepeatData.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/TestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/TestListener.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/TimerBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ToolBarTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeBuilder.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/Album.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/AudioLibrary.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/Performer.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/Song.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/Album.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/AudioLibrary.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/Performer.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/Song.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/Activity.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/Admin.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/OrderOfDay.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/User.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/ValidationBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/AjaxSupportActionListener.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/model/Column.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/model/ListShuttleConverter.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/model/ListShuttleItem.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/template/Template.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/template/TestConstants.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/util/DateUtils.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/util/FacesUtils.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/validators/InplaceInputValidator.java
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/validators/ValidatorWithAttribute.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/RichSeleniumTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/SeleniumEvent.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/SeleniumTestBase.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/TestAnnotationTransformer.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AbstractMessageTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxActionParameterTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxCommandButtonTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxCommandLinkTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxFormTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxHTMLCommandLinkTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxIncludeTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxListenerTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLoadBundleTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLogTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxMediaOutputTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxOutputPanelTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPollTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPushTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxRegionTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxRepeatTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxStatusTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxSupportTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxValidatorTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/BeanValidatorTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ColumnsTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComboBoxTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ContextMenuTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataFilterSliderTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataScrollerTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataTableTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DnDTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DropDownMenuTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/EditorTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/EffectTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/GraphValidatorTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplaceInputTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplaceSelectTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplacesTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSliderTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSpinnerTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/JSFunctionTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/KeepAliveTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/LoadScriptTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/LoadStyleTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/MessageTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/MessagesTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ModalPanelTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/OrderingListTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelBarItemTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelBarTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PickListTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ProgressBarTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/SimpleTogglePanelTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/SpacerTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TabPanelTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TogglePanelTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ToolBarTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TreeTest.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/util/CommonUtils.java
Log:
https://jira.jboss.org/jira/browse/RF-4786
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/AutoTestContext.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/AutoTestContext.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/AutoTestContext.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.autotest;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/AutoTestServlet.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/AutoTestServlet.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/AutoTestServlet.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * MyServlet.java Date created: 03.10.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.autotest;
import java.io.IOException;
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 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * AutoTestBean.java Date created: 13.10.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.autotest.bean;
import java.util.Date;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestDefaultValidator.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestDefaultValidator.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestDefaultValidator.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * AutoTestValidatorValid.java Date created: 14.10.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.autotest.bean;
import javax.faces.component.UIComponent;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestListener.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestListener.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestListener.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * AutoTestListener.java Date created: 14.10.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.autotest.bean;
import javax.faces.context.FacesContext;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestValidator.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestValidator.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/autotest/bean/AutoTestValidator.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * AutoTestValidator.java Date created: 14.10.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.autotest.bean;
import javax.faces.application.FacesMessage;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JActionParam.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JActionParam.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JActionParam.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.Map;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JCommandTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JCommandTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JCommandTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.Date;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JFormTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JFormTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JFormTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
public class A4JFormTestBean {
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JHTMLCommandLinkTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JHTMLCommandLinkTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JHTMLCommandLinkTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import javax.faces.event.ActionEvent;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JIncludeTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JIncludeTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JIncludeTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * A4JIncludeTestBean.java Date created: 26.06.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
/**
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JKeepAliveTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JKeepAliveTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JKeepAliveTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
public class A4JKeepAliveTestBean {
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JOutputPanelTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JOutputPanelTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JOutputPanelTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * A4JOutputPanelTestBean.java Date created: 11.06.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
/**
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JPollTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JPollTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JPollTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import javax.faces.event.ActionEvent;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JRegionTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JRegionTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JRegionTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import org.ajax4jsf.event.AjaxEvent;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JRepeatItemTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JRepeatItemTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JRepeatItemTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * A4JRepeatItemTestBean.java Date created: 24.06.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
/**
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JRepeatTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JRepeatTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JRepeatTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * A4JRepeatTestBean.java Date created: 19.06.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JStatusTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JStatusTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JStatusTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import javax.faces.event.ActionEvent;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JSupport.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JSupport.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4JSupport.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import javax.faces.event.ActionEvent;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4jTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4jTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/A4jTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.Map;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/AjaxListenerTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/AjaxListenerTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/AjaxListenerTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import javax.faces.context.FacesContext;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/AjaxPushTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/AjaxPushTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/AjaxPushTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.Date;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/Bean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/Bean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/Bean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,7 +1,7 @@
/**
* License Agreement.
*
- * Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
+ * JBoss RichFaces - Ajax4jsf Component Library
*
* Copyright (C) 2007 Exadel, Inc.
*
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.text.DateFormat;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarDataModel.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarDataModel.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarDataModel.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.Calendar;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ChildBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ChildBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ChildBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
/**
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ComboBoxTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ComboBoxTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ComboBoxTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/Configurator.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/Configurator.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/Configurator.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,13 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
public class Configurator {
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataFilterSliderBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataFilterSliderBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataFilterSliderBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataScrollerBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataScrollerBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataScrollerBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * DataScrollerBean.java Date created: 29.09.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataTableBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataTableBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DataTableBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DnDBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DnDBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DnDBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DnDListener.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DnDListener.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DnDListener.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import javax.faces.context.FacesContext;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DropDownMenuTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DropDownMenuTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/DropDownMenuTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
public class DropDownMenuTestBean {
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/EditorBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/EditorBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/EditorBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import javax.faces.application.FacesMessage;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/EffectBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/EffectBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/EffectBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
/**
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/EnclosedData.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/EnclosedData.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/EnclosedData.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/IndexBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/IndexBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/IndexBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/InplaceInputTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/InplaceInputTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/InplaceInputTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import javax.faces.application.FacesMessage;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/InplaceSelectTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/InplaceSelectTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/InplaceSelectTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/InputNumberSliderBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/InputNumberSliderBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/InputNumberSliderBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,8 +1,9 @@
-/* License Agreement.
+/**
+ * License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -10,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import javax.faces.application.FacesMessage;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/JSFunctionBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/JSFunctionBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/JSFunctionBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
public class JSFunctionBean {
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListAction.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListAction.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListAction.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.HashSet;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListShuttleBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListShuttleBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ListShuttleBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/LoadBundleTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/LoadBundleTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/LoadBundleTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/Media.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/Media.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/Media.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.io.IOException;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MediaBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MediaBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MediaBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.awt.Color;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MediaData.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MediaData.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MediaData.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.awt.Color;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MessageBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MessageBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MessageBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MessageBean2.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MessageBean2.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MessageBean2.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import javax.faces.application.FacesMessage;
@@ -15,6 +35,10 @@
private String string3;
+ private String string2;
+
+ private String string3;
+
private Boolean rendered;
private Boolean showDetail;
@@ -45,6 +69,14 @@
return null;
}
+ public String addGlobalMessage() {
+ FacesContext.getCurrentInstance().addMessage(
+ null,
+ new FacesMessage(FacesMessage.SEVERITY_INFO, "globalMessageSummary",
+ "globalMessageDetail"));
+ return null;
+ }
+
public void validate(FacesContext context, UIComponent component,
Object value) throws ValidatorException {
Severity severity = null;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ModalPanelTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ModalPanelTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ModalPanelTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * ModalPanelTestBean.java Date created: 30.07.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
/**
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/NavigateBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/NavigateBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/NavigateBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.io.Serializable;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ObjectNotFoundException.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ObjectNotFoundException.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ObjectNotFoundException.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
/**
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PageDescriptionBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PageDescriptionBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PageDescriptionBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
/**
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PagesBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PagesBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PagesBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.io.IOException;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PickListTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PickListTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/PickListTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ProgressBarTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ProgressBarTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ProgressBarTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.Date;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RepeatData.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RepeatData.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/RepeatData.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/TestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/TestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/TestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/TestListener.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/TestListener.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/TestListener.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.HashMap;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/TimerBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/TimerBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/TimerBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
import java.util.Date;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ToolBarTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ToolBarTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/ToolBarTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean;
public class ToolBarTestBean {
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeBuilder.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeBuilder.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeBuilder.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.tree;
import java.io.IOException;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeTestBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/TreeTestBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.tree;
import java.io.IOException;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/Album.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/Album.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/Album.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.tree.rich;
import static org.ajax4jsf.bean.tree.TreeBuilder.nextId;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/AudioLibrary.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/AudioLibrary.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/AudioLibrary.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.tree.rich;
import org.richfaces.model.TreeNodeImpl;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/Performer.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/Performer.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/Performer.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.tree.rich;
import static org.ajax4jsf.bean.tree.TreeBuilder.nextId;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/Song.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/Song.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/rich/Song.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.tree.rich;
import static org.ajax4jsf.bean.tree.TreeBuilder.nextId;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/Album.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/Album.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/Album.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.tree.swing;
import org.richfaces.model.SwingTreeNodeImpl;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/AudioLibrary.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/AudioLibrary.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/AudioLibrary.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.tree.swing;
import org.richfaces.model.SwingTreeNodeImpl;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/Performer.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/Performer.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/Performer.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.tree.swing;
import org.richfaces.model.SwingTreeNodeImpl;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/Song.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/Song.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/tree/swing/Song.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.tree.swing;
import org.richfaces.model.SwingTreeNodeImpl;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/Activity.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/Activity.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/Activity.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.validation;
import org.hibernate.validator.Length;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/Admin.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/Admin.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/Admin.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.validation;
import org.hibernate.validator.Email;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/OrderOfDay.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/OrderOfDay.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/OrderOfDay.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.validation;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/User.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/User.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/User.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.validation;
/**
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/ValidationBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/ValidationBean.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/ValidationBean.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.bean.validation;
import javax.faces.application.FacesMessage;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/AjaxSupportActionListener.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/AjaxSupportActionListener.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/listener/AjaxSupportActionListener.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.listener;
import javax.faces.event.ActionEvent;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/model/Column.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/model/Column.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/model/Column.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.model;
import org.richfaces.model.Ordering;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/model/ListShuttleConverter.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/model/ListShuttleConverter.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/model/ListShuttleConverter.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.model;
import javax.faces.component.UIComponent;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/model/ListShuttleItem.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/model/ListShuttleItem.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/model/ListShuttleItem.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.model;
import java.io.Serializable;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/template/Template.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/template/Template.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/template/Template.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.template;
/**
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/template/TestConstants.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/template/TestConstants.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/template/TestConstants.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.template;
public interface TestConstants {
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/util/DateUtils.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/util/DateUtils.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/util/DateUtils.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.util;
import java.text.DateFormatSymbols;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/util/FacesUtils.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/util/FacesUtils.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/util/FacesUtils.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.util;
import javax.el.ELResolver;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/validators/InplaceInputValidator.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/validators/InplaceInputValidator.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/validators/InplaceInputValidator.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.validators;
import javax.faces.application.FacesMessage;
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/validators/ValidatorWithAttribute.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/validators/ValidatorWithAttribute.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/validators/ValidatorWithAttribute.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.ajax4jsf.validators;
import javax.faces.application.FacesMessage;
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 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/AutoTester.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * AutoTester.java Date created: 13.10.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/RichSeleniumTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/RichSeleniumTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/RichSeleniumTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces;
public interface RichSeleniumTest {
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/SeleniumEvent.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/SeleniumEvent.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/SeleniumEvent.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/SeleniumTestBase.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/SeleniumTestBase.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/SeleniumTestBase.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces;
import java.io.ByteArrayOutputStream;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/TestAnnotationTransformer.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/TestAnnotationTransformer.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/TestAnnotationTransformer.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces;
import java.lang.reflect.Constructor;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AbstractMessageTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AbstractMessageTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AbstractMessageTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.HashMap;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxActionParameterTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxActionParameterTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxActionParameterTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.bean.A4JActionParam;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxCommandButtonTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxCommandButtonTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxCommandButtonTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxCommandLinkTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxCommandLinkTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxCommandLinkTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.HashMap;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxFormTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxFormTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxFormTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxHTMLCommandLinkTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxHTMLCommandLinkTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxHTMLCommandLinkTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxIncludeTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxIncludeTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxIncludeTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * AjaxIncludeTest.java Date created: 26.06.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxListenerTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxListenerTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxListenerTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLoadBundleTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLoadBundleTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLoadBundleTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import junit.framework.Assert;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLogTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLogTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxLogTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxMediaOutputTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxMediaOutputTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxMediaOutputTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * AjaxMediaOutputTest.java Date created: 26.06.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import junit.framework.Assert;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxOutputPanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxOutputPanelTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxOutputPanelTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * AjaxOutputPanel.java Date created: 10.06.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPollTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPollTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPollTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.HashMap;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPushTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPushTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPushTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.HashMap;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxRegionTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxRegionTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxRegionTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxRepeatTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxRepeatTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxRepeatTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * AjaxRepeatTest.java Date created: 19.06.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxStatusTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxStatusTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxStatusTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxSupportTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxSupportTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxSupportTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.bean.A4JSupport;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxValidatorTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxValidatorTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxValidatorTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/BeanValidatorTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/BeanValidatorTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/BeanValidatorTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.bean.validation.ValidationBean;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ColumnsTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ColumnsTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ColumnsTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComboBoxTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComboBoxTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ComboBoxTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ContextMenuTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ContextMenuTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ContextMenuTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.HashMap;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataFilterSliderTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataFilterSliderTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataFilterSliderTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataScrollerTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataScrollerTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataScrollerTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * DataScrollerTest.java Date created: 29.09.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataTableTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataTableTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DataTableTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DnDTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DnDTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DnDTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DropDownMenuTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DropDownMenuTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/DropDownMenuTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/EditorTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/EditorTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/EditorTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.io.IOException;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/EffectTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/EffectTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/EffectTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/GraphValidatorTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/GraphValidatorTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/GraphValidatorTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplaceInputTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplaceInputTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplaceInputTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplaceSelectTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplaceSelectTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplaceSelectTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplacesTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplacesTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InplacesTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSliderTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSliderTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSliderTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,8 +1,9 @@
-/* License Agreement.
+/**
+ * License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -10,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSpinnerTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSpinnerTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/InputNumberSpinnerTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/JSFunctionTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/JSFunctionTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/JSFunctionTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import static org.testng.Assert.assertEquals;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/KeepAliveTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/KeepAliveTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/KeepAliveTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/LoadScriptTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/LoadScriptTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/LoadScriptTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import static org.testng.Assert.assertEquals;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/LoadStyleTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/LoadStyleTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/LoadStyleTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,25 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
-
import static org.testng.Assert.assertEquals;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/MessageTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/MessageTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/MessageTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/MessagesTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/MessagesTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/MessagesTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ModalPanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ModalPanelTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ModalPanelTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,23 @@
-/*
- * ModalPanelTest.java Date created: 30.07.2008
- * Last modified by: $Author$
- * $Revision$ $Date$
- */
-
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/OrderingListTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/OrderingListTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/OrderingListTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelBarItemTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelBarItemTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelBarItemTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelBarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelBarTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelBarTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelMenuTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PanelTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,6 +1,23 @@
/**
- *
- */
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.ArrayList;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PickListTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PickListTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/PickListTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ProgressBarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ProgressBarTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ProgressBarTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/SimpleTogglePanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/SimpleTogglePanelTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/SimpleTogglePanelTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.HashMap;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/SpacerTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/SpacerTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/SpacerTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TabPanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TabPanelTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TabPanelTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TogglePanelTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TogglePanelTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TogglePanelTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,9 +1,9 @@
/**
* License Agreement.
*
- * JBoss RichFaces - Ajax4jsf Component Library
+ * JBoss RichFaces - Ajax4jsf Component Library
*
- * Copyright (C) 2007 Exadel, Inc.
+ * Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -11,14 +11,13 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ToolBarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ToolBarTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ToolBarTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import org.ajax4jsf.template.Template;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TreeTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TreeTest.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/TreeTest.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng;
import java.util.HashMap;
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/util/CommonUtils.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/util/CommonUtils.java 2008-12-15 12:28:46 UTC (rev 11768)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/util/CommonUtils.java 2008-12-15 12:43:46 UTC (rev 11769)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
package org.richfaces.testng.util;
public class CommonUtils {
16 years, 9 months
JBoss Rich Faces SVN: r11768 - 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 07:28:46 -0500 (Mon, 15 Dec 2008)
New Revision: 11768
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
uncomment @Test
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 12:27:05 UTC (rev 11767)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2008-12-15 12:28:46 UTC (rev 11768)
@@ -412,7 +412,7 @@
}
- // @Test
+ @Test
public void testJSAPI(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -542,14 +542,14 @@
}
- // @Test
+ @Test
public void testRenderedAttribute(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
tester.testRendered();
}
- // @Test
+ @Test
public void testInternationalization(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -566,7 +566,7 @@
}
- // @Test
+ @Test
public void testLimitToListAttribute(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
@@ -575,7 +575,7 @@
tester.testLimitToList();
}
- // @Test
+ @Test
public void testReRenderAttribute(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
@@ -585,7 +585,7 @@
tester.testReRender();
}
- // @Test
+ @Test
public void testConverterAttribute(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
@@ -593,7 +593,7 @@
tester.testConverterAttribute();
}
- // @Test
+ @Test
public void testValidatorAndValidatorMessageAttributes(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
@@ -601,7 +601,7 @@
tester.testValidatorAndValidatorMessageAttributes();
}
- // @Test
+ @Test
public void testClientMode(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -636,7 +636,7 @@
}
- // @Test
+ @Test
public void testDataModelAttribute(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -655,7 +655,7 @@
}
- // @Test
+ @Test
public void testTimeSelection(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -703,7 +703,7 @@
}
- // @Test
+ @Test
public void testListenersInAjaxMode(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -722,7 +722,7 @@
}
- // @Test
+ @Test
public void testListenersInClientMode(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -743,7 +743,7 @@
}
- // @Test
+ @Test
public void testCalendarComponent(Template template) {
renderPage(template);
@@ -772,7 +772,7 @@
Assert.assertTrue(isVisible(calendarOpenedId), "Calendar window should be visible on the component!");
}
- // @Test
+ @Test
public void testSelectDateComponent(Template template) {
renderPage(template);
@@ -817,7 +817,7 @@
Assert.assertFalse(isVisible(calendarOpenedId), "Calendar window should NOT be visible on the component!");
}
- // @Test
+ @Test
public void testValueAndCurrentDateOfCalendarInCaseOfPopupTrue(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -864,7 +864,7 @@
Assert.assertEquals(currentDate, month_year, "Calendar shows wrong current date");
}
- // @Test
+ @Test
public void testValueAndCurrentDateOfCalendarWithPopupFalse(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -930,7 +930,7 @@
Assert.assertEquals(currentDate, month_year, "Calendar shows wrong current date");
}
- // @Test
+ @Test
public void testDatePatternNonPopupMode(Template template) {
renderPage(template, null);
initIds(getParentId());
@@ -960,7 +960,7 @@
}
}
- // @Test
+ @Test
public void testDatePatternPopupMode(Template template) {
renderPage(template, null);
initIds(getParentId());
@@ -996,7 +996,7 @@
}
}
- // @Test
+ @Test
public void testShowHeaderAttribute(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -1019,7 +1019,7 @@
AssertPresent(calendarHeaderId, "Header is not present");
}
- // @Test
+ @Test
public void testShowFooterAttribute(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -1042,7 +1042,7 @@
AssertPresent(calendarFooterId, "Footer is not present");
}
- // @Test
+ @Test
public void testShowWeekDaysBar(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -1065,7 +1065,7 @@
AssertPresent(weekDaysBarId, "Week days bar is not present");
}
- // @Test
+ @Test
public void testShowWeeksBar(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -1089,7 +1089,7 @@
AssertPresent(weeksBarId, "Weeks bar is not present");
}
- // @Test
+ @Test
public void testShowInput(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -1103,7 +1103,7 @@
AssertNotVisible(inputDateId, "Input is visible");
}
- // @Test
+ @Test
public void testShowApplyButton(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -1120,7 +1120,7 @@
Assert.assertFalse(isVisible(applyButtonXpath), "Apply button is visible");
}
- // @Test
+ @Test
public void testTodayControlMode(Template template) {
renderPage(TODAY_CONTROL_MODE_URL, template, null);
initIds(getParentId());
@@ -1203,7 +1203,7 @@
Assert.assertFalse(isVisible(todayControlXpath), "Control 'Today' has to be hidden");
}
- // @Test
+ @Test
public void testButtonRelatedAttributes(Template template) {
renderPage(BUTTON_RELATED_TEST_URL, template, null);
writeStatus("Check button-related attributes");
@@ -1226,7 +1226,7 @@
AssertTextEquals(labeledPopupBtnId, "Button");
}
- // @Test
+ @Test
public void testRequiredAndRequiredMessageAttributes(Template template) {
renderPage(template, INIT_REQUIRED_TEST);
initIds(getParentId());
@@ -1270,7 +1270,7 @@
ajaxSetup();
}
- // @Test
+ @Test
public void testLabelAttribute(Template template) {
renderPage(template, null);
initIds(getParentId());
@@ -1285,7 +1285,7 @@
Assert.assertTrue(msg.matches(".*" + label + ".*"), "Error message does not contain defined label: Calendar");
}
- // @Test
+ @Test
public void testInputSizeAttribute(Template template) {
renderPage(LAYOUT_TESTS_URL, template, null);
initIds(getParentId());
16 years, 9 months
JBoss Rich Faces SVN: r11767 - in trunk/test-applications/seleniumTest/richfaces/src: main/resources/org/richfaces/renderkit and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-12-15 07:27:05 -0500 (Mon, 15 Dec 2008)
New Revision: 11767
Added:
trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/richfaces/renderkit/calendar_ru.properties
Removed:
trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/richfaces/renderkit/calendar/
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/calendarTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
RF-5228
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarTestBean.java 2008-12-15 11:25:19 UTC (rev 11766)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarTestBean.java 2008-12-15 12:27:05 UTC (rev 11767)
@@ -80,6 +80,8 @@
private Date preloadDateRangeEnd;
+ private boolean NULLModel = false;
+
public CalendarTestBean() {
selectedDate = DEFAULT_DATE;
@@ -215,6 +217,11 @@
locale = new Locale("ru");
return null;
}
+
+ public String testNullModel () {
+ NULLModel = true;
+ return null;
+ }
public void reset() {
@@ -226,6 +233,7 @@
locale = Locale.US;
required = false;
enableManualInput = false;
+ NULLModel = false;
}
public String resetAction() {
@@ -250,7 +258,10 @@
}
public CalendarDataModel getModel() {
- return model;
+ if (!NULLModel) {
+ return model;
+ }
+ return null;
}
public void setModel(CalendarDataModel model) {
Added: trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/richfaces/renderkit/calendar_ru.properties
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/richfaces/renderkit/calendar_ru.properties (rev 0)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/richfaces/renderkit/calendar_ru.properties 2008-12-15 12:27:05 UTC (rev 11767)
@@ -0,0 +1,6 @@
+RICH_CALENDAR_APPLY_LABEL = Apply_ru
+RICH_CALENDAR_TODAY_LABEL = Today_ru
+RICH_CALENDAR_CLOSE_LABEL = Close_ru
+RICH_CALENDAR_OK_LABEL = OK_ru
+RICH_CALENDAR_CLEAN_LABEL = Clean_ru
+RICH_CALENDAR_CANCEL_LABEL =Cancel_ru
\ No newline at end of file
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/calendarTest.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2008-12-15 11:25:19 UTC (rev 11766)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2008-12-15 12:27:05 UTC (rev 11767)
@@ -72,13 +72,13 @@
static final List<String> WEEK_DAYS_RU = new ArrayList<String>();
static {
- WEEK_DAYS_RU.add("��");
- WEEK_DAYS_RU.add("��");
- WEEK_DAYS_RU.add("��");
- WEEK_DAYS_RU.add("��");
- WEEK_DAYS_RU.add("��");
- WEEK_DAYS_RU.add("��");
- WEEK_DAYS_RU.add("��");
+ WEEK_DAYS_RU.add("Пн");
+ WEEK_DAYS_RU.add("Вт");
+ WEEK_DAYS_RU.add("Ср");
+ WEEK_DAYS_RU.add("Чт");
+ WEEK_DAYS_RU.add("Пт");
+ WEEK_DAYS_RU.add("Сб");
+ WEEK_DAYS_RU.add("Вс");
}
String calendarId;
@@ -397,6 +397,22 @@
}
@Test
+ public void testNULLModel(Template template) {
+ renderPage(template, RESET_METHOD);
+ initIds(getParentId());
+
+ String commandId = getParentId() + CONTROLS_FORM_ID + "testNullModel";
+ clickCommandAndWait(commandId);
+
+ changeCurrentDate(false);
+ pause(1000, calendarId);
+ Assert.assertTrue(runScript("window.done").equals(Boolean.FALSE.toString().toLowerCase()), "Change of current date should not force ajax request in case of NULL dat model.");
+
+
+ }
+
+
+ // @Test
public void testJSAPI(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -526,14 +542,14 @@
}
- @Test
+ // @Test
public void testRenderedAttribute(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
tester.testRendered();
}
- @Test
+ // @Test
public void testInternationalization(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -550,7 +566,7 @@
}
- @Test
+ // @Test
public void testLimitToListAttribute(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
@@ -559,7 +575,7 @@
tester.testLimitToList();
}
- @Test
+ // @Test
public void testReRenderAttribute(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
@@ -569,7 +585,7 @@
tester.testReRender();
}
- @Test
+ // @Test
public void testConverterAttribute(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
@@ -577,7 +593,7 @@
tester.testConverterAttribute();
}
- @Test
+ // @Test
public void testValidatorAndValidatorMessageAttributes(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
@@ -585,7 +601,7 @@
tester.testValidatorAndValidatorMessageAttributes();
}
- @Test
+ // @Test
public void testClientMode(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -593,6 +609,7 @@
Calendar c = Calendar.getInstance();
c = previousMonth(c);
+ pause(1000, calendarId);
Assert.assertTrue(runScript("window.done").equals(Boolean.FALSE.toString().toLowerCase()), "Change of current date should not force ajax request in client mode.");
try {
@@ -619,7 +636,7 @@
}
- @Test
+ // @Test
public void testDataModelAttribute(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -638,7 +655,7 @@
}
- @Test
+ // @Test
public void testTimeSelection(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -686,7 +703,7 @@
}
- @Test
+ // @Test
public void testListenersInAjaxMode(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -705,7 +722,7 @@
}
- @Test
+ // @Test
public void testListenersInClientMode(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -726,7 +743,7 @@
}
- @Test
+ // @Test
public void testCalendarComponent(Template template) {
renderPage(template);
@@ -755,7 +772,7 @@
Assert.assertTrue(isVisible(calendarOpenedId), "Calendar window should be visible on the component!");
}
- @Test
+ // @Test
public void testSelectDateComponent(Template template) {
renderPage(template);
@@ -800,7 +817,7 @@
Assert.assertFalse(isVisible(calendarOpenedId), "Calendar window should NOT be visible on the component!");
}
- @Test
+ // @Test
public void testValueAndCurrentDateOfCalendarInCaseOfPopupTrue(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -847,7 +864,7 @@
Assert.assertEquals(currentDate, month_year, "Calendar shows wrong current date");
}
- @Test
+ // @Test
public void testValueAndCurrentDateOfCalendarWithPopupFalse(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
@@ -913,7 +930,7 @@
Assert.assertEquals(currentDate, month_year, "Calendar shows wrong current date");
}
- @Test
+ // @Test
public void testDatePatternNonPopupMode(Template template) {
renderPage(template, null);
initIds(getParentId());
@@ -943,7 +960,7 @@
}
}
- @Test
+ // @Test
public void testDatePatternPopupMode(Template template) {
renderPage(template, null);
initIds(getParentId());
@@ -979,7 +996,7 @@
}
}
- @Test
+ // @Test
public void testShowHeaderAttribute(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -1002,7 +1019,7 @@
AssertPresent(calendarHeaderId, "Header is not present");
}
- @Test
+ // @Test
public void testShowFooterAttribute(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -1025,7 +1042,7 @@
AssertPresent(calendarFooterId, "Footer is not present");
}
- @Test
+ // @Test
public void testShowWeekDaysBar(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -1048,7 +1065,7 @@
AssertPresent(weekDaysBarId, "Week days bar is not present");
}
- @Test
+ // @Test
public void testShowWeeksBar(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -1072,7 +1089,7 @@
AssertPresent(weeksBarId, "Weeks bar is not present");
}
- @Test
+ // @Test
public void testShowInput(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -1086,7 +1103,7 @@
AssertNotVisible(inputDateId, "Input is visible");
}
- @Test
+ // @Test
public void testShowApplyButton(Template template) {
renderPage(SHOW_ATTRIBURES_TEST_URL, template, INIT_SHOW_ATTRIBUTES_TEST);
initIds(getParentId());
@@ -1103,7 +1120,7 @@
Assert.assertFalse(isVisible(applyButtonXpath), "Apply button is visible");
}
- @Test
+ // @Test
public void testTodayControlMode(Template template) {
renderPage(TODAY_CONTROL_MODE_URL, template, null);
initIds(getParentId());
@@ -1186,7 +1203,7 @@
Assert.assertFalse(isVisible(todayControlXpath), "Control 'Today' has to be hidden");
}
- @Test
+ // @Test
public void testButtonRelatedAttributes(Template template) {
renderPage(BUTTON_RELATED_TEST_URL, template, null);
writeStatus("Check button-related attributes");
@@ -1209,7 +1226,7 @@
AssertTextEquals(labeledPopupBtnId, "Button");
}
- @Test
+ // @Test
public void testRequiredAndRequiredMessageAttributes(Template template) {
renderPage(template, INIT_REQUIRED_TEST);
initIds(getParentId());
@@ -1253,7 +1270,7 @@
ajaxSetup();
}
- @Test
+ // @Test
public void testLabelAttribute(Template template) {
renderPage(template, null);
initIds(getParentId());
@@ -1268,7 +1285,7 @@
Assert.assertTrue(msg.matches(".*" + label + ".*"), "Error message does not contain defined label: Calendar");
}
- @Test
+ // @Test
public void testInputSizeAttribute(Template template) {
renderPage(LAYOUT_TESTS_URL, template, null);
initIds(getParentId());
16 years, 9 months
JBoss Rich Faces SVN: r11766 - 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 06:25:19 -0500 (Mon, 15 Dec 2008)
New Revision: 11766
Added:
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/fparameter.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/uinsertFacet.xml
Modified:
trunk/docs/cdkguide/en/src/main/docbook/master.xml
Log:
https://jira.jboss.org/jira/browse/RF-3692 - Template Tags Refrence was updated
Modified: trunk/docs/cdkguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-12-15 11:20:15 UTC (rev 11765)
+++ trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-12-15 11:25:19 UTC (rev 11766)
@@ -31,7 +31,12 @@
<!ENTITY cset SYSTEM "tags/cset.xml">
<!ENTITY fattribute SYSTEM "tags/fattribute.xml">
<!ENTITY finsert SYSTEM "tags/finsert.xml">
-<!ENTITY fclientId SYSTEM "tags/fclientId.xml">
+<!ENTITY fclientid SYSTEM "tags/fclientid.xml">
+<!ENTITY fcall SYSTEM "tags/fcall.xml">
+<!ENTITY fparameter SYSTEM "tags/fparameter.xml">
+<!ENTITY fresource SYSTEM "tags/fresource.xml">
+<!ENTITY froot SYSTEM "tags/froot.xml">
+<!ENTITY uinsertFacet SYSTEM "tags/uinsertFacet.xml">
]>
<book>
@@ -200,6 +205,11 @@
&cset;
&fattribute;
&finsert;
-&fclientId;
+&fclientid;
+&fcall;
+&fparameter;
+&fresource;
+&froot;
+&uinsertFacet;
</chapter>
</book>
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 11:25:19 UTC (rev 11766)
@@ -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 11:25:19 UTC (rev 11766)
@@ -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/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 11:25:19 UTC (rev 11766)
@@ -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/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 11:25:19 UTC (rev 11766)
@@ -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 11:25:19 UTC (rev 11766)
@@ -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/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 11:25:19 UTC (rev 11766)
@@ -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
+ *
16 years, 9 months
JBoss Rich Faces SVN: r11765 - in trunk/test-applications/jsp/src/main/webapp: ProgressBar and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: tromanovich
Date: 2008-12-15 06:20:15 -0500 (Mon, 15 Dec 2008)
New Revision: 11765
Modified:
trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp
trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2008-12-14 22:03:12 UTC (rev 11764)
+++ trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2008-12-15 11:20:15 UTC (rev 11765)
@@ -120,6 +120,7 @@
weekDayLabelsShort="#{calendarBean.weekDayLabelsShort}"
monthLabels="#{calendarBean.monthLabels}"
monthLabelsShort="#{calendarBean.monthLabelsShort}"
+ todayControlMode="#{calendarBean.todayControlMode}"
value="#{calendarBean.selectedDate}"
currentDate="#{calendarBean.currentDate}"
cellHeight="#{calendarBean.cellHeight}"
@@ -143,6 +144,7 @@
rendered="#{calendarBean.renderedAjax}" focus="popupModeID"
mode="ajax" required="#{calendarBean.required}"
requiredMessage="Required Message" timeZone="#{calendarBean.tmZone}"
+ immediate="#{calendarBean.immediate}"
onbeforedomupdate="#{event.onbeforedomupdate}"
onchanged="#{event.onchanged}" oncollapse="#{event.oncollapse}"
oncomplete="#{event.oncomplete}"
@@ -160,7 +162,18 @@
oninputkeyup="#{event.oninputkeyup}"
oninputselect="#{event.oninputselect}"
ontimeselect="#{event.ontimeselect}"
- ontimeselected="#{event.ontimeselected}">
+ ontimeselected="#{event.ontimeselected}"
+
+ firstWeekDay="#{calendarBean.firstWeekDay}"
+ defaultTime="#{calendarBean.defaultTime}"
+ resetTimeOnDateSelect="#{calendarBean.resetTimeOnDateSelect}"
+ horizontalOffset="#{calendarBean.horizontalOffset}"
+ verticalOffset="#{calendarBean.verticalOffset}"
+ inputSize="#{calendarBean.inputSize}"
+ showApplyButton="#{calendarBean.showApplyButton}"
+ showWeekDaysBar="#{calendarBean.showWeekDaysBar}"
+ showWeeksBar="#{calendarBean.showWeeksBar}"
+ >
<f:facet name="weekDay">
<f:verbatim>
Modified: trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp 2008-12-14 22:03:12 UTC (rev 11764)
+++ trunk/test-applications/jsp/src/main/webapp/Calendar/CalendarProperty.jsp 2008-12-15 11:20:15 UTC (rev 11765)
@@ -163,15 +163,6 @@
itemValue="Korea Standard Time" />
</h:selectOneRadio>
-
- <h:outputText value="ToolTip Mode:" />
- <h:selectOneRadio value="#{calendarBean.toolTipMode}"
- onchange="submit();">
- <f:selectItem itemLabel="none" itemValue="none" />
- <f:selectItem itemLabel="single" itemValue="single" />
- <f:selectItem itemLabel="batch" itemValue="batch" />
- </h:selectOneRadio>
-
<h:outputText value="BoundaryDatesMode:" />
<h:selectOneRadio onclick="submit()" value="#{calendarBean.boundary}">
<f:selectItem itemLabel="inactive" itemValue="inactive" />
Modified: trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp 2008-12-14 22:03:12 UTC (rev 11764)
+++ trunk/test-applications/jsp/src/main/webapp/ProgressBar/ProgressBar.jsp 2008-12-15 11:20:15 UTC (rev 11765)
@@ -51,8 +51,9 @@
onclick="alert($('formID:progressBarSubviewID:progressBarID').component.getValue())"></a4j:commandButton>
<a4j:commandLink value="setLabel"
onclick="$('formID:progressBarSubviewID:progressBarID').component.setLabel('setLabel work')"></a4j:commandLink>
- <a4j:commandLink value="setValue(0)"
- onclick="$('formID:progressBarSubviewID:progressBarID').component.setValue('0')"></a4j:commandLink>
+ <a4j:commandLink value="setValue(5)"
+ onclick="$('formID:progressBarSubviewID:progressBarID').component.setValue('5')"></a4j:commandLink>
+
<a4j:commandLink value="disable"
onclick="$('formID:progressBarSubviewID:progressBarID').component.disable();"></a4j:commandLink>
<a4j:commandLink value="enable"
@@ -65,7 +66,7 @@
<br />
<a href="#" id="setLabelID">setLabel</a>
<br />
- <a href="#" id="setValueID">setValue(0)</a>
+ <a href="#" id="setValueID">setValue(10)</a>
<br />
<a href="#" id="disableID">disable</a>
<br />
@@ -76,7 +77,9 @@
<f:param name="label" value="new label" />
</rich:componentControl>
<rich:componentControl attachTo="setValueID" event="onclick"
- for="progressBarID" operation="setValue" params="value:0"></rich:componentControl>
+ for="progressBarID" operation="setValue">
+ <f:param name="value" value="10"/>
+ </rich:componentControl>
<rich:componentControl attachTo="disableID" event="onclick"
for="progressBarID" operation="disable"></rich:componentControl>
<rich:componentControl attachTo="enableID" event="onclick"
16 years, 9 months
JBoss Rich Faces SVN: r11764 - trunk/ui/dataTable/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-12-14 17:03:12 -0500 (Sun, 14 Dec 2008)
New Revision: 11764
Modified:
trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataTable.java
Log:
https://jira.jboss.org/jira/browse/RF-5008
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataTable.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataTable.java 2008-12-14 21:55:32 UTC (rev 11763)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataTable.java 2008-12-14 22:03:12 UTC (rev 11764)
@@ -27,7 +27,6 @@
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
-import java.util.Locale;
import java.util.Map;
import javax.el.ELContext;
@@ -42,6 +41,7 @@
import org.ajax4jsf.context.ContextInitParameters;
import org.ajax4jsf.model.ExtendedDataModel;
import org.richfaces.model.FilterField;
+import org.richfaces.model.LocaleAware;
import org.richfaces.model.Modifiable;
import org.richfaces.model.ModifiableModel;
import org.richfaces.model.SortField2;
@@ -129,18 +129,19 @@
if (dataModel instanceof Modifiable) {
modifiable = (Modifiable) dataModel;
} else {
- Locale locale = null;
-
+ ModifiableModel modifiableModel = new ModifiableModel(dataModel, getVar());
+ dataModel = modifiableModel;
+ modifiable = modifiableModel;
+ }
+
+ if (dataModel instanceof LocaleAware) {
FacesContext facesContext = getFacesContext();
if (ContextInitParameters.isDatatableUsesViewLocale(facesContext)) {
UIViewRoot viewRoot = facesContext.getViewRoot();
- locale = viewRoot.getLocale();
+ ((LocaleAware) dataModel).setLocale(viewRoot.getLocale());
}
-
- ModifiableModel modifiableModel = new ModifiableModel(dataModel, getVar(), locale);
- dataModel = modifiableModel;
- modifiable = modifiableModel;
}
+
modifiable.modify(filterFields, sortFields);
}
return dataModel;
16 years, 9 months
JBoss Rich Faces SVN: r11763 - trunk/framework/impl/src/main/java/org/richfaces/model.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-12-14 16:55:32 -0500 (Sun, 14 Dec 2008)
New Revision: 11763
Modified:
trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java
Log:
https://jira.jboss.org/jira/browse/RF-5008
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java 2008-12-14 21:52:56 UTC (rev 11762)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java 2008-12-14 21:55:32 UTC (rev 11763)
@@ -46,7 +46,7 @@
* @author Konstantin Mishin
*
*/
-public class ModifiableModel extends ExtendedDataModel implements Modifiable{
+public class ModifiableModel extends ExtendedDataModel implements Modifiable, LocaleAware {
protected class RowKeyWrapperFactory extends ObjectWrapperFactory {
@@ -90,16 +90,11 @@
protected String var;
- protected Locale locale;
+ protected Locale locale = null;
public ModifiableModel(ExtendedDataModel originalModel, String var) {
- this(originalModel, var, null);
- }
-
- public ModifiableModel(ExtendedDataModel originalModel, String var, Locale locale) {
this.originalModel = originalModel;
this.var = var;
- this.locale = locale;
}
@Override
@@ -112,6 +107,14 @@
return originalModel.getDataModelListeners();
}
+ public Locale getLocale() {
+ return locale;
+ }
+
+ public void setLocale(Locale locale) {
+ this.locale = locale;
+ }
+
@Override
public Object getRowKey() {
return rowKeys.indexOf(originalModel.getRowKey());
16 years, 9 months
JBoss Rich Faces SVN: r11762 - trunk/framework/api/src/main/java/org/richfaces/model.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-12-14 16:52:56 -0500 (Sun, 14 Dec 2008)
New Revision: 11762
Added:
trunk/framework/api/src/main/java/org/richfaces/model/LocaleAware.java
Log:
https://jira.jboss.org/jira/browse/RF-5008
Added: trunk/framework/api/src/main/java/org/richfaces/model/LocaleAware.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/LocaleAware.java (rev 0)
+++ trunk/framework/api/src/main/java/org/richfaces/model/LocaleAware.java 2008-12-14 21:52:56 UTC (rev 11762)
@@ -0,0 +1,38 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.model;
+
+import java.util.Locale;
+
+/**
+ * Models that are based on locale-dependent operations should implement this interface
+ *
+ * @author Nick Belaevski
+ * @since 3.3.0
+ */
+
+public interface LocaleAware {
+
+ public Locale getLocale();
+
+ public void setLocale(Locale locale);
+}
16 years, 9 months
JBoss Rich Faces SVN: r11761 - trunk/ui/dataTable/src/main/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-12-14 16:30:03 -0500 (Sun, 14 Dec 2008)
New Revision: 11761
Modified:
trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataTable.java
Log:
https://jira.jboss.org/jira/browse/RF-5008
Modified: trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataTable.java
===================================================================
--- trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataTable.java 2008-12-14 21:23:18 UTC (rev 11760)
+++ trunk/ui/dataTable/src/main/java/org/richfaces/component/UIDataTable.java 2008-12-14 21:30:03 UTC (rev 11761)
@@ -27,6 +27,7 @@
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
+import java.util.Locale;
import java.util.Map;
import javax.el.ELContext;
@@ -34,12 +35,14 @@
import javax.el.ValueExpression;
import javax.faces.FacesException;
import javax.faces.component.UIComponent;
+import javax.faces.component.UIViewRoot;
import javax.faces.context.FacesContext;
import org.ajax4jsf.component.SequenceDataAdaptor;
+import org.ajax4jsf.context.ContextInitParameters;
import org.ajax4jsf.model.ExtendedDataModel;
+import org.richfaces.model.FilterField;
import org.richfaces.model.Modifiable;
-import org.richfaces.model.FilterField;
import org.richfaces.model.ModifiableModel;
import org.richfaces.model.SortField2;
@@ -126,7 +129,15 @@
if (dataModel instanceof Modifiable) {
modifiable = (Modifiable) dataModel;
} else {
- ModifiableModel modifiableModel = new ModifiableModel(dataModel, getVar());
+ Locale locale = null;
+
+ FacesContext facesContext = getFacesContext();
+ if (ContextInitParameters.isDatatableUsesViewLocale(facesContext)) {
+ UIViewRoot viewRoot = facesContext.getViewRoot();
+ locale = viewRoot.getLocale();
+ }
+
+ ModifiableModel modifiableModel = new ModifiableModel(dataModel, getVar(), locale);
dataModel = modifiableModel;
modifiable = modifiableModel;
}
16 years, 9 months
JBoss Rich Faces SVN: r11760 - in trunk/framework/impl/src/main/java/org: richfaces/model and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-12-14 16:23:18 -0500 (Sun, 14 Dec 2008)
New Revision: 11760
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/context/ContextInitParameters.java
trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator2.java
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java
Log:
https://jira.jboss.org/jira/browse/RF-5008
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/context/ContextInitParameters.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/context/ContextInitParameters.java 2008-12-14 18:11:00 UTC (rev 11759)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/context/ContextInitParameters.java 2008-12-14 21:23:18 UTC (rev 11760)
@@ -61,6 +61,7 @@
*/
public static final String HANDLE_VIEW_EXPIRED_ON_CLIENT="org.ajax4jsf.handleViewExpiredOnClient";
+ public static final String[] DATATABLE_USES_VIEW_LOCALE = {"org.richfaces.datatableUsesViewLocale"};
public static final boolean isSerializeServerState(FacesContext context) {
return getBoolean(context, SERIALIZE_SERVER_STATE, false);
@@ -86,6 +87,17 @@
AjaxStateManager.DEFAULT_NUMBER_OF_VIEWS);
}
+ /**
+ * Defines whether data table should use view root locale for sorting and filtering or the
+ * default platform one
+ *
+ * @param context
+ * @return
+ */
+ public static boolean isDatatableUsesViewLocale(FacesContext context) {
+ return getBoolean(context, DATATABLE_USES_VIEW_LOCALE, false);
+ }
+
static int getInteger(FacesContext context, String[] paramNames,
int defaulValue) {
String initParameter = getInitParameter(context,paramNames);
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java 2008-12-14 18:11:00 UTC (rev 11759)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java 2008-12-14 21:23:18 UTC (rev 11760)
@@ -24,6 +24,7 @@
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
+import java.util.Locale;
import java.util.Map;
import javax.faces.context.FacesContext;
@@ -89,9 +90,16 @@
protected String var;
+ protected Locale locale;
+
public ModifiableModel(ExtendedDataModel originalModel, String var) {
+ this(originalModel, var, null);
+ }
+
+ public ModifiableModel(ExtendedDataModel originalModel, String var, Locale locale) {
this.originalModel = originalModel;
this.var = var;
+ this.locale = locale;
}
@Override
@@ -229,7 +237,8 @@
FacesContext context = FacesContext.getCurrentInstance();
List <Object> filteredCollection = new ArrayList<Object>();
ObjectWrapperFactory wrapperFactory = new RowKeyWrapperFactory(context, var, filterFields);
- WrappedBeanFilter wrappedBeanFilter = new WrappedBeanFilter(filterFields);
+
+ WrappedBeanFilter wrappedBeanFilter = new WrappedBeanFilter(filterFields, locale);
wrapperFactory.wrapList(rowKeys);
for (Object object : rowKeys) {
if(wrappedBeanFilter.accept((JavaBeanWrapper)object)) {
@@ -247,8 +256,9 @@
FacesContext context = FacesContext.getCurrentInstance();
ObjectWrapperFactory wrapperFactory = new RowKeyWrapperFactory(
context, var, sortFields);
+
WrappedBeanComparator2 wrappedBeanComparator = new WrappedBeanComparator2(
- sortFields);
+ sortFields, locale);
wrapperFactory.wrapList(rowKeys);
Collections.sort(rowKeys, wrappedBeanComparator);
wrapperFactory.unwrapList(rowKeys);
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator2.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator2.java 2008-12-14 18:11:00 UTC (rev 11759)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator2.java 2008-12-14 21:23:18 UTC (rev 11760)
@@ -20,13 +20,16 @@
*/
package org.richfaces.model.impl.expressive;
+import java.text.Collator;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
+import java.util.Locale;
import javax.el.Expression;
import org.richfaces.model.Ordering;
+import org.richfaces.model.SortField;
import org.richfaces.model.SortField2;
/**
@@ -38,13 +41,41 @@
*/
public final class WrappedBeanComparator2 implements Comparator<Object> {
+ private static final Comparator<String> defaultStringComparator = new Comparator<String>() {
+
+ public int compare(String o1, String o2) {
+ return o1.compareToIgnoreCase(o2);
+ }
+
+ };
+
private final List<SortField2> sortFields;
+ private Locale currentLocale;
+
+ private Comparator<? super String> stringComparator;
+
public WrappedBeanComparator2(List<SortField2> sortFields) {
+ this(sortFields, null);
+ }
+
+ public WrappedBeanComparator2(List<SortField2> sortFields, Locale locale) {
super();
this.sortFields = sortFields;
+ this.currentLocale = locale;
}
+ private Comparator<? super String> createStringComparator() {
+ Comparator<? super String> comparator = null;
+ if (currentLocale != null) {
+ comparator = Collator.getInstance(currentLocale);
+ } else {
+ comparator = defaultStringComparator;
+ }
+
+ return comparator;
+ }
+
public int compare(Object o1, Object o2) {
return compare((JavaBeanWrapper) o1, (JavaBeanWrapper) o2);
}
@@ -64,7 +95,10 @@
if (p1 == p2 && p1 instanceof Comparator) {
result = ((Comparator<Object>)p1).compare(w1.getWrappedObject(), w2.getWrappedObject());
} else if (p1 instanceof String && p2 instanceof String) {
- result = ((String)p1).trim().compareToIgnoreCase(((String)p2).trim());
+ if (stringComparator == null) {
+ stringComparator = createStringComparator();
+ }
+ result = stringComparator.compare(((String)p1).trim(), ((String)p2).trim());
} else if (p1 instanceof Comparable && p2 instanceof Comparable) {
result = ((Comparable<Object>) p1).compareTo(p2);
} else if (p1 == null && p2 != null) {
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java 2008-12-14 18:11:00 UTC (rev 11759)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java 2008-12-14 21:23:18 UTC (rev 11760)
@@ -21,6 +21,7 @@
package org.richfaces.model.impl.expressive;
import java.util.List;
+import java.util.Locale;
import org.richfaces.model.ExtendedFilterField;
import org.richfaces.model.FilterField;
@@ -32,20 +33,26 @@
public class WrappedBeanFilter implements org.richfaces.model.filter.Filter<JavaBeanWrapper>{
private final List<FilterField> filterFields;
+ private Locale currentLocale;
+
+ public WrappedBeanFilter(List<FilterField> filterFields) {
+ this(filterFields, null);
+ }
- public WrappedBeanFilter(List<FilterField> filterFields) {
+ public WrappedBeanFilter(List<FilterField> filterFields, Locale locale) {
this.filterFields = filterFields;
+ this.currentLocale = (locale != null ? locale : Locale.getDefault());
}
-
+
public boolean accept(JavaBeanWrapper wrapper) {
for (FilterField filterField : filterFields) {
if (filterField instanceof ExtendedFilterField) {
Object property = wrapper.getProperty(filterField.getExpression().getExpressionString());
String filterValue = ((ExtendedFilterField)filterField).getFilterValue();
if(filterValue != null) {
- filterValue = filterValue.trim().toUpperCase();
+ filterValue = filterValue.trim().toUpperCase(currentLocale);
if(filterValue.length() > 0) {
- if(property == null || !property.toString().trim().toUpperCase().startsWith(filterValue)) {
+ if(property == null || !property.toString().trim().toUpperCase(currentLocale).startsWith(filterValue)) {
return false;
}
}
16 years, 9 months
JBoss Rich Faces SVN: r11759 - in trunk/samples/tree-demo/src/main: java/org/richfaces/rf4196 and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-12-14 13:11:00 -0500 (Sun, 14 Dec 2008)
New Revision: 11759
Added:
trunk/samples/tree-demo/src/main/java/org/richfaces/rf4196/
trunk/samples/tree-demo/src/main/java/org/richfaces/rf4196/Bean.java
trunk/samples/tree-demo/src/main/webapp/pages/rf-4196.jsp
Modified:
trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java
trunk/samples/tree-demo/src/main/webapp/WEB-INF/faces-config.xml
Log:
https://jira.jboss.org/jira/browse/RF-4196
Modified: trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java
===================================================================
--- trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java 2008-12-14 18:07:10 UTC (rev 11758)
+++ trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java 2008-12-14 18:11:00 UTC (rev 11759)
@@ -31,8 +31,11 @@
import javax.faces.FacesException;
import javax.faces.application.Application;
+import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
+import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;
+import javax.faces.event.AbortProcessingException;
import javax.faces.event.ActionEvent;
import org.ajax4jsf.context.AjaxContext;
@@ -91,6 +94,8 @@
private int counter2 = 0;
+ private int requestCounter = 0;
+
public String getIcon() {
return icon;
}
@@ -482,4 +487,20 @@
System.out.println("Bean.action() " +
event.getComponent().getClientId(FacesContext.getCurrentInstance()));
}
+
+ private static final String REQUEST_COUNTER_ATTRIBUTE = Bean.class.getName() + ":requestCounter";
+
+ public int getRequestCounter() {
+ FacesContext facesContext = FacesContext.getCurrentInstance();
+ ExternalContext externalContext = facesContext.getExternalContext();
+ Map<String, Object> requestMap = externalContext.getRequestMap();
+
+ if (requestMap.get(REQUEST_COUNTER_ATTRIBUTE) == null) {
+ requestMap.put(REQUEST_COUNTER_ATTRIBUTE, Boolean.TRUE);
+
+ requestCounter++;
+ }
+
+ return requestCounter;
+ }
}
\ No newline at end of file
Added: trunk/samples/tree-demo/src/main/java/org/richfaces/rf4196/Bean.java
===================================================================
--- trunk/samples/tree-demo/src/main/java/org/richfaces/rf4196/Bean.java (rev 0)
+++ trunk/samples/tree-demo/src/main/java/org/richfaces/rf4196/Bean.java 2008-12-14 18:11:00 UTC (rev 11759)
@@ -0,0 +1,32 @@
+package org.richfaces.rf4196;
+
+import org.richfaces.component.UITree;
+import org.richfaces.event.NodeSelectedEvent;
+
+public class Bean {
+ private UITree tree;
+
+ public UITree getTree() {
+ return tree;
+ }
+
+ public void setTree(UITree tree) {
+ this.tree = tree;
+ }
+
+ public void rerenderNode() {
+ tree.addNodeRequestKey(tree.getRowKey());
+ }
+
+ public void rerenderSubtree() {
+ tree.addRequestKey(tree.getRowKey());
+ }
+
+ public void rerenderRoot() {
+ tree.addRequestKey(null);
+ }
+
+ public void select(NodeSelectedEvent event) {
+ tree.addNodeRequestKey(tree.getRowKey());
+ }
+}
Modified: trunk/samples/tree-demo/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/samples/tree-demo/src/main/webapp/WEB-INF/faces-config.xml 2008-12-14 18:07:10 UTC (rev 11758)
+++ trunk/samples/tree-demo/src/main/webapp/WEB-INF/faces-config.xml 2008-12-14 18:11:00 UTC (rev 11759)
@@ -30,4 +30,10 @@
<managed-bean-class>org.richfaces.rf3899.Bean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
+
+ <managed-bean>
+ <managed-bean-name>rf4196</managed-bean-name>
+ <managed-bean-class>org.richfaces.rf4196.Bean</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
</faces-config>
Added: trunk/samples/tree-demo/src/main/webapp/pages/rf-4196.jsp
===================================================================
--- trunk/samples/tree-demo/src/main/webapp/pages/rf-4196.jsp (rev 0)
+++ trunk/samples/tree-demo/src/main/webapp/pages/rf-4196.jsp 2008-12-14 18:11:00 UTC (rev 11759)
@@ -0,0 +1,26 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
+<%@ taglib uri="http://labs.jboss.com/jbossrichfaces/ui/tree" prefix="rich"%>
+<html>
+ <head>
+ <title></title>
+ </head>
+ <body>
+ <f:view>
+ <a4j:status startText="...start..." stopText="stopped" />
+
+ <h:form>
+ <rich:tree ajaxSubmitSelection="true" nodeSelectListener="#{rf4196.select}" ajaxKeys="#{null}" binding="#{rf4196.tree}" value="#{bean.data}" var="item" switchType="ajax">
+ <rich:treeNode>
+ <h:outputText escape="false" value="#{item} <b style='color: red;'>#{bean.requestCounter}</b> Re-render: " />
+ <a4j:commandLink value="Node" action="#{rf4196.rerenderNode}" /> /
+ <a4j:commandLink value="Subtree" action="#{rf4196.rerenderSubtree}" />
+ </rich:treeNode>
+ </rich:tree>
+
+ <a4j:commandLink value="Re-render tree root node" action="#{rf4196.rerenderRoot}" />
+ </h:form>
+ </f:view>
+ </body>
+</html>
16 years, 9 months
JBoss Rich Faces SVN: r11758 - in trunk/ui/tree/src: main/java/org/richfaces/component and 4 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-12-14 13:07:10 -0500 (Sun, 14 Dec 2008)
New Revision: 11758
Removed:
trunk/ui/tree/src/test/java/org/richfaces/renderkit/TreeRowKeyComparatorTest.java
Modified:
trunk/ui/tree/src/main/config/component/tree.xml
trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java
trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java
trunk/ui/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-selection.js
trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree.js
Log:
https://jira.jboss.org/jira/browse/RF-4196
Modified: trunk/ui/tree/src/main/config/component/tree.xml
===================================================================
--- trunk/ui/tree/src/main/config/component/tree.xml 2008-12-14 18:03:41 UTC (rev 11757)
+++ trunk/ui/tree/src/main/config/component/tree.xml 2008-12-14 18:07:10 UTC (rev 11758)
@@ -303,6 +303,10 @@
<defaultvalue>""</defaultvalue>
</property>
+ <property>
+ <name>ajaxNodeKeys</name>
+ </property>
+
<property hidden="true">
<name>rowKeyConverter</name>
</property>
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java 2008-12-14 18:03:41 UTC (rev 11757)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java 2008-12-14 18:07:10 UTC (rev 11758)
@@ -24,11 +24,14 @@
import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
+import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
+import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
+import javax.el.ValueExpression;
import javax.faces.application.Application;
import javax.faces.component.NamingContainer;
import javax.faces.component.UIComponent;
@@ -58,12 +61,15 @@
import org.richfaces.component.state.events.ExpandAllCommandEvent;
import org.richfaces.component.state.events.ExpandNodeCommandEvent;
import org.richfaces.component.state.events.TreeStateCommandEvent;
+import org.richfaces.event.AjaxExpandedEvent;
import org.richfaces.event.DragListener;
import org.richfaces.event.DropListener;
import org.richfaces.event.NodeExpandedEvent;
import org.richfaces.event.NodeExpandedListener;
import org.richfaces.event.NodeSelectedEvent;
import org.richfaces.event.NodeSelectedListener;
+import org.richfaces.event.TreeAjaxEvent;
+import org.richfaces.event.TreeAjaxEventType;
import org.richfaces.event.TreeListenerEventsProducer;
import org.richfaces.model.AbstractTreeDataModel;
import org.richfaces.model.CacheableTreeDataModel;
@@ -117,6 +123,10 @@
private UITreeNode defaultFacet;
+ private Set<Object> ajaxNodeKeys = null;
+
+ private Set<Object> nodeRequestKeys = null;
+
/**
* Name of EL variable for the tree node.
* This reference is needed to let this parent class
@@ -587,7 +597,7 @@
// fire node events
TreeEvents.invokeListenerBindings(this, event, getFacesContext());
-
+
if (event instanceof AjaxEvent) {
FacesContext facesContext = getFacesContext();
AjaxRendererUtils.addRegionsFromComponent(this, facesContext);
@@ -941,10 +951,11 @@
public Object saveState(FacesContext faces) {
- Object[] state = new Object[3];
+ Object[] state = new Object[4];
state[0] = super.saveState(faces);
state[1] = saveAttachedState(faces, defaultFacet);
state[2] = getTreeNodeVar();
+ state[3] = ajaxNodeKeys;
return state;
}
@@ -962,6 +973,7 @@
defaultFacet.setParent(this);
}
setTreeNodeVar((String) state[2]);
+ ajaxNodeKeys = (Set<Object>) state[3];
}
public String getResolvedDragIndicator(FacesContext facesContext) {
@@ -1191,6 +1203,120 @@
TreeState treeState = (TreeState) getComponentState();
treeState.transferQueuedNodes((TreeRowKey) getRowKey());
}
-}
+ /**
+ * @param o
+ * @since 3.3.0
+ */
+ public void addNodeRequestKey(Object o) {
+ if (o == null) {
+ throw new IllegalArgumentException();
+ }
+
+ if (nodeRequestKeys == null) {
+ nodeRequestKeys = new HashSet<Object>();
+ }
+
+ nodeRequestKeys.add(o);
+ }
+
+ /**
+ * @since 3.3.0
+ */
+ public void clearNodeRequestKeysSet() {
+ if (nodeRequestKeys != null) {
+ nodeRequestKeys.clear();
+ }
+ }
+
+ /**
+ * @param o
+ * @return
+ * @since 3.3.0
+ */
+ public boolean containsNodeRequestKey(Object o) {
+ return nodeRequestKeys != null && nodeRequestKeys.contains(o);
+ }
+
+ /**
+ * @param o
+ * @since 3.3.0
+ */
+ public void removeNodeRequestKey(Object o) {
+ if (nodeRequestKeys != null) {
+ nodeRequestKeys.remove(o);
+ }
+ }
+
+ /**
+ * @return
+ * @since 3.3.0
+ */
+ public Set<Object> getNodeRequestKeys() {
+ return nodeRequestKeys;
+ }
+
+ /**
+ * @return
+ * @since 3.3.0
+ */
+ public Set<Object> getAjaxNodeKeys() {
+ Set<Object> keys = null;
+ if (this.ajaxNodeKeys != null) {
+ keys = this.ajaxNodeKeys;
+ } else {
+ ValueExpression ve = this.getValueExpression("ajaxNodeKeys");
+ if (ve != null) {
+ keys = (Set<Object>) ve.getValue(getFacesContext().getELContext());
+ }
+ }
+
+ return keys;
+ }
+ /**
+ * @param keys
+ * @since 3.3.0
+ */
+ public void setAjaxNodeKeys(Set<Object> keys) {
+ this.ajaxNodeKeys = keys;
+ }
+
+ /**
+ * @return
+ * @since 3.3.0
+ */
+ public Set<Object> getAllAjaxNodeKeys() {
+ HashSet<Object> result = null;
+
+ Set<Object> ajaxNodeKeys = getAjaxNodeKeys();
+ if (ajaxNodeKeys != null) {
+ result = new HashSet<Object>(ajaxNodeKeys);
+ }
+
+ Set<Object> nodeRequestKeys = getNodeRequestKeys();
+ if (nodeRequestKeys != null) {
+ if (result != null) {
+ result.addAll(nodeRequestKeys);
+ } else {
+ result = new HashSet<Object>(nodeRequestKeys);
+ }
+ }
+
+ return result;
+ }
+
+ @Override
+ protected void addAjaxKeyEvent(FacesEvent event) {
+ if (event instanceof TreeAjaxEvent) {
+ TreeAjaxEvent treeAjaxEvent = (TreeAjaxEvent) event;
+ if (TreeAjaxEventType.EXPANSION.equals(treeAjaxEvent.getEventType())) {
+ addRequestKey(getRowKey());
+ } else {
+ super.addAjaxKeyEvent(event);
+ }
+ } else {
+ super.addAjaxKeyEvent(event);
+ }
+ }
+}
\ No newline at end of file
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java 2008-12-14 18:03:41 UTC (rev 11757)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java 2008-12-14 18:07:10 UTC (rev 11758)
@@ -21,18 +21,20 @@
package org.richfaces.component.events;
+import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.el.MethodBinding;
import javax.faces.event.AbortProcessingException;
import javax.faces.event.FacesEvent;
-import org.ajax4jsf.event.AjaxEvent;
import org.richfaces.event.AjaxExpandedEvent;
import org.richfaces.event.AjaxSelectedEvent;
import org.richfaces.event.DragEvent;
import org.richfaces.event.DropEvent;
import org.richfaces.event.NodeExpandedEvent;
import org.richfaces.event.NodeSelectedEvent;
+import org.richfaces.event.TreeAjaxEvent;
+import org.richfaces.event.TreeAjaxEventType;
import org.richfaces.event.TreeListenerEventsProducer;
/**
@@ -52,15 +54,16 @@
throws AbortProcessingException {
MethodBinding binding = null;
+ UIComponent component = event.getComponent();
if (event instanceof NodeExpandedEvent) {
binding = eventsProducer.getChangeExpandListener();
if (event instanceof AjaxExpandedEvent) {
- new AjaxEvent(event.getComponent()).queue();
+ new TreeAjaxEvent(component, TreeAjaxEventType.EXPANSION).queue();
}
} else if (event instanceof AjaxSelectedEvent) {
if (eventsProducer.hasAjaxSubmitSelection()) {
binding = eventsProducer.getNodeSelectListener();
- new AjaxEvent(event.getComponent()).queue();
+ new TreeAjaxEvent(component, TreeAjaxEventType.SELECTION).queue();
}
} else if (event instanceof NodeSelectedEvent) {
binding = eventsProducer.getNodeSelectListener();
Modified: trunk/ui/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java 2008-12-14 18:03:41 UTC (rev 11757)
+++ trunk/ui/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java 2008-12-14 18:07:10 UTC (rev 11758)
@@ -56,47 +56,32 @@
public abstract class TreeRendererBase extends CompositeRenderer {
- protected final static Comparator treeRowKeyComparator = new Comparator() {
+ protected static final class RowKeyHolder {
- public int compare(Object key1, Object key2) {
- TreeRowKey treeRowKey1 = (TreeRowKey) key1;
- TreeRowKey treeRowKey2 = (TreeRowKey) key2;
+ private TreeRowKey<Object> rowKey;
+
+ private boolean nodeKey;
+
+ public RowKeyHolder(TreeRowKey<Object> rowKey, boolean nodeKey) {
+ super();
+ this.rowKey = rowKey;
+ this.nodeKey = nodeKey;
+ }
+
+ public boolean isNodeKey() {
+ return nodeKey;
+ }
+
+ public TreeRowKey<Object> getRowKey() {
+ return rowKey;
+ }
- if (treeRowKey1 == null) {
- if (treeRowKey2 == null) {
- return 0;
- } else {
- return -1;
- }
- } else {
- if (treeRowKey2 == null) {
- return 1;
- }
- }
-
- Iterator iterator1 = treeRowKey1.iterator();
- Iterator iterator2 = treeRowKey2.iterator();
-
- while (iterator1.hasNext() && iterator2.hasNext()) {
- String id1 = iterator1.next().toString();
- String id2 = iterator2.next().toString();
-
- int cr = id1.compareTo(id2);
- if (cr != 0) {
- return cr;
- }
- }
-
- if (iterator1.hasNext()) {
- return 1;
- } else if (iterator2.hasNext()) {
- return -1;
- } else {
- return 0;
- }
+ @Override
+ public String toString() {
+ return this.getClass().getSimpleName() + "[" + rowKey + "]";
}
};
-
+
private final class RendererDataModelEventNavigator extends
TreeDataModelEventNavigator {
private final FacesContext context;
@@ -365,6 +350,38 @@
NSUtils.writeNameSpace(context, component);
}
+ private List<RowKeyHolder> getKeyHoldersList(Set subTreeKeys,
+ Set nodeKeys, String treePath) {
+
+ if (subTreeKeys != null && subTreeKeys.contains(null)) {
+ List<RowKeyHolder> list = new ArrayList<RowKeyHolder>(1);
+ list.add(new RowKeyHolder(null, false));
+ return list;
+ }
+
+ List<RowKeyHolder> list = new ArrayList<RowKeyHolder>((subTreeKeys == null ? 0 : subTreeKeys.size()) +
+ (nodeKeys == null ? 0 : nodeKeys.size()));
+
+ if (subTreeKeys != null) {
+ for (Object subTreeKey : subTreeKeys) {
+ list.add(new RowKeyHolder((TreeRowKey<Object>) subTreeKey, false));
+ }
+ }
+
+ if (nodeKeys != null) {
+ for (Object nodeKey : nodeKeys) {
+ TreeRowKey<Object> treeRowKey = (TreeRowKey<Object>) nodeKey;
+ if (treeRowKey != null && treeRowKey.depth() != 0) {
+ list.add(new RowKeyHolder(treeRowKey, true));
+ } else {
+ log.warn("Top node of the [" + treePath + "] tree cannot be re-rendered without subnodes");
+ }
+ }
+ }
+
+ return list;
+ }
+
public void encodeAjaxChildren(FacesContext context, UIComponent component,
String path, Set ids, Set renderedAreas) throws IOException {
super.encodeAjaxChildren(context, component, path, ids, renderedAreas);
@@ -389,68 +406,88 @@
writeNamespace(context, component);
List encodedAreaIds = new ArrayList();
-
+
try {
- Set ajaxKeys = tree.getAllAjaxKeys();
- if (ajaxKeys != null) {
- List sortedKeys = new ArrayList(ajaxKeys.size());
- sortedKeys.addAll(ajaxKeys);
- Collections.sort(sortedKeys, treeRowKeyComparator);
- Iterator ajaxKeysItr = sortedKeys.iterator();
- TreeRowKey lastKey = null;
- boolean nullRoot = false;
+ List<RowKeyHolder> keyHoldersList = getKeyHoldersList(
+ tree.getAllAjaxKeys(),
+ tree.getAllAjaxNodeKeys(),
+ id);
- while (!nullRoot && ajaxKeysItr.hasNext()) {
- TreeRowKey key = (TreeRowKey) ajaxKeysItr.next();
+ Collections.sort(keyHoldersList, new Comparator<RowKeyHolder>() {
- if (lastKey == null) {
- lastKey = key;
- } else {
- if (!lastKey.isSubKey(key)) {
- lastKey = key;
- } else {
- //skip nodes that's parent nodes have been rendered
- continue;
- }
- }
+ public int compare(RowKeyHolder o1, RowKeyHolder o2) {
+ int d1 = o1.rowKey == null ? 0 : o1.rowKey.depth();
+ int d2 = o2.rowKey == null ? 0 : o2.rowKey.depth();
- if (key == null || key.depth() == 0) {
- nullRoot = true;
- key = null;
+ return d1 < d2 ? -1 : (d2 > d1 ? 1 : 0);
+ }
+
+ });
+
+ List<RowKeyHolder> holders = new ArrayList<RowKeyHolder>();
+ for (RowKeyHolder holder : keyHoldersList) {
+ boolean isSubKey = false;
+
+ for (RowKeyHolder rowKeyHolder : holders) {
+ if (rowKeyHolder.rowKey == null ||
+ rowKeyHolder.rowKey.isSubKey(holder.rowKey)) {
+
+ isSubKey = true;
+ break;
}
+ }
- tree.setRowKey(context, key);
+ if (!isSubKey) {
+ holders.add(holder);
+ }
+ }
- if (key == null || tree.isRowAvailable()) {
- String treeClientId;
- if (key == null) {
- treeClientId = tree.getClientId(context);
- } else {
- treeClientId = tree.getNodeFacet().getClientId(context);
- }
+ Iterator<RowKeyHolder> ajaxKeysItr = holders.iterator();
+ while (ajaxKeysItr.hasNext()) {
+ RowKeyHolder keyHolder = ajaxKeysItr.next();
+ TreeRowKey key = keyHolder.getRowKey();
- String treeChildrenId = treeClientId + NamingContainer.SEPARATOR_CHAR + "childs";
-
- writeContent(context, tree, key);
- encodeScripts = true;
- renderedAreas.add(treeClientId);
- encodedAreaIds.add(treeClientId);
+ if (key != null && key.depth() == 0) {
+ key = null;
+ }
- renderedAreas.add(treeChildrenId);
- //encodedAreaIds.add(id+":childs");
+ tree.setRowKey(context, key);
+
+ if (key == null || tree.isRowAvailable()) {
+ String treeClientId;
+ if (key == null) {
+ treeClientId = tree.getClientId(context);
} else {
- String cid = tree.getClientId(context);
- String message = MessageFormat.format(
- "Failed to re-render tree node: {0} due to model data unavailability! " +
- "Maybe parent node should be re-rendered instead?",
- new Object[] { cid });
-
- ExternalContext externalContext = context.getExternalContext();
- externalContext.log(message);
+ treeClientId = tree.getNodeFacet().getClientId(context);
}
+
+ encodeScripts = true;
+
+ //should be added before children id
+ renderedAreas.add(treeClientId);
+
+ if (keyHolder.isNodeKey()) {
+ writeContent(context, tree, key, false);
+ } else {
+ writeContent(context, tree, key, true);
+ String treeChildrenId = treeClientId + NamingContainer.SEPARATOR_CHAR + "childs";
+ renderedAreas.add(treeChildrenId);
+ }
+
+ //add node to set of nodes refreshed by script
+ encodedAreaIds.add(treeClientId);
+ } else {
+ String cid = tree.getClientId(context);
+ String message = MessageFormat.format(
+ "Failed to re-render tree node: {0} due to model data unavailability! " +
+ "Maybe parent node should be re-rendered instead?",
+ new Object[] { cid });
+
+ ExternalContext externalContext = context.getExternalContext();
+ externalContext.log(message);
}
- //ajaxKeys.clear();
}
+ //ajaxKeys.clear();
} catch (Exception e) {
throw new FacesException(e);
} finally {
@@ -461,13 +498,9 @@
context.getExternalContext().log(e.getMessage(), e);
}
}
+
if (encodeScripts) {
writeScript(context, tree, encodedAreaIds, renderedAreas);
-
- String inputId = encodeSelectionStateInput(context, tree);
- if (inputId != null) {
- renderedAreas.add(inputId);
- }
}
responseWriter.endElement("div");
@@ -482,7 +515,7 @@
}
}
- public String encodeSelectionStateInput(FacesContext context, UITree tree) throws IOException {
+ protected String getSelectionValue(FacesContext context, UITree tree) {
String result = "";
TreeState treeState = (TreeState) tree.getComponentState();
TreeRowKey selectedNodeKey = treeState.getSelectedNode();
@@ -501,7 +534,11 @@
}
}
}
-
+
+ return result;
+ }
+
+ public String encodeSelectionStateInput(FacesContext context, UITree tree) throws IOException {
ResponseWriter writer = context.getResponseWriter();
writer.startElement("input", tree);
writer.writeAttribute("type", "hidden", null);
@@ -509,7 +546,7 @@
writer.writeAttribute("id", selectionHolderInputId, null);
writer.writeAttribute("name", selectionHolderInputId, null);
- writer.writeAttribute("value", result, null);
+ writer.writeAttribute("value", ScriptUtils.toScript(getSelectionValue(context, tree)), null);
writer.endElement("input");
return selectionHolderInputId;
@@ -555,8 +592,10 @@
writer.writeText(varName + ".getNodeElements(" +
ScriptUtils.toScript(encodedAreaIds) + ");", null);
-
-
+
+ writer.writeText(varName + ".updateSelection(" +
+ ScriptUtils.toScript(getSelectionValue(context, tree)) + ");", null);
+
writer.endElement("script");
writer.endElement("div");
@@ -570,16 +609,16 @@
public void encodeChildren(FacesContext context, UIComponent component)
throws IOException {
- writeContent(context, (UITree) component, null);
+ writeContent(context, (UITree) component, null, true);
}
public void writeContent(final FacesContext context, final UITree input)
throws IOException {
- writeContent(context, input, null);
+ writeContent(context, input, null, true);
}
public void writeContent(final FacesContext context, final UITree input,
- TreeRowKey key) throws IOException {
+ TreeRowKey key, final boolean withSubnodes) throws IOException {
// simple flag can be used here because
// we cannot jump more than one level down until next node
// when rendering
@@ -600,7 +639,7 @@
TreeRange treeRange = new TreeRange() {
public boolean processChildren(TreeRowKey rowKey) {
- return stateRange.processChildren(rowKey);
+ return withSubnodes ? stateRange.processChildren(rowKey) : false;
}
public boolean processNode(TreeRowKey rowKey) {
@@ -683,4 +722,4 @@
public void setHasChildren(boolean hasChildren) {
this.hasChildren = hasChildren;
}
-}
\ No newline at end of file
+}
Modified: trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js
===================================================================
--- trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js 2008-12-14 18:03:41 UTC (rev 11757)
+++ trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-item.js 2008-12-14 18:07:10 UTC (rev 11758)
@@ -1,13 +1,19 @@
-Tree.Item = Class.create();
+Tree.Item = Class.create(Richfaces.TreeComposite);
-Tree.Item.findComponent = function(elt) {
- while (elt && (!elt.tagName || elt.tagName.toLowerCase() != 'table')) {
- elt = elt.parentNode;
+Tree.Item.findComponent = function(elt, axisFunction) {
+ var component;
+
+ while (elt && !((component = elt.object) instanceof Tree.Item)) {
+ if (axisFunction) {
+ elt = axisFunction(elt);
+ } else {
+ elt = elt.parentNode;
+ }
}
- return elt.object;
+ return component;
};
-
+
Tree.Item.fireCollapsionEvent = function(elt) {
return Tree.Item.findComponent(elt).fireCollapsionEvent();
};
@@ -16,13 +22,57 @@
return Tree.Item.findComponent(elt).fireExpansionEvent();
};
+Tree.Item.createItemForNode = function() {
+ var getComponentIndex = function(node) {
+ var idx = 0;
+ var n = node;
+
+ while (n) {
+ if (n.object instanceof Tree.Item) {
+ idx++;
+ }
+
+ n = n.previousSibling;
+
+ };
+
+ return idx;
+ };
+
+ var findParentComponent = function(node) {
+ var n = node.parentNode;
+ if (n) {
+ n = Richfaces.previous(n);
+ }
+
+ if (n) {
+ return n.object;
+ }
+ };
+
+ return function(node, tree) {
+ var replacedNode = $(node);
+
+ var pNode = findParentComponent(replacedNode) || tree;
+ var idx = getComponentIndex(replacedNode);
+
+ var item = new Tree.Item(replacedNode, tree, true);
+
+ pNode.addChild(item, idx);
-Tree.Item.prototype = {
- initialize: function(id, tree, parent, ajaxUpdate) {
- this.parent = parent;
+ return item;
+ };
+}();
+
+Tree.Item.addMethods({
+ initialize: function($super, id, tree, ajaxUpdate) {
+ $super();
+
this.tree = tree;
this.elements = {};
+ this["rich:destructor"] = "destroy";
+
var element;
if (typeof id == 'string') {
@@ -33,9 +83,11 @@
this.id = element.id;
}
+ element.component = this;
element.object = this;
var rows = element.rows;
+ this.elements.itemElement = element;
this.elements.mainRow = rows[0];
var sibling = element.nextSibling;
@@ -50,8 +102,24 @@
var iconId = this.id + Tree.ID_DEVIDER + Tree.ID_ICON;
var textId = this.id + Tree.ID_DEVIDER + Tree.ID_TEXT;
- this.getElements(element, ajaxUpdate);
+ var childsTd = Richfaces.next(element);
+ this.createSubNodes(childsTd);
+ if (ajaxUpdate && this.tree.showConnectingLines) {
+ var cell = element.rows[0].cells[0];
+ if (cell.style && cell.style.removeExpression) {
+ cell.style.backgroundImage = cell.currentStyle.backgroundImage;
+ cell.style.removeExpression('backgroundImage');
+ }
+
+ if (childsTd) {
+ if (childsTd.style && childsTd.style.removeExpression) {
+ childsTd.style.backgroundImage = childsTd.currentStyle.backgroundImage;
+ childsTd.style.removeExpression('backgroundImage');
+ }
+ }
+ }
+
var handles = null;
var cells = this.elements.mainRow.cells;
if ("NETSCAPE" == RichFaces.navigatorType()) {
@@ -105,7 +173,7 @@
if (dropOpts) {
this.enableDropzoneCursors(dropOpts.acceptCursor, dropOpts.rejectCursor);
}
-
+
this.observeEvents();
this.previousTextClassNames = null;
@@ -114,15 +182,18 @@
},
destroy: function() {
+ this.elements = undefined;
+
+ //TODO remove check
+ if (this.parent) {
+ this.parent.removeChild(this);
+ }
+
+ this.clearChildren();
+
if (this == this.tree.selectionManager.activeItem) {
this.tree.selectionManager.activeItem = null;
}
-
- for (var i = 0; i < this.childs.length; i++) {
- this.childs[i].destroy();
- }
-
- this.childs = null;
},
observeEvents: function() {
@@ -136,7 +207,7 @@
Event.observe(this.elements.iconElement, "mouseout", this.eventMouseOut);
Event.observe(this.elements.iconElement, "mouseover", this.eventMouseOver);
if (this.onContextMenu) {
- this.elements.iconElement.oncontextmenu = this.onContextMenu;
+ Event.observe(this.elements.iconElement, "contextmenu", this.onContextMenu);
}
}
@@ -146,11 +217,11 @@
Event.observe(this.elements.textElement, "mouseout", this.eventMouseOut);
Event.observe(this.elements.textElement, "mouseover", this.eventMouseOver);
if (this.onContextMenu) {
- this.elements.textElement.oncontextmenu = this.onContextMenu;
+ Event.observe(this.elements.textElement, "contextmenu", this.onContextMenu);
}
}
- if (this.tree.switchType=="client" && this.childs.length > 0) {
+ if (this.tree.switchType=="client" && this.hasChilds()) {
this.eventCollapsionClick = this.toggleCollapsion.bindAsEventListener(this);
var handleElt = this.tree.toggleOnClick ? this.elements.mainRow : this.elements.handle;
@@ -158,50 +229,24 @@
}
},
- getElements: function(element, ajaxUpdate) {
- this.childs = [];
-
- var childsTd = element.nextSibling;
-
- if (ajaxUpdate && this.tree.showConnectingLines) {
- var cell = element.rows[0].cells[0];
- if (cell.style && cell.style.removeExpression) {
- cell.style.backgroundImage = cell.currentStyle.backgroundImage;
- cell.style.removeExpression('backgroundImage');
- }
-
- if (childsTd) {
- if (childsTd.style && childsTd.style.removeExpression) {
- childsTd.style.backgroundImage = childsTd.currentStyle.backgroundImage;
- childsTd.style.removeExpression('backgroundImage');
- }
- }
- }
-
- if (childsTd) {
- var child = childsTd.firstChild;
+ createSubNodes: function(childrenTd) {
+ if (childrenTd) {
+ var child = childrenTd.firstChild;
while ( child != null )
{
if (child.nodeType == 1 && child.tagName.toLowerCase() == "table") {
- this.addChild(new Tree.Item(child, this.tree, this));
+ if (child.object instanceof Tree.Item) {
+ var item = child.object;
+ this.addChild(item);
+ } else {
+ this.addChild(new Tree.Item(child, this.tree));
+ }
}
child = child.nextSibling;
}
- /*
- for (var i = 0; i < childsTd.childNodes.length; i++) {
- var child = childsTd.childNodes[i];
- if (child.nodeType == 1 && child.tagName.toLowerCase() == "table") {
- this.addChild(new Tree.Item(child.id, this.tree, this));
- }
- }
- */
}
},
- addChild: function(child) {
- this.childs.push(child);
- },
-
fireExpansionEvent: function() {
var props = new Object();
props[Richfaces.TreeExpandEvent] = true;
@@ -455,32 +500,26 @@
}
},
- next: function() {
- var children = this.parent.childs;
+ _nextForAxis: function(axisFunction) {
+ var item;
- for (var i = 0; i < children.length - 1; i++) {
- if (children[i] == this) {
- return children[i + 1];
- }
+ if (this.elements && this.elements.itemElement) {
+ item = Tree.Item.findComponent(axisFunction(this.elements.itemElement), axisFunction);
}
- return this;
+ return item || this;
},
+
+ next: function() {
+ return this._nextForAxis(Richfaces.next);
+ },
previous: function() {
- var children = this.parent.childs;
-
- for (var i = 1; i < children.length; i++) {
- if (children[i] == this) {
- return children[i - 1];
- }
- }
-
- return this;
+ return this._nextForAxis(Richfaces.previous);
},
hasChilds: function() {
- return this.childs.length > 0;
+ return this.childs && this.childs.length > 0;
},
getElement: function() {
@@ -490,4 +529,5 @@
isLeaf: function() {
return !this.elements.handle;
}
-}
+
+});
Modified: trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-selection.js
===================================================================
--- trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-selection.js 2008-12-14 18:03:41 UTC (rev 11757)
+++ trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree-selection.js 2008-12-14 18:07:10 UTC (rev 11758)
@@ -175,9 +175,7 @@
getPreviousItemForSelection: function(item) {
var prev = item.previous();
if (prev == item) {
- if (prev.parent == this.tree) {
- prev = item;
- } else {
+ if (item.parent != this.tree && item.parent) {
prev = item.parent;
}
} else if (!prev.isCollapsed() && prev.hasChilds()) {
Modified: trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree.js
===================================================================
--- trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree.js 2008-12-14 18:03:41 UTC (rev 11757)
+++ trunk/ui/tree/src/main/resources/org/richfaces/renderkit/html/scripts/tree.js 2008-12-14 18:07:10 UTC (rev 11758)
@@ -2,7 +2,51 @@
Richfaces.TreeExpandEvent = "Richfaces.TreeExpandEvent";
Richfaces.TreeCollapseEvent = "Richfaces.TreeCollapseEvent";
-Tree = Class.create();
+Richfaces.TreeComposite = Class.create({
+
+ parent: null,
+
+ initialize: function() {
+ this.childs = [];
+ },
+
+ removeChild: function(child) {
+ if (this.childs.length) {
+ var idx = this.childs.indexOf(child);
+ if (idx != -1) {
+ var removedChildren = this.childs.splice(idx, 1);
+ if (removedChildren) {
+ for (var i = 0; i < removedChildren.length; i++) {
+ removedChildren[i].parent = undefined;
+ }
+ }
+ }
+ }
+ },
+
+ addChild: function(child, idx) {
+ var start;
+ if (typeof idx != 'undefined') {
+ start = idx;
+ } else {
+ start = this.childs.length;
+ }
+
+ this.childs.splice(start, 0, child);
+ child.parent = this;
+ },
+
+ clearChildren: function() {
+ for (var i = 0; i < this.childs.length; i++) {
+ this.childs[i].parent = undefined;
+ }
+
+ this.childs = [];
+ }
+
+});
+
+Tree = Class.create(Richfaces.TreeComposite);
Tree.ID_DEVIDER = ":";
Tree.ID_CONTENT = "content";
Tree.ID_CHILDS_ROW = "childs";
@@ -19,8 +63,9 @@
Tree.CLASS_ITEM_COLLAPSED = "dr-tree-h-ic-line-clp";
Tree.CLASS_AJAX_SELECTED_LISTENER_FLAG = "ajax_selected_listener_flag";
-Tree.prototype = {
- initialize: function(id, input, switchType, events, onAjaxSelect, toggleOnClick, showConnectingLines) {
+Tree.addMethods({
+ initialize: function($super, id, input, switchType, events, onAjaxSelect, toggleOnClick, showConnectingLines) {
+ $super();
this.childs = [];
this.elements = {};
@@ -122,69 +167,41 @@
Tree.ID_DEVIDER + Tree.ID_CHILDS_ROW/* + Tree.ID_DEVIDER + Tree.ID_CHILDS_TD*/);
if (this.elements.contentTd) {
- for(var child = this.elements.contentTd.firstChild; child != null; child = child.nextSibling ) {
+ for(var child = this.elements.contentTd.firstChild; child != null; child = child.nextSibling ) {
if (child.nodeType == 1 && child.tagName.toLowerCase() == "table") {
- this.addChild(new Tree.Item(child, this, this, ajaxUpdate));
+ this.addChild(new Tree.Item(child, this, ajaxUpdate));
}
}
/*
for (var i = 0; i < this.elements.contentTd.childNodes.length; i++) {
var child = this.elements.contentTd.childNodes[i];
if (child.nodeType == 1 && child.tagName.toLowerCase() == "table") {
- this.addChild(new Tree.Item(child.id, this, this, this.childs.length, this.switchType, this.toggleOnClick));
+ this.addChild(new Tree.Item(child.id, this, this.childs.length, this.switchType, this.toggleOnClick));
}
}
*/
}
},
- addChild: function(child) {
- this.childs.push(child);
- },
-
getNodeElements: function(nodeIds) {
if (nodeIds) {
for (var i = 0; i < nodeIds.length; i++ ) {
var nodeId = nodeIds[i];
- if (nodeId != this.id) {
- this._getNodeElements(this, nodeId, nodeId.substring(0, nodeId.lastIndexOf('::')));
+ if (nodeId == this.id) {
+ this.clearChildren();
+ this.getElements(true);
} else {
- for (var i = 0; i < this.childs.length; i++) {
- var child = this.childs[i];
- child.destroy();
- }
-
- this.childs = [];
- this.getElements(true);
+ Tree.Item.createItemForNode(nodeId, this);
}
}
-
- //input holding selection has been refreshed
- this.input = $(this.inputId);
- this.selectionManager.restoreSelection();
}
},
-
- _getNodeElements: function(node, nodeId, sNodeId) {
- for (var i = 0; i < node.childs.length; i++) {
- var child = node.childs[i];
- var cid = child.id;
-
- if (cid == nodeId) {
- child.destroy();
- node.childs[i] = new Tree.Item(cid, this, child.parent, true);
- break;
- } else {
- var scid = cid.substring(0, cid.lastIndexOf('::'));
- if (sNodeId.substr(0, scid.length) == scid && sNodeId.charAt(scid.length) == ':') {
-
- this._getNodeElements(child, nodeId, sNodeId);
- break;
- }
- }
- }
+
+ updateSelection: function(selectedNode) {
+ this.input.value = selectedNode;
+ this.selectionManager.restoreSelection();
},
-
+
showNode: function(itemNode) {
var node = itemNode;
var offsetTopItem = 0;
@@ -206,6 +223,4 @@
getElement: function() {
return $(this.id);
}
-}
-
-
+});
\ No newline at end of file
Deleted: trunk/ui/tree/src/test/java/org/richfaces/renderkit/TreeRowKeyComparatorTest.java
===================================================================
--- trunk/ui/tree/src/test/java/org/richfaces/renderkit/TreeRowKeyComparatorTest.java 2008-12-14 18:03:41 UTC (rev 11757)
+++ trunk/ui/tree/src/test/java/org/richfaces/renderkit/TreeRowKeyComparatorTest.java 2008-12-14 18:07:10 UTC (rev 11758)
@@ -1,101 +0,0 @@
-/**
- * License Agreement.
- *
- * JBoss RichFaces - Ajax4jsf Component Library
- *
- * Copyright (C) 2007 Exadel, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-package org.richfaces.renderkit;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.Iterator;
-
-import org.richfaces.model.ListRowKey;
-
-import junit.framework.TestCase;
-
-/**
- *
- * <br /><br />
- *
- * Created 22.08.2007
- * @author Nick Belaevski
- * @since 3.1
- */
-
-public class TreeRowKeyComparatorTest extends TestCase {
-
- /* (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();
- }
-
- public void testComparator() throws Exception {
- Comparator comparator = TreeRendererBase.treeRowKeyComparator;
-
- ListRowKey emptyKey = new ListRowKey();
- ListRowKey key = new ListRowKey(new Integer(23));
- ListRowKey eqkey = new ListRowKey(new Integer(23));
- ListRowKey supKey = new ListRowKey(new ListRowKey(new Integer(23)), new Integer(34));
-
- ListRowKey predLongKey = new ListRowKey(new ListRowKey(new ListRowKey(new Integer(22)), new Integer(0)), new Integer(8));
- ListRowKey predKey = new ListRowKey(new Integer(22));
- ListRowKey predSupKey = new ListRowKey(new ListRowKey(new Integer(22)), new Integer(34));
- ListRowKey succKey = new ListRowKey(new ListRowKey(new Integer(25)), new Integer(34));
- ListRowKey succSupKey = new ListRowKey(new ListRowKey(new ListRowKey(new Integer(25)), new Integer(34)), new Integer(2));
-
- ArrayList list = new ArrayList();
- list.add(eqkey);
- list.add(succSupKey);
- list.add(succKey);
- list.add(predSupKey);
- list.add(predKey);
- list.add(supKey);
- list.add(key);
- list.add(null);
- list.add(emptyKey);
- list.add(null);
- list.add(predLongKey);
-
- Collections.sort(list, comparator);
-
- Iterator iterator = list.iterator();
- assertNull(iterator.next());
- assertNull(iterator.next());
- assertEquals(emptyKey, iterator.next());
- assertEquals(predKey, iterator.next());
- assertEquals(predLongKey, iterator.next());
- assertEquals(predSupKey, iterator.next());
- assertEquals(eqkey, iterator.next());
- assertEquals(key, iterator.next());
- assertEquals(supKey, iterator.next());
- assertEquals(succKey, iterator.next());
- assertEquals(succSupKey, iterator.next());
-
- }
-}
16 years, 9 months
JBoss Rich Faces SVN: r11757 - trunk/framework/impl/src/main/java/org/ajax4jsf/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-12-14 13:03:41 -0500 (Sun, 14 Dec 2008)
New Revision: 11757
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/component/UIDataAdaptor.java
Log:
https://jira.jboss.org/jira/browse/RF-4196
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/component/UIDataAdaptor.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/component/UIDataAdaptor.java 2008-12-14 18:03:09 UTC (rev 11756)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/component/UIDataAdaptor.java 2008-12-14 18:03:41 UTC (rev 11757)
@@ -1331,6 +1331,15 @@
}
+ protected void addAjaxKeyEvent(FacesEvent event) {
+ Object eventRowKey = getRowKey();
+ if (null != eventRowKey) {
+ this._ajaxRowKey = eventRowKey;
+ this._ajaxRowKeysMap.put(getBaseClientId(getFacesContext()),
+ eventRowKey);
+ }
+ }
+
/*
* (non-Javadoc)
*
@@ -1340,12 +1349,7 @@
if (event.getComponent() != this) {
// For Ajax events, keep row value.
if (event.getPhaseId() == PhaseId.RENDER_RESPONSE) {
- Object eventRowKey = getRowKey();
- if (null != eventRowKey) {
- this._ajaxRowKey = eventRowKey;
- this._ajaxRowKeysMap.put(getBaseClientId(getFacesContext()),
- eventRowKey);
- }
+ addAjaxKeyEvent(event);
}
event = new IndexedEvent(this, event, getRowKey());
}
16 years, 9 months
JBoss Rich Faces SVN: r11756 - trunk/framework/api/src/main/java/org/richfaces/event.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-12-14 13:03:09 -0500 (Sun, 14 Dec 2008)
New Revision: 11756
Added:
trunk/framework/api/src/main/java/org/richfaces/event/TreeAjaxEvent.java
trunk/framework/api/src/main/java/org/richfaces/event/TreeAjaxEventType.java
Log:
https://jira.jboss.org/jira/browse/RF-4196
Added: trunk/framework/api/src/main/java/org/richfaces/event/TreeAjaxEvent.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/event/TreeAjaxEvent.java (rev 0)
+++ trunk/framework/api/src/main/java/org/richfaces/event/TreeAjaxEvent.java 2008-12-14 18:03:09 UTC (rev 11756)
@@ -0,0 +1,55 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.event;
+
+import javax.faces.component.UIComponent;
+
+import org.ajax4jsf.event.AjaxEvent;
+
+/**
+ * Event send by tree component in case of AJAX of action (node expansion/collapsion or selection).
+ * Contains data to distinguish between different action types in order to support different re-rendering
+ * behaviors for particular actions.
+ *
+ * @author Nick Belaevski
+ * @since 3.3.0
+ */
+
+public class TreeAjaxEvent extends AjaxEvent {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -2410803626536767706L;
+
+ private TreeAjaxEventType eventType;
+
+ public TreeAjaxEvent(UIComponent component, TreeAjaxEventType eventType) {
+ super(component);
+
+ this.eventType = eventType;
+ }
+
+ public TreeAjaxEventType getEventType() {
+ return eventType;
+ }
+}
Added: trunk/framework/api/src/main/java/org/richfaces/event/TreeAjaxEventType.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/event/TreeAjaxEventType.java (rev 0)
+++ trunk/framework/api/src/main/java/org/richfaces/event/TreeAjaxEventType.java 2008-12-14 18:03:09 UTC (rev 11756)
@@ -0,0 +1,33 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.event;
+
+/**
+ * Types enumeration for possible tree actions to be used in {@link TreeAjaxEvent}
+ *
+ * @author Nick Belaevski
+ * @since 3.3.0
+ */
+
+public enum TreeAjaxEventType {
+ EXPANSION, SELECTION
+}
16 years, 9 months
JBoss Rich Faces SVN: r11755 - trunk/test-applications/jsp/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-12-13 10:02:19 -0500 (Sat, 13 Dec 2008)
New Revision: 11755
Modified:
trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml
Log:
correction
Modified: trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml 2008-12-13 14:59:40 UTC (rev 11754)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml 2008-12-13 15:02:19 UTC (rev 11755)
@@ -15,7 +15,7 @@
<context-param>
<param-name>org.richfaces.CONTROL_SKINNING</param-name>
- <param-value>#{skinning.skinning}#{skinning.skinningClass}</param-value>
+ <param-value>#{skinning.skinning}</param-value>
</context-param>
<context-param>
16 years, 9 months
JBoss Rich Faces SVN: r11754 - trunk/test-applications/jsp/src/main/webapp/WEB-INF.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-12-13 09:59:40 -0500 (Sat, 13 Dec 2008)
New Revision: 11754
Modified:
trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml
Log:
replace skinning and skinningClass
Modified: trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml 2008-12-12 19:09:00 UTC (rev 11753)
+++ trunk/test-applications/jsp/src/main/webapp/WEB-INF/web.xml 2008-12-13 14:59:40 UTC (rev 11754)
@@ -10,12 +10,12 @@
<context-param>
<param-name>org.richfaces.CONTROL_SKINNING_CLASSES</param-name>
- <param-value>#{skinning.skinning}</param-value>
+ <param-value>#{skinning.skinningClass}</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.CONTROL_SKINNING</param-name>
- <param-value>#{skinning.skinningClass}</param-value>
+ <param-value>#{skinning.skinning}#{skinning.skinningClass}</param-value>
</context-param>
<context-param>
@@ -176,7 +176,7 @@
<param-name>
org.apache.myfaces.CHECK_EXTENSIONS_FILTER
</param-name>
- <param-value>true</param-value>
+ <param-value>false</param-value>
</context-param>
<context-param>
@@ -213,7 +213,7 @@
<context-param>
<param-name>org.richfaces.queue.global.enabled</param-name>
- <param-value>true</param-value>
+ <param-value>false</param-value>
</context-param>
<filter>
16 years, 9 months
JBoss Rich Faces SVN: r11753 - trunk/ui/tabPanel/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: wesleyhales
Date: 2008-12-12 14:09:00 -0500 (Fri, 12 Dec 2008)
New Revision: 11753
Modified:
trunk/ui/tabPanel/src/main/resources/org/richfaces/renderkit/html/scripts/tabPanel.js
Log:
https://jira.jboss.org/jira/browse/RF-5378
Modified: trunk/ui/tabPanel/src/main/resources/org/richfaces/renderkit/html/scripts/tabPanel.js
===================================================================
--- trunk/ui/tabPanel/src/main/resources/org/richfaces/renderkit/html/scripts/tabPanel.js 2008-12-12 19:08:04 UTC (rev 11752)
+++ trunk/ui/tabPanel/src/main/resources/org/richfaces/renderkit/html/scripts/tabPanel.js 2008-12-12 19:09:00 UTC (rev 11753)
@@ -178,7 +178,8 @@
var result = func(event);
if (typeof(result) == 'boolean' && !result) return false;
}
-
+ try{
+
var tabPanel = RichFaces.tabPanel[pane];
if (tabPanel.ontabchange && tabPanel.ontabchange != "") {
@@ -186,8 +187,12 @@
var result = func(event);
if (typeof(result) == 'boolean' && !result) return false;
}
-
- }
+
+ }catch(e){
+ //todo - waiting for portal friendly code rewrite
+ }
+
+ }
return true;
}
16 years, 9 months
JBoss Rich Faces SVN: r11752 - in trunk/test-applications/seleniumTest/richfaces/src: test/java/org/richfaces/testng and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-12-12 14:08:04 -0500 (Fri, 12 Dec 2008)
New Revision: 11752
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarDataModel.java
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
RF-5235
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarDataModel.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarDataModel.java 2008-12-12 18:56:30 UTC (rev 11751)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarDataModel.java 2008-12-12 19:08:04 UTC (rev 11752)
@@ -43,11 +43,10 @@
Calendar calendar;
public CalendarDataModelItemImpl(Date date) {
- Map<String, String> data = new HashMap<String, String>();
Calendar c = Calendar.getInstance();
c.setTime(date);
day = c.get(Calendar.DAY_OF_MONTH);
- this.data = data;
+ this.data = "data" + day;
this.calendar = c;
}
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-12 18:56:30 UTC (rev 11751)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2008-12-12 19:08:04 UTC (rev 11752)
@@ -36,6 +36,7 @@
import java.util.List;
import java.util.Locale;
+import org.ajax4jsf.javascript.JSLiteral;
import org.ajax4jsf.template.Template;
import org.ajax4jsf.util.DateUtils;
import org.richfaces.AutoTester;
@@ -356,8 +357,176 @@
}
}
}
+
+
+ // Check current date str
+ private void checkCurrentDate(String date, String message) {
+ if (message == null) {
+ message = "";
+ }
+ Calendar c = Calendar.getInstance();
+ 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)))) {
+ Assert.fail(message + "Current date is invalid. Date string ["+date+"] does not contain current month");
+ }
+ if (!date.contains(String.valueOf(c.get(Calendar.DATE)))) {
+ 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)))) {
+ Assert.fail(message + "Current date is invalid. Date string ["+date+"] does not contain current day of week");
+ }
+
+
+ }
+
+ private void checkCurrentDate(Calendar c) {
+ String headerDate = getCalendarDate();
+ String expected = 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+"]");
+ }
+
+ expected = String.valueOf(c.get(Calendar.YEAR));
+ if (!headerDate.contains(expected)) {
+ Assert.fail("Calendar displays invalid date. It should contain ["+expected+"]. But was ["+headerDate+"]");
+ }
+ }
+
@Test
+ public void testJSAPI(Template template) {
+ renderPage(template, RESET_METHOD);
+ initIds(getParentId());
+
+ switchToClientMode();
+
+ Calendar c = Calendar.getInstance();
+
+ // Test getSelectedDate
+ String date = invokeFromComponent(calendarId, "getSelectedDate", null);
+ checkCurrentDate(date, "'getSelectedDate' JS API function does not work");
+ checkCurrentDate(c);
+
+ //Test 'getCurrentYear'
+ String year = invokeFromComponent(calendarId, "getCurrentYear", null);
+ String expected = String.valueOf(c.get(Calendar.YEAR));
+ if (!year.equals(expected)) {
+ Assert.fail("'getCurrentYear' JS API function does not. Expected year: ["+expected+"]. But was ["+year+"]");
+ }
+
+ //Test 'getCurrentMonth'
+ String month = invokeFromComponent(calendarId, "getCurrentMonth", null);
+ expected = String.valueOf(c.get(Calendar.MONTH));
+ if (!month.equals(expected)) {
+ Assert.fail("'getCurrentMonth' JS API function does not. Expected month: ["+expected+"]. But was ["+month+"]");
+ }
+
+
+ //Test 'nextMonth'
+ c.set(Calendar.MONTH, c.get(Calendar.MONTH) + 1);
+ invokeFromComponent(calendarId, "nextMonth", null);
+ month = invokeFromComponent(calendarId, "getCurrentMonth", null);
+ expected = String.valueOf(c.get(Calendar.MONTH));
+ if (!month.equals(expected)) {
+ Assert.fail("'nextMonth' JS API function does not. Expected month after 'nextMonth' method is ["+expected+"]. But was ["+month+"]");
+ }
+ checkCurrentDate(c);
+
+ //Test 'nextYear'
+ c = Calendar.getInstance();
+ c.set(c.get(Calendar.YEAR) + 1, c.get(Calendar.MONTH) + 1, c.get(Calendar.DATE));
+ invokeFromComponent(calendarId, "nextYear", null);
+ year = invokeFromComponent(calendarId, "getCurrentYear", null);
+ expected = String.valueOf(c.get(Calendar.YEAR));
+ if (!year.equals(expected)) {
+ Assert.fail("'nextYear' JS API function does not. Expected year after 'nextYear' method is ["+expected+"]. But was ["+year+"]");
+ }
+ checkCurrentDate(c);
+
+
+ //Test 'selectDate(date)'
+ c = Calendar.getInstance();
+ invokeFromComponent(calendarId, "selectDate", new JSLiteral("new Date()"));
+ date = invokeFromComponent(calendarId, "getSelectedDate", null);
+ checkCurrentDate(date, "'selectDate' JS API function does not work. Date should be swtiched to current date. ");
+ checkCurrentDate(c);
+
+ //Test 'prevMonth()'
+ c = Calendar.getInstance();
+ c.set(Calendar.MONTH, c.get(Calendar.MONTH) - 1);
+ invokeFromComponent(calendarId, "prevMonth", null);
+ month = invokeFromComponent(calendarId, "getCurrentMonth", null);
+ expected = String.valueOf(c.get(Calendar.MONTH));
+ if (!month.equals(expected)) {
+ Assert.fail("'prevMonth' JS API function does not. Expected month after 'prevMonth' method is ["+expected+"]. But was ["+month+"]");
+ }
+ checkCurrentDate(c);
+
+
+ //Test 'prevYear'
+ c = Calendar.getInstance();
+ c.set(c.get(Calendar.YEAR) - 1, c.get(Calendar.MONTH) - 1, c.get(Calendar.DATE));
+ invokeFromComponent(calendarId, "prevYear", null);
+ year = invokeFromComponent(calendarId, "getCurrentYear", null);
+ expected = String.valueOf(c.get(Calendar.YEAR));
+ if (!year.equals(expected)) {
+ Assert.fail("'prevYear' JS API function does not. Expected year after 'prevYear' method is ["+expected+"]. But was ["+year+"]");
+ }
+ checkCurrentDate(c);
+
+ //Test 'today'
+ c = Calendar.getInstance();
+ invokeFromComponent(calendarId, "today", null);
+ date = invokeFromComponent(calendarId, "getSelectedDate", null);
+ checkCurrentDate(date, "'today' JS API function does not work. Date should be swtiched to current date");
+ checkCurrentDate(c);
+
+ //Test 'getData'
+ c = Calendar.getInstance();
+ String data = invokeFromComponent(calendarId, "getData", new JSLiteral("new Date()"));
+ String expectedData = "data" + c.get(Calendar.DATE);
+ if (!data.equals("data" + c.get(Calendar.DATE))) {
+ Assert.fail("'getData' JS API function does not work. Expected data for current date is ["+expectedData+"]. But was ["+data+"]");
+ }
+
+ //Test 'resetSelectedDate'
+ c = Calendar.getInstance();
+ invokeFromComponent(calendarId, "resetSelectedDate", null);
+ date = selenium.getText(dateSelectionXpath);
+ if (!"".equals(date)) {
+ Assert.fail("'resetSelectedDate' JS API function does not work. Selected date should not be displayed on component footer. But was ["+date+"]");
+ }
+ date = invokeFromComponent(calendarId, "getSelectedDate", null);
+ if (!"null".equals(date)) {
+ Assert.fail("'resetSelectedDate' JS API function does not work. Selected date was not reset. Is was ["+date+"]");
+ }
+ checkCurrentDate(c);
+
+
+ //Test doCollapse()
+ setPopup(true);
+ setup();
+ showPopup(); // Show popup
+ invokeFromComponent(calendarId, "doCollapse", null); // Hide popup
+ AssertNotVisible(calendarId, "'doCollapse' does not work. Calendar popup has not been hidden");
+
+ // Test doExpand
+ invokeFromComponent(calendarId, "doExpand", null); // Show popup
+ AssertVisible(calendarId, "'doExpand' does not work. Calendar popup has not been shown");
+
+ // Test doSwitch
+ invokeFromComponent(calendarId, "doSwitch", null); // Hide popup
+ AssertNotVisible(calendarId, "'doSwitch' does not work. Calendar popup has not been hidden");
+ invokeFromComponent(calendarId, "doSwitch", null); // Show popup
+ AssertVisible(calendarId, "'doSwitch' does not work. Calendar popup has not been shown");
+
+
+ }
+
+ @Test
public void testRenderedAttribute(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
16 years, 9 months
JBoss Rich Faces SVN: r11751 - trunk/ui/toolBar/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-12-12 13:56:30 -0500 (Fri, 12 Dec 2008)
New Revision: 11751
Modified:
trunk/ui/toolBar/src/main/config/component/toolBar.xml
Log:
https://jira.jboss.org/jira/browse/RF-3861
Modified: trunk/ui/toolBar/src/main/config/component/toolBar.xml
===================================================================
--- trunk/ui/toolBar/src/main/config/component/toolBar.xml 2008-12-12 17:56:59 UTC (rev 11750)
+++ trunk/ui/toolBar/src/main/config/component/toolBar.xml 2008-12-12 18:56:30 UTC (rev 11751)
@@ -205,7 +205,6 @@
&ui_component_attributes;
&html_style_attributes;
- &html_events;
<property>
<name>onitemkeydown</name>
16 years, 9 months
JBoss Rich Faces SVN: r11750 - in trunk/test-applications/seleniumTest/richfaces/src: test/java/org/richfaces/testng and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-12-12 12:56:59 -0500 (Fri, 12 Dec 2008)
New Revision: 11750
Added:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/layoutTests.xhtml
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
https://jira.jboss.org/jira/browse/RF-5255
Added: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/layoutTests.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/layoutTests.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
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-12 17:38:13 UTC (rev 11749)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2008-12-12 17:56:59 UTC (rev 11750)
@@ -61,6 +61,8 @@
static final String BUTTON_RELATED_TEST_URL = "pages/calendar/buttonRelatedAttributesTest.xhtml";
+ static final String LAYOUT_TESTS_URL = "pages/calendar/layoutTests.xhtml";
+
static final String CONTROLS_FORM_ID = "_controls:";
static final String availableDayCellClass = "rich-calendar-cell-size rich-calendar-cell rich-calendar-btn";
@@ -1097,6 +1099,17 @@
Assert.assertTrue(msg.matches(".*" + label + ".*"), "Error message does not contain defined label: Calendar");
}
+ @Test
+ public void testInputSizeAttribute(Template template) {
+ renderPage(LAYOUT_TESTS_URL, template, null);
+ initIds(getParentId());
+
+ writeStatus("Check 'inputSize' attribute");
+ String inputSizeCalendarInputId = calendarId + "InputSizeInputDate";
+ String size = selenium.getAttribute(inputSizeCalendarInputId + "@size");
+ Assert.assertEquals(size, "15", "Input size attribute is not applied");
+ }
+
private void setPopup(boolean isPopup) {
runScript("$('" + isPopupId + "').checked=" + isPopup);
}
16 years, 9 months
JBoss Rich Faces SVN: r11749 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-12-12 12:38:13 -0500 (Fri, 12 Dec 2008)
New Revision: 11749
Modified:
trunk/docs/userguide/en/src/main/docbook/included/editor.xml
Log:
https://jira.jboss.org/jira/browse/RF-5042
added some info about events handling to the guide
Modified: trunk/docs/userguide/en/src/main/docbook/included/editor.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/editor.xml 2008-12-12 17:37:15 UTC (rev 11748)
+++ trunk/docs/userguide/en/src/main/docbook/included/editor.xml 2008-12-12 17:38:13 UTC (rev 11749)
@@ -125,12 +125,7 @@
</h:selectOneRadio>
...
...]]></programlisting>
- <para>
- Apart from the attributes that define the editor's properties there are some attributes that help handle events(custom event handlers).
- </para>
- <para>
- All custom event handlers are listed in the table of attributes and you can use them the same way as standard HTML event handlers.
- </para>
+
<para>Most configuration options that TinyMCE provides can be applied using <f:param> JSF tag.
@@ -283,6 +278,40 @@
</itemizedlist>
+ <para>
+ The implementation of the <emphasis role="bold"> <property><rich:editor></property></emphasis> component has two methods for handling
+ events.
+ </para>
+ <para>The attributes take some function name as a value with is triggered on the appropriate event. You need to use standard JavaScript function calling syntax. </para>
+
+ <itemizedlist>
+ <listitem>
+ <para>Using attributes (<property>"onchange"</property>, <property>"oninit"</property>,<property>"onsave"</property>,<property>"onsetup"</property>) </para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+
+ <programlisting role="XML"><![CDATA[...
+<rich:editor value="#{bean.editorValue}"onchange="myCustomOnChangeHandler()" ... />
+...]]></programlisting>
+
+ </listitem>
+
+ <listitem>
+ <para>Using <f:param> as a child element defining the <property>"name"</property> attribute with one of the TinyMCE's callbacks and the <property>"value"</property> attribute takes the function name you want to be called on the corresponding event as the value. Note, that the syntax in this case is a bit different: parentheses are not required. </para>
+ </listitem>
+
+
+ <programlisting role="XML"><![CDATA[...
+<rich:editor value="#{bean.editorValue}" ...>
+<f:param name="onchange" value="myCustomOnChangeHandler">
+</rich:editor>
+...]]></programlisting>
+
+
+ </itemizedlist>
+
+
<para>The <emphasis role="bold"> <property><rich:editor></property></emphasis>
component has a build-in converter that renders HTML code generated by the editor
to Seam text (you can read more Seam text <ulink url="http://docs.jboss.org/seam/1.1.5.GA/reference/en/html/text.html">here</ulink>.), it also interprets Seam text
16 years, 9 months
JBoss Rich Faces SVN: r11748 - trunk/docs/migrationguide/en/src/main/docbook.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-12-12 12:37:15 -0500 (Fri, 12 Dec 2008)
New Revision: 11748
Modified:
trunk/docs/migrationguide/en/src/main/docbook/master.xml
Log:
reverted because of a problem
Modified: trunk/docs/migrationguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/migrationguide/en/src/main/docbook/master.xml 2008-12-12 17:32:04 UTC (rev 11747)
+++ trunk/docs/migrationguide/en/src/main/docbook/master.xml 2008-12-12 17:37:15 UTC (rev 11748)
@@ -33,7 +33,7 @@
<para>
<ulink url="http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/...">PDF version</ulink>
</para>
-</abstract>
+</abstract>
</bookinfo>
@@ -58,7 +58,7 @@
Issues, related to the new components and other problems are not covered here.
However, <ulink url="http://jira.jboss.com/jira/browse/RF">Jira</ulink> contains all issues
and if you can not find your case there, please, feel free to report it.
- </para>
+ </para>
<section id="MostImportant">
<?dbhtml filename="MostImportant.html"?>
<sectioninfo>
16 years, 9 months
JBoss Rich Faces SVN: r11747 - in trunk/docs/faq: en and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: msorokin
Date: 2008-12-12 12:32:04 -0500 (Fri, 12 Dec 2008)
New Revision: 11747
Modified:
trunk/docs/faq/en/pom.xml
trunk/docs/faq/pom.xml
Log:
reverted because of a problem
Modified: trunk/docs/faq/en/pom.xml
===================================================================
--- trunk/docs/faq/en/pom.xml 2008-12-12 17:22:59 UTC (rev 11746)
+++ trunk/docs/faq/en/pom.xml 2008-12-12 17:32:04 UTC (rev 11747)
@@ -37,11 +37,6 @@
<artifactId>maven-jdocbook-plugin</artifactId>
<extensions>true</extensions>
</plugin>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-spellChecker-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
- </plugin>
<!--
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
Modified: trunk/docs/faq/pom.xml
===================================================================
--- trunk/docs/faq/pom.xml 2008-12-12 17:22:59 UTC (rev 11746)
+++ trunk/docs/faq/pom.xml 2008-12-12 17:32:04 UTC (rev 11747)
@@ -12,19 +12,7 @@
<name>FAQ</name>
<description>Frequently asked questions</description>
<pluginRepositories>
- <pluginRepository>
- <id>maven.jboss.org</id>
- <name>JBoss Repository for Maven Snapshots</name>
- <url>http://snapshots.jboss.org/maven2/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </pluginRepository>
-<pluginRepository>
+ <pluginRepository>
<releases>
<enabled>true</enabled>
</releases>
@@ -41,26 +29,6 @@
<build>
<pluginManagement>
<plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-spellChecker-plugin</artifactId>
- <version>1.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>spellChecker:check</id>
- <phase>process-resources</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <dirForScan>en/src/main/docbook</dirForScan>
- <outputDir>
- ${project.build.directory}/spellCheckerLogs
- </outputDir>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
@@ -165,7 +133,7 @@
</sourceDocumentName>
<formats>
- <!--format>
+ <format>
<formatName>pdf</formatName>
<stylesheetResource>
classpath:/xslt/org/jboss/pdf.xsl
@@ -176,7 +144,7 @@
<imagePathSettingRequired>
true
</imagePathSettingRequired>
- </format-->
+ </format>
<!--format>
<formatName>html</formatName>
<stylesheetResource>
16 years, 9 months
JBoss Rich Faces SVN: r11746 - in trunk/docs: faq and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-12-12 12:22:59 -0500 (Fri, 12 Dec 2008)
New Revision: 11746
Removed:
trunk/docs/xslt/
Modified:
trunk/docs/faq/en/pom.xml
trunk/docs/faq/pom.xml
trunk/docs/migrationguide/en/src/main/docbook/master.xml
Log:
https://jira.jboss.org/jira/browse/RF-3692 - Template Tags Refrence was added
Modified: trunk/docs/faq/en/pom.xml
===================================================================
--- trunk/docs/faq/en/pom.xml 2008-12-12 17:22:41 UTC (rev 11745)
+++ trunk/docs/faq/en/pom.xml 2008-12-12 17:22:59 UTC (rev 11746)
@@ -37,6 +37,11 @@
<artifactId>maven-jdocbook-plugin</artifactId>
<extensions>true</extensions>
</plugin>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-spellChecker-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </plugin>
<!--
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
Modified: trunk/docs/faq/pom.xml
===================================================================
--- trunk/docs/faq/pom.xml 2008-12-12 17:22:41 UTC (rev 11745)
+++ trunk/docs/faq/pom.xml 2008-12-12 17:22:59 UTC (rev 11746)
@@ -12,7 +12,19 @@
<name>FAQ</name>
<description>Frequently asked questions</description>
<pluginRepositories>
- <pluginRepository>
+ <pluginRepository>
+ <id>maven.jboss.org</id>
+ <name>JBoss Repository for Maven Snapshots</name>
+ <url>http://snapshots.jboss.org/maven2/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>always</updatePolicy>
+ </snapshots>
+ </pluginRepository>
+<pluginRepository>
<releases>
<enabled>true</enabled>
</releases>
@@ -29,6 +41,26 @@
<build>
<pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-spellChecker-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>spellChecker:check</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <dirForScan>en/src/main/docbook</dirForScan>
+ <outputDir>
+ ${project.build.directory}/spellCheckerLogs
+ </outputDir>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
@@ -133,7 +165,7 @@
</sourceDocumentName>
<formats>
- <format>
+ <!--format>
<formatName>pdf</formatName>
<stylesheetResource>
classpath:/xslt/org/jboss/pdf.xsl
@@ -144,7 +176,7 @@
<imagePathSettingRequired>
true
</imagePathSettingRequired>
- </format>
+ </format-->
<!--format>
<formatName>html</formatName>
<stylesheetResource>
Modified: trunk/docs/migrationguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/migrationguide/en/src/main/docbook/master.xml 2008-12-12 17:22:41 UTC (rev 11745)
+++ trunk/docs/migrationguide/en/src/main/docbook/master.xml 2008-12-12 17:22:59 UTC (rev 11746)
@@ -33,7 +33,7 @@
<para>
<ulink url="http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/...">PDF version</ulink>
</para>
-</abstract>
+</abstract>
</bookinfo>
@@ -58,7 +58,7 @@
Issues, related to the new components and other problems are not covered here.
However, <ulink url="http://jira.jboss.com/jira/browse/RF">Jira</ulink> contains all issues
and if you can not find your case there, please, feel free to report it.
- </para>
+ </para>
<section id="MostImportant">
<?dbhtml filename="MostImportant.html"?>
<sectioninfo>
16 years, 9 months
JBoss Rich Faces SVN: r11745 - in trunk/docs/cdkguide/en/src/main/docbook: modules and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: artdaw
Date: 2008-12-12 12:22:41 -0500 (Fri, 12 Dec 2008)
New Revision: 11745
Added:
trunk/docs/cdkguide/en/src/main/docbook/tags/
trunk/docs/cdkguide/en/src/main/docbook/tags/cif.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/fclientId.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/finsert.xml
trunk/docs/cdkguide/en/src/main/docbook/tags/forEach.xml
Removed:
trunk/docs/cdkguide/en/src/main/docbook/modules/temptags.xml
Modified:
trunk/docs/cdkguide/en/src/main/docbook/master.xml
Log:
https://jira.jboss.org/jira/browse/RF-3692 - Template Tags Refrence was added
Modified: trunk/docs/cdkguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-12-12 17:14:23 UTC (rev 11744)
+++ trunk/docs/cdkguide/en/src/main/docbook/master.xml 2008-12-12 17:22:41 UTC (rev 11745)
@@ -11,8 +11,8 @@
<!ENTITY ide SYSTEM "modules/ide.xml">
<!ENTITY ref SYSTEM "modules/ref.xml">
<!ENTITY test SYSTEM "modules/test.xml">
-<!ENTITY temptags SYSTEM "modules/temptags.xml">
+
<!ENTITY pcreate SYSTEM "includes/pcreate.xml">
<!ENTITY ccreate SYSTEM "includes/ccreate.xml">
<!ENTITY ui SYSTEM "includes/ui.xml">
@@ -24,7 +24,14 @@
<!ENTITY taghandler SYSTEM "includes/taghandler.xml">
<!ENTITY rendererbase SYSTEM "includes/rendererbase.xml">
<!--Check the links page -->
-<!ENTITY links SYSTEM "modules/links.xml">
+<!ENTITY links SYSTEM "modules/links.xml">
+
+<!ENTITY forEach SYSTEM "tags/forEach.xml">
+<!ENTITY cif SYSTEM "tags/cif.xml">
+<!ENTITY cset SYSTEM "tags/cset.xml">
+<!ENTITY fattribute SYSTEM "tags/fattribute.xml">
+<!ENTITY finsert SYSTEM "tags/finsert.xml">
+<!ENTITY fclientId SYSTEM "tags/fclientId.xml">
]>
<book>
@@ -175,4 +182,24 @@
<title>Button component development</title>
<para> Work in progress... </para>
- </chapter> &ide; &namingconv; &ref; &temptags; </book>
+ </chapter> &ide; &namingconv; &ref;
+
+ <chapter id="temptags" xreflabel="temptags">
+ <?dbhtml filename="temptags.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>template</keyword>
+ <keyword>CDK</keyword>
+ <keyword>Guide</keyword>
+ </keywordset>
+ </chapterinfo>
+<title>Template tags overview</title>
+
+&forEach;
+&cif;
+&cset;
+&fattribute;
+&finsert;
+&fclientId;
+</chapter>
+ </book>
Deleted: trunk/docs/cdkguide/en/src/main/docbook/modules/temptags.xml
===================================================================
--- trunk/docs/cdkguide/en/src/main/docbook/modules/temptags.xml 2008-12-12 17:14:23 UTC (rev 11744)
+++ trunk/docs/cdkguide/en/src/main/docbook/modules/temptags.xml 2008-12-12 17:22:41 UTC (rev 11745)
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<chapter id="temptags" xreflabel="temptags">
- <?dbhtml filename="temptags.html"?>
- <chapterinfo>
- <keywordset>
- <keyword>template</keyword>
- <keyword>CDK</keyword>
- <keyword>Guide</keyword>
- </keywordset>
- </chapterinfo>
-
-<title>Template tags overview</title>
- <para>
- Work in progress...
- </para>
-
-</chapter>
\ No newline at end of file
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-12 17:22:41 UTC (rev 11745)
@@ -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/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-12 17:22:41 UTC (rev 11745)
@@ -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-12 17:22:41 UTC (rev 11745)
@@ -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/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-12 17:22:41 UTC (rev 11745)
@@ -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/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-12 17:22:41 UTC (rev 11745)
@@ -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-12 17:22:41 UTC (rev 11745)
@@ -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
+ *
16 years, 9 months
JBoss Rich Faces SVN: r11744 - in trunk/test-applications/seleniumTest/richfaces/src: main/webapp/pages/calendar and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-12-12 12:14:23 -0500 (Fri, 12 Dec 2008)
New Revision: 11744
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarTestBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/calendarTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
https://jira.jboss.org/jira/browse/RF-5256
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarTestBean.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarTestBean.java 2008-12-12 15:12:45 UTC (rev 11743)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/CalendarTestBean.java 2008-12-12 17:14:23 UTC (rev 11744)
@@ -225,6 +225,7 @@
currentDate = new Date();
locale = Locale.US;
required = false;
+ enableManualInput = false;
}
public String resetAction() {
@@ -502,4 +503,22 @@
isPopup = false;
}
+ private boolean enableManualInput;
+
+ /**
+ * Gets value of enableManualInput field.
+ * @return value of enableManualInput field
+ */
+ public boolean isEnableManualInput() {
+ return enableManualInput;
+ }
+
+ /**
+ * Set a new value for enableManualInput field.
+ * @param enableManualInput a new value for enableManualInput field
+ */
+ public void setEnableManualInput(boolean enableManualInput) {
+ this.enableManualInput = enableManualInput;
+ }
+
}
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/calendar/calendarTest.xhtml
===================================================================
(Binary files differ)
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2008-12-12 15:12:45 UTC (rev 11743)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2008-12-12 17:14:23 UTC (rev 11744)
@@ -354,14 +354,14 @@
}
}
}
-
+
@Test
public void testRenderedAttribute(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
tester.testRendered();
}
-
+
@Test
public void testInternationalization(Template template) {
renderPage(template, RESET_METHOD);
@@ -378,16 +378,16 @@
testWeekDays();
}
-
+
@Test
- public void testLinitToListAttribute(Template template) {
+ public void testLimitToListAttribute(Template template) {
AutoTester tester = getAutoTester(this);
tester.renderPage(template, RESET_METHOD);
calendarId = tester.getClientId(AutoTester.COMPONENT_ID, template);
calendarHeaderId = calendarId + "Header";
tester.testLimitToList();
}
-
+
@Test
public void testReRenderAttribute(Template template) {
AutoTester tester = getAutoTester(this);
@@ -413,7 +413,7 @@
calendarId = tester.getClientId(AutoTester.COMPONENT_ID, template);
tester.testValidatorAndValidatorMessageAttributes();
}
-
+
@Test
public void testClientMode(Template template) {
renderPage(template, RESET_METHOD);
@@ -1082,6 +1082,21 @@
ajaxSetup();
}
+ @Test
+ public void testLabelAttribute(Template template) {
+ renderPage(template, null);
+ initIds(getParentId());
+
+ String label = "Calendar";
+ writeStatus("Check 'label' attribute");
+
+ writeStatus("Set calendar input to something low-recalling date. Error message shown up has to be peppered with given label (Calendar)");
+ setValueById(inputDateId, "imnotdatetrustme");
+ clickAjaxCommandAndWait(ajaxSubmitId);
+ String msg = selenium.getText(calendarMessageId);
+ Assert.assertTrue(msg.matches(".*" + label + ".*"), "Error message does not contain defined label: Calendar");
+ }
+
private void setPopup(boolean isPopup) {
runScript("$('" + isPopupId + "').checked=" + isPopup);
}
16 years, 9 months
JBoss Rich Faces SVN: r11743 - in trunk/samples/richfaces-demo/src/main: webapp/richfaces/editor/examples and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: ilya_shaikovsky
Date: 2008-12-12 10:12:45 -0500 (Fri, 12 Dec 2008)
New Revision: 11743
Modified:
trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/editor/EditorBean.java
trunk/samples/richfaces-demo/src/main/webapp/richfaces/editor/examples/editor.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue/examples/queue.xhtml
trunk/samples/richfaces-demo/src/main/webapp/scripts/queueUi.js
Log:
queue demo updated
editor seam usage support demo started.
Modified: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/editor/EditorBean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/editor/EditorBean.java 2008-12-12 15:04:06 UTC (rev 11742)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/editor/EditorBean.java 2008-12-12 15:12:45 UTC (rev 11743)
@@ -11,6 +11,7 @@
private String viewMode = "visual";
private String value;
private boolean liveUpdatesEnabled=false;
+ private boolean useSeamText=false;
private static final String CONFIGS_PACKAGE = "/org/richfaces/demo/editor/";
List<SelectItem> configurations = new ArrayList<SelectItem>();
@@ -55,6 +56,14 @@
public void setLiveUpdatesEnabled(boolean liveUpdatesEnabled) {
this.liveUpdatesEnabled = liveUpdatesEnabled;
}
+
+ public boolean isUseSeamText() {
+ return useSeamText;
+ }
+
+ public void setUseSeamText(boolean useSeamText) {
+ this.useSeamText = useSeamText;
+ }
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/editor/examples/editor.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/editor/examples/editor.xhtml 2008-12-12 15:04:06 UTC (rev 11742)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/editor/examples/editor.xhtml 2008-12-12 15:12:45 UTC (rev 11743)
@@ -8,6 +8,10 @@
.column{
width:50%;
vertical-align:top;
+ }
+ .pbody{
+ height:200px;
+ overflow:auto;
}
</style>
<h:form>
@@ -34,6 +38,10 @@
</h:selectOneRadio>
<h:outputText value="Toggle Preview: " />
<h:selectBooleanCheckbox value="#{editorBean.liveUpdatesEnabled}" >
+ <a4j:support event="onchange" reRender="result"/>
+ </h:selectBooleanCheckbox>
+ <h:outputText value="Use Seam Text Format:"/>
+ <h:selectBooleanCheckbox value="#{editorBean.useSeamText}" >
<a4j:support event="onchange" reRender="editor, result"/>
</h:selectBooleanCheckbox>
</h:panelGrid>
@@ -41,7 +49,7 @@
</h:panelGrid>
<a4j:outputPanel layout="block" id="result">
- <rich:panel rendered="#{editorBean.liveUpdatesEnabled}">
+ <rich:panel rendered="#{editorBean.liveUpdatesEnabled}" bodyClass="pbody">
<f:facet name="header">
<h:outputText value="Preview"/>
</f:facet>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue/examples/queue.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue/examples/queue.xhtml 2008-12-12 15:04:06 UTC (rev 11742)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/queue/examples/queue.xhtml 2008-12-12 15:12:45 UTC (rev 11743)
@@ -8,7 +8,7 @@
<a4j:loadScript src="/scripts/queueUi.js"/>
<a4j:loadStyle src="/css/queueStylesheet.js"/>
<h:form id="form1" prependId="false">
- <a4j:queue />
+ <a4j:queue requestDelay="1000" ignoreDupResponce="true"/>
<h:panelGrid columns="2" cellspacing="5">
<h:panelGrid id="board1" columns="6" border="1">
@@ -22,7 +22,7 @@
style="height:50px;width:50px;"
onclick="buttonpush('_#{i}');"
oncomplete="buttonpop('_#{i}');"
- actionListener="#{mojarraBean.process}" />
+ actionListener="#{mojarraBean.process}" value="submit"/>
<h:panelGrid cellpadding="5">
<h:outputText value="#{i}" style="font-weight:bold"/>
</h:panelGrid>
Modified: trunk/samples/richfaces-demo/src/main/webapp/scripts/queueUi.js
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/scripts/queueUi.js 2008-12-12 15:04:06 UTC (rev 11742)
+++ trunk/samples/richfaces-demo/src/main/webapp/scripts/queueUi.js 2008-12-12 15:12:45 UTC (rev 11743)
@@ -1,16 +1,25 @@
var disabledImage = 'queue/examples/resources/button3.gif';
var enabledImage = 'queue/examples/resources/button2.gif';
+var lastButtonActivated;
+var lastButtonCounter;
function buttonpush(buttonName) {
var button = document.getElementById(buttonName);
- if (!button.disabled) {
+ var txt = document.createTextNode(buttonName);
+ if (button.value=='submit') {
button.src = disabledImage;
- button.disabled = true;
+ button.value = 'progress';
}
- var txt = document.createTextNode(buttonName);
- addCell(txt);
+ if ((typeof lastButtonActivated=='undefined')||(lastButtonActivated.nodeValue != txt.nodeValue)){
+ lastButtonActivated=txt;
+ lastButtonCounter=1;
+ addCell(txt);
+ }
+ else{
+ changeCounterInCell(txt,++lastButtonCounter);
+ }
}
-
+
function buttonpop(buttonName) {
var txt = document.createTextNode(buttonName);
removeCell(txt);
@@ -19,20 +28,29 @@
function addCell(cellData) {
var cell = document.getElementById("tr1").insertCell(0);
cell.setAttribute("height", "50px");
- cell.setAttribute("width", "50px");
- cell.innerHTML = cellData.nodeValue;
+ cell.setAttribute("width", "50px");
+ cell.innerHTML = cellData.nodeValue + '(1)';
cell.className = "queueCell";
}
+function changeCounterInCell(cellData, counter){
+ var row = document.getElementById("tr1");
+ var cells = row.getElementsByTagName("td");
+ cells[0].innerHTML=cellData.nodeValue + '(' + counter + ')';
+}
function removeCell(cellData) {
var row = document.getElementById("tr1");
var cells = row.getElementsByTagName("td");
+ if (cells.length==1) {
+ lastButtonActivated=undefined;
+ lastButtonCounter=undefined;
+ }
if (typeof cells != 'undefined' || cells != null) {
for (var i=0; i<cells.length; i++) {
- if (cells[i].firstChild.nodeValue == cellData.nodeValue) {
+ if (cells[i].firstChild.nodeValue.indexOf(cellData.nodeValue)==0) {
row.deleteCell(i);
var button = document.getElementById(cellData.nodeValue);
- button.disabled = false;
+ button.value = 'submit';
button.src = enabledImage;
break;
}
16 years, 9 months
JBoss Rich Faces SVN: r11742 - trunk/ui/beanValidator/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-12-12 10:04:06 -0500 (Fri, 12 Dec 2008)
New Revision: 11742
Modified:
trunk/ui/beanValidator/src/main/config/component/beanValidator.xml
Log:
RF-3903: Describing attributes for <rich:graphValidator> and editing images
Modified: trunk/ui/beanValidator/src/main/config/component/beanValidator.xml
===================================================================
--- trunk/ui/beanValidator/src/main/config/component/beanValidator.xml 2008-12-12 15:02:32 UTC (rev 11741)
+++ trunk/ui/beanValidator/src/main/config/component/beanValidator.xml 2008-12-12 15:04:06 UTC (rev 11742)
@@ -2,6 +2,8 @@
<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN" "http://labs.jboss.com/jbossrichfaces/component-config.dtd">
<components>
+
+<!--AJAX VALIDATOR-->
<component>
<name>org.richfaces.BeanValidator</name>
<family>org.richfaces.BeanValidator</family>
@@ -91,6 +93,9 @@
<name>submitted</name>
</property>
</component>
+
+
+ <!--GRAPH VALIDATOR-->
<component>
<name>org.richfaces.GraphValidator</name>
<family>org.richfaces.GraphValidator</family>
@@ -118,7 +123,34 @@
<property hidden="true">
<name>rendered</name>
</property>
+
+ <property >
+ <name>profile</name>
+
+ <description>
+ This attribute is reserved till the implementation of JavaBean Validation feature (JSR-303).
+ </description>
+ </property>
+
+ <property exist="true">
+ <name>summary</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Summary message for a validation errors.
+ </description>
+ </property>
+
+ <property exist="true">
+ <name>value</name>
+ <classname>java.lang.Object</classname>
+ <description>
+ The current value for this component.
+ </description>
+ </property>
</component>
+
+
+ <!--BEAN VALIDATOR-->
<validator generate="false">
<id>org.richfaces.BeanValidator</id>
<classname>
16 years, 9 months
JBoss Rich Faces SVN: r11741 - trunk/ui/editor/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: alevkovsky
Date: 2008-12-12 10:02:32 -0500 (Fri, 12 Dec 2008)
New Revision: 11741
Modified:
trunk/ui/editor/src/main/java/org/richfaces/renderkit/EditorRendererBase.java
Log:
https://jira.jboss.org/jira/browse/RF-5325
Modified: trunk/ui/editor/src/main/java/org/richfaces/renderkit/EditorRendererBase.java
===================================================================
--- trunk/ui/editor/src/main/java/org/richfaces/renderkit/EditorRendererBase.java 2008-12-12 14:59:27 UTC (rev 11740)
+++ trunk/ui/editor/src/main/java/org/richfaces/renderkit/EditorRendererBase.java 2008-12-12 15:02:32 UTC (rev 11741)
@@ -331,7 +331,7 @@
}
if (component.getOnsave() != null && component.getOnsave().length() > 0) {
writer.writeText(
- "tinyMceParams.save_callback = function (event, element_id, html, body) {\n"
+ "tinyMceParams.save_callback = function (event, element_id, html, body) {\n return "
+ component.getOnsave() + "\n" + "};\n", null);
}
if (component.getOnchange() != null
16 years, 9 months
JBoss Rich Faces SVN: r11740 - trunk/docs/userguide/en/src/main/resources/images.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-12-12 09:59:27 -0500 (Fri, 12 Dec 2008)
New Revision: 11740
Modified:
trunk/docs/userguide/en/src/main/resources/images/graphValidator11.png
trunk/docs/userguide/en/src/main/resources/images/graphValidator12.png
Log:
RF-3903: Describing attributes for <rich:graphValidator> and editing images
Modified: trunk/docs/userguide/en/src/main/resources/images/graphValidator11.png
===================================================================
(Binary files differ)
Modified: trunk/docs/userguide/en/src/main/resources/images/graphValidator12.png
===================================================================
(Binary files differ)
16 years, 9 months
JBoss Rich Faces SVN: r11739 - in trunk/ui: editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-12-12 09:58:14 -0500 (Fri, 12 Dec 2008)
New Revision: 11739
Modified:
trunk/ui/assembly/pom.xml
trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js
Log:
https://jira.jboss.org/jira/browse/RF-5058
Modified: trunk/ui/assembly/pom.xml
===================================================================
--- trunk/ui/assembly/pom.xml 2008-12-12 14:54:12 UTC (rev 11738)
+++ trunk/ui/assembly/pom.xml 2008-12-12 14:58:14 UTC (rev 11739)
@@ -203,6 +203,13 @@
${project.build.directory}/compressed/org/richfaces/renderkit/html/scripts/common-scrollable-data-table-min.js
</include>
+ <include>
+ ${project.build.directory}/compressed/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src-min.js
+ </include>
+ <include>
+ ${project.build.directory}/compressed/org/richfaces/renderkit/html/scripts/editor-min.js
+ </include>
+
<include>**/*-min.js</include>
</includes>
<!-- files to exclude, path relative to output's directory -->
@@ -215,15 +222,10 @@
-->
<!-- rich:editor configuration -->
+
<exclude>**/tiny_mce/**</exclude>
- <exclude>**/editor-min.js</exclude>
+ <!--exclude>**/editor-min.js</exclude-->
- <!-- include>
- ${project.build.directory}/compressed/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src-min.js
- </include>
- <include>
- ${project.build.directory}/compressed/org/richfaces/renderkit/html/scripts/editor-min.js
- </include -->
<!-- -->
<exclude>**/scriptaculo*</exclude>
Modified: trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js
===================================================================
--- trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js 2008-12-12 14:54:12 UTC (rev 11738)
+++ trunk/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/tiny_mce/tiny_mce_src.js 2008-12-12 14:58:14 UTC (rev 11739)
@@ -42,14 +42,20 @@
}
function getBase(n) {
- if (n.src && /tiny_mce(|_dev|_src|_gzip|_jquery|_prototype).js/.test(n.src)) {
- if (/_(src|dev)\.js/g.test(n.src))
+
+ //RF: added by PY
+ var local_src = n.src.replace("/org/richfaces/ui.pack.js", "scripts/tiny_mce/tiny_mce_src.js");
+ //RF: end
+
+ //RF: changed "n.src" to "local_src" by PY
+ if (local_src && /tiny_mce(|_dev|_src|_gzip|_jquery|_prototype).js/.test(local_src)) {
+ if (/_(src|dev)\.js/g.test(local_src))
t.suffix = '_src';
- if ((p = n.src.indexOf('?')) != -1)
- t.query = n.src.substring(p + 1);
+ if ((p = local_src.indexOf('?')) != -1)
+ t.query = local_src.substring(p + 1);
- t.baseURL = n.src.substring(0, n.src.lastIndexOf('/'));
+ t.baseURL = local_src.substring(0, local_src.lastIndexOf('/'));
// If path to script is relative and a base href was found add that one infront
if (base && t.baseURL.indexOf('://') == -1)
@@ -57,6 +63,7 @@
return t.baseURL;
}
+ //RF: end
return null;
};
16 years, 9 months
JBoss Rich Faces SVN: r11738 - trunk/test-applications/seleniumTest/richfaces/src/test/testng/hudson.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2008-12-12 09:54:12 -0500 (Fri, 12 Dec 2008)
New Revision: 11738
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/testng/hudson/testng.xml
Log:
RF-5197
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/testng/hudson/testng.xml
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/testng/hudson/testng.xml 2008-12-12 14:36:33 UTC (rev 11737)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/testng/hudson/testng.xml 2008-12-12 14:54:12 UTC (rev 11738)
@@ -1,6 +1,6 @@
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="seleniumTestAANe">
- <test name="all_all_neko">
+ <!--test name="all_all_neko">
<parameter name="browser" value="*firefox"/>
<parameter name="loadStyleStrategy" value="ALL"/>
<parameter name="loadScriptStrategy" value="ALL"/>
@@ -8,7 +8,7 @@
<packages>
<package name="org.richfaces.testng" />
</packages>
- </test>
+ </test-->
<test name="all_all_none">
<parameter name="browser" value="*firefox"/>
<parameter name="loadStyleStrategy" value="ALL"/>
@@ -18,7 +18,7 @@
<package name="org.richfaces.testng" />
</packages>
</test>
- <test name="all_all_tidy">
+ <!--test name="all_all_tidy">
<parameter name="loadStyleStrategy" value="ALL"/>
<parameter name="loadScriptStrategy" value="ALL"/>
<parameter name="filterPrefix" value="/faces/TIDY/"/>
@@ -80,7 +80,7 @@
<packages>
<package name="org.richfaces.testng" />
</packages>
- </test>
+ </test-->
<test name="default_default_neko">
<parameter name="browser" value="*firefox"/>
<parameter name="loadStyleStrategy" value="DEFAULT"/>
16 years, 9 months
JBoss Rich Faces SVN: r11737 - in trunk/test-applications/seleniumTest/richfaces/src: main/webapp/pages/message and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alevkovsky
Date: 2008-12-12 09:36:33 -0500 (Fri, 12 Dec 2008)
New Revision: 11737
Added:
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/message/testMessagesWithGlobalOnlyAttribute.xhtml
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MessageBean2.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/message/messagesBase.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/MessagesTest.java
Log:
https://jira.jboss.org/jira/browse/RF-5302
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MessageBean2.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MessageBean2.java 2008-12-12 12:02:10 UTC (rev 11736)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/MessageBean2.java 2008-12-12 14:36:33 UTC (rev 11737)
@@ -11,6 +11,10 @@
private String string;
+ private String string2;
+
+ private String string3;
+
private Boolean rendered;
private Boolean showDetail;
@@ -25,12 +29,22 @@
public void init() {
string = "something";
+ string2 = "something2";
+ string3 = "something3";
rendered = true;
showDetail = true;
showSummary = false;
ajaxRendered = false;
}
+ public String addGlobalMessage() {
+ FacesContext.getCurrentInstance().addMessage(
+ null,
+ new FacesMessage(FacesMessage.SEVERITY_INFO, "globalMessageSummary",
+ "globalMessageDetail"));
+ return null;
+ }
+
public void validate(FacesContext context, UIComponent component,
Object value) throws ValidatorException {
Severity severity = null;
@@ -88,5 +102,33 @@
public Boolean getAjaxRendered() {
return ajaxRendered;
}
+
+ /**
+ * @return the string2
+ */
+ public String getString2() {
+ return string2;
+ }
+
+ /**
+ * @param string2 the string2 to set
+ */
+ public void setString2(String string2) {
+ this.string2 = string2;
+ }
+
+ /**
+ * @return the string3
+ */
+ public String getString3() {
+ return string3;
+ }
+
+ /**
+ * @param string3 the string3 to set
+ */
+ public void setString3(String string3) {
+ this.string3 = string3;
+ }
}
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/message/messagesBase.xhtml
===================================================================
(Binary files differ)
Added: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/message/testMessagesWithGlobalOnlyAttribute.xhtml
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/message/testMessagesWithGlobalOnlyAttribute.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Modified: trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/MessagesTest.java
===================================================================
--- trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/MessagesTest.java 2008-12-12 12:02:10 UTC (rev 11736)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/MessagesTest.java 2008-12-12 14:36:33 UTC (rev 11737)
@@ -8,6 +8,7 @@
private static String TEST_MORE_THAN_ONE_MESSAGE = "pages/message/testMoreThanOneMessage.xhtml";
private static String TEST_MESSAGES_WITH_FOR_ATTRIBUTE = "pages/message/testMessagesWithForAttribute.xhtml";
+ private static String TEST_MESSAGES_GLOBAL_ONLY_ATTRIBUTE = "pages/message/testMessagesWithGlobalOnlyAttribute.xhtml";
@Override
protected void init(Template template) {
@@ -71,4 +72,33 @@
AssertNotPresent(mainForm + ":fatalMarker");
AssertNotPresent(mainForm + ":errorMarker");
}
+
+ @Test
+ public void testMessagesGlobalOnlyAttribute(Template template) {
+ init(template, TEST_MESSAGES_GLOBAL_ONLY_ATTRIBUTE);
+
+ AssertNotPresent(mainForm + ":fatalMarker");
+ AssertNotPresent(mainForm + ":errorMarker");
+ AssertNotPresent(mainForm + ":warnMarker");
+ AssertNotPresent(mainForm + ":infoMarker");
+
+ clickAjaxCommandAndWait(mainForm + ":invalidate");
+
+ AssertNotPresent(mainForm + ":fatalMarker");
+ AssertNotPresent(mainForm + ":errorMarker");
+ AssertNotPresent(mainForm + ":warnMarker");
+ AssertPresent(mainForm + ":infoMarker");
+ Assert.assertEquals("globalMessageSummary", selenium.getText("xpath=id('" + message + "')/dt[1]/span[2]"));
+
+ selenium.type(inputText, "fatal");
+ selenium.type(inputText + "2", "");
+ selenium.type(inputText + "3", "");
+
+ clickAjaxCommandAndWait(mainForm + ":submitWithoutReRender");
+
+ AssertNotPresent(mainForm + ":fatalMarker");
+ AssertNotPresent(mainForm + ":errorMarker");
+ AssertNotPresent(mainForm + ":warnMarker");
+ AssertNotPresent(mainForm + ":infoMarker");
+ }
}
16 years, 9 months
JBoss Rich Faces SVN: r11736 - trunk/cdk/generator/src/main/resources/META-INF/schema/entities.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-12-12 07:02:10 -0500 (Fri, 12 Dec 2008)
New Revision: 11736
Modified:
trunk/cdk/generator/src/main/resources/META-INF/schema/entities/dropzone_attributes.ent
Log:
RF-5219: dropSupport: typeMapping attribute have wrong description.
Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/dropzone_attributes.ent
===================================================================
--- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/dropzone_attributes.ent 2008-12-12 12:00:37 UTC (rev 11735)
+++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/dropzone_attributes.ent 2008-12-12 12:02:10 UTC (rev 11736)
@@ -7,7 +7,7 @@
<property>
<name>typeMapping</name>
<classname>java.lang.Object</classname>
- <description><![CDATA[Map between a draggable type and an indicator name on zone. it's defined with the pair (drag type:indicator name))]]></description>
+ <description><![CDATA[The attribute associates a type of dragable zone (dragType) with <rich:dndParam> defined for <rich:dropSupport> for passing parameter value to <rich:dragIndicator>. It uses JSON format: (drag_type: parameter_name).]]></description>
<!-- <defaultvalue><![CDATA[]]></defaultvalue> -->
</property>
<property>
16 years, 9 months
JBoss Rich Faces SVN: r11735 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: atsebro
Date: 2008-12-12 07:00:37 -0500 (Fri, 12 Dec 2008)
New Revision: 11735
Modified:
trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml
Log:
RF-5219: dropSupport: typeMapping attribute have wrong description.
Modified: trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml 2008-12-12 11:52:46 UTC (rev 11734)
+++ trunk/docs/userguide/en/src/main/docbook/included/dropSupport.xml 2008-12-12 12:00:37 UTC (rev 11735)
@@ -95,66 +95,68 @@
<section>
<title>Details of Usage</title>
- <para>
- As shown in the example, the key attribute for
- <emphasis role="bold">
- <property><rich:dropSupport></property>
- </emphasis>
- is
- <emphasis>
- <property>"acceptedTypes"</property>
- </emphasis>
- . This attribute defines the types of draggable items that
- can be dropped onto the designated drop zone.
+ <para>The key attribute for <emphasis role="bold"><property><rich:dropSupport></property></emphasis> is <emphasis><property>"acceptedTypes"</property></emphasis>.
+ It defines, which types of dragable items (zones) could be accepted by the current drop zone. Check the example below:
</para>
-
- <para>
- The second most important attribute for
- <emphasis role="bold">
- <property><rich:dropSupport></property>
- </emphasis>
- is
- <emphasis>
- <property>"typeMapping"</property>
- </emphasis>
- . This attribute maps a specific type among the acceptable
- types for draggable items to a specific
- <emphasis role="bold">
- <property><rich:dndParam></property>
- </emphasis>
- child element under
- <emphasis role="bold">
- <property><rich:dropSupport></property>
- </emphasis>
- .
- </para>
-
-
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
-
- <programlisting role="XML"><![CDATA[...
- <rich:dropSupport acceptedTypes="[iconsDragged, textDragged]" typeMapping="{iconsDragged: DropIcon}">
- <rich:dndParam name="DropIcon">
- <h:graphicImage value="/images/drop-icon.png"/>
- </rich:dndParam>
+ <programlisting role="XML"><![CDATA[...
+<rich:panel styleClass="dropTargetPanel">
+ <f:facet name="header">
+ <h:outputText value="PHP Frameworks" />
+ </f:facet>
+
+ <rich:dropSupport id="php" acceptedTypes="PHP" dropValue="PHP" dropListener="#{eventBean.processDrop}" reRender="phptable, src">
+ </rich:dropSupport>
+ ...
+</rich:panel>
...
]]></programlisting>
+ <para>and here is what happens on the page:</para>
+ <figure>
+ <title>Drop zone accepts dragable item with "PHP" type only</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/dropSupport1.png" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para><emphasis><property>"typeMapping"</property></emphasis>. Previous example shows that a drop zone could accept a dragable item or not.
+ Special markers, which are placed at <emphasis role="bold"><property><rich:dragIndicator></property></emphasis>, inform user about drop zone’s possible behaviors:
+ "checkmark" appears if drop is accepted and "No stop" sign if it is not.
+ Moreover, some extra information (e.g. text message) could be put into the Indicator to reinforce the signal about drop zone’s behavior or pass some other additional sense.
+ This reinforcement could be programmed and attributed to drop zone via <emphasis><property>"typeMapping"</property></emphasis> attribute using JSON syntax.
+ The type of dragged zone (dragType) should be passed as "key" and name of <emphasis role="bold"><property><rich:dndParam></property></emphasis>
+ that gives needed message to Indicator as "value":
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<rich:panel styleClass="dropTargetPanel">
+ <f:facet name="header">
+ <h:outputText value="PHP Frameworks" />
+ </f:facet>
+
+ <rich:dropSupport id="php" acceptedTypes="PHP" dropValue="PHP" dropListener="#{eventBean.processDrop}" reRender="phptable, src"
+ typeMapping="{PHP: text_for_accpet, DNET: text_for_rejection}">
+ <rich:dndParam name="text_for_accepting" value="Drop accepted!" />
+ <rich:dndParam name="text_for_rejecting" value="Drop is not accepted!" />
+ </rich:dropSupport>
+ ...
+</rich:panel>
+...
+]]></programlisting>
+ <para>What happens on the page:</para>
+ <figure>
+ <title>"typeMapping" helps to add some extra information to <rich:drag indicator> </title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/dropSupport1a.png" />
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>In examples above dropping a dragable item triggers the use a parameter in the event processing; Ajax request is sent and dropListener defined for the component is called.
+ </para>
<para>
- In this example, dropping a draggable item of an
- <emphasis>
- <property>"iconsDragged"</property>
- </emphasis>
- type will trigger the use a parameter named
- <code>"DropIcon"</code>
- in the event processing after a drop event. (Also, an Ajax
- request is sent, and the action and dropListener defined for
- the component are called.)
- </para>
-
- <para>
Here is an example of moving records between tables. The
example describes all the pieces for drag-and-drop. (To get
extra information on these components, read the sections for
16 years, 9 months
JBoss Rich Faces SVN: r11734 - in trunk/test-applications/jsp/src/main: webapp/pics and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: adubovsky
Date: 2008-12-12 06:52:46 -0500 (Fri, 12 Dec 2008)
New Revision: 11734
Added:
trunk/test-applications/jsp/src/main/webapp/pics/1.gif
trunk/test-applications/jsp/src/main/webapp/pics/2.gif
trunk/test-applications/jsp/src/main/webapp/pics/3.gif
trunk/test-applications/jsp/src/main/webapp/pics/4.gif
Modified:
trunk/test-applications/jsp/src/main/java/tTree/PVisability.java
trunk/test-applications/jsp/src/main/java/tTree/TTree.java
trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp
trunk/test-applications/jsp/src/main/webapp/tTree/tTreeProperty.jsp
trunk/test-applications/jsp/src/main/webapp/tTree/tTreeStraightforward.jsp
Log:
+ some attributes to tTree
Modified: trunk/test-applications/jsp/src/main/java/tTree/PVisability.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/tTree/PVisability.java 2008-12-12 11:51:34 UTC (rev 11733)
+++ trunk/test-applications/jsp/src/main/java/tTree/PVisability.java 2008-12-12 11:52:46 UTC (rev 11734)
@@ -7,10 +7,10 @@
private boolean tTreeDefaultSubviewID;
public PVisability() {
- tTreeSubviewID = false;
+ tTreeSubviewID = true;
tTreePropertySubviewID = false;
tTreeStraightforwardSubviewID = false;
- tTreeDefaultSubviewID = true;
+ tTreeDefaultSubviewID = false;
}
public boolean istTreeDefaultSubviewID() {
Modified: trunk/test-applications/jsp/src/main/java/tTree/TTree.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/tTree/TTree.java 2008-12-12 11:51:34 UTC (rev 11733)
+++ trunk/test-applications/jsp/src/main/java/tTree/TTree.java 2008-12-12 11:52:46 UTC (rev 11734)
@@ -5,15 +5,29 @@
import java.util.Map;
import org.richfaces.component.UITree;
import org.richfaces.component.xml.XmlTreeDataBuilder;
+import org.richfaces.event.NodeExpandedEvent;
+import org.richfaces.event.NodeSelectedEvent;
import org.richfaces.model.TreeNode;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
+import util.componentInfo.ComponentInfo;
+
public class TTree {
private String switchType = "server";
private TreeNode data;
private UITree tree;
+ private boolean immediate = false;
+ private boolean ajaxSubmitSelection = false;
+ private String anOpened = "null";
+ private String anSelected = "null";
+ private boolean rendered = true;
+ private boolean showConnectingLines = false;
+ private boolean toggleOnClick = false;
+ private boolean useCustomIcons = false;
+ private String reRenderCheck = "... waiting ...";
+
public TTree() {
try {
data = XmlTreeDataBuilder.build(new InputSource(getClass()
@@ -35,6 +49,79 @@
}
}
+ public void addCustomIcons() {
+ if (useCustomIcons) {
+ tree.setIcon("/pics/1.gif");
+ tree.setIconCollapsed("/pics/3.gif");
+ tree.setIconExpanded("/pics/4.gif");
+ tree.setIconLeaf("/pics/2.gif");
+ } else {
+ tree.setIcon(null);
+ tree.setIconCollapsed(null);
+ tree.setIconExpanded(null);
+ tree.setIconLeaf(null);
+ }
+ }
+
+ public void add() {
+ ComponentInfo info = ComponentInfo.getInstance();
+ info.addField(tree);
+ }
+
+ public void resetReRenderCheck() {
+ reRenderCheck = "... waiting ...";
+ }
+
+ public Boolean adviseNodeOpened(UITree t) {
+ Boolean tAnOpened = null;
+ if (anOpened.equals("FALSE"))
+ tAnOpened = Boolean.FALSE;
+ else if (anOpened.equals("TRUE"))
+ tAnOpened = Boolean.TRUE;
+
+ return tAnOpened;
+ }
+
+ public Boolean adviseNodeSelected(UITree t) {
+ Boolean tAnSelected = null;
+ if (anSelected.equals("FALSE"))
+ tAnSelected = Boolean.FALSE;
+ else if (anSelected.equals("TRUE"))
+ tAnSelected = Boolean.TRUE;
+
+ return tAnSelected;
+ }
+
+ public void changeExpandListener(NodeExpandedEvent e) {
+ reRenderCheck = "!!! I am WORKing !!!";
+ System.out.println("!!! changeExpandListener !!!");
+ }
+
+ public void nodeSelectListener(NodeSelectedEvent e) {
+ reRenderCheck = "!!! I am WORKing !!!";
+ System.out.println("!!! nodeSelectListener !!!");
+ }
+
+ public String getReRenderCheck() {
+ return reRenderCheck;
+ }
+
+ public boolean isImmediate() {
+ return immediate;
+ }
+
+ public void setImmediate(boolean immediate) {
+ this.immediate = immediate;
+ }
+
+ public boolean isAjaxSubmitSelection() {
+ return ajaxSubmitSelection;
+ }
+
+ public void setAjaxSubmitSelection(boolean ajaxSubmitSelection) {
+ this.ajaxSubmitSelection = ajaxSubmitSelection;
+ }
+
public String getSwitchType() {
return switchType;
}
@@ -58,4 +145,52 @@
public void setTree(UITree tree) {
this.tree = tree;
}
+
+ public String getAnOpened() {
+ return anOpened;
+ }
+
+ public void setAnOpened(String anOpened) {
+ this.anOpened = anOpened;
+ }
+
+ public String getAnSelected() {
+ return anSelected;
+ }
+
+ public void setAnSelected(String anSelected) {
+ this.anSelected = anSelected;
+ }
+
+ public boolean isRendered() {
+ return rendered;
+ }
+
+ public void setRendered(boolean rendered) {
+ this.rendered = rendered;
+ }
+
+ public boolean isShowConnectingLines() {
+ return showConnectingLines;
+ }
+
+ public void setShowConnectingLines(boolean showConnectingLines) {
+ this.showConnectingLines = showConnectingLines;
+ }
+
+ public boolean isToggleOnClick() {
+ return toggleOnClick;
+ }
+
+ public void setToggleOnClick(boolean toggleOnClick) {
+ this.toggleOnClick = toggleOnClick;
+ }
+
+ public boolean isUseCustomIcons() {
+ return useCustomIcons;
+ }
+
+ public void setUseCustomIcons(boolean useCustomIcons) {
+ this.useCustomIcons = useCustomIcons;
+ }
}
Added: trunk/test-applications/jsp/src/main/webapp/pics/1.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/jsp/src/main/webapp/pics/1.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/jsp/src/main/webapp/pics/2.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/jsp/src/main/webapp/pics/2.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/jsp/src/main/webapp/pics/3.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/jsp/src/main/webapp/pics/3.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/test-applications/jsp/src/main/webapp/pics/4.gif
===================================================================
(Binary files differ)
Property changes on: trunk/test-applications/jsp/src/main/webapp/pics/4.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp 2008-12-12 11:51:34 UTC (rev 11733)
+++ trunk/test-applications/jsp/src/main/webapp/tTree/tTree.jsp 2008-12-12 11:52:46 UTC (rev 11734)
@@ -9,47 +9,124 @@
<h:outputText value="Select tree to show: " />
</f:facet>
<h:outputText value="default Tree: " />
- <h:selectBooleanCheckbox value="#{pVisability.tTreeSubviewID}"
- onchange="submit();" />
+ <h:selectBooleanCheckbox value="#{pVisability.tTreeSubviewID}">
+ <a4j:support event="onchange" reRender="dTreePanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
<h:outputText value="Tree with treeNodesAdaptor: " />
- <h:selectBooleanCheckbox value="#{pVisability.tTreePropertySubviewID}"
- onchange="submit();" />
+ <h:selectBooleanCheckbox value="#{pVisability.tTreePropertySubviewID}">
+ <a4j:support event="onchange" reRender="tTreeNAPanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
<h:outputText value="Tree with recursiveTreeNodesAdaptor: " />
<h:selectBooleanCheckbox
- value="#{pVisability.tTreeStraightforwardSubviewID}"
- onchange="submit();" />
+ value="#{pVisability.tTreeStraightforwardSubviewID}">
+ <a4j:support event="onchange" reRender="tTreeRNAPanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
<h:outputText value="Tree with Drag and Drop functionality: " />
- <h:selectBooleanCheckbox
- value="#{pVisability.tTreeDefaultSubviewID}"
- onchange="submit();" />
+ <h:selectBooleanCheckbox value="#{pVisability.tTreeDefaultSubviewID}">
+ <a4j:support event="onchange" reRender="tTreeDNDPanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
</h:panelGrid>
<rich:spacer height="10" />
-
- <h:panelGrid columns="1" rendered="#{pVisability.tTreeSubviewID}">
- <h:outputText value="default Tree" style="color: red"/>
- <rich:tree id="dTree" switchType="#{tTree.switchType}"
- value="#{tTree.data}" var="defTree" binding="#{tTree.tree}"
- ajaxSubmitSelection="false" immediate="false">
- <rich:treeNode>
- <h:outputText value="#{defTree} : " />
- <h:inputText value="#{defTree.name}" />
- </rich:treeNode>
+ <a4j:outputPanel id="dTreePanelID">
+ <h:panelGrid columns="1" rendered="#{pVisability.tTreeSubviewID}">
+ <h:outputText value="default Tree" style="color: red" />
+ <rich:tree id="dTree" switchType="#{tTree.switchType}"
+ value="#{tTree.data}" var="defTree" binding="#{tTree.tree}"
+ ajaxSubmitSelection="#{tTree.ajaxSubmitSelection}"
+ immediate="#{tTree.immediate}" rendered="#{tTree.rendered}"
+ reRender="reRenderID"
+ showConnectingLines="#{tTree.showConnectingLines}" focus="focusID"
+ nodeSelectListener="#{tTree.nodeSelectListener}"
+ toggleOnClick="#{tTree.toggleOnClick}"
+ changeExpandListener="#{tTree.changeExpandListener}"
+ adviseNodeOpened="#{tTree.adviseNodeOpened}"
+ adviseNodeSelected="#{tTree.adviseNodeSelected}"
+ onbeforedomupdate="#{event.onbeforedomupdate}"
+ onclick="#{event.onclick}" oncollapse="#{event.oncollapse}"
+ oncomplete="#{event.oncomplete}" ondblclick="#{event.ondblclick}"
+ ondragend="#{event.ondragend}" ondragenter="#{event.ondragenter}"
+ ondragexit="#{event.ondragexit}" ondragstart="#{event.ondragstart}"
+ ondrop="#{event.ondrop}" ondropend="#{event.ondropend}"
+ ondropout="#{event.ondropout}" ondropover="#{event.ondropover}"
+ onexpand="#{event.onexpand}" onkeydown="#{event.onkeydown}"
+ onkeypress="#{event.onkeypress}" onkeyup="#{event.onkeyup}"
+ onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}" onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ onselected="#{event.onselected}" >
- <rich:treeNode>
- <h:outputText value="#{defTree}" />
- </rich:treeNode>
- </rich:tree>
+ <rich:treeNode>
+ <h:outputText value="#{defTree} : " />
+ <h:inputText value="#{defTree.name}" />
+ </rich:treeNode>
- <h:panelGrid columns="2">
- <h:outputText value="Change tree switchType:" />
- <h:selectOneRadio value="#{tTree.switchType}" onclick="submit();">
- <f:selectItem itemLabel="client" itemValue="client" />
- <f:selectItem itemLabel="server" itemValue="server" />
- <f:selectItem itemLabel="ajax" itemValue="ajax" />
- </h:selectOneRadio>
+ <rich:treeNode>
+ <h:outputText value="#{defTree}" />
+ </rich:treeNode>
+ </rich:tree>
+ <hr />
+ <h:commandButton id="focusID" action="#{tTree.add}" value="add test" />
+ <h:panelGrid columns="2">
+ <f:facet name="header">
+ <h:outputText value="Tree Properties" />
+ </f:facet>
+
+ <h:outputText value="reRender:" />
+ <h:panelGroup>
+ <a4j:commandButton value="reset"
+ action="#{tTree.resetReRenderCheck}" reRender="reRenderID"></a4j:commandButton>
+ <h:outputText id="reRenderID" value="#{tTree.reRenderCheck}" />
+ </h:panelGroup>
+
+ <h:outputText value="Change tree switchType:" />
+ <h:selectOneRadio value="#{tTree.switchType}" onclick="submit();">
+ <f:selectItem itemLabel="client" itemValue="client" />
+ <f:selectItem itemLabel="server" itemValue="server" />
+ <f:selectItem itemLabel="ajax" itemValue="ajax" />
+ </h:selectOneRadio>
+
+ <h:outputText value="rendered:" />
+ <h:selectBooleanCheckbox value="#{tTree.rendered}"
+ onchange="submit();" />
+
+ <h:outputText value="showConnectingLines:" />
+ <h:selectBooleanCheckbox value="#{tTree.showConnectingLines}"
+ onchange="submit();" />
+
+ <h:outputText value="toggleOnClick:" />
+ <h:selectBooleanCheckbox value="#{tTree.toggleOnClick}"
+ onchange="submit();" />
+
+ <h:outputText value="ajaxSubmitSelection:" />
+ <h:selectBooleanCheckbox value="#{tTree.ajaxSubmitSelection}"
+ onchange="submit();" />
+
+ <h:outputText value="immediate:" />
+ <h:selectBooleanCheckbox value="#{tTree.immediate}"
+ onchange="submit();" />
+
+ <h:outputText value="use custom icons:" />
+ <h:selectBooleanCheckbox value="#{tTree.useCustomIcons}">
+ <a4j:support action="#{tTree.addCustomIcons}" event="onchange"
+ reRender="dTreePanelID"></a4j:support>
+ </h:selectBooleanCheckbox>
+
+ <h:outputText value="adviseNodeOpened:" />
+ <h:selectOneRadio value="#{tTree.anOpened}" onclick="submit();">
+ <f:selectItem itemLabel="null (default)" itemValue="null" />
+ <f:selectItem itemLabel="false (do not open)" itemValue="FALSE" />
+ <f:selectItem itemLabel="true (open)" itemValue="TRUE" />
+ </h:selectOneRadio>
+
+ <h:outputText value="adviseNodeSelected:" />
+ <h:selectOneRadio value="#{tTree.anSelected}" onclick="submit();">
+ <f:selectItem itemLabel="null (default)" itemValue="null" />
+ <f:selectItem itemLabel="false (do not select)" itemValue="FALSE" />
+ <f:selectItem itemLabel="true (select)" itemValue="TRUE" />
+ </h:selectOneRadio>
+ </h:panelGrid>
+ <rich:separator height="10" />
</h:panelGrid>
- </h:panelGrid>
-
- <rich:spacer height="10" />
+ </a4j:outputPanel>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/tTree/tTreeProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/tTree/tTreeProperty.jsp 2008-12-12 11:51:34 UTC (rev 11733)
+++ trunk/test-applications/jsp/src/main/webapp/tTree/tTreeProperty.jsp 2008-12-12 11:52:46 UTC (rev 11734)
@@ -3,26 +3,28 @@
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
-<f:subview id="tTreePropertySubviewID"
- rendered="#{pVisability.tTreePropertySubviewID}">
-
- <h:outputText value="Tree with treeNodesAdaptor" style="color: red"/>
- <rich:tree>
- <rich:treeNodesAdaptor nodes="#{tTreeNA.treeNA}" var="project">
- <rich:treeNode>
- <h:outputText value="#{project.name}" />
- </rich:treeNode>
- <rich:treeNodesAdaptor nodes="#{project.srcDirs}" var="dir">
- <rich:treeNode>
- <h:outputText value="#{dir.name}" />
- </rich:treeNode>
- <rich:treeNodesAdaptor nodes="#{dir.packages}" var="package">
+<f:subview id="tTreePropertySubviewID">
+ <a4j:outputPanel id="tTreeNAPanelID">
+ <h:panelGrid columns="1"
+ rendered="#{pVisability.tTreePropertySubviewID}">
+ <h:outputText value="Tree with treeNodesAdaptor" style="color: red" />
+ <rich:tree>
+ <rich:treeNodesAdaptor nodes="#{tTreeNA.treeNA}" var="project">
<rich:treeNode>
- <h:outputText value="#{package.name}" />
+ <h:outputText value="#{project.name}" />
</rich:treeNode>
+ <rich:treeNodesAdaptor nodes="#{project.srcDirs}" var="dir">
+ <rich:treeNode>
+ <h:outputText value="#{dir.name}" />
+ </rich:treeNode>
+ <rich:treeNodesAdaptor nodes="#{dir.packages}" var="package">
+ <rich:treeNode>
+ <h:outputText value="#{package.name}" />
+ </rich:treeNode>
+ </rich:treeNodesAdaptor>
+ </rich:treeNodesAdaptor>
</rich:treeNodesAdaptor>
- </rich:treeNodesAdaptor>
- </rich:treeNodesAdaptor>
- </rich:tree>
- <rich:spacer height="10" />
+ </rich:tree>
+ </h:panelGrid>
+ </a4j:outputPanel>
</f:subview>
Modified: trunk/test-applications/jsp/src/main/webapp/tTree/tTreeStraightforward.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/tTree/tTreeStraightforward.jsp 2008-12-12 11:51:34 UTC (rev 11733)
+++ trunk/test-applications/jsp/src/main/webapp/tTree/tTreeStraightforward.jsp 2008-12-12 11:52:46 UTC (rev 11734)
@@ -4,7 +4,7 @@
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<f:subview id="tTreeStraightforwardSubviewID">
-<style type="text/css">
+ <style type="text/css">
.LeftTreePane {
}
@@ -20,91 +20,96 @@
}
</style>
- <h:panelGrid columns="1"
- rendered="#{pVisability.tTreeStraightforwardSubviewID}">
- <h:outputText value="Tree with recursiveTreeNodesAdaptor"
- style="color: red" />
- <rich:tree>
- <rich:treeNodesAdaptor nodes="#{tTreeRNA.treeRNAroots}" var="root">
- <rich:treeNode>
- <h:outputText value="#{root.name}" />
- </rich:treeNode>
- <rich:recursiveTreeNodesAdaptor var="dir" roots="#{root.dirs}"
- nodes="#{dir.dirs}">
- <rich:treeNodesAdaptor nodes="#{dir.packages}" var="package">
+ <a4j:outputPanel id="tTreeRNAPanelID">
+ <h:panelGrid columns="1"
+ rendered="#{pVisability.tTreeStraightforwardSubviewID}">
+ <h:outputText value="Tree with recursiveTreeNodesAdaptor"
+ style="color: red" />
+ <rich:tree>
+ <rich:treeNodesAdaptor nodes="#{tTreeRNA.treeRNAroots}" var="root">
+ <rich:treeNode>
+ <h:outputText value="#{root.name}" />
+ </rich:treeNode>
+ <rich:recursiveTreeNodesAdaptor var="dir" roots="#{root.dirs}"
+ nodes="#{dir.dirs}">
+ <rich:treeNodesAdaptor nodes="#{dir.packages}" var="package">
+ <rich:treeNode>
+ <h:outputText value="#{package.name}" />
+ </rich:treeNode>
+ </rich:treeNodesAdaptor>
<rich:treeNode>
- <h:outputText value="#{package.name}" />
+ <h:outputText value="#{dir.name}" />
</rich:treeNode>
- </rich:treeNodesAdaptor>
- <rich:treeNode>
- <h:outputText value="#{dir.name}" />
- </rich:treeNode>
- </rich:recursiveTreeNodesAdaptor>
- </rich:treeNodesAdaptor>
- </rich:tree>
- </h:panelGrid>
- <rich:spacer height="10" />
- <h:panelGrid columns="1"
- rendered="#{pVisability.tTreeDefaultSubviewID}">
- <h:outputText value="Tree with Drag and Drop functionality"
- style="color: red" />
+ </rich:recursiveTreeNodesAdaptor>
+ </rich:treeNodesAdaptor>
+ </rich:tree>
+ <rich:separator height="10" />
+ </h:panelGrid>
+ </a4j:outputPanel>
+
+ <a4j:outputPanel id="tTreeDNDPanelID">
+ <h:panelGrid columns="1"
+ rendered="#{pVisability.tTreeDefaultSubviewID}">
+ <h:outputText value="Tree with Drag and Drop functionality"
+ style="color: red" />
- <rich:dragIndicator id="treeIndicator">
- <f:facet name="single">
- <f:verbatim>{marker} {nodeParam}({treeParam})</f:verbatim>
- </f:facet>
- </rich:dragIndicator>
+ <rich:dragIndicator id="treeIndicator">
+ <f:facet name="single">
+ <f:verbatim>{marker} {nodeParam}({treeParam})</f:verbatim>
+ </f:facet>
+ </rich:dragIndicator>
- <h:panelGrid columns="2" columnClasses="LeftTreePane,RightTreePane">
+ <h:panelGrid columns="2" columnClasses="LeftTreePane,RightTreePane">
- <h:panelGroup id="leftContainer" layout="block"
- styleClass="TreeContainer">
- <h:outputText escape="false"
- value="Selected Node: <b>#{tTreeDND.leftSelectedNodeTitle}</b>"
- id="selectedNodeL" />
+ <h:panelGroup id="leftContainer" layout="block"
+ styleClass="TreeContainer">
+ <h:outputText escape="false"
+ value="Selected Node: <b>#{tTreeDND.leftSelectedNodeTitle}</b>"
+ id="selectedNodeL" />
- <rich:tree id="leftTree" style="width:300px"
- nodeSelectListener="#{tTreeDND.processLSelection}"
- reRender="selectedNodeL, leftContainer" ajaxSubmitSelection="true"
- switchType="client" value="#{tTreeDND.treeNodeLeft}"
- changeExpandListener="#{tTreeDND.onExpand}"
- binding="#{tTreeDND.leftTree}"
- onselected="window.status='selectedNode: '+event.selectedNode;"
- onexpand="window.status='expandedNode: '+event.expandedNode"
- oncollapse="window.status='collapsedNode: '+event.collapsedNode"
- dropListener="#{tTreeDND.onDrop}" dragListener="#{tTreeDND.onDrag}"
- dragIndicator="treeIndicator" acceptedTypes="treeNodeR"
- dragType="treeNodeL" rowKeyVar="key" var="item">
+ <rich:tree id="leftTree" style="width:300px"
+ nodeSelectListener="#{tTreeDND.processLSelection}"
+ reRender="selectedNodeL, leftContainer" ajaxSubmitSelection="true"
+ switchType="client" value="#{tTreeDND.treeNodeLeft}"
+ changeExpandListener="#{tTreeDND.onExpand}"
+ binding="#{tTreeDND.leftTree}"
+ onselected="window.status='selectedNode: '+event.selectedNode;"
+ onexpand="window.status='expandedNode: '+event.expandedNode"
+ oncollapse="window.status='collapsedNode: '+event.collapsedNode"
+ dropListener="#{tTreeDND.onDrop}"
+ dragListener="#{tTreeDND.onDrag}" dragIndicator="treeIndicator"
+ acceptedTypes="treeNodeR" dragType="treeNodeL" rowKeyVar="key"
+ var="item">
- <rich:dndParam name="treeParam" value="leftTree" />
- </rich:tree>
+ <rich:dndParam name="treeParam" value="leftTree" />
+ </rich:tree>
- </h:panelGroup>
+ </h:panelGroup>
- <h:panelGroup id="rightContainer" layout="block"
- styleClass="TreeContainer">
- <h:outputText escape="false"
- value="Selected Node: <b>#{tTreeDND.rightSelectedNodeTitle}</b>"
- id="selectedNodeR" />
+ <h:panelGroup id="rightContainer" layout="block"
+ styleClass="TreeContainer">
+ <h:outputText escape="false"
+ value="Selected Node: <b>#{tTreeDND.rightSelectedNodeTitle}</b>"
+ id="selectedNodeR" />
- <rich:tree id="rightTree" style="width:300px"
- nodeSelectListener="#{tTreeDND.processRSelection}"
- reRender="selectedNodeR,rightContainer" ajaxSubmitSelection="true"
- switchType="client" value="#{tTreeDND.treeNodeRight}"
- changeExpandListener="#{tTreeDND.onExpand}"
- binding="#{tTreeDND.rightTree}"
- onselected="window.status='selectedNode: '+event.selectedNode;"
- onexpand="window.status='expandedNode: '+event.expandedNode"
- oncollapse="window.status='collapsedNode: '+event.collapsedNode"
- rowKeyVar="key" dropListener="#{tTreeDND.onDrop}"
- dragListener="#{tTreeDND.onDrag}" dragIndicator="treeIndicator"
- acceptedTypes="treeNodeL" dragType="treeNodeR" var="item">
+ <rich:tree id="rightTree" style="width:300px"
+ nodeSelectListener="#{tTreeDND.processRSelection}"
+ reRender="selectedNodeR,rightContainer" ajaxSubmitSelection="true"
+ switchType="client" value="#{tTreeDND.treeNodeRight}"
+ changeExpandListener="#{tTreeDND.onExpand}"
+ binding="#{tTreeDND.rightTree}"
+ onselected="window.status='selectedNode: '+event.selectedNode;"
+ onexpand="window.status='expandedNode: '+event.expandedNode"
+ oncollapse="window.status='collapsedNode: '+event.collapsedNode"
+ rowKeyVar="key" dropListener="#{tTreeDND.onDrop}"
+ dragListener="#{tTreeDND.onDrag}" dragIndicator="treeIndicator"
+ acceptedTypes="treeNodeL" dragType="treeNodeR" var="item">
- <rich:dndParam name="treeParam" value="rightTree" />
- </rich:tree>
- </h:panelGroup>
-
+ <rich:dndParam name="treeParam" value="rightTree" />
+ </rich:tree>
+ </h:panelGroup>
+ </h:panelGrid>
+ <rich:separator height="10" />
</h:panelGrid>
- </h:panelGrid>
- <rich:spacer height="10" />
+ </a4j:outputPanel>
</f:subview>
\ No newline at end of file
16 years, 9 months