I want to use .properties file data in tiles.xml file of struts2(2.1.8) application to display title.
sample code I have used:
<definition name="disastersettingsview_users" extends="baseLayout"> <put-attribute name="title" value="**getText('home')**"/> <put-attribute name="module_header" value="/disastersettingsview/disastersettings_users_heading.jsp"/> <put-attribute name="body" value="/disastersettingsview/disastersettings_users.jsp"/> </definition>
home = home page
but in title bar the text displayed is "getText('home')" not the value "home page" .
Please can anyone help me in this issue?
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.