They are
great effort savers for us, and in this chapter we are going to introduce them and use
them in our Celebrity Collector application.
Following are some of the components, we'll examine:
The Grid component allows us to display different data in a fairly
sophisticated table. We are going to use it to display our collection
of celebrities.
The BeanEditForm component greatly simplifies creating forms for accepting
user input. We shall use it for adding a new celebrity to our collection.
The DateField component provides an easy and attractive way to enter or
edit the date.
The FCKEditor component is a rich text editor, and it is as easy to
incorporate into a Tapestry 5 web application, just as a basic TextField is.
This is a third party component, and the main point here is to show that
using a library of custom components in a Tapestry 5 application requires no
extra effort. It is likely that a similar core component will appear in a future
version of the framework.
???
??? ??? ???
Advanced Components
[ 128 ]
Grid Component
Previously, we were able to display our collection of celebrities with the help of
the Loop component. It wasn't difficult, and in many cases, that will be exactly the
solution you need for the task at hand.
Pages:
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174