The default Login.java doesn't look at the TurbineResources
action.login. Here is a patch to fix it.

Is this the proper method for submitting patches? This is the third
patch I've sent in the last week and with the first two I didn't hear a
single comment on whether they were appropriate or not. We are making
extensive use of the Turbine framework in our projects and there are
many things that we will want to contribute back into the framework but
I'm unclear on the best way to do that.

Index: Login.java
===================================================================
RCS file:
/products/cvs/turbine/turbine/src/java/org/apache/turbine/screens/Login.java,v
retrieving revision 1.2
diff -u -r1.2 Login.java
--- Login.java  1999/10/28 18:11:56     1.2
+++ Login.java  2000/01/18 20:38:29
@@ -88,7 +88,9 @@
         if ( screen == null )
             screen = "DefaultScreen";
 
-        Form form = new Form ( new DynamicURI ( data, screen,
"LoginUser", true
).toString()
+        Form form = new Form ( new DynamicURI ( data, screen
+            , TurbineResources.getInstance().getString("action.login" 
+            , "org.apache.turbine.actions.LoginUser"), true
).toString()
             , Form.POST );
         form.addAttribute ("name", "turbine");
 
-- 
Kimbro Staken
Chief Technology Officer
Infostreet Inc.


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to