Oracle ADF Faces - af:goButton
Summary

Tag name: < af:goButton >

UIComponent class: oracle.adf.view.faces.component.core.nav.CoreGoButton

Component type: oracle.adf.CoreGoButton

The goButton creates a push button that navigates directly to another location instead of delivering an action. It can be used in place of commandButton where a server-side action is not needed.

Example:

  <af:goButton text="Access char" accessKey="e"/>

  <af:goButton textAndAccessKey="&amp;Disabled goButton"
          destination="http://www.oracle.com"
          disabled="true"/>

Attributes
Ungrouped attributes
Name Type Supports EL? Description
accessKey char Yes Character used to gain quick access to this component. For accessibility reasons, this functionality is not supported in screen reader mode.

If the same access key appears in multiple input fields in the same page of output, the rendering user agent will cycle among the elements accessed by the similar keys. Note that user agents are inconsistent about dealing with two links having same access key, and so the cycling behavior is dependent on what the user agent provides.

This attribute is sometimes referred to as the "mnemonic".

The character specified by this attribute must exist in the Text attribute of this go component instance. If it does not, the user wi ll receive no visual indication of the existence of the accessKey.

attributeChangeListener javax.faces.el.MethodBinding Only EL a method reference to an attribute change listener
destination String Yes the URI this go component references
disabled boolean Yes whether the go component should be considered disabled. This attribute only has meaning when go components are used in certain container types, such as global headers and tab bars.
longDesc String Yes a long description associated with this go component. This attribute is only used when the go component is in certain container types, such as the message box.
partialTriggers String[ ] Yes the IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too.
targetFrame String Yes the target frame for the go component.
text String Yes the textual label of the go component. Go components will also render children elements (including text nodes), though not all subclasses of the go component will necessarily support children.
textAndAccessKey String Yes An attribute that will simultaneously set both the "text" and "accessKey" attributes from a single value, using conventional ampersand (' & ') notation.

For example, setting this attribute to "T & amp;ext" will set the text to "Text" and the access key to 'e'.

Core attributes
Name Type Supports EL? Description
binding oracle.adf.view.faces.component. core.nav.CoreGoButton Only EL a binding reference to store the component instance
id String No the identifier for the component. This must be a valid XML ID, and therefore may not contain whitespace or start with a number. Also, JSF requires that IDs must not contain any colons (":").
inlineStyle String Yes the inline CSS style for this element
rendered boolean Yes whether the bean is rendered. When set to false, no output will be delivered for this bean.
shortDesc String Yes the short description of the bean. This text is commonly used by user agents to display tooltip help text.
styleClass String Yes the CSS style class of the bean.
Javascript attributes
Name Type Supports EL? Description
onblur String Yes the event handler for the component losing the focus. This attribute is not supported on the following agent types: pda, phone, voice.
onclick String Yes an onclick Javascript handler.
ondblclick String Yes an ondblclick Javascript handler.
onfocus String Yes the event handler for the component gaining the focus. This attribute is not supported on the following agent types: pda, phone, voice.
onkeydown String Yes an onkeydown Javascript handler.
onkeypress String Yes an onkeypress Javascript handler.
onkeyup String Yes an onkeyup Javascript handler.
onmousedown String Yes an onmousedown Javascript handler.
onmousemove String Yes an onmousemove Javascript handler.
onmouseout String Yes an onmouseout Javascript handler.
onmouseover String Yes an onmouseover Javascript handler.
onmouseup String Yes an onmouseup Javascript handler.
Copyright © 2003-2006, Oracle Corporation. All Rights Reserved.

E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy