Tapestry

Tapestry5 jQuery provides jQuery Components and can fully replace Prototype and Scriptaculous by jQuery

Carousel

Carousel Component

Description

This component allows you create a jcarousel.

Links

Parameters
Name Required Java Type Default Prefix Default Value Description
clientIdfalseStringliteralThe client id of the carousel
classNamefalseStringliteralThe class attribute is added to the carousel
paramsfalseJSONObjectpropThe slider parameters (please refer to jcarousel documentation)

CarouselItem Component

Description

You have to use this component inside a carousel component, one carouselitem per image you want to show in the carousel. It depends on the carousel component and cannot be used alone.

Parameters
Name Required Java Type Default Prefix Default Value Description
widthfalseintliteral75The width of the image in pixels
heightfalseintliteral75The height of the image in pixels
imageSourcetrueStringpropThe path of the image
pagefalseStringliteralIf you provide a value, the image will be surrounded by a pagelink which targets this page.
eventfalseStringliteralIf you provide a value, the image will be surrounded by an eventlink which triggers this event.
contextfalseObjectpropIf the image is surrounded by a link, you can provide a context thanks to this parameter.
zonefalseStringliteralIf you provide a zone name, the surrounding link will be an ajax link
Complex Items:
Click on the big white flower of the complex carousel:


Ajax loaded: