taylor      2004/05/24 15:13:37

  Modified:    applications/demo/src/webapp/WEB-INF/demo/userinfo
                        userinfo.jsp
  Log:
  *** keyword substitution change ***
  
  Revision  Changes    Path
  1.3       +40 -40    
jakarta-jetspeed-2/applications/demo/src/webapp/WEB-INF/demo/userinfo/userinfo.jsp
  
  Index: userinfo.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/applications/demo/src/webapp/WEB-INF/demo/userinfo/userinfo.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- userinfo.jsp      23 May 2004 20:50:53 -0000      1.2
  +++ userinfo.jsp      24 May 2004 22:13:37 -0000      1.3
  @@ -1,40 +1,40 @@
  -<%--

  -Copyright 2004 The Apache Software Foundation

  -

  -Licensed 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.

  ---%>

  -<[EMAIL PROTECTED] import="javax.portlet.PortletRequest" %>

  -<%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%>

  -<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>

  -

  -<portlet:defineObjects/>

  -

  -<h3>User attributes</h3>

  -

  -<c:choose>

  -

  -  <c:when test="${empty renderRequest.userPrincipal}">

  -       Login to see the user attributes available.

  -  </c:when>

  -

  -  <c:otherwise>

  -    User: <c:out value='${renderRequest.userPrincipal.name}'/><br>

  -    <% /**

  -    <br>Render request: renderRequest.getAttribute(PortletRequest.USER_INFO) 

  -    <br>Request: request.getAttribute(PortletRequest.USER_INFO) 

  -     */ %>

  -  </c:otherwise>

  -

  -</c:choose>

  -<br>

  -For help on user attributes configuration select the help icon.

  +<%--
  +Copyright 2004 The Apache Software Foundation
  +
  +Licensed 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.
  +--%>
  +<[EMAIL PROTECTED] import="javax.portlet.PortletRequest" %>
  +<%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%>
  +<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
  +
  +<portlet:defineObjects/>
  +
  +<h3>User attributes</h3>
  +
  +<c:choose>
  +
  +  <c:when test="${empty renderRequest.userPrincipal}">
  +       Login to see the user attributes available.
  +  </c:when>
  +
  +  <c:otherwise>
  +    User: <c:out value='${renderRequest.userPrincipal.name}'/><br>
  +    <% /**
  +    <br>Render request: renderRequest.getAttribute(PortletRequest.USER_INFO) 
  +    <br>Request: request.getAttribute(PortletRequest.USER_INFO) 
  +     */ %>
  +  </c:otherwise>
  +
  +</c:choose>
  +<br>
  +For help on user attributes configuration select the help icon.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to