Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Other Application Frameworks and the fly likes apache tiles: getAsString vs insertDefinition Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "apache tiles: getAsString vs insertDefinition" Watch "apache tiles: getAsString vs insertDefinition" New topic
Author

apache tiles: getAsString vs insertDefinition

Tomasz Ducin
Greenhorn

Joined: Jan 22, 2013
Posts: 10

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: apache tiles: getAsString vs insertDefinition