Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

bean: message tag

 
Weston Kornfeld
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<bean:message bundle='<%=bundle%>' key='call_center'/>

Does anyone know how to extract the value out of <bean:message tag and put it into a variable in a scriplet? Or some other way of getting a value out of a properties file?

Many Thanks
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like you are trying to put business logic in your view. You should probably move whatever it is you are trying to do to an Action and it should be much simpler from there. Actions can easily retrieve the properties file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic