How to insert a date in Seam?

I am new to Seam and I have searched the Internet and the Seam in Action book for this, but I am looking for a way to insert today's date on the seam page (myReport.xhtml or myPdfReport.xhtml)

+3
source share
1 answer

Seam has a built-in component to get the current date.

Just put

#{currentDate}

Nothing else. You do not need to declare a managed bean, as @BalusC said when using this built-in component.

+6
source

Source: https://habr.com/ru/post/1723265/


All Articles