Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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?
 
 
subject: apache tiles: getAsString vs insertDefinition
 
Similar Threads
how to manage two JSPs in singe JSP
Struts: Incorrect form submission through javascript
Instance variable in JSF Converter
jsf controls in h:datatable
JSF and tiles