>Date: Tue, 06 Feb 2001 22:37:00 +0100
>From: Santiago Gala <[EMAIL PROTECTED]>
>Organization: High Sierra Technology, S.L.
>User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.17-21mdksmp i686; en-US; 0.7) 
>Gecko/20010119
>X-Accept-Language: en
>To: ingo schuster <[EMAIL PROTECTED]>
>Subject: Bug?
>
>I don't have proper Login (using Apache) if I don't do that:
>
>Index: webapp/WEB-INF/templates/jsp/screens/Login.jsp
>===================================================================
>RCS file: 
>/products/cvs/jetspeed/jetspeed/webapp/WEB-INF/templates/jsp/screens/Login.jsp,v
>retrieving revision 1.4
>diff -u -r1.4 Login.jsp
>--- webapp/WEB-INF/templates/jsp/screens/Login.jsp      2001/02/05 
>09:55:34     1.4
>+++ webapp/WEB-INF/templates/jsp/screens/Login.jsp      2001/02/06 20:30:50
>@@ -7,7 +7,7 @@
>
><div align="left">
><form method="POST"
>-      action="<jetspeed:dynamicUri />"
>+      action="<jetspeed:dynamicUri />/"
>      enctype="application/x-www-form-urlencoded">
><%-- input name="nextscreen" type="hidden" value="Home" --%>
><input name="action" type="hidden" value="<%= TurbineResources.getString( 
>"action.login" ) %>">
>
>
>I'm not sure if it is a consequence of my changes, or if the patch should 
>be applied elsewere. That's the reason why I send it to you first.
>
>
>The problem is that apache maps /portal/* to Jetspeed. I could have solved 
>it  by mapping  also /portal, but then there are two separate mappings, as 
>/portal* I think is not valid...

The problem is that new DynamicURI( data ); doesn't seem to produce an URL 
with a closing slash.
However the problem comes from me trying to shorten the "Home URL", it is 
actually the remainder of some tests and shouldn't have gone into CVS.

I wanted to discuss this on the mailinglist anyway:
How do we want to address our "Home page" as: /portal/ or /portal/screen/Home ?

With  the first alternative, we had to make sure that DynamicUri (or the 
respective Tag) closes the URL with a slash.

The 2nd alternative was
-      action="<jetspeed:dynamicUri />"
+      action="<jetspeed:dynamicUri screen="Home" />"

I turned the CVS back to screen/Home for the moment, however screens as a 
keyword are about to die out, we want to use only "action"s, "template"s 
and a pull service...

ingo.




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to