May 2015
Beginner to intermediate
412 pages
8h 44m
English
The imageSwitch component can be used to display a collection of images with transition effects.
A basic definition for the imageSwitch for viewing a static list of car images would be as follows:
<p:imageSwitch id="simple">
<p:graphicImage value="/resources/images/autocomplete/CC.png" />
<p:graphicImage
value="/resources/images/autocomplete/Golf.png" />
<p:graphicImage
value="/resources/images/autocomplete/Polo.png" />
<p:graphicImage
value="/resources/images/autocomplete/Touareg.png" />
</p:imageSwitch>The snippet will be visualized as follows:

The preceding image is seen as a static ...
Read now
Unlock full access