• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

apache tiles: getAsString vs insertDefinition

 
Tomasz Ducin
Greenhorn
Posts: 10
Hibernate Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't see clear difference between those two tags. I've seen the docs and definitions for those tags are similar as well. Both tags just render attribute value. Can anyone eplain what's the difference?

For example, I can use both tags to render HTML page title. If insertDefinition does all the job that getAsString does, why is it separated? In what situations would it be useful?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic