Friday, May 4, 2007

JSR168 Portlet XML

Portlet deployment descriptor according 1st portlet spec (jsr168) final release.


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
supports* 1+
mime-type* 1
portlet-mode 0+
supported-locale 0+
|-1-|- resource-bundle* 1
| |- portlet-info 0-1
| | title 1
| | short-title 0-1
| | keywords 0-1
|-2-|- portlet-info* 1
| | title 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
security-role-ref 0+
description 0+
role-name 1
role-link 0-1
custom-portlet-mode 0+
description 0+
portlet-mode 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

-1-, -2- case 1 or case 2
* necessary tags for simple test porlet application
0 unnecessary
1 necessary
+ unbound

No comments: