Author: nbelaevski
Date: 2009-08-18 08:27:36 -0400 (Tue, 18 Aug 2009)
New Revision: 15198
Removed:
root/ui/trunk/components/core/src/main/java/org/richfaces/renderkit/html/AjaxFunctionRenderer1.java
Modified:
root/ui/trunk/pom.xml
Log:
Big A1 components check-in
Deleted:
root/ui/trunk/components/core/src/main/java/org/richfaces/renderkit/html/AjaxFunctionRenderer1.java
===================================================================
---
root/ui/trunk/components/core/src/main/java/org/richfaces/renderkit/html/AjaxFunctionRenderer1.java 2009-08-18
12:26:30 UTC (rev 15197)
+++
root/ui/trunk/components/core/src/main/java/org/richfaces/renderkit/html/AjaxFunctionRenderer1.java 2009-08-18
12:27:36 UTC (rev 15198)
@@ -1,53 +0,0 @@
-/**
- * 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;
-
-import java.io.IOException;
-
-import javax.faces.component.UIComponent;
-import javax.faces.context.FacesContext;
-import javax.faces.context.ResponseWriter;
-
-import org.ajax4jsf.renderkit.RendererUtils.HTML;
-import org.richfaces.component.UIAjaxFunction;
-import org.richfaces.renderkit.AjaxFunctionRendererBase;
-
-/**
- * @author Nick Belaevski
- *
- */
-public class AjaxFunctionRenderer1 extends AjaxFunctionRendererBase {
-
- /* (non-Javadoc)
- * @see org.ajax4jsf.renderkit.RendererBase#encodeEnd(javax.faces.context.FacesContext,
javax.faces.component.UIComponent)
- */
- @Override
- public void encodeEnd(FacesContext context, UIComponent component)
- throws IOException {
- super.encodeEnd(context, component);
- ResponseWriter writer = context.getResponseWriter();
- writer.startElement(HTML.SCRIPT_ELEM, component);
- writer.writeAttribute(HTML.id_ATTRIBUTE, component.getClientId(context),
"id");
- writer.writeText(getFunction(context, (UIAjaxFunction) component), null);
- writer.endElement(HTML.SCRIPT_ELEM);
- }
-}
Modified: root/ui/trunk/pom.xml
===================================================================
--- root/ui/trunk/pom.xml 2009-08-18 12:26:30 UTC (rev 15197)
+++ root/ui/trunk/pom.xml 2009-08-18 12:27:36 UTC (rev 15198)
@@ -23,12 +23,12 @@
<groupId>org.richfaces.cdk</groupId>
<artifactId>maven-cdk-plugin</artifactId>
<executions>
- <!--execution>
+ <execution>
<phase>generate-sources</phase>
<goals>
- <goal>generate</goal>
+ <goal>compile-templates</goal>
</goals>
- </execution-->
+ </execution>
<!--execution>
<id>generate-test-sources</id>
<phase>generate-test-sources</phase>
Show replies by date