All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.lasta-function.tld Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version



	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()}
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy