I have a that has with CategoryHistory objects loaded in it. I only show the Date date
CategoryHistory
Date date
You can use a converter method in your bean, as:
public class Admin{ ... public String formatDate(Date fecha, String pattern) { return (new SimpleDateFormat(pattern)).format(fecha); } ... }
And, in your xhtml page inside f:selectItems: