Project Documentation
Foundation

Summary

Tag name: <s:submitOnEvent>
UIComponent class: org.apache.myfaces.custom.submitOnEvent.SubmitOnEvent
Tag class: org.apache.myfaces.custom.submitOnEvent.SubmitOnEventTag
Component type: org.apache.myfaces.SubmitOnEvent
Component family: org.apache.myfaces.SubmitOnEvent
Renderer type: org.apache.myfaces.SubmitOnEvent
Renderer class: org.apache.myfaces.custom.submitOnEvent.SubmitOnEventRenderer

Attach an event handler to an input element or use a global event handler to submit a form by "clicking" on a link or button

Attributes

Name Type Supports EL? Description
binding org.apache.myfaces.custom.submitOnEvent.SubmitOnEvent Only EL Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.
callback String Yes User defined javascript callback function. This function will be called to decide if the event should trigger the submit. (Default: fire on "Enter")
event String Yes The event: keypress|keydown|keyup|change|focus|blur|click|mousedown|mouseup|mousemove|mouseover|mouseout|select (Default: keypress)
for String Yes The component (commandLink or commandButton) to "click" on
id String Yes Get a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer component. The id is not necessarily unique across all components in the current view.
rendered boolean Yes A boolean value that indicates whether this component should be rendered. Default value: true.