Greetings,

I want to get the text of an url from a resource bundle. I have the
following test snippet from a jsp:

<s:text name="anon.page.home.banner" id="test1"/>

<ol>     
    <li>test: <s:url value="%{text('anon.page.home.banner')}"/></li>
    <li>test: <s:url value="%{test1}"/></li>
</ol>

What I get on the output is something like this:

1. test:
2. test: /images/en/flash/intro.swf

Can anyone explain why the first version does not work? I get the basic idea
from
http://struts.apache.org/2.0.9/docs/i18n.html

Cheers
-- 
View this message in context: 
http://www.nabble.com/ognl%2C-url-and-text-tf4299860.html#a12238826
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to