From 2f51405ed5136a2525333061887e7309263674a4 Mon Sep 17 00:00:00 2001 From: Jeremy Grelle Date: Fri, 11 Apr 2008 14:54:33 +0000 Subject: [PATCH] Tag library reference for Spring Faces components. --- .../main/resources/META-INF/spring-faces.tld | 1733 +++++++++++++++++ 1 file changed, 1733 insertions(+) create mode 100644 spring-faces/src/main/resources/META-INF/spring-faces.tld diff --git a/spring-faces/src/main/resources/META-INF/spring-faces.tld b/spring-faces/src/main/resources/META-INF/spring-faces.tld new file mode 100644 index 00000000..fd69cde2 --- /dev/null +++ b/spring-faces/src/main/resources/META-INF/spring-faces.tld @@ -0,0 +1,1733 @@ + + + This is the rich UI tag library for Spring Faces. + Spring Faces Rich UI Tags + 1.2 + sf + http://www.springframework.org/tags/faces + + + + Renders the necessary CSS stylesheet includes for the Spring Faces components.

+ +

Use of this tag in the head section of a page that contains the Spring Faces components is recommended + as a browser performance optimization in keeping with the + Yahoo performance guidelines. If this tag is not included, the stylesheet includes will be rendered + inline with the first instance of a Spring Faces component that requires them.

]]> +
+ includeStyles + + empty +
+ + + + Renders a resource include that will route through the ResourceServlet.

+ +

The included resource can be either CSS or JavaScript. The type of include to render will be determined + from the resource's file extension. The ResourceServlet will set the proper response headers for aggressive + caching of the resource by the browser and will gzip the resource if the client browser supports it. These + optimizations are in line with the Yahoo performance + guidelines. See the javadocs of the ResourceServlet for more information.

]]> +
+ resource + + empty + + + ResourceServlet for more detail on the resolution algorithm.]]> + + path + true + + java.lang.String + + +
+ + + + Renders a special resource include that will combine any child resource includes + into one HTTP request.

+ +

The child resource components must all be of the same resource type. This is especially + useful when combining modularized CSS files for a site. Reducing the number of HTTP requests when a page + loads is one of the Yahoo performance guidelines.

]]> +
+ resourceGroup + + JSP +
+ + + + Applies client-side text validation behavior to a child inputText component.

]]> +
+ clientTextValidator + + JSP + + + invalidMessage + false + + java.lang.String + + + + + lowercase + false + + boolean + + + + + promptMessage + false + + java.lang.String + + + + + propercase + false + + boolean + + + + + + regExp + + java.lang.String + + + + + + required + + boolean + + + + + uppercase + false + + boolean + + +
+ + + + Applies client-side numeric validation behavior to a child inputText component.

]]> +
+ clientNumberValidator + + JSP + + + invalidMessage + false + + java.lang.String + + + + + lowercase + false + + boolean + + + + + promptMessage + false + + java.lang.String + + + + + propercase + false + + boolean + + + + + rangeMessage + false + + java.lang.String + + + + + + regExp + + java.lang.String + + + + + + required + + boolean + + + + + uppercase + false + + boolean + + +
+ + + + Applies client-side currency validation behavior to a child inputText component.

]]> +
+ clientCurrencyValidator + + JSP + + + currency + false + + java.lang.String + + + + + invalidMessage + false + + java.lang.String + + + + + lowercase + false + + boolean + + + + + promptMessage + false + + java.lang.String + + + + + propercase + false + + boolean + + + + + + regExp + + java.lang.String + + + + + + required + + boolean + + + + + uppercase + false + + boolean + + +
+ + + + Applies client-side date validation behavior to a child inputText component. Field + will display a popup calendar when entered.

]]> +
+ clientDateValidator + + JSP + + + invalidMessage + false + + java.lang.String + + + + + lowercase + false + + boolean + + + + + promptMessage + false + + java.lang.String + + + + + + + propercase + false + + boolean + + + + + regExp + false + + java.lang.String + + + + + + required + false + + boolean + + + + + uppercase + false + + boolean + + +
+ + + + Fires all client-side validators when a child component's onclick event is fired and suppresses + propagation of the event if validation fails.

]]> +
+ validateAllOnClick + + JSP +
+ + + + Renders a gracefully degrading Ajax submit button.

+ +

This button will submit the parent form using an Ajax request by default. The component is progressively + enhanced so that the submit will still function with a full page refresh if JavaScript is unavailable on the + client.

+ +

The processing of the JSF component tree can be customized through use of the processIds + attribute. By default only the button itself will be processed during the postback lifecycle.

+ +

The content to render is determined on the server side by using a render action in the flow + definition that processes the request. When updating the existing page, the rendered content must be a + replacement for an existing identifiable DOM node in the page.

+ +

The component is capable of driving transitions to another view with an Ajax request. In that case, a + client-side redirect to the new view will occur so that browser history and normal back button behavior + is still preserved.

]]> +
+ commandButton + + JSP + + + + + + action + + + false + + + + java.lang.Object action() + + + + + + + + + actionListener + + + false + + + + void actionListener(javax.faces.event.ActionEvent) + + + + + + + + ajaxEnabled + false + + boolean + + + + + + + + id + + + false + + + true + + + + + bind attribute in the corresponding + transition element in the flow definition. Setting bind="false" + on the transition is equivalent to setting immediate="true"]]> + + + immediate + + + false + + + + boolean + + + + + + + + + rendered + + + false + + + + boolean + + + + + + + + + value + + + false + + + + java.lang.Object + + + + + + + + + accesskey + + + false + + + + java.lang.String + + + + + + + + + alt + + + false + + + + java.lang.String + + + + + + The ValueExpression linking this component to a property in a backing bean + + + binding + + + false + + + + javax.faces.component.UIComponent + + + + + + + + + dir + + + false + + + + java.lang.String + + + + + + + + + disabled + + + false + + + + boolean + + + + + + + + + image + + + false + + + + java.lang.String + + + + + + + + + label + + + false + + + + java.lang.String + + + + + + + + + lang + + + false + + + + java.lang.String + + + + + + + + + onblur + + + false + + + + java.lang.String + + + + + + + + + onchange + + + false + + + + java.lang.String + + + + + + + + + onclick + + + false + + + + java.lang.String + + + + + + + + + ondblclick + + + false + + + + java.lang.String + + + + + + + + + onfocus + + + false + + + + java.lang.String + + + + + + + + + onkeydown + + + false + + + + java.lang.String + + + + + + + + + onkeypress + + + false + + + + java.lang.String + + + + + + + + + onkeyup + + + false + + + + java.lang.String + + + + + + + + + onmousedown + + + false + + + + java.lang.String + + + + + + + + + onmousemove + + + false + + + + java.lang.String + + + + + + + + + onmouseout + + + false + + + + java.lang.String + + + + + + + + + onmouseover + + + false + + + + java.lang.String + + + + + + + + + onmouseup + + + false + + + + java.lang.String + + + + + + + + + onselect + + + false + + + + java.lang.String + + + + + + "*" if the entire component tree should be processed.]]> + + processIds + false + + java.lang.String + + + + + + + + readonly + + + false + + + + boolean + + + + + + + + + style + + + false + + + + java.lang.String + + + + + + + + + styleClass + + + false + + + + java.lang.String + + + + + + + + + tabindex + + + false + + + + java.lang.String + + + + + + + + + title + + + false + + + + java.lang.String + + + + + + + + + type + + + false + + + + java.lang.String + + + +
+ + + + Renders a gracefully degrading Ajax link.

+ +

This link will submit the parent form using an Ajax request by default. The component is progressively + enhanced so that the submit will still function with a full page refresh if JavaScript is unavailable on the + client. To achieve this, an HTML button will be rendered initially, and replaced with a JavaScript enhanced + link. The button is rendered with a special "progressiveLink" CSS class so that its look can be customized + as desired.

+ +

The processing of the JSF component tree can be customized through use of the processIds + attribute. By default only the button itself will be processed during the postback lifecycle.

+ +

The content to render is determined on the server side by using a render action in the flow + definition that processes the request. When updating the existing page, the rendered content must be a + replacement for an existing identifiable DOM node in the page.

+ +

The component is capable of driving transitions to another view with an Ajax request. In that case, a + client-side redirect to the new view will occur so that browser history and normal back button behavior + is still preserved.

]]> +
+ commandLink + + JSP + + + + + + action + + + false + + + + java.lang.Object action() + + + + + + + + + actionListener + + + false + + + + void actionListener(javax.faces.event.ActionEvent) + + + + + + + + ajaxEnabled + false + + boolean + + + + + The ValueExpression linking this component to a property in a backing bean + + + binding + + + false + + + + javax.faces.component.UIComponent + + + + + + + + + id + + + false + + + true + + + + + bind attribute in the corresponding + transition element in the flow definition. Setting bind="false" + on the transition is equivalent to setting immediate="true"]]> + + + immediate + + + false + + + + boolean + + + + + + + + + rendered + + + false + + + + boolean + + + + + + + + + value + + + false + + + + java.lang.Object + + + + + + + + + accesskey + + + false + + + + java.lang.String + + + + + + + + + charset + + + false + + + + java.lang.String + + + + + + + + + coords + + + false + + + + java.lang.String + + + + + + + + + dir + + + false + + + + java.lang.String + + + + + + + + + disabled + + + false + + + + boolean + + + + + + + + + hreflang + + + false + + + + java.lang.String + + + + + + + + + lang + + + false + + + + java.lang.String + + + + + + + + + onblur + + + false + + + + java.lang.String + + + + + + + + + onclick + + + false + + + + java.lang.String + + + + + + + + + ondblclick + + + false + + + + java.lang.String + + + + + + + + + onfocus + + + false + + + + java.lang.String + + + + + + + + + onkeydown + + + false + + + + java.lang.String + + + + + + + + + onkeypress + + + false + + + + java.lang.String + + + + + + + + + onkeyup + + + false + + + + java.lang.String + + + + + + + + + onmousedown + + + false + + + + java.lang.String + + + + + + + + + onmousemove + + + false + + + + java.lang.String + + + + + + + + + onmouseout + + + false + + + + java.lang.String + + + + + + + + + onmouseover + + + false + + + + java.lang.String + + + + + + + + + onmouseup + + + false + + + + java.lang.String + + + + + + "*" if the entire component tree should be processed.]]> + + processIds + false + + java.lang.String + + + + + + + + rel + + + false + + + + java.lang.String + + + + + + + + + rev + + + false + + + + java.lang.String + + + + + + + + + shape + + + false + + + + java.lang.String + + + + + + + + + style + + + false + + + + java.lang.String + + + + + + + + + styleClass + + + false + + + + java.lang.String + + + + + + + + + tabindex + + + false + + + + java.lang.String + + + + + + + + + target + + + false + + + + java.lang.String + + + + + + + + + title + + + false + + + + java.lang.String + + + + + + + + + type + + + false + + + + java.lang.String + + + +
+ + + + + Creates a JavaScript event listener for one of the child component's events that will trigger + an Ajax submit of the parent form.

+ +

The installed JavaScript listener will submit the parent form using an Ajax request. This component is + purely JavaScript based and should only be used in an environment where the availability of JavaScript on + the client is not a concern.

+ +

The processing of the JSF component tree can be customized through use of the processIds + attribute. By default only the button itself will be processed during the postback lifecycle.

+ +

The content to render is determined on the server side by using a render action in the flow + definition that processes the request. When updating the existing page, the rendered content must be a + replacement for an existing identifiable DOM node in the page.

+ +

The component is capable of driving transitions to another view with an Ajax request. In that case, a + client-side redirect to the new view will occur so that browser history and normal back button behavior + is still preserved.

]]> +
+ ajaxEvent + + JSP + + + + + + action + + + false + + + + java.lang.Object action() + + + + + The event to listen to on the child component that will trigger the Ajax request. For example, + event="onchange" will fire an Ajax event when the child component's value changes. + + event + + + + "*" if the entire component tree should be processed.]]> + + processIds + false + + java.lang.String + + +
+ +
\ No newline at end of file