JBoss Rich Faces SVN: r10915 - trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-10-27 11:48:10 -0400 (Mon, 27 Oct 2008)
New Revision: 10915
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPollTest.java
Log:
https://jira.jboss.org/jira/browse/RF-4733
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-10-27 15:47:05 UTC (rev 10914)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPollTest.java 2008-10-27 15:48:10 UTC (rev 10915)
@@ -92,6 +92,14 @@
tester.testNestedActionListener();
}
+ @Test
+ public void testListenersAreNotInvokedInCaseOfExternalValidationFailure(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test listeners aren't invoked in case of external validation failure");
+ tester.testExtrenalValidationFailure();
+ }
+
@Override
public void sendAjax() {
delay(2000);
17 years, 2 months
JBoss Rich Faces SVN: r10914 - in trunk/framework: api/src/main/java/org/ajax4jsf/component and 23 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2008-10-27 11:47:05 -0400 (Mon, 27 Oct 2008)
New Revision: 10914
Modified:
trunk/framework/api/src/main/java/org/ajax4jsf/application/StateHolder.java
trunk/framework/api/src/main/java/org/ajax4jsf/component/IterationStateHolder.java
trunk/framework/api/src/main/java/org/ajax4jsf/context/AjaxContext.java
trunk/framework/api/src/main/java/org/ajax4jsf/model/KeepAlive.java
trunk/framework/api/src/main/java/org/ajax4jsf/renderkit/UserResourceRenderer.java
trunk/framework/api/src/main/java/org/richfaces/component/Selectable.java
trunk/framework/api/src/main/java/org/richfaces/event/scroll/ScrollEvent.java
trunk/framework/api/src/main/java/org/richfaces/model/SortField.java
trunk/framework/api/src/main/java/org/richfaces/model/SortOrder.java
trunk/framework/api/src/main/java/org/richfaces/model/TreeModelVisualComponentProvider.java
trunk/framework/api/src/main/java/org/richfaces/model/VisualStackingTreeModel.java
trunk/framework/impl/src/main/java/org/ajax4jsf/component/InvokerCallbackWrapper.java
trunk/framework/impl/src/main/java/org/ajax4jsf/component/RenderPhaseUIDataAdaptorVisitor.java
trunk/framework/impl/src/main/java/org/ajax4jsf/component/SequenceDataAdaptor.java
trunk/framework/impl/src/main/java/org/ajax4jsf/config/FacesConfig.java
trunk/framework/impl/src/main/java/org/ajax4jsf/config/ParsingException.java
trunk/framework/impl/src/main/java/org/ajax4jsf/resource/CacheContext.java
trunk/framework/impl/src/main/java/org/ajax4jsf/resource/CompressedScriptRenderer.java
trunk/framework/impl/src/main/java/org/ajax4jsf/resource/CountingOutputWriter.java
trunk/framework/impl/src/main/java/org/ajax4jsf/util/ELUtils.java
trunk/framework/impl/src/main/java/org/ajax4jsf/util/LRUMap.java
trunk/framework/impl/src/main/java/org/ajax4jsf/util/Zipper.java
trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ConfigurableFilter.java
trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ConfigurableXMLFilter.java
trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ParserConfig.java
trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/PollEventsManager.java
trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/PushEventsCounter.java
trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/taglib/EmptyHandler.java
trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/taglib/UIComponentTagBase.java
trunk/framework/impl/src/main/java/org/richfaces/component/util/ComponentUtil.java
trunk/framework/impl/src/main/java/org/richfaces/event/RenderPhaseComponentListener.java
trunk/framework/impl/src/main/java/org/richfaces/model/DataModelCache.java
trunk/framework/impl/src/main/java/org/richfaces/model/ListSequenceDataModel.java
trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java
trunk/framework/impl/src/main/java/org/richfaces/model/impl/ArrayDataModel.java
trunk/framework/impl/src/main/java/org/richfaces/model/impl/ListDataModel.java
trunk/framework/impl/src/main/java/org/richfaces/model/impl/SimpleGridDataModel.java
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/MethodBindingExpression.java
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/NullExpression.java
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/SimplePropertyExpression.java
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/ValueBindingExpression.java
trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator.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
trunk/framework/impl/src/main/java/org/richfaces/renderkit/Expression.java
trunk/framework/impl/src/main/java/org/richfaces/renderkit/MacroDefinitionJSContentHandler.java
trunk/framework/impl/src/main/java/org/richfaces/renderkit/TemplateEncoderRendererBase.java
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/CancelControlIcon.java
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/ComboBoxArrowImage.java
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/ComboBoxArrowImageDisable.java
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/ComboBoxButtonPressGradient.java
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/EditIcon.java
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/GradientType.java
trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/SaveControlIcon.java
trunk/framework/test/src/test/java/org/ajax4jsf/component/AjaxViewRootTest.java
trunk/framework/test/src/test/java/org/richfaces/model/ModifiableModelTest.java
trunk/framework/test/src/test/java/org/richfaces/model/entity/Named.java
trunk/framework/test/src/test/java/org/richfaces/model/impl/expressive/MethodBindingExpressionTest.java
Log:
https://jira.jboss.org/jira/browse/RF-4578
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/application/StateHolder.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/application/StateHolder.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/application/StateHolder.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.application;
public interface StateHolder {
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/component/IterationStateHolder.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/component/IterationStateHolder.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/component/IterationStateHolder.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.component;
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/context/AjaxContext.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/context/AjaxContext.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/context/AjaxContext.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.context;
import java.io.BufferedReader;
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/model/KeepAlive.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/model/KeepAlive.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/model/KeepAlive.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/api/src/main/java/org/ajax4jsf/renderkit/UserResourceRenderer.java
===================================================================
--- trunk/framework/api/src/main/java/org/ajax4jsf/renderkit/UserResourceRenderer.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/api/src/main/java/org/ajax4jsf/renderkit/UserResourceRenderer.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.renderkit;
import java.util.LinkedHashSet;
Modified: trunk/framework/api/src/main/java/org/richfaces/component/Selectable.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/component/Selectable.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/api/src/main/java/org/richfaces/component/Selectable.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.component;
Modified: trunk/framework/api/src/main/java/org/richfaces/event/scroll/ScrollEvent.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/event/scroll/ScrollEvent.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/api/src/main/java/org/richfaces/event/scroll/ScrollEvent.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.scroll;
Modified: trunk/framework/api/src/main/java/org/richfaces/model/SortField.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/SortField.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/api/src/main/java/org/richfaces/model/SortField.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/api/src/main/java/org/richfaces/model/SortOrder.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/SortOrder.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/api/src/main/java/org/richfaces/model/SortOrder.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.io.Serializable;
Modified: trunk/framework/api/src/main/java/org/richfaces/model/TreeModelVisualComponentProvider.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/TreeModelVisualComponentProvider.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/api/src/main/java/org/richfaces/model/TreeModelVisualComponentProvider.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/api/src/main/java/org/richfaces/model/VisualStackingTreeModel.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/model/VisualStackingTreeModel.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/api/src/main/java/org/richfaces/model/VisualStackingTreeModel.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/component/InvokerCallbackWrapper.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/component/InvokerCallbackWrapper.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/component/InvokerCallbackWrapper.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.component;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/component/RenderPhaseUIDataAdaptorVisitor.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/component/RenderPhaseUIDataAdaptorVisitor.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/component/RenderPhaseUIDataAdaptorVisitor.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.component;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/component/SequenceDataAdaptor.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/component/SequenceDataAdaptor.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/component/SequenceDataAdaptor.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.component;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/config/FacesConfig.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/config/FacesConfig.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/config/FacesConfig.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.config;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/config/ParsingException.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/config/ParsingException.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/config/ParsingException.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.config;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/resource/CacheContext.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/resource/CacheContext.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/resource/CacheContext.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.resource;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/resource/CompressedScriptRenderer.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/resource/CompressedScriptRenderer.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/resource/CompressedScriptRenderer.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.resource;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/resource/CountingOutputWriter.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/resource/CountingOutputWriter.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/resource/CountingOutputWriter.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,9 +1,23 @@
-/*
- * CountingOutputWriter.java Date created: 21.11.2007
- * Last modified by: $Author$
- * $Revision$ $Date$
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.resource;
import java.io.IOException;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/util/ELUtils.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/util/ELUtils.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/util/ELUtils.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/util/LRUMap.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/util/LRUMap.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/util/LRUMap.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/util/Zipper.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/util/Zipper.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/util/Zipper.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
public class Zipper {
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ConfigurableFilter.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ConfigurableFilter.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ConfigurableFilter.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.webapp;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ConfigurableXMLFilter.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ConfigurableXMLFilter.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ConfigurableXMLFilter.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.webapp;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ParserConfig.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ParserConfig.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/ParserConfig.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.webapp;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/PollEventsManager.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/PollEventsManager.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/PollEventsManager.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.webapp;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/PushEventsCounter.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/PushEventsCounter.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/PushEventsCounter.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.webapp;
import java.io.Serializable;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/taglib/EmptyHandler.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/taglib/EmptyHandler.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/taglib/EmptyHandler.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.webapp.taglib;
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/taglib/UIComponentTagBase.java
===================================================================
--- trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/taglib/UIComponentTagBase.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/ajax4jsf/webapp/taglib/UIComponentTagBase.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.webapp.taglib;
Modified: trunk/framework/impl/src/main/java/org/richfaces/component/util/ComponentUtil.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/component/util/ComponentUtil.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/component/util/ComponentUtil.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.component.util;
Modified: trunk/framework/impl/src/main/java/org/richfaces/event/RenderPhaseComponentListener.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/event/RenderPhaseComponentListener.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/event/RenderPhaseComponentListener.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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 java.util.Collection;
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/DataModelCache.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/DataModelCache.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/DataModelCache.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/ListSequenceDataModel.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/ListSequenceDataModel.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/ListSequenceDataModel.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/ModifiableModel.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/ArrayDataModel.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/ArrayDataModel.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/ArrayDataModel.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.impl;
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/ListDataModel.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/ListDataModel.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/ListDataModel.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.impl;
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/SimpleGridDataModel.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/SimpleGridDataModel.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/SimpleGridDataModel.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.impl;
import java.util.Comparator;
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/MethodBindingExpression.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/MethodBindingExpression.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/MethodBindingExpression.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.impl.expressive;
import javax.el.ELContext;
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/NullExpression.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/NullExpression.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/NullExpression.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.impl.expressive;
/**
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/SimplePropertyExpression.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/SimplePropertyExpression.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/SimplePropertyExpression.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.impl.expressive;
import javax.el.ELContext;
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/ValueBindingExpression.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/ValueBindingExpression.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/ValueBindingExpression.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.impl.expressive;
import java.util.Map;
Modified: trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.impl.expressive;
import java.util.Comparator;
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-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanComparator2.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.impl.expressive;
import java.util.Comparator;
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-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/model/impl/expressive/WrappedBeanFilter.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.impl.expressive;
Modified: trunk/framework/impl/src/main/java/org/richfaces/renderkit/Expression.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/Expression.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/Expression.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/impl/src/main/java/org/richfaces/renderkit/MacroDefinitionJSContentHandler.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/MacroDefinitionJSContentHandler.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/MacroDefinitionJSContentHandler.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/impl/src/main/java/org/richfaces/renderkit/TemplateEncoderRendererBase.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/TemplateEncoderRendererBase.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/TemplateEncoderRendererBase.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/CancelControlIcon.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/CancelControlIcon.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/CancelControlIcon.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.html.images;
Modified: trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/ComboBoxArrowImage.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/ComboBoxArrowImage.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/ComboBoxArrowImage.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.html.images;
import java.awt.Color;
Modified: trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/ComboBoxArrowImageDisable.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/ComboBoxArrowImageDisable.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/ComboBoxArrowImageDisable.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.html.images;
Modified: trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/ComboBoxButtonPressGradient.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/ComboBoxButtonPressGradient.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/ComboBoxButtonPressGradient.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.html.images;
Modified: trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/EditIcon.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/EditIcon.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/EditIcon.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.html.images;
Modified: trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/GradientType.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/GradientType.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/GradientType.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.html.images;
Modified: trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/SaveControlIcon.java
===================================================================
--- trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/SaveControlIcon.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/impl/src/main/java/org/richfaces/renderkit/html/images/SaveControlIcon.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.html.images;
Modified: trunk/framework/test/src/test/java/org/ajax4jsf/component/AjaxViewRootTest.java
===================================================================
--- trunk/framework/test/src/test/java/org/ajax4jsf/component/AjaxViewRootTest.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/test/src/test/java/org/ajax4jsf/component/AjaxViewRootTest.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,3 +1,23 @@
+/**
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.component;
import java.util.ArrayList;
Modified: trunk/framework/test/src/test/java/org/richfaces/model/ModifiableModelTest.java
===================================================================
--- trunk/framework/test/src/test/java/org/richfaces/model/ModifiableModelTest.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/test/src/test/java/org/richfaces/model/ModifiableModelTest.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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;
Modified: trunk/framework/test/src/test/java/org/richfaces/model/entity/Named.java
===================================================================
--- trunk/framework/test/src/test/java/org/richfaces/model/entity/Named.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/test/src/test/java/org/richfaces/model/entity/Named.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.entity;
Modified: trunk/framework/test/src/test/java/org/richfaces/model/impl/expressive/MethodBindingExpressionTest.java
===================================================================
--- trunk/framework/test/src/test/java/org/richfaces/model/impl/expressive/MethodBindingExpressionTest.java 2008-10-27 15:40:55 UTC (rev 10913)
+++ trunk/framework/test/src/test/java/org/richfaces/model/impl/expressive/MethodBindingExpressionTest.java 2008-10-27 15:47:05 UTC (rev 10914)
@@ -1,5 +1,22 @@
/**
- *
+ * License Agreement.
+ *
+ * Rich Faces - Natural Ajax for Java Server Faces (JSF)
+ *
+ * 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.impl.expressive;
17 years, 2 months
JBoss Rich Faces SVN: r10913 - in trunk/test-applications/jsp/src/main/java/util: parser and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-10-27 11:40:55 -0400 (Mon, 27 Oct 2008)
New Revision: 10913
Modified:
trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentInfo.java
trunk/test-applications/jsp/src/main/java/util/componentInfo/Info.java
trunk/test-applications/jsp/src/main/java/util/parser/TLDParser.java
Log:
TLDParser last version, that get description, type(method-signature), name and status of all attributes for tested component.
Modified: trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentInfo.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentInfo.java 2008-10-27 15:29:26 UTC (rev 10912)
+++ trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentInfo.java 2008-10-27 15:40:55 UTC (rev 10913)
@@ -95,7 +95,7 @@
AccessibleObject.setAccessible(fields, true);
for (Field field : fields) {
str = field.getName().substring(1);
- if (!Modifier.isStatic(field.getModifiers()) && (allAttributes.contains(str))) {
+ if (!Modifier.isStatic(field.getModifiers()) && (parser.getNamesArray().contains(str))) {
if (str.startsWith("on")) {
componentAttribute.putEvent(str,
"");
Modified: trunk/test-applications/jsp/src/main/java/util/componentInfo/Info.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/componentInfo/Info.java 2008-10-27 15:29:26 UTC (rev 10912)
+++ trunk/test-applications/jsp/src/main/java/util/componentInfo/Info.java 2008-10-27 15:40:55 UTC (rev 10913)
@@ -21,7 +21,7 @@
*/
public class Info {
private ComponentInfo info = ComponentInfo.getInstance();
- private ComponentAttribute componentAttribute = info.getComponentAttribute();;
+ private ComponentAttribute componentAttribute = info.getComponentAttribute();
private HtmlPanelGrid panelEvent = null;
public HtmlPanelGrid getPanelEvent() {
Modified: trunk/test-applications/jsp/src/main/java/util/parser/TLDParser.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/parser/TLDParser.java 2008-10-27 15:29:26 UTC (rev 10912)
+++ trunk/test-applications/jsp/src/main/java/util/parser/TLDParser.java 2008-10-27 15:40:55 UTC (rev 10913)
@@ -33,6 +33,7 @@
Attribute attribute = new Attribute();
int position, end;
boolean flag = true;
+ StringBuilder sb = new StringBuilder("");
while (((line = reader.readLine()) != null) && flag) {
if ((position = line.indexOf("<name>")) != -1) {
end = line.indexOf("</name>");
@@ -48,36 +49,33 @@
position + 6, end).trim());
}
// find attribute description
- if ((position = line
- .indexOf("<description>")) != -1) {
+ if ((position = line.indexOf("<description>")) != -1) {
- if((end = line.indexOf("</description>")) != -1){
+ if((end = line.indexOf("</description>")) != -1){
attribute.setDescription(line.substring(position + 13, line.length()-14));
}else{
- attribute.setDescription(attribute.getDescription()
- + line.substring(position + 13, line.length()));
+ sb.append(line.substring(position + 13, line.length()).trim().replaceAll("\t", ""));
line = reader.readLine();
while ((end = line.indexOf("</description>")) == -1) {
- attribute.setDescription(attribute.getDescription() + " "
- + line.substring(0, line.length()).trim());
+ sb.append(line.substring(0, line.length()).replaceAll("\t", ""));
+ line = reader.readLine();
}
- attribute.setDescription(attribute.getDescription()
- + line.substring(0, line.length() - 14));
+ sb.append(line.substring(0, line.length() - 14).trim().replaceAll("\t", ""));
+
+ attribute.setDescription(sb.toString());
+ sb.delete(0, sb.length());
}
- }
+ }
// find attribute type
if ((position = line.indexOf("<type>")) != -1) {
end = line.indexOf("</type>");
-
- /*try {
- Class<?> cl = Class.forName(line
- .substring(position + 6,
- end).trim());*/
attribute.setType(line.substring(position + 6, end).trim());
- /*} catch (ClassNotFoundException e) {
- e.printStackTrace();
- }*/
}
+ // find attribute method-signature
+ if ((position = line.indexOf("<method-signature>")) != -1) {
+ end = line.indexOf("</method-signature>");
+ attribute.setType(line.substring(position + 18, end).trim());
+ }
} while (!((line = reader.readLine())
.contains("</attribute>")));
// define attribute status
@@ -124,4 +122,35 @@
}
return richfacesUI;
}
+ public ArrayList<String> getNamesArray(){
+ ArrayList<String> result = new ArrayList<String>();
+ for(Attribute attr:allAttributes){
+ result.add(attr.getName());
+ }
+ return result;
+ }
+
+ public ArrayList<String> getDescriptionArray(){
+ ArrayList<String> result = new ArrayList<String>();
+ for(Attribute attr:allAttributes){
+ result.add(attr.getDescription());
+ }
+ return result;
+ }
+
+ public ArrayList<String> getTypeArray(){
+ ArrayList<String> result = new ArrayList<String>();
+ for(Attribute attr:allAttributes){
+ result.add(attr.getType());
+ }
+ return result;
+ }
+
+ public ArrayList<Status> getStatusArray(){
+ ArrayList<Status> result = new ArrayList<Status>();
+ for(Attribute attr:allAttributes){
+ result.add(attr.getStatus());
+ }
+ return result;
+ }
}
17 years, 2 months
JBoss Rich Faces SVN: r10912 - trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng.
by richfaces-svn-commits@lists.jboss.org
Author: dsvyatobatsko
Date: 2008-10-27 11:29:26 -0400 (Mon, 27 Oct 2008)
New Revision: 10912
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPollTest.java
Log:
https://jira.jboss.org/jira/browse/RF-4734
https://jira.jboss.org/jira/browse/RF-4735
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-10-27 14:53:56 UTC (rev 10911)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/AjaxPollTest.java 2008-10-27 15:29:26 UTC (rev 10912)
@@ -68,6 +68,30 @@
tester.testRequestParameters(params);
}
+ @Test
+ public void testImmediate(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test immediate attribute");
+ tester.testImmediate();
+ }
+
+ @Test
+ public void testImmediateWithExternalValidationFailed(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test immediate attribute with external validation failed");
+ tester.testImmediateWithExternalValidationFailed();
+ }
+
+ @Test
+ public void testNestedActionListener(Template template) {
+ AutoTester tester = getAutoTester(this);
+ tester.renderPage(template, null);
+ writeStatus("Test actionListener defined as nested tag are invoked on the server ");
+ tester.testNestedActionListener();
+ }
+
@Override
public void sendAjax() {
delay(2000);
17 years, 2 months
JBoss Rich Faces SVN: r10911 - trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: alevkovsky
Date: 2008-10-27 10:53:56 -0400 (Mon, 27 Oct 2008)
New Revision: 10911
Modified:
trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js
Log:
RichEditor: fix js error after IE closing
Modified: trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js
===================================================================
--- trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js 2008-10-27 14:31:19 UTC (rev 10910)
+++ trunk/sandbox/ui/editor/src/main/resources/org/richfaces/renderkit/html/scripts/editor.js 2008-10-27 14:53:56 UTC (rev 10911)
@@ -26,28 +26,29 @@
theme: this.params.theme,
init_instance_callback : this.onInitInstanceCallback.bind(this)
});
-
+
this.onBeforeAjaxListener = new A4J.AJAX.AjaxListener("onbeforeajax", this.onBeforeAjax.bind(this));
A4J.AJAX.AddListener(this.onBeforeAjaxListener);
},
- destruct: function() {
- A4J.AJAX.removeListener(this.onBeforeAjaxListener);
- this.onBeforeAjaxListener = null;
- this.tinyMCE_editor.remove();
- this.tinyMCE_editor = null;
+ destruct: function(isAjax) {
+ A4J.AJAX.removeListener(this.onBeforeAjaxListener);
+
+ if(isAjax){
+ this.tinyMCE_editor.remove();
+ }
},
onBeforeAjax: function() {
- //var content = this.tinyMCE_editor.getContent();
- //$(this.editorTextAreaId).value = content;
this.tinyMCE_editor.save();
},
- onInitInstanceCallback: function() {
+ onInitInstanceCallback: function() {
this.tinyMCE_editor = tinyMCE.get(this.editorTextAreaId);
//TODO add user init_instance_callback function
}
+
+
});
\ No newline at end of file
17 years, 2 months
JBoss Rich Faces SVN: r10910 - in trunk/framework/impl/src/main/javascript: ajaxjsf and 2 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: pyaschenko
Date: 2008-10-27 10:31:19 -0400 (Mon, 27 Oct 2008)
New Revision: 10910
Modified:
trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
trunk/framework/impl/src/main/javascript/jquery/patches.js
trunk/framework/impl/src/main/javascript/memory.js
trunk/framework/impl/src/main/javascript/prototype/patches.js
Log:
added isAjax parameter to destructor call
Modified: trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-10-27 13:29:42 UTC (rev 10909)
+++ trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-10-27 14:31:19 UTC (rev 10910)
@@ -345,7 +345,7 @@
// Remove unload prototype events for a removed elements.
if (window.RichFaces && window.RichFaces.Memory) {
- window.RichFaces.Memory.clean(oldnode);
+ window.RichFaces.Memory.clean(oldnode, true);
}
var anchor = oldnode.parentNode;
@@ -359,10 +359,9 @@
}
oldnode.outerHTML = new XMLSerializer().serializeToString(newnode);
} else {
- var importednode ;
// need to check for firstChild due to opera 8 bug with hasChildNodes
Sarissa.clearChildNodes(oldnode);
- importednode = window.document.importNode(newnode, true);
+ var importednode = window.document.importNode(newnode, true);
//importednode.innerHTML = importednode.innerHTML;
LOG.debug("Replace content of node by replaceChild()");
anchor.replaceChild(importednode,oldnode);
Modified: trunk/framework/impl/src/main/javascript/jquery/patches.js
===================================================================
--- trunk/framework/impl/src/main/javascript/jquery/patches.js 2008-10-27 13:29:42 UTC (rev 10909)
+++ trunk/framework/impl/src/main/javascript/jquery/patches.js 2008-10-27 14:31:19 UTC (rev 10910)
@@ -16,7 +16,7 @@
// };
if (window.RichFaces && window.RichFaces.Memory) {
- window.RichFaces.Memory.addCleaner("jquery", function(node) {
+ window.RichFaces.Memory.addCleaner("jquery", function(node, isAjax) {
if (node && node[oldJQuery.expando]) {
oldJQuery.event.remove(node);
}
Modified: trunk/framework/impl/src/main/javascript/memory.js
===================================================================
--- trunk/framework/impl/src/main/javascript/memory.js 2008-10-27 13:29:42 UTC (rev 10909)
+++ trunk/framework/impl/src/main/javascript/memory.js 2008-10-27 14:31:19 UTC (rev 10910)
@@ -12,15 +12,15 @@
this.cleaners[name] = cleaner;
},
- applyCleaners: function (node) {
+ applyCleaners: function (node, isAjax) {
for (var name in this.cleaners) {
- this.cleaners[name](node);
+ this.cleaners[name](node, isAjax);
}
},
- clean: function (oldNode) {
+ clean: function (oldNode, isAjax) {
if (oldNode) {
- this.applyCleaners(oldNode);
+ this.applyCleaners(oldNode, isAjax);
//node.all is quicker than recursive traversing
//window doesn't have "all" attribute
@@ -31,12 +31,12 @@
var length = all.length;
for (var counter = 0; counter < length; counter++ ) {
- this.applyCleaners(all[counter]);
+ this.applyCleaners(all[counter], isAjax);
}
} else {
var node = oldNode.firstChild;
while (node) {
- this.clean(node);
+ this.clean(node, isAjax);
node = node.nextSibling;
}
}
@@ -44,7 +44,7 @@
}
};
- window.RichFaces.Memory.addCleaner("richfaces", function(node) {
+ window.RichFaces.Memory.addCleaner("richfaces", function(node, isAjax) {
var component = node.component;
if (component) {
var destructorName = component["rich:destructor"];
@@ -52,7 +52,7 @@
if (destructorName) {
var destructor = component[destructorName];
if (destructor) {
- destructor.call(component);
+ destructor.call(component, isAjax);
}
}
}
Modified: trunk/framework/impl/src/main/javascript/prototype/patches.js
===================================================================
--- trunk/framework/impl/src/main/javascript/prototype/patches.js 2008-10-27 13:29:42 UTC (rev 10909)
+++ trunk/framework/impl/src/main/javascript/prototype/patches.js 2008-10-27 14:31:19 UTC (rev 10910)
@@ -63,7 +63,7 @@
};
if (window.RichFaces && window.RichFaces.Memory) {
- window.RichFaces.Memory.addCleaner("prototype", function(node) {
+ window.RichFaces.Memory.addCleaner("prototype", function(node, isAjax) {
var eventID = node._prototypeEventID ? node._prototypeEventID[0] : undefined;
if (eventID) {
var cache = Event.cache[eventID];
17 years, 2 months
JBoss Rich Faces SVN: r10909 - in trunk/test-applications/seleniumTest/richfaces/src: main/webapp/pages/beanValidator and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-10-27 09:29:42 -0400 (Mon, 27 Oct 2008)
New Revision: 10909
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/ValidationBean.java
trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/beanValidator/beanValidatorTest.xhtml
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/BeanValidatorTest.java
Log:
Bean validator test
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-10-27 12:49:01 UTC (rev 10908)
+++ trunk/test-applications/seleniumTest/richfaces/src/main/java/org/ajax4jsf/bean/validation/ValidationBean.java 2008-10-27 13:29:42 UTC (rev 10909)
@@ -8,6 +8,14 @@
* renamed and copied from demo
*/
public class ValidationBean {
+
+ static final String INPUT_TEXT = "text";
+
+ public static final String STATUS_TEXT = "UPDATE_MODEL";
+
+ private String input = INPUT_TEXT;
+
+ private String status;
private User user = new User();
@@ -49,4 +57,35 @@
new FacesMessage(FacesMessage.SEVERITY_INFO, "Changes Stored Successfully",
"Changes Stored Successfully"));
}
+
+ /**
+ * @return the input
+ */
+ public String getInput() {
+ return input;
+ }
+
+ /**
+ * @param input the input to set
+ */
+ public void setInput(String input) {
+ if (input != null && input.equals(INPUT_TEXT)) {
+ status = STATUS_TEXT;
+ }
+ this.input = input;
+ }
+
+ /**
+ * @return the status
+ */
+ public String getStatus() {
+ return status;
+ }
+
+ /**
+ * @param status the status to set
+ */
+ public void setStatus(String status) {
+ this.status = status;
+ }
}
Modified: trunk/test-applications/seleniumTest/richfaces/src/main/webapp/pages/beanValidator/beanValidatorTest.xhtml
===================================================================
(Binary files differ)
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-10-27 12:49:01 UTC (rev 10908)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/BeanValidatorTest.java 2008-10-27 13:29:42 UTC (rev 10909)
@@ -1,5 +1,6 @@
package org.richfaces.testng;
+import org.ajax4jsf.bean.validation.ValidationBean;
import org.ajax4jsf.template.Template;
import org.richfaces.SeleniumTestBase;
import org.testng.annotations.Test;
@@ -27,6 +28,7 @@
String tfNameId = parentId + NAME;
String tfAgeId = parentId + AGE;
String tfEmailId = parentId + EMAIL;
+ String statusId = parentId + "status";
String tfNameErrMsg = tfNameId + ERR_MSG_POSTFIX;
String tfAgeErrMsg = tfAgeId + ERR_MSG_POSTFIX;
@@ -50,6 +52,8 @@
assertPresent(tfNameErrMsg);
assertPresent(tfAgeErrMsg);
assertPresent(tfEmailErrMsg);
+
+ AssertTextEquals(statusId, "", "Update should be skipped");
writeStatus("Correct the inputs and resubmit form. Error messages have to disappear");
@@ -62,6 +66,8 @@
assertNotPresent(tfNameErrMsg);
assertNotPresent(tfAgeErrMsg);
assertNotPresent(tfEmailErrMsg);
+
+ AssertTextEquals(statusId, ValidationBean.STATUS_TEXT, "Update model skipped");
}
17 years, 2 months
JBoss Rich Faces SVN: r10908 - in trunk/test-applications/regressionArea: regressionArea-ejb/src/main/resources/META-INF and 12 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-10-27 08:49:01 -0400 (Mon, 27 Oct 2008)
New Revision: 10908
Removed:
trunk/test-applications/regressionArea/regressionArea-web/src/main/java/org/ajax4jsf/bean/TemplateBean.java
trunk/test-applications/regressionArea/regressionArea-web/src/main/java/org/ajax4jsf/template/
trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/template/dataTable.xhtml
trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/template/modalPanel.xhtml
trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/template/simple.xhtml
Modified:
trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources/META-INF/MANIFEST.MF
trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources/components.properties
trunk/test-applications/regressionArea/regressionArea-web/src/main/resources/META-INF/MANIFEST.MF
trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/WEB-INF/faces-config.xml
trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/layout/controlLayout.xhtml
trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/layout/layout.xhtml
trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/examples/home.xhtml
trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf4507.xhtml
trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf4709.xhtml
trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/SeleniumTestBase.java
trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/testng/SimpleTest.java
trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/testng/rf4507/Test.java
trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/testng/rf4709/Test.java
Log:
Remove templates
Modified: trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources/META-INF/MANIFEST.MF
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources/META-INF/MANIFEST.MF 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources/META-INF/MANIFEST.MF 2008-10-27 12:49:01 UTC (rev 10908)
@@ -1,10 +1,10 @@
Manifest-Version: 1.0
Class-Path: bsh-1.3.0.jar commons-beanutils-1.7.0.jar commons-collecti
ons-3.2.jar commons-digester-1.8.jar commons-lang-2.3.jar commons-log
- ging-1.0.4.jar dom4j-1.6.1-jboss.jar el-api-1.0.jar javassist-3.3.ga.
- jar jboss-el-2.0.1.GA.jar jboss-seam-2.0.1.GA.jar jboss-seam-debug-2.
- 0.1.GA.jar jboss-seam-remoting-2.0.1.GA.jar jboss-seam-ui-2.0.1.GA.ja
- r jsf-api-1.2_09.jar jsf-facelets-1.1.14.jar jsf-impl-1.2_09.jar log4
- j-1.2.14.jar richfaces-api-3.2.2.GA.jar richfaces-impl-3.2.2.GA.jar r
- ichfaces-ui-3.2.2.GA.jar
+ ging-1.0.4.jar dom4j-1.6.1-jboss.jar el-api-1.0.jar javassist-3.3.GA.
+ jar jboss-el-2.0.1.GA.jar jboss-seam-2.0.2.SP1.jar jboss-seam-debug-2
+ .0.2.SP1.jar jboss-seam-remoting-2.0.2.SP1.jar jboss-seam-ui-2.0.2.SP
+ 1.jar jsf-api-1.2_09.jar jsf-facelets-1.1.14.jar jsf-impl-1.2_09.jar
+ log4j-1.2.14.jar richfaces-api-3.3.0-SNAPSHOT.jar richfaces-impl-3.3.
+ 0-SNAPSHOT.jar richfaces-ui-3.3.0-SNAPSHOT.jar
Modified: trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources/components.properties
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources/components.properties 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources/components.properties 2008-10-27 12:49:01 UTC (rev 10908)
@@ -1,4 +1,4 @@
#
#Wed Feb 27 12:58:12 EET 2008
-jndiPattern=regressionArea-ear-3.3.0-SNAPSHOT/#{ejbName}/local
+jndiPattern=regressionArea-ear/#{ejbName}/local
embeddedEjb=true
Deleted: trunk/test-applications/regressionArea/regressionArea-web/src/main/java/org/ajax4jsf/bean/TemplateBean.java
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/main/java/org/ajax4jsf/bean/TemplateBean.java 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/main/java/org/ajax4jsf/bean/TemplateBean.java 2008-10-27 12:49:01 UTC (rev 10908)
@@ -1,81 +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.ajax4jsf.bean;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import javax.faces.model.SelectItem;
-
-import org.ajax4jsf.template.Template;
-
-
-public class TemplateBean {
- public static final String PARAM_NAME = "t";
-
- private Template template = Template.SIMPLE;
-
- /*
- * public void initTemplate (ActionEvent event) { Map<String, String>
- * reqMap =
- * FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
- * String template = reqMap.get(PARAM_NAME); this.template = template !=
- * null ? template : "simple"; }
- */
-
- public String getTemplateId() {
- return template.toString();
- }
-
- public void setTemplateId(String template) {
- this.template = Template.valueOf(template);
- }
-
- public String getParentId() {
- return template.getPrefix();
- }
-
- /**
- * @return the template
- */
- public String getTemplate() {
- return "/template/" + template.getName() + ".xhtml";
- }
-
- /**
- * @param template
- * the template to set
- */
- public void setTemplate(Template template) {
- this.template = template;
- }
-
- public List<SelectItem> getAvailableTemplates() {
- List<SelectItem> retVal = new ArrayList<SelectItem>();
- for (Template template : Template.values()) {
- retVal.add(new SelectItem(template.toString(), template.getDesc()));
- }
-
- return retVal;
- }
-
-}
\ No newline at end of file
Modified: trunk/test-applications/regressionArea/regressionArea-web/src/main/resources/META-INF/MANIFEST.MF
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/main/resources/META-INF/MANIFEST.MF 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/main/resources/META-INF/MANIFEST.MF 2008-10-27 12:49:01 UTC (rev 10908)
@@ -1,5 +1,6 @@
Manifest-Version: 1.0
Class-Path: commons-beanutils-1.7.0.jar commons-collections-3.2.jar co
- mmons-digester-1.8.jar richfaces-api-3.2.2.GA.jar richfaces-impl-3.2.
- 2.GA.jar richfaces-ui-3.2.2.GA.jar
+ mmons-digester-1.8.jar jsf-facelets-1.1.14.jar richfaces-api-3.3.0-SN
+ APSHOT.jar richfaces-impl-3.3.0-SNAPSHOT.jar richfaces-ui-3.3.0-SNAPS
+ HOT.jar
Modified: trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/WEB-INF/faces-config.xml 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/WEB-INF/faces-config.xml 2008-10-27 12:49:01 UTC (rev 10908)
@@ -13,11 +13,7 @@
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
- <managed-bean>
- <managed-bean-name>templateBean</managed-bean-name>
- <managed-bean-class>org.ajax4jsf.bean.TemplateBean</managed-bean-class>
- <managed-bean-scope>session</managed-bean-scope>
- </managed-bean>
+
<lifecycle>
<phase-listener id="phaseTracker">org.ajax4jsf.logging.PhaseTracker</phase-listener>
Modified: trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/layout/controlLayout.xhtml
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/layout/controlLayout.xhtml 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/layout/controlLayout.xhtml 2008-10-27 12:49:01 UTC (rev 10908)
@@ -4,23 +4,6 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<hr />
-<h:form id="_Selenium_Test_Template_Form">
-<table style="background-color: #F2F2F2">
-<tr>
-<td>
-Current Template:
-</td>
-<td>
- <h:selectOneMenu value="#{templateBean.templateId}" id="_Selenium_Test_Template_id">
- <f:selectItems value="#{templateBean.availableTemplates}" />
- </h:selectOneMenu>
-</td>
-<td>
- <h:commandLink id="_Selenium_Test_loadTemplate" value="Load"></h:commandLink>
-</td>
-</tr>
-</table>
-</h:form>
<h:form id="_Selenium_Test_ReRender_Form">
<div>
<a href="#{facesContext.externalContext.requestContextPath}/faces/TIDY/index.xhtml">Home</a>
Modified: trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/layout/layout.xhtml
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/layout/layout.xhtml 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/layout/layout.xhtml 2008-10-27 12:49:01 UTC (rev 10908)
@@ -7,8 +7,6 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<f:view contentType="text/html">
<head>
- <a4j:loadScript src="resource:///org/ajax4jsf/javascript/scripts/AJAX.js"></a4j:loadScript>
- <a4j:loadScript src="resource:///org/ajax4jsf/javascript/scripts/form.js"></a4j:loadScript>
<script>
var errorMessage = null;
var pauseHolder = {};
@@ -72,7 +70,7 @@
}
function fireMouseEvent(id,eventName, x, y, ctrl) {
- var e = $(id);
+ var e = document.getElementById(id);
var evt;
if (document.createEvent) {
evt = document.createEvent("MouseEvents");
@@ -107,10 +105,13 @@
<div id="_Selenium_Test_ControlPoint2" style="display: none;">Control2</div>
-<ui:insert name="control" />
+<ui:include src="controlLayout.xhtml" />
<script type="text/javascript">
- window.done=false; A4J.AJAX.AddListener(new A4J.AJAX.Listener(function(){window.done=true;}));
+ window.done=false;
+ if (A4J) {
+ A4J.AJAX.AddListener(new A4J.AJAX.Listener(function(){window.done=true;}));
+ }
</script>
</body>
</f:view>
Modified: trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/examples/home.xhtml
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/examples/home.xhtml 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/examples/home.xhtml 2008-10-27 12:49:01 UTC (rev 10908)
@@ -7,11 +7,8 @@
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
-<ui:composition template="#{templateBean.template}">
- <ui:define name="style">
-
- </ui:define>
- <ui:define name="component">
+<ui:composition template="/layout/layout.xhtml">
+ <ui:define name="template">
<rich:panel header="Rich Users">
<rich:dataTable id="tb" value="#{usersBean.users}" var="us">
<rich:column>
Modified: trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf4507.xhtml
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf4507.xhtml 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf4507.xhtml 2008-10-27 12:49:01 UTC (rev 10908)
@@ -6,11 +6,8 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="#{templateBean.template}">
- <ui:define name="style">
-
- </ui:define>
- <ui:define name="component">
+<ui:composition template="/layout/layout.xhtml">
+ <ui:define name="template">
<h:form id="form">
<a4j:commandLink value="First Link" id="link1" data="#{'firstLink'}" oncomplete="window.receivedData = data" />
Modified: trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf4709.xhtml
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf4709.xhtml 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/pages/rf4709.xhtml 2008-10-27 12:49:01 UTC (rev 10908)
@@ -6,11 +6,11 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
-<ui:composition template="#{templateBean.template}">
+<ui:composition template="/layout/layout.xhtml">
<ui:define name="style">
</ui:define>
- <ui:define name="component">
+ <ui:define name="template">
<rich:messages id="messages"/>
<h:form id="form">
Deleted: trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/template/dataTable.xhtml
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/template/dataTable.xhtml 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/template/dataTable.xhtml 2008-10-27 12:49:01 UTC (rev 10908)
@@ -1,23 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:ui="http://java.sun.com/jsf/facelets">
-<ui:composition template="../layout/layout.xhtml">
- <ui:define name="template">
- <rich:dataTable value="1" id="_Selenium_Test_DataTable">
- <rich:column>
- <f:facet name="header">
- <h:outputText value="Data Table" />
- </f:facet>
- <ui:insert name="component" />
- </rich:column>
- </rich:dataTable>
- </ui:define>
- <ui:define name="control">
- <ui:include src="../layout/controlLayout.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
\ No newline at end of file
Deleted: trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/template/modalPanel.xhtml
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/template/modalPanel.xhtml 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/template/modalPanel.xhtml 2008-10-27 12:49:01 UTC (rev 10908)
@@ -1,23 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:ui="http://java.sun.com/jsf/facelets">
-<ui:composition template="../layout/layout.xhtml">
- <ui:define name="template">
- <rich:modalPanel id="_Selenium_Test_ModalPanel" showWhenRendered="true" width="600" height="600">
- <f:facet name="header" >
- <h:outputText value="Modal Panel" />
- </f:facet>
- <f:facet name="controls" >
- <a onclick="Richfaces.hideModalPanel('_Selenium_Test_ModalPanel'); return false;"
- href="#" >Hide the panel</a>
- </f:facet>
- <ui:insert name="component" />
- <ui:include src="../layout/controlLayout.xhtml" />
- </rich:modalPanel>
- </ui:define>
-</ui:composition>
-</html>
\ No newline at end of file
Deleted: trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/template/simple.xhtml
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/template/simple.xhtml 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/main/webapp/template/simple.xhtml 2008-10-27 12:49:01 UTC (rev 10908)
@@ -1,16 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:rich="http://richfaces.org/rich"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:ui="http://java.sun.com/jsf/facelets">
-<ui:composition template="../layout/layout.xhtml">
- <ui:define name="template">
- <ui:insert name="component" />
- </ui:define>
- <ui:define name="control">
- <ui:include src="../layout/controlLayout.xhtml" />
- </ui:define>
-</ui:composition>
-</html>
\ No newline at end of file
Modified: trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/SeleniumTestBase.java
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/SeleniumTestBase.java 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/SeleniumTestBase.java 2008-10-27 12:49:01 UTC (rev 10908)
@@ -2,12 +2,8 @@
-import java.util.ArrayList;
-import java.util.List;
-
import org.ajax4jsf.bean.Configurator;
import org.ajax4jsf.javascript.ScriptUtils;
-import org.ajax4jsf.template.Template;
import org.openqa.selenium.server.RemoteControlConfiguration;
import org.openqa.selenium.server.SeleniumServer;
import org.testng.Assert;
@@ -16,9 +12,7 @@
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeSuite;
import org.testng.annotations.BeforeTest;
-import org.testng.annotations.DataProvider;
import org.testng.annotations.Parameters;
-import org.richfaces.RichSeleniumTest;
import com.thoughtworks.selenium.DefaultSelenium;
@@ -64,7 +58,7 @@
private int seleniumServerPort = 5556;
/** Defines the name of current j2ee application name */
- public static final String APPLICATION_NAME = "Seam";
+ public static final String APPLICATION_NAME = "regressionArea";
public SeleniumTestBase() {
this("http", "localhost", serverPort);
@@ -85,11 +79,11 @@
seleniumServer.start();
}
- @DataProvider(name = "templates")
- protected Object[][] templates() {
- return new Object[][] { { Template.SIMPLE }, { Template.DATA_TABLE }, { Template.MODAL_PANEL } };
- //return this.data;
- }
+ //@DataProvider(name = "templates")
+// protected Object[][] templates() {
+// return new Object[][] { { Template.SIMPLE }, { Template.DATA_TABLE }, { Template.MODAL_PANEL } };
+// //return this.data;
+// }
/**
* This method are invoked before selenium tests started
@@ -123,21 +117,21 @@
}
}
- protected void loadTemplates(String templateExpr) {
- String[] array = new String[]{};
- if(null != templateExpr) {
- array = templateExpr.split(",");
- }
+// protected void loadTemplates(String templateExpr) {
+// String[] array = new String[]{};
+// if(null != templateExpr) {
+// array = templateExpr.split(",");
+// }
+//
+// List<Object[]> list = new ArrayList<Object[]>();
+// for (String string : array) {
+// Object[] elem = new Object[] {Template.valueOf(string)};
+// list.add(elem);
+// }
+//
+// this.data = (Object[][]) list.toArray(new Object[0][0]);
+// }
- List<Object[]> list = new ArrayList<Object[]>();
- for (String string : array) {
- Object[] elem = new Object[] {Template.valueOf(string)};
- list.add(elem);
- }
-
- this.data = (Object[][]) list.toArray(new Object[0][0]);
- }
-
@AfterSuite
public void stopSeleniumServer() throws Exception {
seleniumServer.stop();
@@ -157,13 +151,13 @@
/**
* Renders page
*/
- protected void renderPage(Template template) {
+ protected void renderPage() {
selenium.open(protocol + "://" + host + ":" + port + "/" + APPLICATION_NAME + filterPrefix + getTestUrl());
selenium.waitForPageToLoad(String.valueOf(pageRenderTime));
- setParentId(template.getPrefix());
- runScript("loadTemplate('" + template + "');", false);
- waitForPageToLoad();
+ //setParentId(template.getPrefix());
+ //runScript("loadTemplate('" + template + "');", false);
+ //waitForPageToLoad();
checkPageRendering(); // At the first we check if page has been
// rendered
Modified: trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/testng/SimpleTest.java
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/testng/SimpleTest.java 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/testng/SimpleTest.java 2008-10-27 12:49:01 UTC (rev 10908)
@@ -1,19 +1,18 @@
package org.richfaces.testng;
-import org.ajax4jsf.template.Template;
import org.richfaces.SeleniumTestBase;
import org.testng.annotations.Test;
public class SimpleTest extends SeleniumTestBase {
@Test
- public void testXHTML(Template template) {
- renderPage(template);
+ public void testXHTML() {
+ renderPage();
}
@Test
- public void testJSP(Template template) {
+ public void testJSP() {
selenium.open("http://localhost:" + serverPort + "/" + APPLICATION_NAME + "/faces/NEKO/pages/examples/home.jsp");
waitForPageToLoad();
Modified: trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/testng/rf4507/Test.java
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/testng/rf4507/Test.java 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/testng/rf4507/Test.java 2008-10-27 12:49:01 UTC (rev 10908)
@@ -1,55 +1,54 @@
package org.richfaces.testng.rf4507;
-import org.ajax4jsf.template.Template;
import org.richfaces.SeleniumTestBase;
import org.testng.Assert;
public class Test extends SeleniumTestBase {
- private String getIdSelector(Template template, String id) {
- return "//*[@id='" + template.getPrefix() + id + "']";
+ private String getIdSelector(String id) {
+ return "//*[@id='" + id + "']";
}
- private void testCalendarSwitch(Template template, int buttonPosition, String cellText) {
- renderPage(template);
+ private void testCalendarSwitch(int buttonPosition, String cellText) {
+ renderPage();
- AssertTextEquals(getIdSelector(template, "form:calendarDayCell6") + "/div", "5-10");
+ AssertTextEquals(getIdSelector("form:calendarDayCell6") + "/div", "5-10");
- selenium.assignId(getIdSelector(template, "form:calendarHeader") + "//td[*[@class='rich-calendar-tool-btn']][" + buttonPosition + "]/div", "testButton");
+ selenium.assignId(getIdSelector("form:calendarHeader") + "//td[*[@class='rich-calendar-tool-btn']][" + buttonPosition + "]/div", "testButton");
fireMouseEvent("testButton", "click", 0, 0, false);
waitForAjaxCompletion();
- AssertTextEquals(getIdSelector(template, "form:calendarDayCell6") + "/div", cellText);
+ AssertTextEquals(getIdSelector( "form:calendarDayCell6") + "/div", cellText);
}
- private void testLink(Template template, String linkId, String data) throws Exception {
- renderPage(template);
+ private void testLink(String linkId, String data) throws Exception {
+ renderPage();
Assert.assertEquals("null", selenium.getEval("window.receivedData"));
- clickAjaxCommandAndWait(getIdSelector(template, linkId));
+ clickAjaxCommandAndWait(getIdSelector(linkId));
Assert.assertEquals(data, selenium.getEval("window.receivedData"));
}
@org.testng.annotations.Test
- public void testNextMonth(Template template) throws Exception {
- testCalendarSwitch(template, 4, "2-11");
+ public void testNextMonth() throws Exception {
+ testCalendarSwitch(4, "2-11");
}
@org.testng.annotations.Test
- public void testPreviousMonth(Template template) throws Exception {
- testCalendarSwitch(template, 2, "7-9");
+ public void testPreviousMonth() throws Exception {
+ testCalendarSwitch(2, "7-9");
}
@org.testng.annotations.Test
- public void testFirstLink(Template template) throws Exception {
- testLink(template, "form:link1", "firstLink");
+ public void testFirstLink() throws Exception {
+ testLink("form:link1", "firstLink");
}
@org.testng.annotations.Test
- public void testSecondLink(Template template) throws Exception {
- testLink(template, "form:link2", "secondLink");
+ public void testSecondLink() throws Exception {
+ testLink("form:link2", "secondLink");
}
public String getTestUrl() {
Modified: trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/testng/rf4709/Test.java
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/testng/rf4709/Test.java 2008-10-27 12:10:41 UTC (rev 10907)
+++ trunk/test-applications/regressionArea/regressionArea-web/src/test/java/org/richfaces/testng/rf4709/Test.java 2008-10-27 12:49:01 UTC (rev 10908)
@@ -1,49 +1,48 @@
package org.richfaces.testng.rf4709;
-import org.ajax4jsf.template.Template;
import org.richfaces.SeleniumTestBase;
public class Test extends SeleniumTestBase {
- private String getMessagesLocator(Template template) {
- return "//*[@id='" + template.getPrefix() + "messages']";
+ private String getMessagesLocator() {
+ return "//*[@id='" + "messages']";
}
@org.testng.annotations.Test
- public void testTabPanel(Template template) throws Exception {
- renderPage(template);
+ public void testTabPanel() throws Exception {
+ renderPage();
- AssertTextEquals(getMessagesLocator(template), "");
+ AssertTextEquals(getMessagesLocator(), "");
- selenium.assignId("//*[@id='" + (template.getPrefix() + "form:secondTab_lbl") + "']", "testElement");
+ selenium.assignId("//*[@id='form:secondTab_lbl']", "testElement");
fireMouseEvent("testElement", "click", 0, 0, false);
waitForAjaxCompletion();
- AssertTextEquals(getMessagesLocator(template), "tabPanel");
+ AssertTextEquals(getMessagesLocator(), "tabPanel");
}
@org.testng.annotations.Test
- public void testTogglePanel(Template template) throws Exception {
- renderPage(template);
+ public void testTogglePanel() throws Exception {
+ renderPage();
- AssertTextEquals(getMessagesLocator(template), "");
+ AssertTextEquals(getMessagesLocator(), "");
- selenium.click("//*[@id='" + template.getPrefix() + "form:firstControl']");
+ selenium.click("//*[@id='form:firstControl']");
waitForAjaxCompletion();
- AssertTextEquals(getMessagesLocator(template), "togglePanel");
+ AssertTextEquals(getMessagesLocator(), "togglePanel");
}
@org.testng.annotations.Test
- public void testPanelBar(Template template) throws Exception {
- renderPage(template);
+ public void testPanelBar() throws Exception {
+ renderPage();
- AssertTextEquals(getMessagesLocator(template), "");
- selenium.assignId("//*[@id='" + (template.getPrefix() + "form:secondPanelBarItem") + "']/div[1]", "testElement");
+ AssertTextEquals(getMessagesLocator(), "");
+ selenium.assignId("//*[@id='form:secondPanelBarItem']/div[1]", "testElement");
fireMouseEvent("testElement", "click", 0, 0, false);
waitForAjaxCompletion();
- AssertTextEquals(getMessagesLocator(template), "panelBar");
+ AssertTextEquals(getMessagesLocator(), "panelBar");
}
@Override
17 years, 2 months
JBoss Rich Faces SVN: r10907 - trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources.
by richfaces-svn-commits@lists.jboss.org
Author: andrei_exadel
Date: 2008-10-27 08:10:41 -0400 (Mon, 27 Oct 2008)
New Revision: 10907
Modified:
trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources/components.properties
Log:
Change ejb pattern
Modified: trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources/components.properties
===================================================================
--- trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources/components.properties 2008-10-25 13:48:45 UTC (rev 10906)
+++ trunk/test-applications/regressionArea/regressionArea-ejb/src/main/resources/components.properties 2008-10-27 12:10:41 UTC (rev 10907)
@@ -1,4 +1,4 @@
#
#Wed Feb 27 12:58:12 EET 2008
-jndiPattern=Seam-ear-3.3.0-SNAPSHOT/#{ejbName}/local
+jndiPattern=regressionArea-ear-3.3.0-SNAPSHOT/#{ejbName}/local
embeddedEjb=true
17 years, 2 months
JBoss Rich Faces SVN: r10906 - trunk/test-applications/jsp/src/main/java/util/componentInfo.
by richfaces-svn-commits@lists.jboss.org
Author: mvitenkov
Date: 2008-10-25 09:48:45 -0400 (Sat, 25 Oct 2008)
New Revision: 10906
Modified:
trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentInfo.java
Log:
Modified: trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentInfo.java
===================================================================
--- trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentInfo.java 2008-10-25 13:48:24 UTC (rev 10905)
+++ trunk/test-applications/jsp/src/main/java/util/componentInfo/ComponentInfo.java 2008-10-25 13:48:45 UTC (rev 10906)
@@ -8,12 +8,10 @@
import java.util.ArrayList;
import javax.el.ValueExpression;
-import javax.faces.component.UIComponent;
import javax.faces.component.UIComponentBase;
import javax.faces.context.FacesContext;
-import org.richfaces.component.UICalendar;
-
+import util.parser.Attribute;
import util.parser.TLDParser;
public class ComponentInfo {
@@ -76,8 +74,12 @@
String richName = null;
if(component.getClass().getName().startsWith("org.richfaces.component.html.Html")){
- richName = component.getClass().getName().substring("org.richfaces.component.html.Html".length()).toLowerCase();
- } else {
+ richName = component.getClass().getName().substring("org.richfaces.component.html.Html".length());
+ richName = richName.substring(0, 1).toLowerCase() + richName.substring(1, richName.length());
+ } else if(component.getClass().getName().startsWith("org.richfaces.component.UI")){
+ richName = component.getClass().getName().substring("org.richfaces.component.UI".length());
+ richName = richName.substring(0, 1).toLowerCase() + richName.substring(1, richName.length());
+ }else {
try {
throw new Exception("Unknown class for component!!!");
} catch (Exception e) {
@@ -85,9 +87,9 @@
}
}
TLDParser parser = new TLDParser(richName);
- ArrayList<String> allAttributes = parser.getAllAttributes();
- for(String s:allAttributes){
- System.out.println(s);
+ ArrayList<Attribute> allAttributes = parser.getAllAttributes();
+ for(Attribute s:allAttributes){
+ System.out.println(s.toString());
}
AccessibleObject.setAccessible(fields, true);
17 years, 2 months