The XML template for the MediaBananer
cartridge is located in <ATG11dir>/CommerceReferenceStore/Store/Storefront/deploy/cartridge_templates/MediaBanner/template.xml
and it sets the cartridge’s content type to MainContent
. The XML template defines two editable properties:
imageURL
: A string property that contains the URL for the image. The URL can be either a full or relative URL, for example:http://www.oracle.com/path_to_image
or
/crsdocroot/path_to_image
link
: A reference to acom.endeca.infront.cartridge.model.LinkBuilder
object. TheMediaBanner
cartridge handler calls theLinkBuilder
object’screateAction()
method to create acom.endeca.infront.cartridge.model.Action
object. TheAction
object contains details for the link that is associated with the banner image, if one exists. For more details on theLinkBuilder
andAction
objects, see Content Item and Handler below.