public interface Taglet
Taglet
can be used inside a JSP-Page to embed (static or dynamic) content that is retrieved from a
Application
.Taglet
is used as follows (method
refers to bean name of the implementing class):
<%@taglib uri="http://appng.org/tags" prefix="appNG" %> <appNG:taglet application="application-name" method="taglet-name"> <param:anAttribute>aValue</param:anAttribute> </appNG:taglet>Every
<param>
is passed in as a taglet-attribute.XMLTaglet
Modifier and Type | Method and Description |
---|---|
String |
processTaglet(Site site,
Application application,
Request request,
Map<String,String> tagletAttributes)
Executes the
Taglet and returns a String to be embedded at the calling JSP-page. |
String processTaglet(Site site, Application application, Request request, Map<String,String> tagletAttributes)
Taglet
and returns a String
to be embedded at the calling JSP-page.site
- the current Site
application
- the current Application
request
- the current Request
tagletAttributes
- a Map
containing the attributes for the Taglet
Copyright © 2011–2021 aiticon GmbH. All rights reserved.