META-INF.lasta-function.tld Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lasta-taglib Show documentation
Show all versions of lasta-taglib Show documentation
Tag libraries for LastaFlute, super forked from Struts and SAStruts as Java8
Lasta functions
1.1
f
http://lastaflute.org/functions
Escapes characters that could be interpreted as HTML.
h
org.lastaflute.taglib.function.LaFunctions
java.lang.String h(java.lang.Object)
${f:h(param:info)}
Escapes characters that could be interpreted as URL.
u
org.lastaflute.taglib.function.LaFunctions
java.lang.String u(java.lang.String)
${f:u(param:info)}
Formats characters that could be interpreted as Date.
formatDate
org.lastaflute.taglib.function.LaFunctions
java.lang.String formatDate(java.time.LocalDate, java.lang.String)
${f:formatDate(bean.birthdate, 'yyyy/MM/dd')}
Formats characters that could be interpreted as Date.
formatDateTime
org.lastaflute.taglib.function.LaFunctions
java.lang.String formatDateTime(java.time.LocalDateTime, java.lang.String)
${f:formatDateTime(bean.purchaseDatetime, 'yyyy/MM/dd HH:mm')}
Converts line break to br tag.
br
org.lastaflute.taglib.function.LaFunctions
java.lang.String br(java.lang.String)
${f:br(f:h(textarea))}
Escapes space that could be interpreted as HTML.
nbsp
org.lastaflute.taglib.function.LaFunctions
java.lang.String nbsp(java.lang.String)
${f:br(f:nbsp(f:h(textarea)))}
Calculates URL.
url
org.lastaflute.taglib.function.LaFunctions
java.lang.String url(java.lang.String)
<a href="${f:url(param:info)}" ...
Converts value to label.
label
org.lastaflute.taglib.function.LaFunctions
java.lang.String label(java.lang.Object, java.util.List, java.lang.String, java.lang.String)
${f:label(e.departmentId, deptItems, "id", "name")}
Returns version for e.g. CSS, JS.
version
org.lastaflute.taglib.function.LaFunctions
java.lang.String version()
/sea/land.css?v=${f:version()}