You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by David Gao <da...@gmail.com> on 2009/02/17 11:11:24 UTC
Error in UserBox.jsp
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
Re: Error in UserBox.jsp
Posted by Andrew Jaquith <an...@gmail.com>.
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 <da...@gmail.com> 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>
>