Package org.appng.api
Interface Taglet
-
- All Known Subinterfaces:
GlobalTaglet
public interface Taglet
ATaglet
can be used inside a JSP-Page to embed (static or dynamic) content that is retrieved from aApplication
.
ATaglet
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.- Author:
- Matthias Müller
- See Also:
XMLTaglet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
processTaglet(Site site, Application application, Request request, Map<String,String> tagletAttributes)
Executes theTaglet
and returns aString
to be embedded at the calling JSP-page.
-
-
-
Method Detail
-
processTaglet
String processTaglet(Site site, Application application, Request request, Map<String,String> tagletAttributes)
Executes theTaglet
and returns aString
to be embedded at the calling JSP-page.- Parameters:
site
- the currentSite
application
- the currentApplication
request
- the currentRequest
tagletAttributes
- aMap
containing the attributes for theTaglet
- Returns:
- a String to be embedded into the calling JSP
-
-