Awesome!  Glad that worked for ya!

Beez

-----Original Message-----
From: Rubens Gomes [mailto:rub...@pocketgear.com] 
Sent: Tuesday, January 11, 2011 12:01 PM
To: Struts Users Mailing List
Subject: RE: How to use an application scoped variable in <s:a
href=""/>?

Thanks.  The following also worked:

<s:a href="%{#application['view-register']}"
title="%{getText('textTitle.account.register')}">
          <s:text name="link.account.register" /></s:a>

Bottom-line, if we want to use "-" hyphen on OGNL expressions we must
define them in the following way

%{application['var-name']}

This is great.  Now I can name my JSP URL action variables the same way
as the equivalent Struts 2 Annotation actions.

Thank you very much.

Rubens.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to