David -- Thanks for this. I'd noticed the issue too, but hadn't done any investigation. I'll check this in during my next build.

On Feb 17, 2009, at 5:11, David Gao <[email protected]> wrote:

Hi,

While I was playing with latest jspwiki (v3.0.0-svn-70),I found that *User Action* is always Login even if I logged in successfully. I searched around and it turned that this issue was caused by using incorrect resource key in UserBox.jsp. Line 49 in this file should be changed from:
    <fmt:message key="actions.login"/>
to
    <fmt:message key="actions.logout"/>

I also attached the svn patch along this mail for your convenience. Thank you

Best Regards

David Gao
Index: UserBox.jsp
===================================================================
--- UserBox.jsp    (revision 744860)
+++ UserBox.jsp    (working copy)
@@ -46,7 +46,7 @@
beanclass="org.apache.wiki.action.LoginActionBean" event="logout"
      class="action logout"
      title="${logoutTitle}">
-      <fmt:message key="actions.login"/>
+      <fmt:message key="actions.logout"/>
    </stripes:link>
  </wiki:UserCheck>

Reply via email to