You see the Properties window for a Hyperlink component when you select the component on a page that you are editing in the Visual Designer or you select the Hyperlink
in the
This JavaServer Faces 1.2 component has the following properties.
Type: String Type: String position: absolute; left: 288px; top: 312px
You can enter values directly or click the ellipsis (...) button to use the Style Editor.
For a list of CSS2 style attributes, see the web page at
Type: Stringstyle property description for an explanation of why a class added to this property might appear to have no effect on the component. Type: String<a href="url">text</a>.action property, the page is submitted when this component is activated.
The JSP tag for this property is actionExpression.
url property, the action will not take place. The url property takes precedence over the action property.If you right-click the component, you can choose Edit action Event Handler to define an action method for the hyperlink and set this property's value automatically to this method. The action method determines which page to open based on certain conditions. The action method typically processes mouse clicks and returns a String indicating the name of a page navigation case (the page in your application to display next). The default name for the method is hyperlink-id_action, where hyperlink-id is the value of the hyperllink's id property.
Type: boolean Type: String_blank - renders the response in a new, unnamed window _self - renders the response in the current frame_parent - renders the response in the immediate frameset parent _top - renders the response in the full, unframed window Type: Stringtitle attribute of the component, which is readable by a screen reader and can be displayed as a tool tip.
Type: String href. If the value of this property is set, there are two consequences:
action property is ignored. If you do not set this property, clicking the hyperlink submits the page. Typically, if you do not set this property, you use the action method to define what happens when the user clicks the hyperlink. See the action property above for more information.
Type: booleanrendered property. Type: String Type: String Type: String Type: String Type: String Type: String Type: String Type: String Type: String Type: String Type: String Type: String Type: MethodExpression#{Page1.action_method}, and it must evaluate to the name of a public method that takes an ActionEvent parameter with a return type of void. Type: boolean Type: boolean Type: Stringtype, which is a MIME type, such as text/html, image/png, image/gif, video/mpeg, text/css, or audio/basic. Type: Stringurl property. Equivalent to the hreflang attribute of the HTML <a> tag. To choose a language code, you can click the ellipsis button (...) to open the property editor. Some examples:
ar - Traditional Arabicde - Germanen - Englishes - Spanishfr - Frenchja - Japanese In addition to the codes available in the property editor, you can also enter additional codes using ISO standard names. Some examples:
en-US - United States Englishja-JP - Japanesezh-guoyu - Mandarin or Standard Chinese zh-Hans - Simplified Chinese scriptzh-HanT - Traditional Chinese script