On Mon, Aug 20, 2012 at 6:42 AM, Lukasz Lenart <lukaszlen...@apache.org>wrote:
> 2012/8/19 Christopher Johnson <ctj...@gmail.com>: > > <s:if test="${currentURL}==${url}"> fails because the TLD does not accept > > Did you try: > <s:if test="${currentURL==url}"> > This gives an error message because ${} expressions are not allowed in the test attribute. > > or > > <s:if test="%{#currentURL==#url}"> > Since currentURL is created via <s:url var="currentURL" /> the #currentURL *does* reference the correct variable. #url turns out to be null because it can't. <s:debug /> does not show it anywhere. Thanks, -Chris > > > Regards > -- > Ćukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >