Author: rich
Date: Tue Oct 26 09:52:51 2004
New Revision: 55617

Modified:
   
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowPageFilter.java
   
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/annotations/Jpf.java
Log:
- Made PageFlowPageFilter public (it had been package protected previously), 
which allows its public methods to be accessed through reflection.  This issue 
was discovered and addressed by Bryan Che (thanks Bryan).
- Added a 'typeHint' attribute to @Jpf.ActionOutput, to add extra information 
for generic types.

DRT: netui (WinXP)
BB: self (linux)



Modified: 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowPageFilter.java
==============================================================================
--- 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowPageFilter.java
        (original)
+++ 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/PageFlowPageFilter.java
        Tue Oct 26 09:52:51 2004
@@ -49,7 +49,7 @@
 /**
  * Base class for Servlet Filters that run before page requests.
  */ 
-abstract class PageFlowPageFilter implements Filter
+public abstract class PageFlowPageFilter implements Filter
 {
     private ServletContext _servletContext;
     
@@ -58,6 +58,10 @@
     private static final String PREVENT_CACHE_ATTR = 
InternalConstants.ATTR_PREFIX + "preventCache";
     
     
+    protected PageFlowPageFilter()
+    {
+    }
+
     public void init( FilterConfig filterConfig ) throws ServletException
     {
         _servletContext = filterConfig.getServletContext();

Modified: 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/annotations/Jpf.java
==============================================================================
--- 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/annotations/Jpf.java
   (original)
+++ 
incubator/beehive/trunk/netui/src/pageflow/org/apache/beehive/netui/pageflow/annotations/Jpf.java
   Tue Oct 26 09:52:51 2004
@@ -403,6 +403,7 @@
     {
         String name();
         Class type();
+        String typeHint();
         boolean required() default true;
         /** @deprecated Use [EMAIL PROTECTED] #required}. **/
         boolean nullable() default false;

Reply via email to