The <o:link> is a component that extends the standard <h:link> and allows including the request query string parameters
of the current URL into the link's target URL. Standard Faces <h:link> does not include any query string parameters which are not declared
as view parameters. This is particularly useful if you expect some state in the target page and don't want to repeat <f|o:param> all over
place.
You can use it the same way as <h:link>, you only need to change h: to o:.
When you want to include request query string parameters of the current URL into the link's target URL, set the includeRequestParams attribute
to true.
<o:link value="Go to some page with same query string" outcome="some-page" includeRequestParams="true">
| Info | Value |
|---|---|
| Component Type | org.omnifaces.component.output.Link |
| Handler Class | None |
| Renderer Type | None |
| Description | None |
| Name | Required | Type | Description |
|---|---|---|---|
accesskey | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
binding | false | jakarta.el.ValueExpression
(must evaluate to jakarta.faces.component.UIComponent)
| The ValueExpression linking this component to a property in a backing bean. |
charset | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
converter | false | jakarta.el.ValueExpression
(must evaluate to jakarta.faces.convert.Converter)
| No Description |
coords | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
dir | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
disableClientWindow | false | jakarta.el.ValueExpression
(must evaluate to boolean)
| No Description |
disabled | false | jakarta.el.ValueExpression
(must evaluate to boolean)
| No Description |
fragment | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| The identifier of the page fragment which should be brought into focus when the target page is rendered. The value of this attribute is appended to the end of target URL following a hash (#) mark. This notation is part of the standard URL syntax. |
hreflang | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
id | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
includeRequestParams | false | jakarta.el.ValueExpression
(must evaluate to boolean)
| Whether or not the request parameters should be encoded into the target URL. Defaults to false. |
includeViewParams | false | jakarta.el.ValueExpression
(must evaluate to boolean)
| No Description |
lang | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
onblur | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
onclick | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
ondblclick | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
onfocus | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
onkeydown | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
onkeypress | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
onkeyup | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
onmousedown | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
onmousemove | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
onmouseout | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
onmouseover | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
onmouseup | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
outcome | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
rel | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
rendered | false | jakarta.el.ValueExpression
(must evaluate to boolean)
| Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true. |
rev | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
role | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
shape | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
style | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
styleClass | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
tabindex | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
target | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
title | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
type | false | jakarta.el.ValueExpression
(must evaluate to java.lang.String)
| No Description |
value | false | jakarta.el.ValueExpression
(must evaluate to java.lang.Object)
| No Description |
Output generated by Vdldoc View Declaration Language Documentation Generator.