File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Map in datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Map in datatable" Watch "Map in datatable" New topic
Author

Map in datatable

Dheepan Raju
Greenhorn

Joined: Jan 15, 2013
Posts: 1
I want to display a map in h:datatable. Any pointers?


Thanks in advance..
R dheepan
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
Welcome to the Ranch
What is h:datatable? How do you display a map?
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2771
    
  10

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Map in datatable
 
Similar Threads
Best Internet application
what data structure is appropriate for me?
How to Create a Phone Book with Java?
Converting user inputs to enum constants
From 60 lines to 1 line?