html
Tag rewrite


Render an URI

Renders a request URI based on exactly the same rules as the link tag does, but without creating the <a> hyperlink. This value is useful when you want to generate a string constant for use by a JavaScript procedure.



Tag Information
Tag Classit.eng.spago.taglib.html.RewriteTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
anchorfalsetruejava.lang.String

Optional anchor tag ("#xxx") to be added to the generated hyperlink. Specify this value without any "#" character.

hreffalsetruejava.lang.String

The URL to which this hyperlink will transfer control if activated. This hyperlink may be dynamically modified by the inclusion of query parameters, as described in the tag description.

paramIdfalsetruejava.lang.String

The name of the request parameter that will be dynamically added to the generated hyperlink. The corresponding value is defined by the paramName attribute, optionally scoped by the paramScope attribute

paramNamefalsetruejava.lang.String

The name of a service context data that is a String containing the value for the request parameter named by paramId. The service data is constrained to the bean scope specified by the paramScope property, if it is specified.

paramScopefalsetruejava.lang.String

The scope within which to search for the bean specified by the paramName attribute. If not specified, all scopes are searched.

propertyfalsetruejava.lang.String

The name of a SourceBean list attribute of service context, whose return value must containe the query parameters to be added to the hyperlink. Every SourceBean present in list has to contain two attribute: name and value. These attributes are used to create the query string.

scopefalsetruejava.lang.String

The scope within which to search for the bean specified by the name attribute. If not specified, all scopes are searched.

transactionfalsetrueboolean

If set to true, any current transaction control token will be included in the generated hyperlink.

useLocalEncodingfalsetrueboolean

If set to true, LocalCharacterEncoding will be used, that is, the characterEncoding set to the HttpServletResponse, as prefered character encoding rather than UTF-8, when URLEncoding is done on parameters of the URL.


Variables
No Variables Defined.


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.