Creates a new Portlet in the library.
/bea/wlp/api
POST
/bea/wlp/api/portlet/new/{portlet definition label}
Parameter
|
Type
|
Description
|
Allowed Values
|
Default Value
|
---|---|---|---|---|
webapp (required)
|
String
|
The webapp that will contain the Portlet.
| ||
title (required)
|
String
|
The localized title of the new Portlet.
| ||
content_uri (required)
|
String
|
The content URI of the new Portlet.
| ||
type
|
String
|
The type of the new Portlet.
|
jsp
jsf jsr168 jpf uri struts |
uri
|
description
|
String
|
The description of the new Portlet.
| ||
backing_file
|
String
|
An optional backing file (full java class name ie. 'com.bea.wlp.BackingFile') for this Portlet.
| ||
action
|
String
|
An optional action for struts and JPF Portlets
| ||
forkable
|
Boolean
|
Specifies whether the new Portlet will be forkable (ie. thread safe).
|
false
|
|
fork_render
|
Boolean
|
Specifies whether the new Portlet will run in its own thread during the Portal render phase.
|
false
|
|
is_public
|
Boolean
|
Specifies whether the new Portlet will be visible to everyone.
|
false
|
|
cacheable
|
Boolean
|
Specifies whether the new Portlet can be cached.
|
false
|
|
cache_expires
|
Integer
|
Specifies the new Portlet's cache expiration time in seconds
|
0
|
|
portlet_file
|
String
|
An optional Portlet file associated with the new Portlet.
| ||
laf_dependencies_uri
|
String
|
An optional Look and Feel dependency file associated with the new Portlet.
| ||
help_uri
|
String
|
An optional URI for when the new Portlet is in Help mode.
| ||
edit_uri
|
String
|
An optional URI for when the new Portlet is in Edit mode.
| ||
floatable
|
Boolean
|
Specifies whether the new Portlet is able to be floated.
|
false
|
|
minimizable
|
Boolean
|
Specifies whether the new Portlet is able to be minimized.
|
false
|
|
maximizable
|
Boolean
|
Specifies whether the new Portlet is able to be maximized.
|
false
|
|
deletable
|
Boolean
|
Specifies whether the new Portlet is able to be deleted.
|
false
|
|
theme
|
String
|
An optional Theme markup name for the new Portlet.
| ||
locale
|
String
|
The locale to use for the title and description of the new Portlet. Must be of the format: lang-country-variant ie. [nn], [nn-nn], or [nn-nn-nnnn].
|
Preferred locale from request.
|
/bea/wlp/api/portlet/new/new_portlet_label?webapp=myWebApp&title=My%20New%20Portlet&content_uri=my_portlet.jsp&type=jsp&locale=en-us
<rsp/>
Copyright 2011, Oracle. All rights reserved.