
Oak::Web::Additional::TableList - Creates a list with a table (supporting a link with onclick)

Oak::Web::Additional::TableList

This component takes the array reference in the "data" property and creates a table where the first line of the array indicates the name of the columns and the other lines are used as the items itself.

An text with the definitions for the colum:
align="left" valign="middle" style="la"|align="right" valign="middle" style="la"
An array reference with the following structure:
usuarios = [
[undef,columnname1,columnname2,columnname3]
[id1,item1value1,item1value2,item1value3,item1class],
[id2,item2value1,item2value2,item2value3],
[id3,item3value1,item3value2,item3value3,item3class],
...
]
When you specify more elements in a line then the declared columns, this additional element is used as the class for the <TR> element of that item.
The css class applied to the TABLE element.
The id of the selected item.
If this property is setted, no link is created
Set in wich column to set the link (default 1)
the target of the link
the __owa_origin__ of the link (defaults to $self->{owner}->get('name'))

Dispatched when one of the items in the table is selected.

Copyright (c) 2001 Daniel Ruoso <daniel@ruoso.com> Carlos Eduardo de Andrade Brasileiro <eduardo@oktiva.com.br> All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.