I want to use the formatDate tag inside the param tag. This does not work:
<fmt:message key="entry"> <fmt:param value="<fmt:formatDate value='${entry.time}' pattern='h:mm' />"/> </fmt:message>
How can i do this?
You can use fmt:param body content
fmt:param
Like this:
<fmt:message key="entry"> <fmt:param><fmt:formatDate value='${entry.time}' pattern='h:mm' /></fmt:param> </fmt:message>
That should do what you want. :)
Source: https://habr.com/ru/post/1315886/More articles:License Implications of a 7-Zip Call Due to a Proprietary Application - lgplJQuery double axis - jqueryHow does the CSS property `page-break-before` work? - csscatch all exceptions in the application with only one attempt - c #'validates_presence_of' not working in Mongoid? - ruby-on-railsHow to start the SQL Server 2008 service from the command line? - sqlDoes .Net / Visual Studio support foreign language keywords for non-English cultures? - .netC #: Force monitors to standby - c #Perl Treebuilder HTML Parsing does not seem to be able to parse the DIV when it gets the error "Use uninitialized value to match pattern" - perlTransparent materials on laptops in Delphi 7 - delphiAll Articles