aspose file tools*
The moose likes Struts and the fly likes Struts2 : expressons within s:property Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 : expressons within s:property" Watch "Struts2 : expressons within s:property" New topic
Author

Struts2 : expressons within s:property

Nigel King
Greenhorn

Joined: Mar 03, 2006
Posts: 29
Hi,

I have several text fields stored in my session : text_1, text_2, text_3, etc.
I can access them using

It would be useful for me to be able to do something like

but I can't figure out the relevant combination of %, #, and {} to achieve that.
Any ideas?
Fawad Ali
Ranch Hand

Joined: Dec 28, 2009
Posts: 112
Hi
I have a similar kind of problem where I am trying the following code

<s:i18n name='${resourceBundle}'>


But it throws an exception
According to TLD or attribute directive in tag file, attribute name does not accept any expressions
. If you have any idea on this please let me know.

Regards, Fawad Ali.
Software Engineer, Stafona Inc. - My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2 : expressons within s:property