Tuesday, May 29, 2007

XWiki buglist

1. View profile.
Clicking on my profile link
Error: "You are not allowed to view this document or perform this action."


2. Inserting code.
If the second field "Content" leave empty inserting of macros will be incorrect:

"{code:type=code} " instead of "{code:type=code} {code} ".

3. Inserting image by wysiwyg from the web.

I think it's hack to upload image from the web by that wysiwyg inserting image panel.
There are no tools for do it. I follow step by step but happens nothing :( Nothing at all!

4. How can I type char "\"?

"\" is "" - unmark XWiki's system symbol
"\\" is "" - new line
"/\" is "/"
"\/" is "/"
"/" is "/"
"//" is "//"


Just for information. Will make it useful.

Wednesday, May 23, 2007

Merge wars

Nice article Using Maven2 and Cargo to merge WAR files .
Explains, how we could merge two war files in one.

Monday, May 7, 2007

JSR286 Portlet XML draft 2 rev. 14

JSR 286 draft 2 rev 14


Portlet 0+
description 0+
portlet-name* 1
display-name 0+
portlet-class* 1
init-param 0+
description 0+
name 1
value 1
caching 0-1
expiration-cache 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-public-render-parameter 0+ String
container-runtime-option 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
public-render-parameter 0+
description 0+
identifier 1
name 1+ Qname
container-runtime-option 0+
name 1
value 0+




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

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