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 246 | Next

Alexander Kolesnikov

"Tapestry 5: Building Web Applications"

apache.org/schema/tapestry_5_0_0.xsd">
Please provide some reasonable value for the page title on the other pages too. If
you run the application now, you should see that a unique title is displayed for each
page, like the following screenshot shows:
Chapter 8
[ 205 ]
That's it, we have created our first custom component, and it was not more difficult
than developing an ordinary page. Thanks to the Border component, we can now
reuse common content and functionality in all the pages of our application. This is
not the kind of component that you will want to package and give to your friends
though, as it is very much application-specific. However in the next section, we shall
prepare ourselves for creating a more universal component.
Unleashing the Power of Select
Component
Before going further, we need to learn how to use all the capabilities that were put
into the Select component by the creators of Tapestry. This component can be very
convenient, and it will be definitely a popular constituent for all sorts of custom
components, including those that we are going to create further in this chapter.
Let's remind ourselves that the Select component is defined on a page like this:

The model parameter provides a number of items to display.


Pages:
234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
Sennik Smycze praca elektryk roll up Suknie ślubne