Tuesday, December 11, 2007

JSR 286 Portlet XML

Rev. 30 on 2007.12.07

http://hnsp.inf-bb.uni-jena.de/spec/JSR%202.0%20API/portlet-app_2_0.xsd
wget -r -l 3 -nd -np -P . http://hnsp.inf-bb.uni-jena.de/spec/

portlet                 0+

//FOR PORTLET:

description 0+
portlet-name* 1
display-name 0+
portlet-class* 1
init-param 0+
description 0+
name 1
value 1
expiration-cache 0-1 (int)
cache-scope 0-1
supports* 1+
mime-type* 1
portlet-mode 0+
window-state 0+
supported-locale 0+
resource-bundle 0-1
portlet-info 0-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+
|-1-|-qname 1 (xs:QName)
|-2-|-name 1 (xs:NCName)
supported-publishing-event 0+
|-1-|-qname 1 (xs:QName)
|-2-|-name 1 (xs:NCName)
supported-public-render-parameter 0+ String
container-runtime-option 0+

//FOR APPLICATION:

custom-portlet-mode 0+
description 0+
portlet-mode 1
portal-managed 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+
default-namespace 0-1 (xs:anyURI)
event-definition 0+
description 0+
|-1-|-qname 1 (xs:QName)
|-2-|-name 1 (xs:NCName)
aias 0+ (xs:QName)
value-type 0-1 FQN
public-render-parameter 0+
description 0+
identifier 1
|-1-|-qname 1 (xs:QName)
|-2-|-name 1 (xs:NCName)
alias 0+ (xs:QName)
listener 0+
description 0+
display-name 0+
listener-class 1 (FQN)
container-runtime-option 0+
name 1
value 0+


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

Thursday, December 6, 2007

HOWTO Ubuntu share without authentication

Wiki Ubuntu Edgy

Install:
Samba package on Gutsy
sudo apt-get install samba

Configure:
sudo mkdir /home/public
sudo chmod 777 /home/public/
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
sudo gedit /etc/samba/smb.conf

Find this line
...
; security = user
...

Replace with the following line
  security = share

Append the following lines at the end of file
[public]
comment = Public Folder
path = /home/public
available = yes
browsable = yes
guest ok = yes
public = yes
writable = yes
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup

Save the edited file
sudo testparm
sudo /etc/init.d/samba restart

Tuesday, December 4, 2007

Dell inspiron 1501

Make choise what to bye...
WED

DELL Inspiron based on AMD Turion 64 X2 (TL56)

Краткие технические характеристики
15,4" WXGA Glare / Turion 64 X2 TL56 (1.8Ghz) / 1GB / 160GB / Radeon X1150 / DVD-RW / FM / Lan / WiFi / Vista HP ru / 2,81 kg
Экран
15.4" WXGA (1280x800)
Процессор
AMD Turion 64 2X TL56 (1.8Ghz)
Объём оперативной памяти
1 GB
Тип оперативной памяти
DDR2
Жесткий диск
160 GB
Видеокарта
ATI Mobility Radeon X1150 256 Mb Hyper Memory
Чипсет материнской платы
ATI Radeon Xpress 1150
Беспроводные технологии
Wi-Fi
Оптические приводы (CD, DVD)
DVD+/-RW
Коммуникационные возможности и порты ввода-вывода
4 x USB 2.0 / RJ-45 / RJ-11 / VGA / CR 3-in-1 / Mic-In / Head-Out
Внутренняя аудиосистема
HDA
Устройство управления курсором
Touchpad
Предустановленное ПО
Windows Vista™ Home Premium Russian
Время работы от батареи и характеристики питания
До 3.5 часов от стандартного 6-элементной аккумуляторной батареи.
Размеры (Ш х Г х В, мм)
356 x 265,4 x 37 мм
Комплект поставки
Ноутбук DELL Inspiron 1501, Li-ion батарея, блок питания, инструкция пользователя на CD, драйвера и программное обеспечение на CD.
Вес (кг)
2.81 кг
Гарантия
12 месяцев




I have install the new Ubuntu 7.10 Gutsy.
The Vista remain on another partition.


Online selector configuration

Official description

Классное описание по-русски

Ubuntu on this laptop