JBoss Rich Faces SVN: r4624 - in trunk/extensions/portletbridge: portletbridge-api/src/main/java/javax/portlet/faces and 14 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-12-07 16:06:24 -0500 (Fri, 07 Dec 2007)
New Revision: 4624
Added:
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/AbstractAjax4jsfPortletTestCase.java
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/IteratorEnumeration.java
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockActionRequest.java
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockActionResponse.java
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletConfig.java
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletContext.java
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletRequest.java
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletResponse.java
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockRenderRequest.java
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockRenderResponse.java
trunk/extensions/portletbridge/portletbridge-impl/src/main/java/META-INF/
trunk/extensions/portletbridge/portletbridge-impl/src/main/java/META-INF/MANIFEST.MF
trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/services/javax.portlet.faces.Bridge
trunk/extensions/portletbridge/portletbridge-impl/src/test/resources/
trunk/extensions/portletbridge/portletbridge-impl/src/test/resources/META-INF/
trunk/extensions/portletbridge/portletbridge-impl/src/test/resources/META-INF/services/
Removed:
trunk/extensions/portletbridge/portletbridge-api/src/test/resources/META-INF/services/javax.faces.context.FacesContextFactory
trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/services/javax.faces.context.FacesContextFactory
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/AbstractAjax4jsfPortletTestCase.java
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/IteratorEnumeration.java
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockActionRequest.java
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockActionResponse.java
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletConfig.java
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletContext.java
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletRequest.java
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletResponse.java
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockRenderRequest.java
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockRenderResponse.java
Modified:
trunk/extensions/portletbridge/portletbridge-api/pom.xml
trunk/extensions/portletbridge/portletbridge-api/src/main/java/javax/portlet/faces/GenericFacesPortlet.java
trunk/extensions/portletbridge/portletbridge-api/src/test/java/javax/portlet/faces/GenericPortletTest.java
trunk/extensions/portletbridge/portletbridge-impl/pom.xml
Log:
Split portletbridge into api and implementation
Modified: trunk/extensions/portletbridge/portletbridge-api/pom.xml
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/pom.xml 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-api/pom.xml 2007-12-07 21:06:24 UTC (rev 4624)
@@ -2,8 +2,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
- <artifactId>extensions</artifactId>
- <groupId>org.richfaces</groupId>
+ <artifactId>portletbridge</artifactId>
+ <groupId>org.richfaces.extensions</groupId>
<version>3.2.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -12,4 +12,19 @@
<version>3.2.0-SNAPSHOT</version>
<name>JSR-301 jsf-portlet brige api</name>
<url>http://labs.jboss.com/wiki/Ajax4jsf/a4j-portlet</url>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
\ No newline at end of file
Modified: trunk/extensions/portletbridge/portletbridge-api/src/main/java/javax/portlet/faces/GenericFacesPortlet.java
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/main/java/javax/portlet/faces/GenericFacesPortlet.java 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-api/src/main/java/javax/portlet/faces/GenericFacesPortlet.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -20,7 +20,6 @@
import javax.portlet.RenderResponse;
import javax.portlet.WindowState;
-import org.ajax4jsf.portlet.AjaxPortletBridge;
/**
* JSR 301 generic faces pottlet implementation.
@@ -33,8 +32,6 @@
private static final String BRIDGE_SERVICE_CLASSPATH = "META-INF/services/javax.portlet.faces.Bridge";
public static final String BRIDGE_CLASS = "javax.portlet.faces.BridgeClassName";
- private static final String DEFAULT_BRIDGE_CLASS = AjaxPortletBridge.class
- .getName();
private volatile String bridgeClassName = null;
private volatile Bridge facesPortletBrige = null;
@@ -76,7 +73,7 @@
}
}
if (null == bridgeClassName) {
- bridgeClassName = DEFAULT_BRIDGE_CLASS;
+ throw new PortletException("Can't detect bridge implementation class name");
}
String renderPolicy =
this.getPortletConfig().getInitParameter(Bridge.BRIDGE_PACKAGE_PREFIX + Bridge.RENDER_POLICY);
Modified: trunk/extensions/portletbridge/portletbridge-api/src/test/java/javax/portlet/faces/GenericPortletTest.java
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/test/java/javax/portlet/faces/GenericPortletTest.java 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-api/src/test/java/javax/portlet/faces/GenericPortletTest.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -6,7 +6,6 @@
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
-import java.net.URLClassLoader;
import javax.portlet.PortletException;
import javax.portlet.PortletMode;
@@ -14,11 +13,7 @@
import javax.portlet.RenderResponse;
import org.ajax4jsf.portlet.AbstractAjax4jsfPortletTestCase;
-import org.ajax4jsf.portlet.AjaxFacesPortlet;
-import org.ajax4jsf.portlet.AjaxPortletBridge;
-import junit.framework.TestCase;
-
/**
* @author asmirnov
*
@@ -113,10 +108,10 @@
portletConfig.addInitParameter("javax.portlet.faces.renderPolicy",
Bridge.BridgeRenderPolicy.NEVER_DELEGATE.toString());
portletConfig.setPortletName("foo");
+ portletContext.setInitParameter("javax.portlet.faces.BridgeClassName",
+ MockBridge.class.getName());
GenericFacesPortlet portlet = new GenericFacesPortlet();
portlet.init(portletConfig);
- assertEquals(AjaxPortletBridge.class.getName(), portlet
- .getBrigeClassName());
assertEquals(Boolean.TRUE, portletContext
.getAttribute("javax.portlet.faces.foo.preserveActionParams"));
assertEquals(Bridge.BridgeRenderPolicy.NEVER_DELEGATE, portletContext
@@ -126,10 +121,12 @@
/**
* Test method for
* {@link javax.portlet.faces.GenericFacesPortlet#doDispatch(javax.portlet.RenderRequest, javax.portlet.RenderResponse)}.
- * @throws PortletException
- * @throws IOException
+ *
+ * @throws PortletException
+ * @throws IOException
*/
- public void testDoDispatchRenderRequestRenderResponse() throws PortletException, IOException {
+ public void testDoDispatchRenderRequestRenderResponse()
+ throws PortletException, IOException {
setupRenderRequest();
GenericFacesPortletExtension portlet = new GenericFacesPortletExtension();
portletContext.setInitParameter("javax.portlet.faces.BridgeClassName",
@@ -147,10 +144,12 @@
/**
* Test method for
* {@link javax.portlet.faces.GenericFacesPortlet#doDispatch(javax.portlet.RenderRequest, javax.portlet.RenderResponse)}.
- * @throws PortletException
- * @throws IOException
+ *
+ * @throws PortletException
+ * @throws IOException
*/
- public void testDoDispatchRenderRequestRenderResponseEdit() throws PortletException, IOException {
+ public void testDoDispatchRenderRequestRenderResponseEdit()
+ throws PortletException, IOException {
setupRenderRequest();
GenericFacesPortletExtension portlet = new GenericFacesPortletExtension();
portletContext.setInitParameter("javax.portlet.faces.BridgeClassName",
@@ -165,13 +164,16 @@
assertTrue(portlet.editProcessed);
assertFalse(portlet.viewProcessed);
}
+
/**
* Test method for
* {@link javax.portlet.faces.GenericFacesPortlet#doDispatch(javax.portlet.RenderRequest, javax.portlet.RenderResponse)}.
- * @throws PortletException
- * @throws IOException
+ *
+ * @throws PortletException
+ * @throws IOException
*/
- public void testDoDispatchRenderRequestRenderResponseHelp() throws PortletException, IOException {
+ public void testDoDispatchRenderRequestRenderResponseHelp()
+ throws PortletException, IOException {
setupRenderRequest();
GenericFacesPortletExtension portlet = new GenericFacesPortletExtension();
portletContext.setInitParameter("javax.portlet.faces.BridgeClassName",
@@ -186,13 +188,16 @@
assertFalse(portlet.editProcessed);
assertFalse(portlet.viewProcessed);
}
+
/**
* Test method for
* {@link javax.portlet.faces.GenericFacesPortlet#doEdit(javax.portlet.RenderRequest, javax.portlet.RenderResponse)}.
- * @throws IOException
- * @throws PortletException
+ *
+ * @throws IOException
+ * @throws PortletException
*/
- public void testDoEditRenderRequestRenderResponse() throws PortletException, IOException {
+ public void testDoEditRenderRequestRenderResponse()
+ throws PortletException, IOException {
setupRenderRequest();
GenericFacesPortlet portlet = new GenericFacesPortlet();
portletContext.setInitParameter("javax.portlet.faces.BridgeClassName",
@@ -216,10 +221,12 @@
/**
* Test method for
* {@link javax.portlet.faces.GenericFacesPortlet#doView(javax.portlet.RenderRequest, javax.portlet.RenderResponse)}.
- * @throws PortletException
- * @throws IOException
+ *
+ * @throws PortletException
+ * @throws IOException
*/
- public void testDoViewRenderRequestRenderResponse() throws PortletException, IOException {
+ public void testDoViewRenderRequestRenderResponse()
+ throws PortletException, IOException {
setupRenderRequest();
GenericFacesPortlet portlet = new GenericFacesPortlet();
portletContext.setInitParameter("javax.portlet.faces.BridgeClassName",
@@ -277,9 +284,15 @@
public void testGetBrigeClassName1() throws PortletException {
setupActionRequest();
GenericFacesPortlet portlet = new GenericFacesPortlet();
- portlet.init(portletConfig);
- assertEquals(AjaxPortletBridge.class.getName(), portlet
- .getBrigeClassName());
+ try {
+ portlet.init(portletConfig);
+
+ } catch (PortletException e) {
+ assertEquals("Can't detect bridge implementation class name", e
+ .getMessage());
+ return;
+ }
+ assertTrue("No exception for unknown bridge implementation", false);
}
/**
@@ -314,7 +327,8 @@
/**
* Test method for
* {@link javax.portlet.faces.GenericFacesPortlet#getDefaultViewId(javax.portlet.PortletRequest, javax.portlet.PortletMode)}.
- * @throws PortletException
+ *
+ * @throws PortletException
*/
public void testGetDefaultViewId() throws PortletException {
setupActionRequest();
@@ -324,7 +338,8 @@
portletConfig.addInitParameter(
"javax.portlet.faces.defaultViewId.view", "index.jsf");
portlet.init(portletConfig);
- assertEquals("index.jsf", portlet.getDefaultViewId(actionRequest, actionRequest.getPortletMode()));
+ assertEquals("index.jsf", portlet.getDefaultViewId(actionRequest,
+ actionRequest.getPortletMode()));
}
/**
Copied: trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/AbstractAjax4jsfPortletTestCase.java (from rev 4615, trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/AbstractAjax4jsfPortletTestCase.java)
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/AbstractAjax4jsfPortletTestCase.java (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/AbstractAjax4jsfPortletTestCase.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -0,0 +1,61 @@
+/**
+ *
+ */
+package org.ajax4jsf.portlet;
+
+import org.ajax4jsf.tests.AbstractAjax4JsfTestCase;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class AbstractAjax4jsfPortletTestCase extends AbstractAjax4JsfTestCase {
+
+ protected MockActionRequest actionRequest;
+ protected MockActionResponse actionResponse;
+ protected MockPortletContext portletContext;
+ protected MockRenderRequest renderRequest;
+ protected MockRenderResponse renderResponse;
+ protected MockPortletConfig portletConfig;
+
+ public AbstractAjax4jsfPortletTestCase(String name) {
+ super(name);
+ }
+
+ public void setUp() throws Exception {
+ super.setUp();
+ portletContext = new MockPortletContext();
+ portletConfig = new MockPortletConfig(portletContext);
+ }
+
+ public void tearDown() throws Exception {
+ super.tearDown();
+ actionRequest = null;
+ actionResponse = null;
+ renderRequest = null;
+ renderResponse = null;
+ portletContext = null;
+ portletConfig = null;
+ }
+
+ /**
+ *
+ */
+ protected void setupActionRequest() {
+ actionRequest = new MockActionRequest();
+ actionResponse = new MockActionResponse();
+ externalContext.setRequest(actionRequest);
+ externalContext.setResponse(actionResponse);
+ }
+
+ /**
+ *
+ */
+ protected void setupRenderRequest() {
+ renderRequest = new MockRenderRequest();
+ renderResponse = new MockRenderResponse();
+ externalContext.setRequest(renderRequest);
+ externalContext.setResponse(renderResponse);
+ }
+
+}
Copied: trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/IteratorEnumeration.java (from rev 4615, trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/IteratorEnumeration.java)
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/IteratorEnumeration.java (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/IteratorEnumeration.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -0,0 +1,23 @@
+/**
+ *
+ */
+package org.ajax4jsf.portlet;
+
+import java.util.Enumeration;
+import java.util.Iterator;
+
+final class IteratorEnumeration implements Enumeration {
+ private Iterator<String> iterator;
+
+ public IteratorEnumeration(Iterator<String> iterator) {
+ this.iterator=iterator;
+ }
+
+ public boolean hasMoreElements() {
+ return iterator.hasNext();
+ }
+
+ public Object nextElement() {
+ return iterator.next();
+ }
+}
\ No newline at end of file
Copied: trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockActionRequest.java (from rev 4615, trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockActionRequest.java)
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockActionRequest.java (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockActionRequest.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -0,0 +1,64 @@
+/**
+ *
+ */
+package org.ajax4jsf.portlet;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.UnsupportedEncodingException;
+import javax.portlet.ActionRequest;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class MockActionRequest extends MockPortletRequest implements
+ ActionRequest {
+ /* (non-Javadoc)
+ * @see javax.portlet.ActionRequest#getCharacterEncoding()
+ */
+ public String getCharacterEncoding() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.ActionRequest#getContentLength()
+ */
+ public int getContentLength() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.ActionRequest#getContentType()
+ */
+ public String getContentType() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.ActionRequest#getPortletInputStream()
+ */
+ public InputStream getPortletInputStream() throws IOException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.ActionRequest#getReader()
+ */
+ public BufferedReader getReader() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.ActionRequest#setCharacterEncoding(java.lang.String)
+ */
+ public void setCharacterEncoding(String arg0) {
+ // TODO Auto-generated method stub
+ }
+}
Copied: trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockActionResponse.java (from rev 4615, trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockActionResponse.java)
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockActionResponse.java (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockActionResponse.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -0,0 +1,61 @@
+/**
+ *
+ */
+package org.ajax4jsf.portlet;
+
+import java.io.IOException;
+import java.util.Map;
+import javax.portlet.ActionResponse;
+import javax.portlet.PortletMode;
+import javax.portlet.PortletModeException;
+import javax.portlet.WindowState;
+import javax.portlet.WindowStateException;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class MockActionResponse extends MockPortletResponse implements
+ ActionResponse {
+ /* (non-Javadoc)
+ * @see javax.portlet.ActionResponse#sendRedirect(java.lang.String)
+ */
+ public void sendRedirect(String arg0) {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.ActionResponse#setPortletMode(javax.portlet.PortletMode)
+ */
+ public void setPortletMode(PortletMode arg0) throws PortletModeException {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.ActionResponse#setRenderParameter(java.lang.String, java.lang.String)
+ */
+ public void setRenderParameter(String arg0, String arg1) {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.ActionResponse#setRenderParameter(java.lang.String, java.lang.String[])
+ */
+ public void setRenderParameter(String arg0, String[] arg1) {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.ActionResponse#setRenderParameters(java.util.Map)
+ */
+ public void setRenderParameters(Map arg0) {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.ActionResponse#setWindowState(javax.portlet.WindowState)
+ */
+ public void setWindowState(WindowState arg0) throws WindowStateException {
+ // TODO Auto-generated method stub
+ }
+}
Copied: trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletConfig.java (from rev 4615, trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletConfig.java)
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletConfig.java (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletConfig.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -0,0 +1,82 @@
+/**
+ *
+ */
+package org.ajax4jsf.portlet;
+
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.Locale;
+import java.util.Map;
+import java.util.ResourceBundle;
+
+import javax.portlet.PortletConfig;
+import javax.portlet.PortletContext;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class MockPortletConfig implements PortletConfig {
+
+ private final PortletContext context;
+
+ private Map<String, String> parameters;
+
+ private String portletName="generic";
+
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletConfig#getInitParameter(java.lang.String)
+ */
+ public String getInitParameter(String arg0) {
+
+ return parameters.get(arg0);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletConfig#getInitParameterNames()
+ */
+ public Enumeration getInitParameterNames() {
+ return new IteratorEnumeration(parameters.keySet().iterator());
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletConfig#getPortletContext()
+ */
+ public PortletContext getPortletContext() {
+ return context;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletConfig#getPortletName()
+ */
+ public String getPortletName() {
+ // TODO Auto-generated method stub
+ return this.portletName;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletConfig#getResourceBundle(java.util.Locale)
+ */
+ public ResourceBundle getResourceBundle(Locale arg0) {
+ return ResourceBundle.getBundle("javax.portlet.faces.bundle", arg0);
+ }
+
+ /**
+ * @param portletName the portletName to set
+ */
+ public void setPortletName(String name) {
+ this.portletName = name;
+ }
+
+ public void addInitParameter(String name, String value){
+ this.parameters.put(name, value);
+ }
+
+ public MockPortletConfig(PortletContext context) {
+ super();
+ this.context = context;
+ parameters = new HashMap<String, String>();
+ }
+
+}
Copied: trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletContext.java (from rev 4615, trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletContext.java)
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletContext.java (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletContext.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -0,0 +1,182 @@
+/**
+ *
+ */
+package org.ajax4jsf.portlet;
+
+import java.io.InputStream;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.Collections;
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Set;
+import javax.portlet.PortletContext;
+import javax.portlet.PortletRequestDispatcher;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class MockPortletContext implements PortletContext {
+ public static final String PORTLET_INIT_VALUE = "portlet_init_value";
+ public static final String INIT_PARAMETER = "init_parameter";
+
+ private Map<String, String> initParameters;
+
+ private Map<String, Object> attributes;
+
+
+ public MockPortletContext() {
+ initParameters = new HashMap<String, String>();
+ initParameters.put(INIT_PARAMETER, PORTLET_INIT_VALUE);
+ attributes = new HashMap<String, Object>();
+ }
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getAttribute(java.lang.String)
+ */
+ public Object getAttribute(String arg0) {
+ return attributes.get(arg0);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getAttributeNames()
+ */
+ public Enumeration getAttributeNames() {
+ return Collections.enumeration(attributes.keySet());
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getInitParameter(java.lang.String)
+ */
+ public String getInitParameter(String arg0) {
+ return initParameters.get(arg0);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getInitParameterNames()
+ */
+ public Enumeration getInitParameterNames() {
+ return Collections.enumeration(initParameters.keySet());
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getMajorVersion()
+ */
+ public int getMajorVersion() {
+ // TODO Auto-generated method stub
+ return 1;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getMimeType(java.lang.String)
+ */
+ public String getMimeType(String arg0) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getMinorVersion()
+ */
+ public int getMinorVersion() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getNamedDispatcher(java.lang.String)
+ */
+ public PortletRequestDispatcher getNamedDispatcher(String arg0) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getPortletContextName()
+ */
+ public String getPortletContextName() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getRealPath(java.lang.String)
+ */
+ public String getRealPath(String arg0) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getRequestDispatcher(java.lang.String)
+ */
+ public PortletRequestDispatcher getRequestDispatcher(String arg0) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getResource(java.lang.String)
+ */
+ public URL getResource(String arg0) throws MalformedURLException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getResourceAsStream(java.lang.String)
+ */
+ public InputStream getResourceAsStream(String arg0) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getResourcePaths(java.lang.String)
+ */
+ public Set getResourcePaths(String arg0) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#getServerInfo()
+ */
+ public String getServerInfo() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#log(java.lang.String)
+ */
+ public void log(String arg0) {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#log(java.lang.String, java.lang.Throwable)
+ */
+ public void log(String arg0, Throwable arg1) {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#removeAttribute(java.lang.String)
+ */
+ public void removeAttribute(String arg0) {
+ attributes.remove(arg0);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletContext#setAttribute(java.lang.String, java.lang.Object)
+ */
+ public void setAttribute(String arg0, Object arg1) {
+ attributes.put(arg0, arg1);
+ }
+
+ public void setInitParameter(String name, String value) {
+ initParameters.put(name, value);
+ }
+}
Copied: trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletRequest.java (from rev 4615, trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletRequest.java)
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletRequest.java (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletRequest.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -0,0 +1,308 @@
+/**
+ *
+ */
+package org.ajax4jsf.portlet;
+
+import java.security.Principal;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Enumeration;
+import java.util.HashMap;
+import java.util.Locale;
+import java.util.Map;
+import javax.portlet.PortalContext;
+import javax.portlet.PortletMode;
+import javax.portlet.PortletPreferences;
+import javax.portlet.PortletRequest;
+import javax.portlet.PortletSession;
+import javax.portlet.WindowState;
+
+import org.apache.shale.test.mock.MockHttpServletRequest;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class MockPortletRequest extends MockHttpServletRequest implements PortletRequest {
+
+ public static final String PARAMETER_VALUE2 = "value2";
+ public static final String PARAMETER_VALUE1 = "value1";
+ public static final String PARAMETER = "parameter";
+ public Map parameters = new HashMap();
+ public Map attributes = new HashMap();
+ public PortletMode mode = PortletMode.VIEW;
+ public WindowState windowState = WindowState.NORMAL;
+
+ public MockPortletRequest() {
+ parameters.put(PARAMETER, new String[]{PARAMETER_VALUE1,PARAMETER_VALUE2});
+ }
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getAttribute(java.lang.String)
+ */
+ public Object getAttribute(String arg0) {
+ // TODO Auto-generated method stub
+ return attributes.get(arg0);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getAttributeNames()
+ */
+ public Enumeration getAttributeNames() {
+ // TODO Auto-generated method stub
+ return Collections.enumeration(attributes.keySet());
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getAuthType()
+ */
+ public String getAuthType() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getContextPath()
+ */
+ public String getContextPath() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getLocale()
+ */
+ public Locale getLocale() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getLocales()
+ */
+ public Enumeration getLocales() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getParameter(java.lang.String)
+ */
+ public String getParameter(String name) {
+ String result = null;
+ String[] vals = (String[]) parameters.get(name);
+ if(null != vals){
+ result = vals[0];
+ }
+ return result;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getParameterMap()
+ */
+ public Map getParameterMap() {
+ return parameters;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getParameterNames()
+ */
+ public Enumeration getParameterNames() {
+ return Collections.enumeration(Collections.singleton(PARAMETER));
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getParameterValues(java.lang.String)
+ */
+ public String[] getParameterValues(String arg0) {
+ return (String[]) parameters.get(arg0);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getPortalContext()
+ */
+ public PortalContext getPortalContext() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getPortletMode()
+ */
+ public PortletMode getPortletMode() {
+ // TODO Auto-generated method stub
+ return mode;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getPortletSession()
+ */
+ public PortletSession getPortletSession() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getPortletSession(boolean)
+ */
+ public PortletSession getPortletSession(boolean arg0) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getPreferences()
+ */
+ public PortletPreferences getPreferences() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getProperties(java.lang.String)
+ */
+ public Enumeration getProperties(String arg0) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getProperty(java.lang.String)
+ */
+ public String getProperty(String arg0) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getPropertyNames()
+ */
+ public Enumeration getPropertyNames() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getRemoteUser()
+ */
+ public String getRemoteUser() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getRequestedSessionId()
+ */
+ public String getRequestedSessionId() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getResponseContentType()
+ */
+ public String getResponseContentType() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getResponseContentTypes()
+ */
+ public Enumeration getResponseContentTypes() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getScheme()
+ */
+ public String getScheme() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getServerName()
+ */
+ public String getServerName() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getServerPort()
+ */
+ public int getServerPort() {
+ return 80;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getUserPrincipal()
+ */
+ public Principal getUserPrincipal() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#getWindowState()
+ */
+ public WindowState getWindowState() {
+ return windowState;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#isPortletModeAllowed(javax.portlet.PortletMode)
+ */
+ public boolean isPortletModeAllowed(PortletMode arg0) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#isRequestedSessionIdValid()
+ */
+ public boolean isRequestedSessionIdValid() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#isSecure()
+ */
+ public boolean isSecure() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#isUserInRole(java.lang.String)
+ */
+ public boolean isUserInRole(String arg0) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#isWindowStateAllowed(javax.portlet.WindowState)
+ */
+ public boolean isWindowStateAllowed(WindowState arg0) {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#removeAttribute(java.lang.String)
+ */
+ public void removeAttribute(String arg0) {
+ attributes.remove(arg0);
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletRequest#setAttribute(java.lang.String, java.lang.Object)
+ */
+ public void setAttribute(String arg0, Object arg1) {
+ attributes.put(arg0, arg1);
+ }
+}
Copied: trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletResponse.java (from rev 4615, trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletResponse.java)
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletResponse.java (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockPortletResponse.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -0,0 +1,36 @@
+/**
+ *
+ */
+package org.ajax4jsf.portlet;
+
+import javax.portlet.PortletResponse;
+
+import org.apache.shale.test.mock.MockHttpServletResponse;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class MockPortletResponse extends MockHttpServletResponse implements PortletResponse {
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletResponse#addProperty(java.lang.String, java.lang.String)
+ */
+ public void addProperty(String arg0, String arg1) {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletResponse#encodeURL(java.lang.String)
+ */
+ public String encodeURL(String arg0) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.PortletResponse#setProperty(java.lang.String, java.lang.String)
+ */
+ public void setProperty(String arg0, String arg1) {
+ // TODO Auto-generated method stub
+ }
+}
Copied: trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockRenderRequest.java (from rev 4615, trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockRenderRequest.java)
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockRenderRequest.java (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockRenderRequest.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -0,0 +1,14 @@
+/**
+ *
+ */
+package org.ajax4jsf.portlet;
+
+import javax.portlet.RenderRequest;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class MockRenderRequest extends MockPortletRequest implements
+ RenderRequest {
+}
Copied: trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockRenderResponse.java (from rev 4615, trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockRenderResponse.java)
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockRenderResponse.java (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf/portlet/MockRenderResponse.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -0,0 +1,140 @@
+/**
+ *
+ */
+package org.ajax4jsf.portlet;
+
+import java.io.IOException;
+import java.io.OutputStream;
+import java.io.PrintWriter;
+import java.util.Locale;
+import javax.portlet.PortletURL;
+import javax.portlet.RenderResponse;
+
+/**
+ * @author asmirnov
+ *
+ */
+public class MockRenderResponse extends MockPortletResponse implements
+ RenderResponse {
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#createActionURL()
+ */
+ public PortletURL createActionURL() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#createRenderURL()
+ */
+ public PortletURL createRenderURL() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#flushBuffer()
+ */
+ public void flushBuffer() {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#getBufferSize()
+ */
+ public int getBufferSize() {
+ // TODO Auto-generated method stub
+ return 0;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#getCharacterEncoding()
+ */
+ public String getCharacterEncoding() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#getContentType()
+ */
+ public String getContentType() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#getLocale()
+ */
+ public Locale getLocale() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#getNamespace()
+ */
+ public String getNamespace() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#getPortletOutputStream()
+ */
+ public OutputStream getPortletOutputStream() throws IOException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#getWriter()
+ */
+ public PrintWriter getWriter() throws IOException {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#isCommitted()
+ */
+ public boolean isCommitted() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#reset()
+ */
+ public void reset() {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#resetBuffer()
+ */
+ public void resetBuffer() {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#setBufferSize(int)
+ */
+ public void setBufferSize(int arg0) {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#setContentType(java.lang.String)
+ */
+ public void setContentType(String arg0) {
+ // TODO Auto-generated method stub
+ }
+
+ /* (non-Javadoc)
+ * @see javax.portlet.RenderResponse#setTitle(java.lang.String)
+ */
+ public void setTitle(String arg0) {
+ // TODO Auto-generated method stub
+ }
+}
Deleted: trunk/extensions/portletbridge/portletbridge-api/src/test/resources/META-INF/services/javax.faces.context.FacesContextFactory
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/test/resources/META-INF/services/javax.faces.context.FacesContextFactory 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-api/src/test/resources/META-INF/services/javax.faces.context.FacesContextFactory 2007-12-07 21:06:24 UTC (rev 4624)
@@ -1 +0,0 @@
-org.apache.shale.test.mock.MockFacesContextFactory
Modified: trunk/extensions/portletbridge/portletbridge-impl/pom.xml
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/pom.xml 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-impl/pom.xml 2007-12-07 21:06:24 UTC (rev 4624)
@@ -2,8 +2,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
- <artifactId>extensions</artifactId>
- <groupId>org.richfaces</groupId>
+ <artifactId>portletbridge</artifactId>
+ <groupId>org.richfaces.extensions</groupId>
<version>3.2.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -30,5 +30,12 @@
<version>3.2.0-SNAPSHOT</version>
<optional>true</optional>
</dependency>
+ <dependency>
+ <groupId>org.richfaces.extensions.portletbridge</groupId>
+ <artifactId>portletbridge-api</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
\ No newline at end of file
Added: trunk/extensions/portletbridge/portletbridge-impl/src/main/java/META-INF/MANIFEST.MF
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/main/java/META-INF/MANIFEST.MF (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/main/java/META-INF/MANIFEST.MF 2007-12-07 21:06:24 UTC (rev 4624)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Property changes on: trunk/extensions/portletbridge/portletbridge-impl/src/main/java/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/services/javax.faces.context.FacesContextFactory
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/services/javax.faces.context.FacesContextFactory 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/services/javax.faces.context.FacesContextFactory 2007-12-07 21:06:24 UTC (rev 4624)
@@ -1 +0,0 @@
-org.ajax4jsf.portlet.context.FacesContextFactoryImpl
Added: trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/services/javax.portlet.faces.Bridge
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/services/javax.portlet.faces.Bridge (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/services/javax.portlet.faces.Bridge 2007-12-07 21:06:24 UTC (rev 4624)
@@ -0,0 +1 @@
+org.ajax4jsf.portlet.AjaxPortletBridge
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/AbstractAjax4jsfPortletTestCase.java
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/AbstractAjax4jsfPortletTestCase.java 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/AbstractAjax4jsfPortletTestCase.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -1,61 +0,0 @@
-/**
- *
- */
-package org.ajax4jsf.portlet;
-
-import org.ajax4jsf.tests.AbstractAjax4JsfTestCase;
-
-/**
- * @author asmirnov
- *
- */
-public class AbstractAjax4jsfPortletTestCase extends AbstractAjax4JsfTestCase {
-
- protected MockActionRequest actionRequest;
- protected MockActionResponse actionResponse;
- protected MockPortletContext portletContext;
- protected MockRenderRequest renderRequest;
- protected MockRenderResponse renderResponse;
- protected MockPortletConfig portletConfig;
-
- public AbstractAjax4jsfPortletTestCase(String name) {
- super(name);
- }
-
- public void setUp() throws Exception {
- super.setUp();
- portletContext = new MockPortletContext();
- portletConfig = new MockPortletConfig(portletContext);
- }
-
- public void tearDown() throws Exception {
- super.tearDown();
- actionRequest = null;
- actionResponse = null;
- renderRequest = null;
- renderResponse = null;
- portletContext = null;
- portletConfig = null;
- }
-
- /**
- *
- */
- protected void setupActionRequest() {
- actionRequest = new MockActionRequest();
- actionResponse = new MockActionResponse();
- externalContext.setRequest(actionRequest);
- externalContext.setResponse(actionResponse);
- }
-
- /**
- *
- */
- protected void setupRenderRequest() {
- renderRequest = new MockRenderRequest();
- renderResponse = new MockRenderResponse();
- externalContext.setRequest(renderRequest);
- externalContext.setResponse(renderResponse);
- }
-
-}
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/IteratorEnumeration.java
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/IteratorEnumeration.java 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/IteratorEnumeration.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -1,23 +0,0 @@
-/**
- *
- */
-package org.ajax4jsf.portlet;
-
-import java.util.Enumeration;
-import java.util.Iterator;
-
-final class IteratorEnumeration implements Enumeration {
- private Iterator<String> iterator;
-
- public IteratorEnumeration(Iterator<String> iterator) {
- this.iterator=iterator;
- }
-
- public boolean hasMoreElements() {
- return iterator.hasNext();
- }
-
- public Object nextElement() {
- return iterator.next();
- }
-}
\ No newline at end of file
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockActionRequest.java
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockActionRequest.java 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockActionRequest.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -1,64 +0,0 @@
-/**
- *
- */
-package org.ajax4jsf.portlet;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.UnsupportedEncodingException;
-import javax.portlet.ActionRequest;
-
-/**
- * @author asmirnov
- *
- */
-public class MockActionRequest extends MockPortletRequest implements
- ActionRequest {
- /* (non-Javadoc)
- * @see javax.portlet.ActionRequest#getCharacterEncoding()
- */
- public String getCharacterEncoding() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.ActionRequest#getContentLength()
- */
- public int getContentLength() {
- // TODO Auto-generated method stub
- return 0;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.ActionRequest#getContentType()
- */
- public String getContentType() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.ActionRequest#getPortletInputStream()
- */
- public InputStream getPortletInputStream() throws IOException {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.ActionRequest#getReader()
- */
- public BufferedReader getReader() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.ActionRequest#setCharacterEncoding(java.lang.String)
- */
- public void setCharacterEncoding(String arg0) {
- // TODO Auto-generated method stub
- }
-}
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockActionResponse.java
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockActionResponse.java 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockActionResponse.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -1,61 +0,0 @@
-/**
- *
- */
-package org.ajax4jsf.portlet;
-
-import java.io.IOException;
-import java.util.Map;
-import javax.portlet.ActionResponse;
-import javax.portlet.PortletMode;
-import javax.portlet.PortletModeException;
-import javax.portlet.WindowState;
-import javax.portlet.WindowStateException;
-
-/**
- * @author asmirnov
- *
- */
-public class MockActionResponse extends MockPortletResponse implements
- ActionResponse {
- /* (non-Javadoc)
- * @see javax.portlet.ActionResponse#sendRedirect(java.lang.String)
- */
- public void sendRedirect(String arg0) {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.ActionResponse#setPortletMode(javax.portlet.PortletMode)
- */
- public void setPortletMode(PortletMode arg0) throws PortletModeException {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.ActionResponse#setRenderParameter(java.lang.String, java.lang.String)
- */
- public void setRenderParameter(String arg0, String arg1) {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.ActionResponse#setRenderParameter(java.lang.String, java.lang.String[])
- */
- public void setRenderParameter(String arg0, String[] arg1) {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.ActionResponse#setRenderParameters(java.util.Map)
- */
- public void setRenderParameters(Map arg0) {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.ActionResponse#setWindowState(javax.portlet.WindowState)
- */
- public void setWindowState(WindowState arg0) throws WindowStateException {
- // TODO Auto-generated method stub
- }
-}
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletConfig.java
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletConfig.java 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletConfig.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -1,82 +0,0 @@
-/**
- *
- */
-package org.ajax4jsf.portlet;
-
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Locale;
-import java.util.Map;
-import java.util.ResourceBundle;
-
-import javax.portlet.PortletConfig;
-import javax.portlet.PortletContext;
-
-/**
- * @author asmirnov
- *
- */
-public class MockPortletConfig implements PortletConfig {
-
- private final PortletContext context;
-
- private Map<String, String> parameters;
-
- private String portletName="generic";
-
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletConfig#getInitParameter(java.lang.String)
- */
- public String getInitParameter(String arg0) {
-
- return parameters.get(arg0);
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletConfig#getInitParameterNames()
- */
- public Enumeration getInitParameterNames() {
- return new IteratorEnumeration(parameters.keySet().iterator());
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletConfig#getPortletContext()
- */
- public PortletContext getPortletContext() {
- return context;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletConfig#getPortletName()
- */
- public String getPortletName() {
- // TODO Auto-generated method stub
- return this.portletName;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletConfig#getResourceBundle(java.util.Locale)
- */
- public ResourceBundle getResourceBundle(Locale arg0) {
- return ResourceBundle.getBundle("javax.portlet.faces.bundle", arg0);
- }
-
- /**
- * @param portletName the portletName to set
- */
- public void setPortletName(String name) {
- this.portletName = name;
- }
-
- public void addInitParameter(String name, String value){
- this.parameters.put(name, value);
- }
-
- public MockPortletConfig(PortletContext context) {
- super();
- this.context = context;
- parameters = new HashMap<String, String>();
- }
-
-}
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletContext.java
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletContext.java 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletContext.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -1,182 +0,0 @@
-/**
- *
- */
-package org.ajax4jsf.portlet;
-
-import java.io.InputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.Collections;
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Set;
-import javax.portlet.PortletContext;
-import javax.portlet.PortletRequestDispatcher;
-
-/**
- * @author asmirnov
- *
- */
-public class MockPortletContext implements PortletContext {
- public static final String PORTLET_INIT_VALUE = "portlet_init_value";
- public static final String INIT_PARAMETER = "init_parameter";
-
- private Map<String, String> initParameters;
-
- private Map<String, Object> attributes;
-
-
- public MockPortletContext() {
- initParameters = new HashMap<String, String>();
- initParameters.put(INIT_PARAMETER, PORTLET_INIT_VALUE);
- attributes = new HashMap<String, Object>();
- }
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getAttribute(java.lang.String)
- */
- public Object getAttribute(String arg0) {
- return attributes.get(arg0);
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getAttributeNames()
- */
- public Enumeration getAttributeNames() {
- return Collections.enumeration(attributes.keySet());
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getInitParameter(java.lang.String)
- */
- public String getInitParameter(String arg0) {
- return initParameters.get(arg0);
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getInitParameterNames()
- */
- public Enumeration getInitParameterNames() {
- return Collections.enumeration(initParameters.keySet());
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getMajorVersion()
- */
- public int getMajorVersion() {
- // TODO Auto-generated method stub
- return 1;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getMimeType(java.lang.String)
- */
- public String getMimeType(String arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getMinorVersion()
- */
- public int getMinorVersion() {
- // TODO Auto-generated method stub
- return 0;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getNamedDispatcher(java.lang.String)
- */
- public PortletRequestDispatcher getNamedDispatcher(String arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getPortletContextName()
- */
- public String getPortletContextName() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getRealPath(java.lang.String)
- */
- public String getRealPath(String arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getRequestDispatcher(java.lang.String)
- */
- public PortletRequestDispatcher getRequestDispatcher(String arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getResource(java.lang.String)
- */
- public URL getResource(String arg0) throws MalformedURLException {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getResourceAsStream(java.lang.String)
- */
- public InputStream getResourceAsStream(String arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getResourcePaths(java.lang.String)
- */
- public Set getResourcePaths(String arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#getServerInfo()
- */
- public String getServerInfo() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#log(java.lang.String)
- */
- public void log(String arg0) {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#log(java.lang.String, java.lang.Throwable)
- */
- public void log(String arg0, Throwable arg1) {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#removeAttribute(java.lang.String)
- */
- public void removeAttribute(String arg0) {
- attributes.remove(arg0);
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletContext#setAttribute(java.lang.String, java.lang.Object)
- */
- public void setAttribute(String arg0, Object arg1) {
- attributes.put(arg0, arg1);
- }
-
- public void setInitParameter(String name, String value) {
- initParameters.put(name, value);
- }
-}
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletRequest.java
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletRequest.java 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletRequest.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -1,308 +0,0 @@
-/**
- *
- */
-package org.ajax4jsf.portlet;
-
-import java.security.Principal;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.Enumeration;
-import java.util.HashMap;
-import java.util.Locale;
-import java.util.Map;
-import javax.portlet.PortalContext;
-import javax.portlet.PortletMode;
-import javax.portlet.PortletPreferences;
-import javax.portlet.PortletRequest;
-import javax.portlet.PortletSession;
-import javax.portlet.WindowState;
-
-import org.apache.shale.test.mock.MockHttpServletRequest;
-
-/**
- * @author asmirnov
- *
- */
-public class MockPortletRequest extends MockHttpServletRequest implements PortletRequest {
-
- public static final String PARAMETER_VALUE2 = "value2";
- public static final String PARAMETER_VALUE1 = "value1";
- public static final String PARAMETER = "parameter";
- public Map parameters = new HashMap();
- public Map attributes = new HashMap();
- public PortletMode mode = PortletMode.VIEW;
- public WindowState windowState = WindowState.NORMAL;
-
- public MockPortletRequest() {
- parameters.put(PARAMETER, new String[]{PARAMETER_VALUE1,PARAMETER_VALUE2});
- }
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getAttribute(java.lang.String)
- */
- public Object getAttribute(String arg0) {
- // TODO Auto-generated method stub
- return attributes.get(arg0);
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getAttributeNames()
- */
- public Enumeration getAttributeNames() {
- // TODO Auto-generated method stub
- return Collections.enumeration(attributes.keySet());
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getAuthType()
- */
- public String getAuthType() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getContextPath()
- */
- public String getContextPath() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getLocale()
- */
- public Locale getLocale() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getLocales()
- */
- public Enumeration getLocales() {
- // TODO Auto-generated method stub
- return null;
- }
-
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getParameter(java.lang.String)
- */
- public String getParameter(String name) {
- String result = null;
- String[] vals = (String[]) parameters.get(name);
- if(null != vals){
- result = vals[0];
- }
- return result;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getParameterMap()
- */
- public Map getParameterMap() {
- return parameters;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getParameterNames()
- */
- public Enumeration getParameterNames() {
- return Collections.enumeration(Collections.singleton(PARAMETER));
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getParameterValues(java.lang.String)
- */
- public String[] getParameterValues(String arg0) {
- return (String[]) parameters.get(arg0);
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getPortalContext()
- */
- public PortalContext getPortalContext() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getPortletMode()
- */
- public PortletMode getPortletMode() {
- // TODO Auto-generated method stub
- return mode;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getPortletSession()
- */
- public PortletSession getPortletSession() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getPortletSession(boolean)
- */
- public PortletSession getPortletSession(boolean arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getPreferences()
- */
- public PortletPreferences getPreferences() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getProperties(java.lang.String)
- */
- public Enumeration getProperties(String arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getProperty(java.lang.String)
- */
- public String getProperty(String arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getPropertyNames()
- */
- public Enumeration getPropertyNames() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getRemoteUser()
- */
- public String getRemoteUser() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getRequestedSessionId()
- */
- public String getRequestedSessionId() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getResponseContentType()
- */
- public String getResponseContentType() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getResponseContentTypes()
- */
- public Enumeration getResponseContentTypes() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getScheme()
- */
- public String getScheme() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getServerName()
- */
- public String getServerName() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getServerPort()
- */
- public int getServerPort() {
- return 80;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getUserPrincipal()
- */
- public Principal getUserPrincipal() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#getWindowState()
- */
- public WindowState getWindowState() {
- return windowState;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#isPortletModeAllowed(javax.portlet.PortletMode)
- */
- public boolean isPortletModeAllowed(PortletMode arg0) {
- // TODO Auto-generated method stub
- return false;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#isRequestedSessionIdValid()
- */
- public boolean isRequestedSessionIdValid() {
- // TODO Auto-generated method stub
- return false;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#isSecure()
- */
- public boolean isSecure() {
- // TODO Auto-generated method stub
- return false;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#isUserInRole(java.lang.String)
- */
- public boolean isUserInRole(String arg0) {
- // TODO Auto-generated method stub
- return false;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#isWindowStateAllowed(javax.portlet.WindowState)
- */
- public boolean isWindowStateAllowed(WindowState arg0) {
- // TODO Auto-generated method stub
- return false;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#removeAttribute(java.lang.String)
- */
- public void removeAttribute(String arg0) {
- attributes.remove(arg0);
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletRequest#setAttribute(java.lang.String, java.lang.Object)
- */
- public void setAttribute(String arg0, Object arg1) {
- attributes.put(arg0, arg1);
- }
-}
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletResponse.java
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletResponse.java 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockPortletResponse.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -1,36 +0,0 @@
-/**
- *
- */
-package org.ajax4jsf.portlet;
-
-import javax.portlet.PortletResponse;
-
-import org.apache.shale.test.mock.MockHttpServletResponse;
-
-/**
- * @author asmirnov
- *
- */
-public class MockPortletResponse extends MockHttpServletResponse implements PortletResponse {
- /* (non-Javadoc)
- * @see javax.portlet.PortletResponse#addProperty(java.lang.String, java.lang.String)
- */
- public void addProperty(String arg0, String arg1) {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletResponse#encodeURL(java.lang.String)
- */
- public String encodeURL(String arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.PortletResponse#setProperty(java.lang.String, java.lang.String)
- */
- public void setProperty(String arg0, String arg1) {
- // TODO Auto-generated method stub
- }
-}
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockRenderRequest.java
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockRenderRequest.java 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockRenderRequest.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -1,14 +0,0 @@
-/**
- *
- */
-package org.ajax4jsf.portlet;
-
-import javax.portlet.RenderRequest;
-
-/**
- * @author asmirnov
- *
- */
-public class MockRenderRequest extends MockPortletRequest implements
- RenderRequest {
-}
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockRenderResponse.java
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockRenderResponse.java 2007-12-07 21:05:04 UTC (rev 4623)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/portlet/MockRenderResponse.java 2007-12-07 21:06:24 UTC (rev 4624)
@@ -1,140 +0,0 @@
-/**
- *
- */
-package org.ajax4jsf.portlet;
-
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.PrintWriter;
-import java.util.Locale;
-import javax.portlet.PortletURL;
-import javax.portlet.RenderResponse;
-
-/**
- * @author asmirnov
- *
- */
-public class MockRenderResponse extends MockPortletResponse implements
- RenderResponse {
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#createActionURL()
- */
- public PortletURL createActionURL() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#createRenderURL()
- */
- public PortletURL createRenderURL() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#flushBuffer()
- */
- public void flushBuffer() {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#getBufferSize()
- */
- public int getBufferSize() {
- // TODO Auto-generated method stub
- return 0;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#getCharacterEncoding()
- */
- public String getCharacterEncoding() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#getContentType()
- */
- public String getContentType() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#getLocale()
- */
- public Locale getLocale() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#getNamespace()
- */
- public String getNamespace() {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#getPortletOutputStream()
- */
- public OutputStream getPortletOutputStream() throws IOException {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#getWriter()
- */
- public PrintWriter getWriter() throws IOException {
- // TODO Auto-generated method stub
- return null;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#isCommitted()
- */
- public boolean isCommitted() {
- // TODO Auto-generated method stub
- return false;
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#reset()
- */
- public void reset() {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#resetBuffer()
- */
- public void resetBuffer() {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#setBufferSize(int)
- */
- public void setBufferSize(int arg0) {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#setContentType(java.lang.String)
- */
- public void setContentType(String arg0) {
- // TODO Auto-generated method stub
- }
-
- /* (non-Javadoc)
- * @see javax.portlet.RenderResponse#setTitle(java.lang.String)
- */
- public void setTitle(String arg0) {
- // TODO Auto-generated method stub
- }
-}
16 years, 10 months
JBoss Rich Faces SVN: r4623 - trunk/samples/ajaxPortlet.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-12-07 16:05:04 -0500 (Fri, 07 Dec 2007)
New Revision: 4623
Modified:
trunk/samples/ajaxPortlet/pom.xml
Log:
Split portletbridge into api and implementation
Modified: trunk/samples/ajaxPortlet/pom.xml
===================================================================
--- trunk/samples/ajaxPortlet/pom.xml 2007-12-07 20:48:59 UTC (rev 4622)
+++ trunk/samples/ajaxPortlet/pom.xml 2007-12-07 21:05:04 UTC (rev 4623)
@@ -1,61 +1,78 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>samples</artifactId>
<groupId>org.richfaces</groupId>
<version>3.2.0-SNAPSHOT</version>
</parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.richfaces.samples</groupId>
- <artifactId>portalAjaxSample</artifactId>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.richfaces.samples</groupId>
+ <artifactId>portalAjaxSample</artifactId>
<version>3.2.0-SNAPSHOT</version>
- <packaging>war</packaging>
- <description>Ajax JSF sample portlet</description>
- <build>
- <defaultGoal>package</defaultGoal>
- <finalName>portalAjaxSample</finalName>
- </build>
- <dependencies>
- <dependency>
- <groupId>javax.portlet</groupId>
- <artifactId>portlet-api</artifactId>
- <version>1.0</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.richfaces.extensions</groupId>
- <artifactId>portlet</artifactId>
- <version>3.2.0-SNAPSHOT</version>
- <exclusions>
- <exclusion>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-impl</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
+ <packaging>war</packaging>
+ <description>Ajax JSF sample portlet</description>
+ <build>
+ <defaultGoal>package</defaultGoal>
+ <finalName>portalAjaxSample</finalName>
+ </build>
+ <dependencies>
<dependency>
+ <groupId>javax.portlet</groupId>
+ <artifactId>portlet-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.extensions.portletbridge</groupId>
+ <artifactId>portletbridge-api</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.richfaces.extensions.portletbridge</groupId>
+ <artifactId>portletbridge-impl</artifactId>
+ <version>3.2.0-SNAPSHOT</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- <version>1.2_05</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-impl</artifactId>
- <version>1.2_05</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-</project>
-
+ <!--
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>1.2_05</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ <version>1.2_05</version>
+ <scope>provided</scope>
+ </dependency>
+ -->
+ </dependencies>
+</project>
+
16 years, 10 months
JBoss Rich Faces SVN: r4622 - in branches/3.1.x/ui: listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-12-07 15:48:59 -0500 (Fri, 07 Dec 2007)
New Revision: 4622
Modified:
branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss
branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss
Log:
Some CSS fixes.
Modified: branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss
===================================================================
--- branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss 2007-12-07 20:38:02 UTC (rev 4621)
+++ branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/css/listShuttle.xcss 2007-12-07 20:48:59 UTC (rev 4622)
@@ -97,6 +97,10 @@
vertical-align: middle;
}
+a.rich-list-shuttle-button-selection:visited, a.rich-list-shuttle-button-selection:link {
+ color: inherit;
+}
+
.rich-list-shuttle-caption {
text-align: left;
padding : 1px;
@@ -134,6 +138,17 @@
padding : 2px;
}
+.rich-shuttle-source-cell-end, .rich-shuttle-target-cell-end {
+ border-right: 1px solid;
+ white-space: nowrap;
+ padding : 1px 1px 1px 2px !important;
+}
+
+.rich-shuttle-source-cell-begin, .rich-shuttle-target-cell-begin {
+ border-left: 1px solid;
+ padding : 1px 2px 1px 1px !important
+}
+
.rich-shuttle-source-cell, .rich-shuttle-target-cell {
padding : 2px;
white-space: nowrap;
@@ -145,9 +160,10 @@
}
.rich-shuttle-source-cell-active, .rich-shuttle-target-cell-active {
- padding: 1px 2px 1px 2px;
- border-top: 1px dotted gray;
- border-bottom: 1px dotted gray;
+ padding: 1px 2px;
+ white-space: nowrap;
+ border-top: 1px solid;
+ border-bottom: 1px solid;
}
]]>
@@ -245,6 +261,14 @@
<u:style name="font-weight" skin="headerWeightFont" />
</u:selector>
+ <u:selector name=".rich-shuttle-source-cell-end, .rich-shuttle-target-cell-end">
+ <u:style name="border-right-color" skin="selectControlColor" />
+ </u:selector>
+
+ <u:selector name=".rich-shuttle-source-cell-begin, .rich-shuttle-target-cell-begin">
+ <u:style name="border-left-color" skin="selectControlColor" />
+ </u:selector>
+
<u:selector name=".rich-shuttle-source-items, .rich-shuttle-target-items">
<u:style name="background-color" skin="generalBackgroundColor" />
<u:style name="border-color" skin="panelBorderColor" />
@@ -262,6 +286,10 @@
<u:style name="font-size" skin="generalSizeFont" />
<u:style name="font-family" skin="generalFamilyFont" />
</u:selector>
+ <u:selector name=".rich-shuttle-source-cell-active, .rich-shuttle-target-cell-active" >
+ <u:style name="border-top-color" skin="selectControlColor" />
+ <u:style name="border-bottom-color" skin="selectControlColor" />
+ </u:selector>
<u:selector name=".rich-shuttle-control-disabled, .rich-shuttle-control-top, .rich-shuttle-control-bottom, .rich-shuttle-control-up, .rich-shuttle-control-down, .rich-shuttle-control-copyall, .rich-shuttle-control-copy, .rich-shuttle-control-remove, .rich-shuttle-control-removeall">
<u:style name="border-color" skin="panelBorderColor" />
Modified: branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
===================================================================
--- branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2007-12-07 20:38:02 UTC (rev 4621)
+++ branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2007-12-07 20:48:59 UTC (rev 4622)
@@ -17,7 +17,9 @@
SELECTED : "rich-shuttle-source-cell-selected",
ACTIVE_SELECTED : "rich-shuttle-source-cell-selected rich-shuttle-source-cell-active",
DISABLED : "rich-shuttle-source-cell-disabled",
- NORMAL : "rich-shuttle-source-cell"
+ NORMAL : "rich-shuttle-source-cell",
+ BEGIN: " rich-shuttle-source-cell-begin",
+ END: " rich-shuttle-source-cell-end"
}
};
@@ -36,7 +38,9 @@
SELECTED : "rich-shuttle-target-cell-selected",
ACTIVE_SELECTED : "rich-shuttle-target-cell-selected rich-shuttle-target-cell-active",
DISABLED : "rich-shuttle-target-cell-disabled",
- NORMAL : "rich-shuttle-target-cell"
+ NORMAL : "rich-shuttle-target-cell",
+ BEGIN: " rich-shuttle-target-cell-begin",
+ END: " rich-shuttle-target-cell-end"
}
};
Modified: branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss 2007-12-07 20:38:02 UTC (rev 4621)
+++ branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss 2007-12-07 20:48:59 UTC (rev 4622)
@@ -267,8 +267,6 @@
</u:selector>
<u:selector name=".rich-ordering-list-cell-end">
- <u:style name="font-family" skin="generalFamilyFont" />
- <u:style name="font-size" skin="generalSizeFont" />
<u:style name="border-right-color" skin="selectControlColor" />
</u:selector>
16 years, 10 months
JBoss Rich Faces SVN: r4621 - trunk/extensions/portletbridge.
by richfaces-svn-commits@lists.jboss.org
Author: wesleyhales
Date: 2007-12-07 15:38:02 -0500 (Fri, 07 Dec 2007)
New Revision: 4621
Modified:
trunk/extensions/portletbridge/pom.xml
Log:
small fix
Modified: trunk/extensions/portletbridge/pom.xml
===================================================================
--- trunk/extensions/portletbridge/pom.xml 2007-12-07 20:32:21 UTC (rev 4620)
+++ trunk/extensions/portletbridge/pom.xml 2007-12-07 20:38:02 UTC (rev 4621)
@@ -68,8 +68,6 @@
</dependencies>
<modules>
<module>portletbridge-api</module>
- </modules>
- <modules>
<module>portletbridge-impl</module>
</modules>
</project>
\ No newline at end of file
16 years, 10 months
JBoss Rich Faces SVN: r4620 - branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-12-07 15:32:21 -0500 (Fri, 07 Dec 2007)
New Revision: 4620
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss
Log:
Some CSS fixes.
Modified: branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss 2007-12-07 20:29:46 UTC (rev 4619)
+++ branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss 2007-12-07 20:32:21 UTC (rev 4620)
@@ -85,6 +85,10 @@
color: inherit;
}
+a.rich-ordering-list-button-selection:link {
+ color: inherit;
+}
+
.rich-ordering-list-caption {
text-align: left;
height: 8px;
16 years, 10 months
JBoss Rich Faces SVN: r4619 - branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css.
by richfaces-svn-commits@lists.jboss.org
Author: sergeyhalipov
Date: 2007-12-07 15:29:46 -0500 (Fri, 07 Dec 2007)
New Revision: 4619
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss
Log:
Some CSS fixes.
Modified: branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss 2007-12-07 20:03:29 UTC (rev 4618)
+++ branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/css/orderingList.xcss 2007-12-07 20:29:46 UTC (rev 4619)
@@ -81,6 +81,10 @@
vertical-align: middle;
}
+a.rich-ordering-list-button-selection:visited {
+ color: inherit;
+}
+
.rich-ordering-list-caption {
text-align: left;
height: 8px;
@@ -146,10 +150,12 @@
.rich-ordering-list-cell-end {
border-right: 1px solid;
white-space: nowrap;
+ padding : 1px 1px 1px 2px !important;
}
.rich-ordering-list-cell-begin {
border-left: 1px solid;
+ padding : 1px 2px 1px 1px !important
}
.rich-ordering-list-cell {
@@ -158,14 +164,14 @@
}
.rich-ordering-list-cell-selected {
- padding : 2px;
+ padding : 1px 2px;
white-space: nowrap;
border-top: 1px solid;
border-bottom: 1px solid;
}
.rich-ordering-list-cell-active {
- padding: 1px 2px 1px 2px;
+ padding: 1px 2px;
white-space: nowrap;
border-top: 1px solid;
border-bottom: 1px solid;
16 years, 10 months
JBoss Rich Faces SVN: r4618 - in branches/3.1.x/samples/orderingListDemo/src/main/webapp: scripts and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-12-07 15:03:29 -0500 (Fri, 07 Dec 2007)
New Revision: 4618
Removed:
branches/3.1.x/samples/orderingListDemo/src/main/webapp/scripts/effects.js
Modified:
branches/3.1.x/samples/orderingListDemo/src/main/webapp/pages/index.jsp
Log:
local effects script removed from orderingListDemo
Modified: branches/3.1.x/samples/orderingListDemo/src/main/webapp/pages/index.jsp
===================================================================
--- branches/3.1.x/samples/orderingListDemo/src/main/webapp/pages/index.jsp 2007-12-07 19:47:25 UTC (rev 4617)
+++ branches/3.1.x/samples/orderingListDemo/src/main/webapp/pages/index.jsp 2007-12-07 20:03:29 UTC (rev 4618)
@@ -21,11 +21,11 @@
</style>
- <script type="text/javascript" src="${pageContext.request.contextPath}/scripts/effects.js"></script>
<title>Ordering List Demo.</title>
</head>
<body>
<f:view>
+ <a4j:loadScript src="resource:///org/richfaces/renderkit/html/scripts/scriptaculous/effects.js" />
<a4j:outputPanel ajaxRendered="true">
<h:messages />
</a4j:outputPanel>
Deleted: branches/3.1.x/samples/orderingListDemo/src/main/webapp/scripts/effects.js
===================================================================
--- branches/3.1.x/samples/orderingListDemo/src/main/webapp/scripts/effects.js 2007-12-07 19:47:25 UTC (rev 4617)
+++ branches/3.1.x/samples/orderingListDemo/src/main/webapp/scripts/effects.js 2007-12-07 20:03:29 UTC (rev 4618)
@@ -1,263 +0,0 @@
-var Effect = {
- tagifyText: function(element) {
- var tagifyStyle = 'position:relative';
- if (/MSIE/.test(navigator.userAgent)) tagifyStyle += ';zoom:1';
- element = $(element);
- $A(element.childNodes).each(function(child) {
- if (child.nodeType == 3) {
- child.nodeValue.toArray().each(function(character) {
- element.insertBefore(
- Builder.node('span', {style: tagifyStyle},
- character == ' ' ? String.fromCharCode(160) : character),
- child);
- });
- Element.remove(child);
- }
- });
- },
- multiple: function(element, effect) {
- var elements;
- if (((typeof element == 'object') ||
- (typeof element == 'function')) &&
- (element.length))
- elements = element;
- else
- elements = $(element).childNodes;
-
- var options = Object.extend({
- speed: 0.1,
- delay: 0.0
- }, arguments[2] || {});
- var masterDelay = options.delay;
-
- $A(elements).each(function(element, index) {
- new effect(element, Object.extend(options, { delay: index * options.speed + masterDelay }));
- });
- },
- PAIRS: {
- 'slide': ['SlideDown','SlideUp'],
- 'blind': ['BlindDown','BlindUp'],
- 'appear': ['Appear','Fade']
- },
- toggle: function(element, effect) {
- element = $(element);
- effect = (effect || 'appear').toLowerCase();
- var options = Object.extend({
- queue: { position:'end', scope:(element.id || 'global') }
- }, arguments[2] || {});
- Effect[Element.visible(element) ?
- Effect.PAIRS[effect][1] : Effect.PAIRS[effect][0]](element, options);
- }
-};
-
-Effect.Transitions = {}
-
-Effect.Transitions.linear = function(pos) {
- return pos;
-}
-Effect.Transitions.sinoidal = function(pos) {
- return (-Math.cos(pos * Math.PI) / 2) + 0.5;
-}
-Effect.Transitions.reverse = function(pos) {
- return 1 - pos;
-}
-Effect.Transitions.flicker = function(pos) {
- return ((-Math.cos(pos * Math.PI) / 4) + 0.75) + Math.random() / 4;
-}
-Effect.Transitions.wobble = function(pos) {
- return (-Math.cos(pos * Math.PI * (9 * pos)) / 2) + 0.5;
-}
-Effect.Transitions.pulse = function(pos) {
- return (Math.floor(pos * 10) % 2 == 0 ?
- (pos * 10 - Math.floor(pos * 10)) : 1 - (pos * 10 - Math.floor(pos * 10)));
-}
-Effect.Transitions.none = function(pos) {
- return 0;
-}
-Effect.Transitions.full = function(pos) {
- return 1;
-}
-
-/* ------------- core effects ------------- */
-
-Effect.ScopedQueue = Class.create();
-Object.extend(Object.extend(Effect.ScopedQueue.prototype, Enumerable), {
- initialize: function() {
- this.effects = [];
- this.interval = null;
- },
- _each: function(iterator) {
- this.effects._each(iterator);
- },
- add: function(effect) {
- var timestamp = new Date().getTime();
-
- var position = (typeof effect.options.queue == 'string') ?
- effect.options.queue : effect.options.queue.position;
-
- switch (position) {
- case 'front':
- // move unstarted effects after this effect
- this.effects.findAll(function(e) {
- return e.state == 'idle'
- }).each(function(e) {
- e.startOn += effect.finishOn;
- e.finishOn += effect.finishOn;
- });
- break;
- case 'end':
- // start effect after last queued effect has finished
- timestamp = this.effects.pluck('finishOn').max() || timestamp;
- break;
- }
-
- effect.startOn += timestamp;
- effect.finishOn += timestamp;
- this.effects.push(effect);
- if (!this.interval)
- this.interval = setInterval(this.loop.bind(this), 40);
- },
- remove: function(effect) {
- this.effects = this.effects.reject(function(e) {
- return e == effect
- });
- if (this.effects.length == 0) {
- clearInterval(this.interval);
- this.interval = null;
- }
- },
- loop: function() {
- var timePos = new Date().getTime();
- this.effects.invoke('loop', timePos);
- }
-});
-
-Effect.Queues = {
- instances: $H(),
- get: function(queueName) {
- if (typeof queueName != 'string') return queueName;
-
- if (!this.instances[queueName])
- this.instances[queueName] = new Effect.ScopedQueue();
-
- return this.instances[queueName];
- }
-}
-Effect.Queue = Effect.Queues.get('global');
-
-Effect.DefaultOptions = {
- transition: Effect.Transitions.sinoidal,
- duration: 1.0, // seconds
- fps: 25.0, // max. 25fps due to Effect.Queue implementation
- sync: false, // true for combining
- from: 0.0,
- to: 1.0,
- delay: 0.0,
- queue: 'parallel'
-}
-
-Effect.Base = function() {
-};
-Effect.Base.prototype = {
- position: null,
- start: function(options) {
- this.options = Object.extend(Object.extend({}, Effect.DefaultOptions), options || {});
- this.currentFrame = 0;
- this.state = 'idle';
- this.startOn = this.options.delay * 1000;
- this.finishOn = this.startOn + (this.options.duration * 1000);
- this.event('beforeStart');
- if (!this.options.sync)
- Effect.Queues.get(typeof this.options.queue == 'string' ?
- 'global' : this.options.queue.scope).add(this);
- },
- loop: function(timePos) {
- if (timePos >= this.startOn) {
- if (timePos >= this.finishOn) {
- this.render(1.0);
- this.cancel();
- this.event('beforeFinish');
- if (this.finish) this.finish();
- this.event('afterFinish');
- return;
- }
- var pos = (timePos - this.startOn) / (this.finishOn - this.startOn);
- var frame = Math.round(pos * this.options.fps * this.options.duration);
- if (frame > this.currentFrame) {
- this.render(pos);
- this.currentFrame = frame;
- }
- }
- },
- render: function(pos) {
- if (this.state == 'idle') {
- this.state = 'running';
- this.event('beforeSetup');
- if (this.setup) this.setup();
- this.event('afterSetup');
- }
- if (this.state == 'running') {
- if (this.options.transition) pos = this.options.transition(pos);
- pos *= (this.options.to - this.options.from);
- pos += this.options.from;
- this.position = pos;
- this.event('beforeUpdate');
- if (this.update) this.update(pos);
- this.event('afterUpdate');
- }
- },
- cancel: function() {
- if (!this.options.sync)
- Effect.Queues.get(typeof this.options.queue == 'string' ?
- 'global' : this.options.queue.scope).remove(this);
- this.state = 'finished';
- },
- event: function(eventName) {
- if (this.options[eventName + 'Internal']) this.options[eventName + 'Internal'](this);
- if (this.options[eventName]) this.options[eventName](this);
- },
- inspect: function() {
- return '#<Effect:' + $H(this).inspect() + ',options:' + $H(this.options).inspect() + '>';
- }
-}
-
-Effect.Highlight = Class.create();
-Object.extend(Object.extend(Effect.Highlight.prototype, Effect.Base.prototype), {
- initialize: function(element) {
- this.element = $(element);
- var options = Object.extend({ startcolor: '#ffff99' }, arguments[1] || {});
- this.start(options);
- },
- setup: function() {
- // Prevent executing on elements not in the layout flow
- if (Element.getStyle(this.element, 'display') == 'none') {
- this.cancel();
- return;
- }
- // Disable background image during the effect
- this.oldStyle = {
- backgroundImage: Element.getStyle(this.element, 'background-image') };
- Element.setStyle(this.element, {backgroundImage: 'none'});
- if (!this.options.endcolor)
- this.options.endcolor = Element.getStyle(this.element, 'background-color').parseColor('#ffffff');
- if (!this.options.restorecolor)
- this.options.restorecolor = Element.getStyle(this.element, 'background-color');
- // init color calculations
- this._base = $R(0, 2).map(function(i) {
- return parseInt(this.options.startcolor.slice(i * 2 + 1, i * 2 + 3), 16)
- }.bind(this));
- this._delta = $R(0, 2).map(function(i) {
- return parseInt(this.options.endcolor.slice(i * 2 + 1, i * 2 + 3), 16) - this._base[i]
- }.bind(this));
- },
- update: function(position) {
- Element.setStyle(this.element, {backgroundColor: $R(0, 2).inject('#', function(m, v, i) {
- return m + (Math.round(this._base[i] + (this._delta[i] * position)).toColorPart());
- }.bind(this)) });
- },
- finish: function() {
- Element.setStyle(this.element, Object.extend(this.oldStyle, {
- backgroundColor: this.options.restorecolor
- }));
- }
-});
\ No newline at end of file
16 years, 10 months
JBoss Rich Faces SVN: r4617 - in branches/3.1.x/ui/listShuttle/src/main: templates/org/richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-12-07 14:47:25 -0500 (Fri, 07 Dec 2007)
New Revision: 4617
Modified:
branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
branches/3.1.x/ui/listShuttle/src/main/templates/org/richfaces/htmlListShuttle.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1563
Modified: branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
===================================================================
--- branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2007-12-07 19:47:20 UTC (rev 4616)
+++ branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2007-12-07 19:47:25 UTC (rev 4617)
@@ -2,12 +2,7 @@
Richfaces.ListShuttle = Class.create();
-Richfaces.ListShuttle.Source = Class.create({
- CLASSDEF: {
- name: 'Richfaces.ListShuttle.Source',
- parent: Richfaces.ListBase
- }
-});
+Richfaces.ListShuttle.Source = Class.create(Richfaces.ListBase);
Richfaces.ListShuttle.Source.prototype.CLASSES = {
ROW : {
@@ -26,12 +21,7 @@
}
};
-Richfaces.ListShuttle.Target = Class.create({
- CLASSDEF: {
- name: 'Richfaces.ListShuttle.Target',
- parent: Richfaces.OrderingList
- }
-});
+Richfaces.ListShuttle.Target = Class.create(Richfaces.OrderingList);
Richfaces.ListShuttle.Target.prototype.CLASSES = {
ROW : {
Modified: branches/3.1.x/ui/listShuttle/src/main/templates/org/richfaces/htmlListShuttle.jspx
===================================================================
--- branches/3.1.x/ui/listShuttle/src/main/templates/org/richfaces/htmlListShuttle.jspx 2007-12-07 19:47:20 UTC (rev 4616)
+++ branches/3.1.x/ui/listShuttle/src/main/templates/org/richfaces/htmlListShuttle.jspx 2007-12-07 19:47:25 UTC (rev 4617)
@@ -18,7 +18,6 @@
<h:scripts>
new org.ajax4jsf.javascript.PrototypeScript(),
- scripts/extend/extend.js,
scripts/ShuttleUtils.js
scripts/SelectItem.js,
scripts/LayoutManager.js
16 years, 10 months
JBoss Rich Faces SVN: r4616 - in branches/3.1.x/ui/orderingList/src/main: templates/org/richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-12-07 14:47:20 -0500 (Fri, 07 Dec 2007)
New Revision: 4616
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js
branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1563
Modified: branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js 2007-12-07 19:28:58 UTC (rev 4615)
+++ branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js 2007-12-07 19:47:20 UTC (rev 4616)
@@ -1,14 +1,8 @@
if(!window.Richfaces) window.Richfaces = {};
-Richfaces.OrderingList = Class.create({
- CLASSDEF: {
- name: 'Richfaces.OrderingList',
- parent: Richfaces.ListBase
- },
-
- initialize: function(containerId, contentTableId, headerTableId, focusKeeperId,
- ids, onclickControlId, onorderchanged) {
- Richfaces.OrderingList.parentClass.constructor().call(this, containerId, contentTableId, headerTableId, focusKeeperId, onclickControlId);
+Richfaces.OrderingList = Class.create(Richfaces.ListBase, {
+ initialize: function($super, containerId, contentTableId, headerTableId, focusKeeperId, ids, onclickControlId, onorderchanged) {
+ $super(containerId, contentTableId, headerTableId, focusKeeperId, onclickControlId);
if (onorderchanged) {
this.container.observe("rich:onorderchanged", onorderchanged);
@@ -62,13 +56,13 @@
}
},
- onclickHandler : function(event) {
- Richfaces.OrderingList.parentClass.method("onclickHandler").call(this, event);
+ onclickHandler : function($super, event) {
+ $super(event);
this.controlListManager();
},
- moveActiveItem : function(action, event) {
- Richfaces.OrderingList.parentClass.method("moveActiveItem").call(this ,action, event);
+ moveActiveItem : function($super, action, event) {
+ $super(action, event);
this.saveState();
this.controlListManager();
},
Modified: branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx
===================================================================
--- branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx 2007-12-07 19:28:58 UTC (rev 4615)
+++ branches/3.1.x/ui/orderingList/src/main/templates/org/richfaces/htmlOrderingList.jspx 2007-12-07 19:47:20 UTC (rev 4616)
@@ -17,7 +17,6 @@
<h:scripts>
new org.ajax4jsf.javascript.PrototypeScript(),
- scripts/extend/extend.js,
scripts/ShuttleUtils.js,
scripts/SelectItem.js,
scripts/LayoutManager.js
16 years, 10 months
JBoss Rich Faces SVN: r4615 - in trunk/extensions/portletbridge: portletbridge-api/src/main/java and 11 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: alexsmirnov
Date: 2007-12-07 14:28:58 -0500 (Fri, 07 Dec 2007)
New Revision: 4615
Added:
trunk/extensions/portletbridge/portletbridge-impl/src/main/config/
trunk/extensions/portletbridge/portletbridge-impl/src/main/config/component/
trunk/extensions/portletbridge/portletbridge-impl/src/main/java/org/
trunk/extensions/portletbridge/portletbridge-impl/src/main/java/org/ajax4jsf/
trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/
trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml
trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml.l4t
trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/services/
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/
Removed:
trunk/extensions/portletbridge/portletbridge-api/src/main/config/
trunk/extensions/portletbridge/portletbridge-api/src/main/java/org/
trunk/extensions/portletbridge/portletbridge-api/src/main/resources/META-INF/
trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/
trunk/extensions/portletbridge/portletbridge-impl/src/main/config/component/
trunk/extensions/portletbridge/portletbridge-impl/src/main/java/org/ajax4jsf/
trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml
trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml.l4t
trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/services/
trunk/extensions/portletbridge/portletbridge-impl/src/src/
trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf/
Log:
Split portletbridge into api and implementation
Copied: trunk/extensions/portletbridge/portletbridge-impl/src/main/config (from rev 4603, trunk/extensions/portletbridge/portletbridge-api/src/main/config)
Copied: trunk/extensions/portletbridge/portletbridge-impl/src/main/config/component (from rev 4614, trunk/extensions/portletbridge/portletbridge-api/src/main/config/component)
Copied: trunk/extensions/portletbridge/portletbridge-impl/src/main/java/org (from rev 4603, trunk/extensions/portletbridge/portletbridge-api/src/main/java/org)
Copied: trunk/extensions/portletbridge/portletbridge-impl/src/main/java/org/ajax4jsf (from rev 4614, trunk/extensions/portletbridge/portletbridge-api/src/main/java/org/ajax4jsf)
Copied: trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF (from rev 4603, trunk/extensions/portletbridge/portletbridge-api/src/main/resources/META-INF)
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/main/resources/META-INF/faces-config.xml 2007-12-07 19:07:34 UTC (rev 4603)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml 2007-12-07 19:28:58 UTC (rev 4615)
@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
- "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
-
-<faces-config>
- <application>
-
- </application>
- <factory>
- <faces-context-factory>
- org.ajax4jsf.portlet.context.FacesContextFactoryImpl
- </faces-context-factory>
- </factory>
- <lifecycle>
- <phase-listener>
- org.ajax4jsf.portlet.lifecycle.PortalPhaseListener
- </phase-listener>
- </lifecycle>
- <render-kit>
-
- <renderer>
- <description>override the viewroot</description>
- <component-family>javax.faces.ViewRoot</component-family>
- <renderer-type>org.ajax4jsf.portlet.ViewRoot</renderer-type>
- <renderer-class>
- org.ajax4jsf.portlet.renderkit.portlet.PortletAjaxViewRootRenderer
- </renderer-class>
- </renderer>
- </render-kit>
-
-</faces-config>
Copied: trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml (from rev 4614, trunk/extensions/portletbridge/portletbridge-api/src/main/resources/META-INF/faces-config.xml)
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml 2007-12-07 19:28:58 UTC (rev 4615)
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
+
+<faces-config>
+ <application>
+
+ </application>
+ <factory>
+ <faces-context-factory>
+ org.ajax4jsf.portlet.context.FacesContextFactoryImpl
+ </faces-context-factory>
+ </factory>
+ <lifecycle>
+ <phase-listener>
+ org.ajax4jsf.portlet.lifecycle.PortalPhaseListener
+ </phase-listener>
+ </lifecycle>
+ <render-kit>
+
+ <renderer>
+ <description>override the viewroot</description>
+ <component-family>javax.faces.ViewRoot</component-family>
+ <renderer-type>org.ajax4jsf.portlet.ViewRoot</renderer-type>
+ <renderer-class>
+ org.ajax4jsf.portlet.renderkit.portlet.PortletAjaxViewRootRenderer
+ </renderer-class>
+ </renderer>
+ </render-kit>
+
+</faces-config>
Deleted: trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml.l4t
===================================================================
--- trunk/extensions/portletbridge/portletbridge-api/src/main/resources/META-INF/faces-config.xml.l4t 2007-12-07 19:07:34 UTC (rev 4603)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml.l4t 2007-12-07 19:28:58 UTC (rev 4615)
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<PROCESS ENTITY="JSFProcess"/>
Copied: trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml.l4t (from rev 4614, trunk/extensions/portletbridge/portletbridge-api/src/main/resources/META-INF/faces-config.xml.l4t)
===================================================================
--- trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml.l4t (rev 0)
+++ trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/faces-config.xml.l4t 2007-12-07 19:28:58 UTC (rev 4615)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PROCESS ENTITY="JSFProcess"/>
Copied: trunk/extensions/portletbridge/portletbridge-impl/src/main/resources/META-INF/services (from rev 4614, trunk/extensions/portletbridge/portletbridge-api/src/main/resources/META-INF/services)
Copied: trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org (from rev 4603, trunk/extensions/portletbridge/portletbridge-api/src/test/java/org)
Copied: trunk/extensions/portletbridge/portletbridge-impl/src/test/java/org/ajax4jsf (from rev 4614, trunk/extensions/portletbridge/portletbridge-api/src/test/java/org/ajax4jsf)
16 years, 10 months