Composer Library - Change Mode Link Component

Use the Change Mode Link component to add a link on the page that enables you to switch to Edit mode of a page at run time. More

Use the Change Mode Link tag along with a Page Customizable tag. When you click the Change Mode Link component at runtime, the page is displayed in Edit mode and the Composer is invoked.

Example

<pe:changeModeLink id="cml1"/>

Common Attributes

Element Description

id

Specifies the unique identifier for the component on the page. This attribute is populated with a unique value by default when you add the component.
  • The identifier must follow a subset of the syntax allowed in HTML:

  • Must not be a zero-length String.First character must be an ASCII letter (A-Za-z) or an underscore ('_').

  • Subsequent characters must be an ASCII letter or digit (A-Za-z0-9), an underscore ('_'), or a dash ('-').

rendered

Specifies whether the component is rendered. When set to false, no output will be delivered for this component (the component will not in any way be rendered, and cannot be made visible on the client). The default value is true.

Behavior Attribute

Element Description

immediate

Specifies whether data validation - client-side or server-side - will be skipped when events are generated by this component. When immediate is true, the command's action and ActionListeners, including the default ActionListener provided by the JavaServer Faces implementation, will be executed during Apply Request Values phase of the request processing lifecycle, rather than waiting until the Invoke Application phase. Because validation runs during Process Validators (after Apply Request Values, but before Invoke Application), setting immediate to true will skip validation.

Advanced Attribute

Element Description

binding

An EL reference that will store the component instance on a bean. This can be used to give programmatic access to a component from a backing bean, or to move creation of the component to a backing bean.

Customization Attributes

Element Description

customizationAllowed

Specifies whether customizations are allowed on this component. Available values are true and false. The default value is true.

customizationAllowedBy

Specifies the roles for which customization is enabled.

The Expression Builder option available when you right-click these attributes allows you to bind the Change Mode Button instance to a managed bean property.


Other Attribute

Element Description

customizationId

This attribute is deprecated. It will be removed in the next release. Use the id attribute instead.

Related Topics

"Adding Custom Actions to Components" in Developing WebCenter Portal Assets and Custom Components with Oracle JDeveloper