• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mr. Ford, Please Help With My Tile Problem

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My tiles-defs.xml looks like:

and the Article.jsp looks like:

I have no problem for web pages to pick up and show "header", "content", "navbar". And I have the following:

saved in my C:\...\ApplicationName\WEB-INF\classes\resources\application.properties file. But, my web pages simply cannot pick up and show "title". Do you spot the problem in my code?
 
Surasak Leenapongpanit
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using <tiles:getAsString name="title"/> instead of <tiles:get name="title"/>.
 
Neal Ford
Author
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using <tiles:getAsString name="title"/> instead of <tiles:get name="title"/>.

I concur.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic