Fixes to allow Alfresco to run with latest JBoss Portal + Jboss AS

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2067 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-01-03 18:26:58 +00:00
parent 5b49e7f3af
commit f943c23e83
10 changed files with 32 additions and 39 deletions

View File

@@ -60,7 +60,7 @@ public class Application
public static final String MESSAGE_BUNDLE = "alfresco.messages.webclient";
private static boolean inPortalServer = true;
private static boolean inPortalServer = false;
private static StoreRef repoStoreRef;
private static String rootPath;
private static String companyRootId;

View File

@@ -60,9 +60,7 @@ import org.springframework.web.context.WebApplicationContext;
public class AlfrescoFacesPortlet extends MyFacesGenericPortlet
{
public static final String INSTANCE_NAME = "AlfrescoClientInstance";
public static final String WINDOW_NAME = "AlfrescoClientWindow";
public static final String MANAGED_BEAN_PREFIX = "javax.portlet.p." + INSTANCE_NAME +
"." + WINDOW_NAME + "?";
public static final String MANAGED_BEAN_PREFIX = "javax.portlet.p." + INSTANCE_NAME + "?";
private static final String ERROR_PAGE_PARAM = "error-page";
private static final String ERROR_OCCURRED = "error-occurred";

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<deployments>
<deployment>
<if-exists>overwrite</if-exists>
<parent-ref>default</parent-ref>
<properties/>
<page>
<page-name>Alfresco</page-name>
<properties/>
<window>
<window-name>AlfrescoClientWindow</window-name>
<instance-ref>AlfrescoClientInstance</instance-ref>
<default>true</default>
<region>center</region>
<height>0</height>
</window>
</page>
</deployment>
<deployment>
<if-exists>overwrite</if-exists>
<instance>
<instance-name>AlfrescoClientInstance</instance-name>
<component-ref>alfresco.AlfrescoClient</component-ref>
</instance>
</deployment>
</deployments>

View File

@@ -1,13 +0,0 @@
<pages>
<portal-name>default</portal-name>
<page>
<page-name>Alfresco</page-name>
<window>
<window-name>AlfrescoClientWindow</window-name>
<instance-ref>/alfresco.AlfrescoClient.AlfrescoClientInstance</instance-ref>
<default>true</default>
<region>center</region>
<height>0</height>
</window>
</page>
</pages>

View File

@@ -0,0 +1,3 @@
<jboss-app>
<app-name>alfresco</app-name>
</jboss-app>

View File

@@ -1,2 +0,0 @@
<server>
</server>

View File

@@ -1,7 +0,0 @@
<?xml version="1.0" standalone="yes"?>
<instances>
<instance>
<instance-name>AlfrescoClientInstance</instance-name>
<component-ref>AlfrescoClient</component-ref>
</instance>
</instances>

View File

@@ -1,10 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
<portlet>
<description>Alfresco Client Portlet</description>
<portlet-name>AlfrescoClient</portlet-name>
<display-name>Alfresco Portlet</display-name>
<portlet-class>org.alfresco.web.app.portlet.AlfrescoFacesPortlet</portlet-class>
<init-param>

View File

@@ -82,11 +82,6 @@
-->
</filter>
<filter>
<filter-name>Mode Detection Filter</filter-name>
<filter-class>org.alfresco.web.app.servlet.ModeDetectionFilter</filter-class>
</filter>
<filter>
<filter-name>WebDAV Authentication Filter</filter-name>
<filter-class>org.alfresco.repo.webdav.auth.AuthenticationFilter</filter-class>
@@ -111,11 +106,6 @@
<url-pattern>/navigate/*</url-pattern>
</filter-mapping>
-->
<filter-mapping>
<filter-name>Mode Detection Filter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>WebDAV Authentication Filter</filter-name>