Html5 Support for Apache MyFaces
Project Documentation
Foundation

Summary

Tag name: <hx:slideView>
UIComponent class: org.apache.myfaces.html5.component.output.SlideView
Tag class: org.apache.myfaces.html5.tag.output.SlideViewTag
Component type: org.apache.myfaces.html5.SlideView
Component family: org.apache.myfaces.SlideView
Renderer type: org.apache.myfaces.html5.SlideView
Renderer class: org.apache.myfaces.html5.renderkit.output.SlideViewRenderer

Provides a presentation-like slide view.
Page authors should nest hx:slide components inside.

Attributes

Name Type Supports EL? Description
accesskey String Yes HTML: Sets the access key for this element.
animationEnd String Yes HTML : Script to run when the animation ends on Html element.
delay String Yes Duration for animation/effect to wait before running.
Value must be in seconds or milliseconds, thus must end with 's' or 'ms'. If not, the value is considered in seconds.
Some of the sample values are:
  • '1' : 1 second
  • '1s' : 1 seconds
  • '0.1' : 0.1 second
  • '100ms' : 100 milliseconds
dir String Yes HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
draggable boolean Yes HTML: Specifies whether the element is draggable.
duration String Yes Duration for animation/effect to run through.
Value must be in seconds or milliseconds, thus must end with 's' or 'ms'. If not, the value is considered in seconds.
Some of the sample values are:
  • '1' : 1 second
  • '1s' : 1 seconds
  • '0.1' : 0.1 second
  • '100ms' : 100 milliseconds
hidden boolean Yes HTML: Whether the element is relevant.
inactiveSlideScale double Yes Scaling value of the inactive slides. Value should be in the interval [0.0, 1.0]. Defaults to 0.9.
lang String Yes HTML: The base language of this document.
navigateOnArrowKeys boolean Yes If true, arrow keys will be registered to navigate between slides.
Defaults to true.
widgetVar can be used to navigate between slides manually.
navigateOnMouseWheel boolean Yes If true, mouse wheel scroll will be registered to navigate between slides.
Defaults to true. widgetVar can be used to navigate between slides manually.
onblur String Yes HTML: Specifies a script to be invoked when the element loses focus.
onclick String Yes HTML: Script to be invoked when the element is clicked.
ondblclick String Yes HTML: Script to be invoked when the element is double-clicked.
ondrag String Yes HTML: Handler for event that is fired when the element is dragged.
ondragend String Yes HTML: Handler for event that is fired when the drag operation is ended. Successfully or not, this handler will run.
ondragenter String Yes HTML: Handler for event that is fired when the element is dragged into a valid drop target.
ondragleave String Yes HTML: Handler for event that is fired when the element leaves a valid drop target.
ondragover String Yes HTML: Handler for event that is fired when the element is being dragged over a valid drop target.
ondragstart String Yes HTML: Handler for event that is fired when the drag operation starts.
ondrop String Yes HTML: Handler for event that is fired when the element is being dropped.
onfocus String Yes HTML: Specifies a script to be invoked when the element receives focus.
onmousedown String Yes HTML: Script to be invoked when the pointing device is pressed over this element.
onmousemove String Yes HTML: Script to be invoked when the pointing device is moved while it is in this element.
onmouseout String Yes HTML: Script to be invoked when the pointing device is moves out of this element.
onmouseover String Yes HTML: Script to be invoked when the pointing device is moved into this element.
onmouseup String Yes HTML: Script to be invoked when the pointing device is released over this element.
onmousewheel String Yes HTML: Script to be invoked when the pointing device is wheeled over this element.
prependId boolean Yes If true, descendent components will have an clientId with the id of the form prepended.
Defaults to true.
slideHeight double Yes The percent value of the height of the active slide. Defaults to 90.
slideLeft double Yes The percent value of the left position of the active slide. Defaults to 10.
slideWidth double Yes The percent value of the width of the active slide. Defaults to 80.
style String Yes HTML: CSS styling instructions.
styleClass String Yes The CSS class for this element. Corresponds to the HTML 'class' attribute.
tabindex String Yes HTML: Specifies the position of this element within the tab order of the document.
timingFunction String Yes Timing function to calculate animation/effect transitions.
The timing functions defined by CSS3 spec are:
  • ease
  • linear
  • ease-in
  • ease-out
  • ease-in-out
  • cubic-bezier(<number>, <number>, <number>, <number>)
title String Yes HTML: An advisory title for this element. Often used by the user agent as a tooltip.
widgetVar String Yes Defines the Javascript variable name of the object created by this component.
Defaults to 'widget_' followed by the client id of the component where ':' characters in client id of the component are replaced with '_'.