[CONF] Confluence Changes in the last 24 hours

2007-11-26 Thread confluence
-
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-

Apache Camel (CAMEL) http://cwiki.apache.org/confluence/display/CAMEL
|
|-Pages Added or Edited in This Space
 |-- Getting Started was last edited by jstrachan (03:56 AM).
 |   http://cwiki.apache.org/confluence/display/CAMEL/Getting+Started

Apache CXF 2.0 Documentation (CXF20DOC) 
http://cwiki.apache.org/confluence/display/CXF20DOC
|
|-Pages Added or Edited in This Space
 |-- Building your cxf project with maven was last edited by mazzag (03:58 AM).
 |   
http://cwiki.apache.org/confluence/display/CXF20DOC/Building+your+cxf+project+with+maven

Apache ActiveMQ (ACTIVEMQ) http://cwiki.apache.org/confluence/display/ACTIVEMQ
|
|-Pages Added or Edited in This Space
 |-- Using ActiveMQ with EJB3 (JBoss Example) was created by daniel.pocock 
(01:45 AM).
 |   
http://cwiki.apache.org/confluence/display/ACTIVEMQ/Using+ActiveMQ+with+EJB3+%28JBoss+Example%29

Apache Struts 2 Plugin Registry (S2PLUGINS) 
http://cwiki.apache.org/confluence/display/S2PLUGINS
|
|-Pages Added or Edited in This Space
 |-- JRuby Plugin was created by [EMAIL PROTECTED] (05:47 PM).
 |   http://cwiki.apache.org/confluence/display/S2PLUGINS/JRuby+Plugin

Apache ServiceMix (SM) http://cwiki.apache.org/confluence/display/SM
|
|-Pages Added or Edited in This Space
 |-- Mailing Lists was last edited by njiang (09:24 PM).
 |   http://cwiki.apache.org/confluence/display/SM/Mailing+Lists
 |-- What is JBI was last edited by bsnyder (08:18 PM).
 |   http://cwiki.apache.org/confluence/display/SM/What+is+JBI

Apache MINA (MINA) http://cwiki.apache.org/confluence/display/MINA
|
|-Pages Added or Edited in This Space
 |-- Tutorial on ProtocolCodecFilter (for Mina 2.x) was last edited by [EMAIL 
PROTECTED] (02:14 PM).
 |   
http://cwiki.apache.org/confluence/display/MINA/Tutorial+on+ProtocolCodecFilter+%28for+Mina+2.x%29

Apache Wicket (WICKET) http://cwiki.apache.org/confluence/display/WICKET
|
|-Pages Added or Edited in This Space
 |-- Component rendering was created by syl (09:20 AM).
 |   http://cwiki.apache.org/confluence/display/WICKET/Component+rendering
 |-- Page rendering was created by syl (09:07 AM).
 |   http://cwiki.apache.org/confluence/display/WICKET/Page+rendering


-
CONFLUENCE INFORMATION
This message is automatically generated by Confluence

Unsubscribe or edit your notifications preferences
   http://cwiki.apache.org/confluence/users/viewnotifications.action

If you think it was sent incorrectly contact one of the administrators
   http://cwiki.apache.org/confluence/administrators.action

If you want more information on Confluence, or have a bug to report see
   http://www.atlassian.com/software/confluence




Issues Opened: week of 2007-11-26

2007-11-26 Thread dblevins

Struts2 - Monday, November 26, 2007

  6 opened in last 7 days

[WW-2330] cancatenate strings in the value attribute of the set tag
  - Type: Bug
  - Reporter: Anton Pussep
  - Components: [Expression Language]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2330

[WW-2334] XSLTResult does not work with stylesheets that use xsl:include or 
xsl:import
  - Type: Bug
  - Reporter: John Krueger
  - Components: [Other]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2334

[WW-2331] Incorrect property path appending in AppendingValidatorContext.
  - Type: Bug
  - Reporter: Kjell Martin Rud
  - Components: [XML Validators]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2331

[WW-2332] Escape values for JavaScript
  - Type: New Feature
  - Reporter: Benjamin McCann
  - Components: [Other]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2332

[WW-2336] @Resource annotation not used with beans defined by id
  - Type: Bug
  - Reporter: Sébastien Derivaux
  - Components: [Plugin - Spring]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2336

[WW-2333] ValueStackDataSource implementation leads to class cast exceptions
  - Type: Bug
  - Reporter: Thorsten Schäfer
  - Components: [Plugin - JasperReports]
  - Affects Versions: []
  - http://issues.apache.org/struts/browse/WW-2333



svn commit: r598196 - in /struts/struts2/trunk/apps/portlet: pom.xml src/test/java/org/apache/struts2/portlet/test/BasePortletTest.java

2007-11-26 Thread nilsga
Author: nilsga
Date: Mon Nov 26 02:02:31 2007
New Revision: 598196

URL: http://svn.apache.org/viewvc?rev=598196&view=rev
Log:
WW-2337 Trying to set a different temp directory for the test.

Modified:
struts/struts2/trunk/apps/portlet/pom.xml

struts/struts2/trunk/apps/portlet/src/test/java/org/apache/struts2/portlet/test/BasePortletTest.java

Modified: struts/struts2/trunk/apps/portlet/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/portlet/pom.xml?rev=598196&r1=598195&r2=598196&view=diff
==
--- struts/struts2/trunk/apps/portlet/pom.xml (original)
+++ struts/struts2/trunk/apps/portlet/pom.xml Mon Nov 26 02:02:31 2007
@@ -39,22 +39,7 @@

scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk/apps/portlet/

http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk/apps/portlet/
 
-   
-   
-   
-
-org.apache.maven.plugins
-maven-surefire-plugin
-
-
-
-  
org/apache/struts2/portlet/test/*
-
-
-
-   
-   
-   
+


pluto

Modified: 
struts/struts2/trunk/apps/portlet/src/test/java/org/apache/struts2/portlet/test/BasePortletTest.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/portlet/src/test/java/org/apache/struts2/portlet/test/BasePortletTest.java?rev=598196&r1=598195&r2=598196&view=diff
==
--- 
struts/struts2/trunk/apps/portlet/src/test/java/org/apache/struts2/portlet/test/BasePortletTest.java
 (original)
+++ 
struts/struts2/trunk/apps/portlet/src/test/java/org/apache/struts2/portlet/test/BasePortletTest.java
 Mon Nov 26 02:02:31 2007
@@ -1,5 +1,7 @@
 package org.apache.struts2.portlet.test;
 
+import java.io.File;
+
 import net.sourceforge.jwebunit.junit.WebTestCase;
 
 import org.apache.pluto.core.PortletServlet;
@@ -19,6 +21,7 @@
System.setProperty("org.apache.pluto.embedded.portletId", 
getPortletName());
server = new Server(port);
WebAppContext webapp = new WebAppContext("src/main/webapp", 
contextPath);
+   webapp.setTempDirectory(new File("target/work"));

webapp.setDefaultsDescriptor("/WEB-INF/jetty-pluto-web-default.xml");
ServletHolder portletServlet = new ServletHolder(new 
PortletServlet());
portletServlet.setInitParameter("portlet-name", 
getPortletName());




svn commit: r598260 - /struts/struts2/trunk/plugins/portlet/

2007-11-26 Thread nilsga
Author: nilsga
Date: Mon Nov 26 05:08:46 2007
New Revision: 598260

URL: http://svn.apache.org/viewvc?rev=598260&view=rev
Log:
Added some ignores

Modified:
struts/struts2/trunk/plugins/portlet/   (props changed)

Propchange: struts/struts2/trunk/plugins/portlet/
--
--- svn:ignore (added)
+++ svn:ignore Mon Nov 26 05:08:46 2007
@@ -0,0 +1,4 @@
+target
+.settings
+.project
+.classpath




svn commit: r598326 - in /struts/sandbox/trunk/jpa-mailreader/src/main: java/ java/action/ java/action/user/ java/entity/ java/entity/protocol/ java/entity/subscription/ java/entity/user/ webapp/

2007-11-26 Thread husted
Author: husted
Date: Mon Nov 26 08:03:48 2007
New Revision: 598326

URL: http://svn.apache.org/viewvc?rev=598326&view=rev
Log:
WW-1399 Spruce up some of the JavaDocs. Add exception.jsp to webapp and 
exception handling to struts.xml. 

Added:
struts/sandbox/trunk/jpa-mailreader/src/main/webapp/exception.jsp
Modified:
struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/Login.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/EntityAware.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/EntityHelper.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/EntityInterceptor.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/EntityManagerHelper.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/ExpiredPasswordException.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/UuidEntity.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelper.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolTypeConverter.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/Subscription.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/SubscriptionHelper.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/SubscriptionTypeConverter.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/user/User.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/user/UserHelper.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/user/UserTypeConverter.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/struts.xml

Modified: struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java?rev=598326&r1=598325&r2=598326&view=diff
==
--- struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java 
(original)
+++ struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java Mon Nov 
26 08:03:48 2007
@@ -29,11 +29,14 @@
 
 /**
  * 
- * Provides the Struts-specific Business and Persistance Logic API for the
+ * The top-level Struts-specific business and persistance logic API for the
  * MailReader application.
  * 
  * 
- * Generic logic should be pushed down to the Entity managers or another 
facade.
+ * The application is entity or resource-orientated. Subclasses provide
+ * additional logic specific to each entity or resource. Persistence system
+ * logic is delegated to a helper class for each entity. The Action classes
+ * interact only with the entity helpers, and not the underlying JPA.
  * 
  */
 @Conversion(conversions = {

Modified: 
struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/Login.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/Login.java?rev=598326&r1=598325&r2=598326&view=diff
==
--- struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/Login.java 
(original)
+++ struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/Login.java 
Mon Nov 26 08:03:48 2007
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package action.user;
 
 import org.apache.struts2.config.Result;

Modified: 
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/EntityAware.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/EntityAware.java?rev=598326&r1=598325&r2=598326&view=diff
==
--- struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/EntityAware.java 
(original)
+++ struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/EntityAware.java 
Mon Nov 26 08:03:48 2007
@@ -1,7 +1,40 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work

svn commit: r598377 - in /struts/sandbox/trunk/jpa-mailreader/src/main: java/ java/META-INF/xfire/ java/entity/protocol/ java/entity/subscription/ java/entity/user/ webapp/ webapp/WEB-INF/

2007-11-26 Thread husted
Author: husted
Date: Mon Nov 26 10:49:41 2007
New Revision: 598377

URL: http://svn.apache.org/viewvc?rev=598377&view=rev
Log:
WW-1399 Just as an experiment, add an xfire web services configuration. 

Added:
struts/sandbox/trunk/jpa-mailreader/src/main/java/META-INF/xfire/

struts/sandbox/trunk/jpa-mailreader/src/main/java/META-INF/xfire/services.xml
Modified:

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelper.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelperImpl.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/SubscriptionHelper.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/SubscriptionHelperImpl.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/user/UserHelper.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/user/UserHelperImpl.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/struts.xml
struts/sandbox/trunk/jpa-mailreader/src/main/webapp/WEB-INF/web.xml
struts/sandbox/trunk/jpa-mailreader/src/main/webapp/index.html

Added: 
struts/sandbox/trunk/jpa-mailreader/src/main/java/META-INF/xfire/services.xml
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/META-INF/xfire/services.xml?rev=598377&view=auto
==
--- 
struts/sandbox/trunk/jpa-mailreader/src/main/java/META-INF/xfire/services.xml 
(added)
+++ 
struts/sandbox/trunk/jpa-mailreader/src/main/java/META-INF/xfire/services.xml 
Mon Nov 26 10:49:41 2007
@@ -0,0 +1,21 @@
+
+http://xfire.codehaus.org/config/1.0";>
+ 
+user
+http://struts.apache.org/mailreader/service/user
+entity.user.UserHelper
+entity.user.UserHelperImpl
+  
+ 
+subscription
+
http://struts.apache.org/mailreader/service/subscription
+entity.subscription.SubscriptionHelper
+
entity.subscription.SubscriptionHelperImpl
+  
+ 
+protocol
+http://struts.apache.org/mailreader/service/protocol
+entity.protocol.ProtocolHelper
+
entity.protocol.ProtocolHelperImpl
+  
+
\ No newline at end of file

Modified: 
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelper.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelper.java?rev=598377&r1=598376&r2=598377&view=diff
==
--- 
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelper.java
 (original)
+++ 
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelper.java
 Mon Nov 26 10:49:41 2007
@@ -21,6 +21,7 @@
 import java.util.List;
 import java.util.Map;
 
+import javax.jws.WebService;
 import javax.persistence.PersistenceException;
 
 /**
@@ -29,6 +30,7 @@
  * object.
  * 
  */
[EMAIL PROTECTED]
 public interface ProtocolHelper {
 
 /**

Modified: 
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelperImpl.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelperImpl.java?rev=598377&r1=598376&r2=598377&view=diff
==
--- 
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelperImpl.java
 (original)
+++ 
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelperImpl.java
 Mon Nov 26 10:49:41 2007
@@ -23,6 +23,7 @@
 import java.util.List;
 import java.util.Map;
 
+import javax.jws.WebService;
 import javax.persistence.EntityManager;
 import javax.persistence.PersistenceException;
 
@@ -34,6 +35,7 @@
  * Default JPA implementation of ProtocolHelper.
  * 
  */
[EMAIL PROTECTED](serviceName = "protocol", endpointInterface = 
"entity.protocol.ProtocolHelper")
 public class ProtocolHelperImpl extends EntityHelper implements ProtocolHelper 
{
 
 public int count() throws PersistenceException {

Modified: 
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/SubscriptionHelper.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/SubscriptionHelper.java?rev=598377&r1=598376&r2=598377&view=diff
==
--- 
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/SubscriptionHelper.java
 (original)
+++ 
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/SubscriptionHelper.java
 Mon Nov 26 10:49:41 2007
@@ -18,6 +18,7 @@
  */
 package entity.subscription;
 
+import javax.jws.WebService;
 import javax.persistence.PersistenceException;
 
 /**
@@ -26,6 +27,7 @@
  * object.
  * 
  */
[EMAIL PROTECTED]
 public interface SubscriptionHelper {
 
 /**

Modified: 
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subsc

svn commit: r598449 - in /struts/sandbox/trunk/jpa-mailreader/src: main/java/ main/java/META-INF/ main/java/action/ main/java/action/user/ main/java/action/user/subscription/ main/java/entity/ main/ja

2007-11-26 Thread husted
Author: husted
Date: Mon Nov 26 14:04:05 2007
New Revision: 598449

URL: http://svn.apache.org/viewvc?rev=598449&view=rev
Log:
WW-1399 A few tweaks to get the web application persistence working. The JPA 
support seems honky-dory now :)

Removed:
struts/sandbox/trunk/jpa-mailreader/src/test/java/entity/user/
Modified:
struts/sandbox/trunk/jpa-mailreader/src/main/java/META-INF/persistence.xml
struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/Index.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/Update.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/subscription/Index.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/EntityAware.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/EntityHelper.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/EntityInterceptor.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelperImpl.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/SubscriptionHelper.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/SubscriptionHelperImpl.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/user/UserHelper.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/user/UserHelperImpl.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/struts.xml
struts/sandbox/trunk/jpa-mailreader/src/main/webapp/index.html

Modified: 
struts/sandbox/trunk/jpa-mailreader/src/main/java/META-INF/persistence.xml
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/META-INF/persistence.xml?rev=598449&r1=598448&r2=598449&view=diff
==
--- struts/sandbox/trunk/jpa-mailreader/src/main/java/META-INF/persistence.xml 
(original)
+++ struts/sandbox/trunk/jpa-mailreader/src/main/java/META-INF/persistence.xml 
Mon Nov 26 14:04:05 2007
@@ -29,6 +29,7 @@



+   




Modified: struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java?rev=598449&r1=598448&r2=598449&view=diff
==
--- struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java 
(original)
+++ struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java Mon Nov 
26 14:04:05 2007
@@ -20,12 +20,16 @@
 
 import java.util.HashMap;
 import java.util.Map;
+
+import javax.persistence.EntityManager;
+
 import org.apache.struts2.interceptor.SessionAware;
 import com.opensymphony.xwork2.ActionSupport;
 import com.opensymphony.xwork2.conversion.annotations.Conversion;
 import com.opensymphony.xwork2.conversion.annotations.ConversionType;
 import com.opensymphony.xwork2.conversion.annotations.TypeConversion;
 import org.apache.struts2.config.ParentPackage;
+import entity.EntityAware;
 
 /**
  * 
@@ -45,7 +49,7 @@
 @TypeConversion(type = ConversionType.APPLICATION, key = 
"entity.user.User", converter = "entity.user.UserTypeConverter") })
 @SuppressWarnings("unchecked")
 @ParentPackage("entity-default")
-public class Index extends ActionSupport implements SessionAware {
+public class Index extends ActionSupport implements EntityAware, SessionAware {
 
 //  STATICS 
 
@@ -105,28 +109,53 @@
 getSession().put(PROFILE_KEY, value);
 }
 
+private String input = CREATE;
+
 /**
  * 
- * Record the CRUD operation in progress.
+ * Access the CRUD operation token.
  * 
  */
-private String input = CREATE;
-
 public String getInput() {
 return input;
 }
 
+/**
+ * 
+ * Store the CRUD operation in token.
+ * 
+ */
 public void setInput(String value) {
 input = value;
 }
 
+private EntityManager entityManager;
+
 /**
  * 
- * Provide the session context, or its proxy.
+ * Store the session context, or its proxy.
  * 
  */
+public void setEntityManager(EntityManager value) {
+entityManager = value;
+}
+
+/**
+ * 
+ * Access the EntityManager for this thread.
+ * 
+ */
+protected EntityManager getManager() {
+return entityManager;
+}
+
 private Map session;
 
+/**
+ * 
+ * Store the session context, or its proxy.
+ * 
+ */
 public void setSession(Map value) {
 session = value;
 Object profile = getProfile();
@@ -135,6 +164,11 @@
 }
 }
 
+/**
+ * 
+ * Access the session context, or its proxy.
+ * 
+ */
 protected Map getSession() {
 return session;
 }

Modi

svn commit: r598465 - in /struts/sandbox/trunk/jpa-mailreader/src/main/java: ./ action/ action/user/ action/user/subscription/ entity/protocol/ entity/subscription/ entity/user/

2007-11-26 Thread husted
Author: husted
Date: Mon Nov 26 15:46:16 2007
New Revision: 598465

URL: http://svn.apache.org/viewvc?rev=598465&view=rev
Log:
WW-1399 Include sample logging settings. Switch to production mode to be sure 
system doesn't spam logs. (The type converts can be a problem, since they issue 
WARN statements in the normal course.)

Added:
struts/sandbox/trunk/jpa-mailreader/src/main/java/log4j.properties
struts/sandbox/trunk/jpa-mailreader/src/main/java/log4j.properties.txt
Modified:
struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/Index.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/subscription/Index.java
struts/sandbox/trunk/jpa-mailreader/src/main/java/commons-logging.properties

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelperImpl.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolTypeConverter.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/Subscription.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/SubscriptionHelperImpl.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/subscription/SubscriptionTypeConverter.java

struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/user/UserHelperImpl.java

Modified: struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java?rev=598465&r1=598464&r2=598465&view=diff
==
--- struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java 
(original)
+++ struts/sandbox/trunk/jpa-mailreader/src/main/java/action/Index.java Mon Nov 
26 15:46:16 2007
@@ -92,10 +92,6 @@
 
 //  PROPERTIES 
 
-public String getLocation() {
-return "/WEB-INF/results/";
-}
-
 /**
  * 
  * Provide a local cache of client properties.

Modified: 
struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/Index.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/Index.java?rev=598465&r1=598464&r2=598465&view=diff
==
--- struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/Index.java 
(original)
+++ struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/Index.java 
Mon Nov 26 15:46:16 2007
@@ -45,11 +45,7 @@
 
 //  PROPERTIES 
 
-UserHelper manager;
-
-public String getLocation() {
-return "/WEB-INF/results/user/";
-}
+private UserHelper manager;
 
 private User user;
 

Modified: 
struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/subscription/Index.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/subscription/Index.java?rev=598465&r1=598464&r2=598465&view=diff
==
--- 
struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/subscription/Index.java
 (original)
+++ 
struts/sandbox/trunk/jpa-mailreader/src/main/java/action/user/subscription/Index.java
 Mon Nov 26 15:46:16 2007
@@ -52,11 +52,12 @@
 @ParentPackage("entity-default")
 public class Index extends action.user.Index implements Preparable {
 
-protected static final String ERROR_HOST_UNIQUE = "error.host.unique";
+private static final String ERROR_CREDENTIALS_MISMATCH = 
"error.password.mismatch";
 
-static final String ERROR_CREDENTIALS_MISMATCH = "error.password.mismatch";
+protected static final String ERROR_HOST_UNIQUE = "error.host.unique";
 
 protected SubscriptionHelper manager;
+
 private ProtocolHelper protocolManager;
 
 private Map protocols;

Modified: 
struts/sandbox/trunk/jpa-mailreader/src/main/java/commons-logging.properties
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/commons-logging.properties?rev=598465&r1=598464&r2=598465&view=diff
==
--- 
struts/sandbox/trunk/jpa-mailreader/src/main/java/commons-logging.properties 
(original)
+++ 
struts/sandbox/trunk/jpa-mailreader/src/main/java/commons-logging.properties 
Mon Nov 26 15:46:16 2007
@@ -1 +1,2 @@
-org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger
+org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
+# org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger

Modified: 
struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelperImpl.java
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/jpa-mailreader/src/main/java/entity/protocol/ProtocolHelperImpl.java?rev=598465&r1=598464&r2=598465&view=diff
===

svn commit: r598466 - in /struts/sandbox/trunk/jpa-mailreader/src/main/java: log4j.properties.sample log4j.properties.txt

2007-11-26 Thread husted
Author: husted
Date: Mon Nov 26 15:46:54 2007
New Revision: 598466

URL: http://svn.apache.org/viewvc?rev=598466&view=rev
Log:
WW-1399 Include sample logging settings. Switch to production mode to be sure 
system doesn't spam logs. (The type converts can be a problem, since they issue 
WARN statements in the normal course.)

Added:
struts/sandbox/trunk/jpa-mailreader/src/main/java/log4j.properties.sample
  - copied unchanged from r598465, 
struts/sandbox/trunk/jpa-mailreader/src/main/java/log4j.properties.txt
Removed:
struts/sandbox/trunk/jpa-mailreader/src/main/java/log4j.properties.txt