Use the Change Mode Button component to add a button on the page that enables you to switch to Edit mode of a page at run time. More
Use this tag along with a Page Customizable tag. When you click the Change Mode Button component at run time, the page is displayed in Edit mode and the Composer is invoked.
Example
<pe:changeModeButton id="cmb1"/>
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.
|
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.Click
Click Edit next to the value field to select a managed bean and specify the relevant managed bean property. The managed bean property must resolve to the Change Mode Button type. |
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