SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 163 | Next

Alexander Kolesnikov

"Tapestry 5: Building Web Applications"

But, as the number of displayed items grow
(our collection grows) different problems may arise.
We might not want to display the whole collection on one page, so we'll need some
kind of a pagination mechanism and some controls to enable navigation from page
to page. Also, it would be convenient to be able to sort celebrities by first name, last
name, occupation, and so on. All this can be achieved by adding more controls and
more code to finally achieve the result that we want, but a table with pagination and
sorted columns is a very common part of a user interface, and recreating it each time
wouldn't be efficient.
Thankfully, the Grid component brings with it plenty of ready to use functionality,
and it is very easy to deal with. Open the ShowAll.tml template in an IDE of
your choice and remove the Loop component and all its content, together with the
surrounding table:

t:value="celebrity">




t:context="celebrity.id">
${celebrity.lastName}

${celebrity.firstName}
t:value="celebrity.dateOfBirth"/>
${celebrity.


Pages:
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 druga wojna światowa Free English grammar and study guid hotel jelenia góra Russian bride counter strike 1.6