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
startStyleClass | false | false | `java.lang.String` | CSS style class for the element displayed on the start of a 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
layout | false | false | `java.lang.String` | Define visual layout of panel, can be "block" or "inline".
title | false | false | `java.lang.String` | Advisory title information about markup elements generated for this component
onstart | false | false | `java.lang.String` | JavaScript code, called on the start of a request.
rendered | false | false | `java.lang.String` | If "false", this component is not rendered
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
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)
styleClass | false | false | `java.lang.String` | Corresponds to the HTML class attribute
startStyle | false | false | `java.lang.String` | CSS style class for the element displayed on the start of a request.
onkeypress | false | false | `java.lang.String` | HTML: a script expression; a key is pressed and released
ondblclick | false | false | `java.lang.String` | HTML: a script expression; a pointer button is double-clicked
style | false | false | `java.lang.String` | CSS style(s) is/are to be applied when this component is rendered
onmouseover | false | false | `java.lang.String` | HTML: a script expression; a pointer is moved onto
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).
onkeyup | false | false | `java.lang.String` | HTML: a script expression; a key is released
lang | false | false | `java.lang.String` | Code describing the language used in the generated markup for this component
onclick | false | false | `java.lang.String` | HTML: a script expression; a pointer button is clicked
onmouseout | false | false | `java.lang.String` | HTML: a script expression; a pointer is moved away
startText | false | false | `java.lang.String` | Text for display on starting request.
onkeydown | false | false | `java.lang.String` | HTML: a script expression; a key is pressed down
onmousedown | false | false | `java.lang.String` | HTML: script expression; a pointer button is pressed down
forceId | false | false | `java.lang.String` | If true, render the ID of the component in HTML code without JSF modifications.
stopText | false | false | `java.lang.String` | Text for display on request complete.
onstop | false | false | `java.lang.String` | JavaScript code, called on the stop of a request.
onmouseup | false | false | `java.lang.String` | HTML: script expression; a pointer button is released
binding | false | false | `java.lang.String` | The attribute takes a value-binding expression for a component property of a backing bean
onmousemove | false | false | `java.lang.String` | HTML: a script expression; a pointer is moved within

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.