Moves a Portlet on a Page. The Page is identified by its definition label, included as the last part of the URI path.
/bea/wlp/api
POST
/bea/wlp/api/page/move/portlet/{page defintion label}
Parameter
|
Type
|
Description
|
Allowed Values
|
Default Value
|
---|---|---|---|---|
webapp (required)
|
String
|
The webapp that contains the Page.
| ||
portlet (required)
|
String
|
The instance or definition label of the Portlet to move on the Page.
| ||
placeholder (required)
|
Integer
|
The placeholder to move the Portlet to.
| ||
position
|
Integer
|
The position index within the placeholder to move the Portlet to (starts with zero). After the moved Portlet is given this position the entire position array must be normalized to ensure it is still zero-based and that it is contiguous with no missing positions. Therefore, the moved Portlet will use this position and previously existing Portlets at and beyond this position will have their position incremented by one. After the position incrementing, the positions will be normalized to shift the lowest position to a zero value and shift any positions necessary to make them contiguous.
| ||
scope (required)
|
String
|
The scope at which to perform the move operation, one of to the library definition, the admin instance or to a visitor's customized instance.
|
library
admin visitor |
library
|
portal
|
String
|
For 'admin' or 'visitor' scope, the portal that contains the Page.
| ||
desktop
|
String
|
For 'admin' or 'visitor' scope, the desktop that contains the Page.
| ||
username
|
String
|
For 'visitor' scope only. If username is specified, any operation will be done as an administrator (and will require admin privileges), affecting the specified username's customized Page instance. If username is omitted, any operation will be done as the logged-in user, affecting their own Page instance.
| ||
proliferation
|
String
|
For 'library' or 'admin' scope, whether or not the move operation should be cascaded to derived Page instances.
|
sync
async off |
async
|
/bea/wlp/api/page/move/portlet/page_1?portlet=myPortlet&scope=admin&webapp=myWebapp&portal=myPortal&desktop=myDesktop&placeholder=1&position=5
<rsp/>
Copyright 2011, Oracle. All rights reserved.