Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

setting a var with dynamic content

Frank Maritato

2008-11-21

Replies: Find Java Web Hosting

Author LoginPost Reply
I need to set a variable that is specific to the object id I'm working
with. I tried something like this:

<s:set name="something_%{obj.id}" value="'test'"/>

and then later in the page:

<s:property value="#something_%{obj.id}" />

but didn't get anything. Is there a different way to do this?
--
Frank Maritato

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.