[CONF] Confluence Changes in the last 24 hours

2006-12-15 Thread confluence
-
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-

Apache Geronimo v1.2 (GMOxDOC12) 
http://cwiki.apache.org/confluence/display/GMOxDOC12
|
|-Pages Added or Edited in This Space
 |-- RELEASE-NOTES-1.2.TXT was created by hcunico (11:10 AM).
 |   http://cwiki.apache.org/confluence/display/GMOxDOC12/RELEASE-NOTES-1.2.TXT
 |-- Documentation was last edited by hcunico (11:09 AM).
 |   http://cwiki.apache.org/confluence/display/GMOxDOC12/Documentation

Apache (Directory) Triplesec Documentation (DIRxTRIPLESEC) 
http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC
|
|-Pages Added or Edited in This Space
 |-- Authentication Using SafehausLoginModule was created by ck (04:04 PM).
 |   
http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC/Authentication+Using+SafehausLoginModule
 |-- Developer's Guide was created by ck (10:09 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC/Developer%27s+Guide
 |-- User's Guide was created by ck (09:56 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC/User%27s+Guide
 |-- Tutorial was created by ck (09:53 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC/Tutorial
 |-- Features was created by ck (09:47 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC/Features
 |-- Index was created by ersiner (08:33 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxTRIPLESEC/Index

Apache Directory Documentation (directory) 
http://cwiki.apache.org/confluence/display/directory
|
|-Pages Added or Edited in This Space
 |-- Index was last edited by ck (04:18 PM).
 |   http://cwiki.apache.org/confluence/display/directory/Index
 |-- Who is using ApacheDS was created by ersiner (05:04 AM).
 |   http://cwiki.apache.org/confluence/display/directory/Who+is+using+ApacheDS

Apache Geronimo Development (GMOxDEV) 
http://cwiki.apache.org/confluence/display/GMOxDEV
|
|-Pages Added or Edited in This Space
 |-- UsesView was last edited by ryan (07:19 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDEV/UsesView
 |-- DeploymentSubsystem was last edited by ryan (07:17 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDEV/DeploymentSubsystem
 |-- GeronimoModuleView was last edited by ryan (07:08 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDEV/GeronimoModuleView
 |-- Geronimo Kernel was last edited by ryan (06:42 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDEV/Geronimo+Kernel
 |-- ArchitectureGBeans was last edited by ryan (06:23 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDEV/ArchitectureGBeans
 |-- ArchitectureIntroduction was last edited by ryan (06:05 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDEV/ArchitectureIntroduction

Apache Directory Server v1.1 Documentation (DIRxSRVx11) 
http://cwiki.apache.org/confluence/display/DIRxSRVx11
|
|-Pages Added or Edited in This Space
 |-- Schema Checking was last edited by elecharny (04:22 PM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx11/Schema+Checking
 |-- Index was last edited by ck (06:50 AM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx11/Index

Apache Geronimo v2.0 (GMOxDOC20) 
http://cwiki.apache.org/confluence/display/GMOxDOC20
|
|-Pages Added or Edited in This Space
 |-- RELEASE-NOTES-2.0-M1.TXT was last edited by dblevins (02:39 PM).
 |   
http://cwiki.apache.org/confluence/display/GMOxDOC20/RELEASE-NOTES-2.0-M1.TXT
 |-- Documentation was last edited by hcunico (12:04 PM).
 |   http://cwiki.apache.org/confluence/display/GMOxDOC20/Documentation

Apache Directory Server v1.0 Documentation (DIRxSRVx10) 
http://cwiki.apache.org/confluence/display/DIRxSRVx10
|
|-Pages Added or Edited in This Space
 |-- Building was last edited by ck (02:45 PM).
 |   http://cwiki.apache.org/confluence/display/DIRxSRVx10/Building
 |-- ApacheDS v1.0 Advanced User's Guide was last edited by ck (07:20 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/ApacheDS+v1.0+Advanced+User%27s+Guide
 |-- ApacheDS v1.0 User's Guide was last edited by ck (06:58 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/ApacheDS+v1.0+User%27s+Guide
 |-- Installing and starting the server was last edited by ck (05:06 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/Installing+and+starting+the+server
 |-- ApacheDS v1.0 Basic User's Guide was last edited by ck (05:06 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/ApacheDS+v1.0+Basic+User%27s+Guide
 |-- About the sample configurations and sample directory data was last edited 
by ck (05:06 AM).
 |   
http://cwiki.apache.org/confluence/display/DIRxSRVx10/About+the+sample+configurations+and+sample+directory+data

UIMA (UIMA) http://cwiki.apache.org/confluence/display/UIMA
|
|-Pages Added or Edited in T

svn commit: r487535 - in /struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2: ./ config/

2006-12-15 Thread apetrelli
Author: apetrelli
Date: Fri Dec 15 04:50:04 2006
New Revision: 487535

URL: http://svn.apache.org/viewvc?view=rev&rev=487535
Log:
STR-2986
Converted tests to Tiles 2, now all the code compiles, but it does not work.

Removed:

struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/CustomI18nFactorySet.java

struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/config/I18nFactorySet-A.xml

struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/config/I18nFactorySet-B.xml

struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/config/I18nFactorySet-B__US.xml

struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/config/I18nFactorySet-B___XX.xml

struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/config/I18nFactorySet-B_en.xml

struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/config/I18nFactorySet-B_en_GB.xml

struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/config/I18nFactorySet-B_en_US.xml

struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/config/I18nFactorySet-B_en_US_XX.xml
Modified:

struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/TestTilesPlugin.java

struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/config/tiles-defs.xml

Modified: 
struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/TestTilesPlugin.java
URL: 
http://svn.apache.org/viewvc/struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/TestTilesPlugin.java?view=diff&rev=487535&r1=487534&r2=487535
==
--- 
struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/TestTilesPlugin.java
 (original)
+++ 
struts/struts1/trunk/tiles2/src/test/java/org/apache/struts/tiles2/TestTilesPlugin.java
 Fri Dec 15 04:50:04 2006
@@ -21,26 +21,24 @@
 
 package org.apache.struts.tiles2;
 
+import javax.servlet.ServletException;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.apache.commons.beanutils.BeanUtils;
+import org.apache.struts.Globals;
+import org.apache.struts.action.PlugIn;
 import org.apache.struts.config.ModuleConfig;
 import org.apache.struts.config.ModuleConfigFactory;
 import org.apache.struts.config.PlugInConfig;
 import org.apache.struts.mock.MockActionServlet;
 import org.apache.struts.mock.TestMockBase;
-import org.apache.struts.Globals;
-import org.apache.struts.tiles2.ComponentDefinition;
-import org.apache.struts.tiles2.DefinitionsFactory;
-import org.apache.struts.tiles2.TilesUtil;
-import org.apache.struts.tiles2.xmlDefinition.I18nFactorySet;
 import org.apache.struts.util.RequestUtils;
-import org.apache.struts.action.PlugIn;
-import org.apache.commons.beanutils.BeanUtils;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import javax.servlet.ServletException;
-import java.util.Locale;
-import java.util.Map;
-import java.util.HashMap;
+import org.apache.tiles.TilesContainer;
+import org.apache.tiles.access.TilesAccess;
+import org.apache.tiles.definition.DefinitionsFactory;
+import org.apache.tiles.impl.BasicTilesContainer;
 
 public class TestTilesPlugin extends TestMockBase {
 
@@ -79,7 +77,6 @@
 {
 
 super.setUp();
-TilesUtil.testReset();
 actionServlet = new MockActionServlet(context, config);
 }
 
@@ -171,29 +168,28 @@
 // mock request context
 request.setAttribute(Globals.MODULE_KEY, module1);
 request.setPathElements("/myapp", "/module1/foo.do", null, null);
+
+// Retrieve TilesContainer
+TilesContainer container = TilesAccess.getContainer(actionServlet
+.getServletContext());
+assertSame(container.getClass().getName(), BasicTilesContainer.class);
+
 // Retrieve factory for module1
-DefinitionsFactory factory1 =
-TilesUtil.getDefinitionsFactory(request, context);
+DefinitionsFactory factory1 = ((BasicTilesContainer) container)
+.getDefinitionsFactory();
 
 assertNotNull("factory found", factory1);
-assertEquals(
-"factory name",
-"/module1",
-factory1.getConfig().getFactoryName());
 
 // mock request context
 request.setAttribute(Globals.MODULE_KEY, module2);
 request.setPathElements("/myapp", "/module2/foo.do", null, null);
 // Retrieve factory for module2
-DefinitionsFactory factory2 =
-TilesUtil.getDefinitionsFactory(request, context);
+DefinitionsFactory factory2 = ((BasicTilesContainer) container)
+.getDefinitionsFactory();
 assertNotNull("factory found", factory2);
-assertEquals(
-"factory name",
-"/module2",
-factory2.getConfig().getFactoryName());
 
 // Check that factory are different
+// FIXME This assert fails!