Html5 Support for Apache MyFaces
Project Documentation
Foundation

Summary

Tag name: <hx:div>
UIComponent class: org.apache.myfaces.html5.component.panel.Div
Tag class: org.apache.myfaces.html5.tag.panel.DivTag
Component type: org.apache.myfaces.html5.Div
Component family: org.apache.myfaces.Div
Renderer type: org.apache.myfaces.html5.Div
Renderer class: org.apache.myfaces.html5.renderkit.panel.DivRenderer

Component that supports new functionality like Html5 DnD.
The reason of having this component is, providing a way to use new functionality in old components. For example, to make a h:column of a h:dataTable draggable, the user can put a hx:div inside the h:column wrapping the column content; then putting a fx:dragSource in it.

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.
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.
hidden boolean Yes HTML: Whether the element is relevant.
lang String Yes HTML: The base language of this document.
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.
onkeydown String Yes HTML: Script to be invoked when a key is pressed down over this element.
onkeypress String Yes HTML: Script to be invoked when a key is pressed over this element.
onkeyup String Yes HTML: Script to be invoked when a key is released over this element.
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.
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.
title String Yes HTML: An advisory title for this element. Often used by the user agent as a tooltip.