Overview | Library | Tag | Help
| FRAMES NO FRAMES

## Ajax4Jsf
Tag status

Renders area for indicating Ajax request status on the client-side. <br /> During Encoding: Creates two "span" elements with id created as clientId of this component or of target AJAX region (pointed to by the "for" property) with appended ":status.start" and ":status:stop" strings. <br /> "start" span has "display:none" style (hidden). Inside this span, renders the value of the startText/stopText properties or, if they exist, the content of "start" and "stop" facets. <br /> On performing an AJAX request, the client-side script changes the visibility of the "start" span and hides "stop". After all requests for this indicator are completed, restores "stop" and hide "start" start[style,styleClass] and stop[style,styleClass] are rendered for spans as style and class atributes, respectivetly. <br /> During Encoding: Creates two "span" or "div"(depending on 'layout' attribute) elements with id created as clientId of this component or of target AJAX region (pointed to by the "for" property) with appended ":status.start" and ":status:stop" strings. "start" element has "display:none" style (hidden). Inside this element, renders the value of the startText/stopText properties or, if they exist, the content of "start" and "stop" facets. On performing an AJAX request, the client-side script changes the visibility of the "start" element and hides "stop". After all requests for this indicator are completed, restores "stop" and hide "start" <br /> start[style,styleClass] and stop[style,styleClass] are rendered for spans as style and class atributes, respectivetly.

Tag Information
Tag Class | org.ajax4jsf.taglib.html.jsp.AjaxStatus
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
binding | false | false | `java.lang.String` | The attribute takes a value-binding expression for a component property of a backing bean
dir | false | false | `java.lang.String` | Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left)
for | false | false | `java.lang.String` | ID of the AjaxContainer component whose status is indicated (in the format of a javax.faces.UIComopnent.findComponent() call).
forceId | false | false | `java.lang.String` | If true, render the ID of the component in HTML code without JSF modifications.
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
lang | false | false | `java.lang.String` | Code describing the language used in the generated markup for this component
layout | false | false | `java.lang.String` | Define visual layout of panel, can be "block" or "inline".
onclick | false | false | `java.lang.String` | HTML: a script expression; a pointer button is clicked
ondblclick | false | false | `java.lang.String` | HTML: a script expression; a pointer button is double-clicked
onkeydown | false | false | `java.lang.String` | HTML: a script expression; a key is pressed down
onkeypress | false | false | `java.lang.String` | HTML: a script expression; a key is pressed and released
onkeyup | false | false | `java.lang.String` | HTML: a script expression; a key is released
onmousedown | false | false | `java.lang.String` | HTML: script expression; a pointer button is pressed down
onmousemove | false | false | `java.lang.String` | HTML: a script expression; a pointer is moved within
onmouseout | false | false | `java.lang.String` | HTML: a script expression; a pointer is moved away
onmouseover | false | false | `java.lang.String` | HTML: a script expression; a pointer is moved onto
onmouseup | false | false | `java.lang.String` | HTML: script expression; a pointer button is released
onstart | false | false | `java.lang.String` | JavaScript code, called on the start of a request.
onstop | false | false | `java.lang.String` | JavaScript code, called on the stop of a request.
rendered | false | false | `java.lang.String` | If "false", this component is not rendered
startStyle | false | false | `java.lang.String` | CSS style class for the element displayed on the start of a request.
startStyleClass | false | false | `java.lang.String` | CSS style class for the element displayed on the start of a request.
startText | false | false | `java.lang.String` | Text for display on starting request.
stopStyle | false | false | `java.lang.String` | CSS style for element displayed on request completion.
stopStyleClass | false | false | `java.lang.String` | CSS style class for element displayed on request
stopText | false | false | `java.lang.String` | Text for display on request complete.
style | false | false | `java.lang.String` | CSS style(s) is/are to be applied when this component is rendered
styleClass | false | false | `java.lang.String` | Corresponds to the HTML class attribute
title | false | false | `java.lang.String` | Advisory title information about markup elements generated for this component

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.