PrettyTimeConverter inside a custom tag

Splash Forums PrettyTime Users PrettyTimeConverter inside a custom tag

This topic contains 1 reply, has 1 voice, and was last updated by  rafaeltc 8 years, 12 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #19504


    Hello everyone,

    I developed a custom tag which has as one of its components a h:outputText that should prints the date processed by PrettyTimeConverter.

    I added the maven dependencies for PrettyTime and for the JSF integration, and also added the prettyTimeConverter to the outputText, but when I try to load the page I get the following error message:

    Expression Error: Named Object: prettyTimeConverter not found.

    Question: Do I need to perform any other configuration settings than those ones I did?



    It worked when I did it like this: ‘<h:outputText value=”#{exhibitionDate}” converter=”org.ocpsoft.PrettyTimeConverter”/>’

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘PrettyTime Users’ is closed to new topics and replies.

Comments are closed.