|
9. Seam Tag Reference
Documentation
>
Seam
>
Seam Tag Reference
>
Seam Tag Library
> s:link
|
s:link |
|
<p>The <s:link> tag renders an HTML anchor tag with an "href" attribute. The display value of the link can also be obtained from a message bundle to support internationalization (I18N). This link does not submit an HTML form when included on the page.</p>
Example
<s:link id="link1" value="http://www.yourcompany.com">
<f:param name="projectId" value="123" />
<f:param name="userId" value="45" />
<h:outputText value="Open Project" />
</s:link>
HTML Output
<a href="http://www.yourcompany.com?projectId=123&userId=45" id="link1">Open Project</a>
|
Tag Attributes
| accesskey |
Text |
| |
| This attribute assigns an access key to an element. An access key is a single character from the document character set. Note:Authors should consider the input method of the expected reader when specifying an accesskey
|
| action |
Text |
| |
| MethodBinding pointing at the application action to be invoked, if this UIComponent is activated by you, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of the immediate property
|
| actionListener |
Text |
| |
| MethodBinding pointing at method accepting an ActionEvent with return type void
|
| binding |
Expression |
| |
| The attribute takes a value-binding expression for a component property of
a backing bean
|
| charset |
Text |
| |
| The character encoding of a resource designated by this hyperlink
|
| conversationName |
Text |
| |
| The name of the conversation for natural conversations
|
| converter |
Text |
| |
| Id of Converter to be used or reference to a Converter
|
| coords |
Text |
| |
| This attribute specifies the position and shape on the screen. The number and order of values depends on the shape being defined. Possible combinations:* rect:left-x, top-y, right-x, bottom-y. * circle:center-x, center-y, radius. Note. When the radius value is percentage value, user agents should calculate the final radius value based on the associated object's width and height. The radius should be the smaller value of the two. * poly:x1, y1, x2, y2, ..., xN, yN. The first x and y coordinate pair and the last should be the same to close the polygon. When these coordinate values are not the same, user agents should infer an additional coordinate pair to close the polygon. Coordinates are relative to the top, left corner of the object. All values are lengths. All values are separated by commas
|
| dir |
Text |
| |
| Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left)
|
| disabled |
Text |
| |
| If true, write the link as disabled in HTML
|
| fragment |
Text |
| |
| the fragment identifier to link to.
|
| hreflang |
Text |
| |
| Base language of a resource specified with the href attribute; hreflang may only be used with href
|
| id |
Text |
| |
| Every component may have a unique id that is automatically created if omitted
|
| includePageParams |
Text |
| |
| Include page parameters defined in pages.xml when rendering the button
|
| lang |
Text |
| |
| Code describing the language used in the generated markup for this component
|
| onblur |
Text |
| |
| JavaScript code. The onblur event occurs when an element loses focus either by the pointing device or by tabbing navigation. It may be used with the same elements as onfocus
|
| onclick |
Text |
| |
| The clientside script method to be called when the element is clicked
|
| ondblclick |
Text |
| |
| The client side script method to be called when the element is double-clicked
|
| onfocus |
Text |
| |
| JavaScript code. The onfocus event occurs when an element gets focus
|
| onkeydown |
Text |
| |
| The client side script method to be called when a key is pressed down over the element
|
| onkeypress |
Text |
| |
| The client side script method to be called when a key is pressed over the element and released
|
| onkeyup |
Text |
| |
| The client side script method to be called when a key is released
|
| onmousedown |
Text |
| |
| The client side script method to be called when a mouse button is pressed down over the element
|
| onmousemove |
Text |
| |
| The client side script method to be called when a pointer is moved within the element
|
| onmouseout |
Text |
| |
| The client side script method to be called when a pointer is moved away from the element
|
| onmouseover |
Text |
| |
| The client side script method to be called when a pointer is moved onto the element
|
| onmouseup |
Text |
| |
| The client side script method to be called when a mouse button is released
|
| outcome |
Text |
| |
| The outcome to use when evaluating navigation rules
|
| pageflow |
Text |
| |
| a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
|
| propagation |
Text |
| |
| determines the conversation propagation style:begin, join, nest, none or end.
|
| rel |
Text |
| |
| The relationship from the current document to the anchor specified by this hyperlink. The value of this attribute is a space-separated list of link types
|
| rendered |
Text |
| |
| If "false", this component is not rendered
|
| rev |
Text |
| |
| A reverse link from the anchor specified by this hyperlink to the current document. The value of this attribute is a space-separated list of link types
|
| shape |
Text |
| |
| This attribute specifies the shape of a region. The possible values are "default", "rect", "circle" and "poly".
|
| style |
Text |
| |
| CSS style(s) is/are to be applied when this component is rendered
|
| styleClass |
Text |
| |
| Corresponds to the HTML class attribute
|
| tabindex |
Text |
| |
| This attribute specifies the position of the current element in the tabbing order for the current document. This value must be a number between 0 and 32767. User agents should ignore leading zeros
|
| target |
Text |
| |
| This attribute specifies the name of a frame where a document is to be opened. By assigning a name to a frame via the name attribute, authors can refer to it as the "target" of links defined by other elements
|
| taskInstance |
Text |
| |
| Specify the task to operate on (e.g. for @StartTask)
|
| title |
Text |
| |
| Advisory title information about markup elements generated for this component
|
| type |
Text |
| |
| The content type of the resource designated by this hyperlink
|
| value |
Text |
| |
| The current value for this component
|
| view |
Text |
| |
| the JSF view id to link to.
|
|
|
|
|
|