Droplets in Oracle ATG (Out of the box)

Few basic out of the box Droplets in Oracle ATG

As a Oracle ATG developer we need to know few basic droplets in Oracle ATG that are commonly used in Oracle ATG application development.

Droplets in Oracle ATG

Droplets in Oracle ATG

List of few most frequently used Droplets in Oracle ATG

  • IsEmpty
    • Used to display either of two outputs, based on the input parameter is not empty or empty.
    • Class name and complete path: atg.droplet.IsEmpty
    • Component path of the droplet is: /atg/dynamo/droplet/IsEmpty
  • ForEach
    • Used to displays all the elements of an array
    • Class name and complete path: atg.droplet.ForEach
    • Component path of the droplet is: /atg/dynamo/droplet/ForEach
  • IsNull
    • Used to display either of two outputs, based on the input parameter is not null or null.
    • Class name and complete path: atg.droplet.IsNull
    • Component path of the droplet is: /atg/dynamo/droplet/IsNull
  • Redirect
    • Used to redirect the current user to a specified page
    • Class name and complete path: atg.droplet.Redirect
    • Component path of the droplet is: /atg/dynamo/droplet/Redirect
  • Switch
    • Used to display one of a set of possible outputs, the result is based on the input parameter
    • Class name and complete path: atg.droplet.Switch
    • Component path of the droplet is: /atg/dynamo/droplet/Switch
  • TargetingForEach
    • Used to display all of the items returned by the targeter.
  • TargetingFirst
    • Used to display the first n items, where n is a number you specify.
  • TargetingRange
    • Used to displaya range of items, such as the third through the seventh.
  • TargetingRandom
    • Used to display n items chosen randomly.
  • TargetingArray
    • TargetingArray differs from the others in that it does not format the output of the targeting operation. Instead, you must use another servlet bean to format the output CategoryLookup.
  • TableForEach
    • Displays each element of an array, arranging the output in a two-dimensional format.
  • RepositoryLookup
    • Used to look up an item in a specific repository based on the item ids passed. Then renders the item on the page.
    • Class name and complete path: atg.targeting.RepositoryLookup
    • Component path of the droplet is: /atg/targeting/RepositoryLookup
  • ItemLookupDroplet
    • Used to look up an item in repositories (one or more) based on the item ids passed. Then renders the item on the page.
    • Class name and complete path: atg.repository.servlet.ItemLookupDroplet
    • Component path of the droplet is: /atg/dynamo/droplet/ItemLookupDroplet
  • CatalogItemLookupDroplet
    • CatalogItemLookupDroplet use RepositoryItem ID to look up the item in a repository.
    • Class name and complete path: atg.commerce.catalog.custom.CatalogItemLookupDroplet
    • Component path of the droplet is:
      • /atg/commerce/commerce/catalog/CategoryLookup
      • /atg/commerce/catalog/ProductLookup
      • /atg/commerce/catalog/SKULookup

Note: atg.commerce.catalog.custom.CatalogItemLookupDroplet  has few instances  CategoryLookUp, ProductLookup  and SKULookup servlet beans, when used with custom catalogs.

  • RepriceOrderDroplet
  • PriceEachItem
  • PriceItemDroplet
  • PriceItem
  • ShippingGroupsDroplet
  • PaymentGroupsDroplet
  • RepriceOrderDroplet

These are the few droplets in Oracle ATG that any Oracle ATG developer should be aware of. Each of the link (droplet name) will take you to examples.

——————————————————————————–

You may also like this

——————————————————————————–

About TechnoStixs.com

TechnoStixs

TechnoStixs.com is a dedicated weblog for Java/J2EE and web developers. We take pride in our work. Every publication is carefully analyzed, written and tested to ease the understanding of the topic or subject.

We cover Java Core Technologies, eCommerce, J2EE Frameworks, Web Service, Build Tools, Unit Test Frameworks and Others.

9,151 total views, 3 views today

Add comment