Which four droplets can be used in ATG applications?
A.
Cache
B.
Catalog
C.
ForEach
D.
IsEmpty
E.
IsNull
Explanation:
A: The Cache droplet caches the rendered output of the contents of the oparam
based on a content key (such as category, user gender, logged in/logged out state, etc..) for a
configured period of time. This can be very useful for things like navigation menus dynamically
built based on the catalog.
C: ForEach Droplet: (“atg.droplet.ForEach” is the class, Component is
“atg/dynamo/droplet/ForEach”) help us to iterate through the elements of an array which we
specify. The droplet helps us to specify the HTML before and after the array processing also to
specify the HTML if the array is empty.
D: IsEmpty
Displays one of two possible outputs, depending on whether its input parameter is empty.
* Class Name
atg.droplet.IsEmpty
* Component
/atg/dynamo/droplet/IsEmpty
E: IsNull
Displays one of two possible outputs, depending on whether its input parameter is null.
* Class Name
atg.droplet.IsNull
* Component
/atg/dynamo/droplet/IsNull