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 4 years, 4 months ago.

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

    rafaeltc
    Participant

    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?

    #23412

    rafaeltc
    Participant

    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)

You must be logged in to reply to this topic.

Comments are closed.