Wednesday, April 18, 2007

Portlet2 xml

Portlet deployment descriptor according 2nd portlet spec (jsr286) early draft 2 (rev.13).



Portlet 0+
description 0+
portlet-name* 1
display-name 0+
portlet-class* 1
init-param 0+
description 0+
name 1
value 1
expiration-cache 0-1
expiration-time 0-1
scope 0-1
supports* 1+
mime-type* 1
portlet-mode 0+
window-state 0+
supported-locale 0+
|-1-|- resource-bundle* 1
| |- portlet-info 0-1
| | title 0-1
| | short-title 0-1
| | keywords 0-1
|-2-|- portlet-info* 1
| | title 0-1
| | short-title 0-1
| | keywords 0-1
portlet-preferences 0-1
preference 0+
name 1
value 0+
read-only 0-1
preferences-validator 0-1 FQN
security-role-ref 0+
description 0+
role-name 1 NMTOKEN
role-link 0-1
supported-processing-event 0+ QName
supported-publishing-event 0+ QName
supported-shared-render-parameter 0+ String
container-runtime-option 0+
name 1
value 0+
custom-portlet-mode 0+
description 0+
portlet-mode 1
portal-managed 0-1
decoration-name 0-1
custom-window-state 0+
description 0+
window-state 1
user-attribute 0+
description 0+
name 1
security-constraint 0+
display-name 0+
portlet-collection 1
portlet-name 1+
user-data-constraint 1
description 0+
transport-guarantee 1
resource-bundle 0-1
filter 0+
description 0+
display-name 0+
filter-name 1
filter-class 1
lifecycle 1
init-param 0+
description 0+
name 1
value 1
filter-mapping 0+
filter-name 1
portlet-name 1+
event-definition 0+
description 0+
name 1 QName
aias 0+ QName
java-class 1
shared-render-parameter 0+
description 0+
identifier 1
name 1+ QName





* necessary tags for simple test porlet
0 unnecessary
1 necessary
+ unbound

No comments: