META-INF.lasta-function.tld Maven / Gradle / Ivy
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")}