This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Map in datatable  RSS feed

 
Dheepan Raju
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to display a map in h:datatable. Any pointers?


Thanks in advance..
R dheepan
 
Campbell Ritchie
Marshal
Posts: 55680
161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
What is h:datatable? How do you display a map?
 
Greg Charles
Sheriff
Posts: 3015
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dheepan,

You display things in JSF the same way you display them in HTML, so for a map, you'd either be using an img tag for static maps, or canvas for an interactive one. You can also use JSF tags to enhance what is available in straight HTML, say for conditional rendering, or attaching Ajax handlers. Take a look at h:graphicImage.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!