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

Alexander Kolesnikov

"Tapestry 5: Building Web Applications"


Additionally, more flag images should be added for different languages. Right now,
if the preferred locale is not German, the default British flag will be displayed by the
component, which means, it will be displayed for any language other than German.
Let me leave this task to you. You can add as many flags as you wish, and as soon
as you use an appropriate suffix for the file name, Tapestry will pick up the required
flag for the selected locale automatically.
??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ??? ???
Chapter 8
[ 233 ]
I would recommend the you create a separate project for working with the new
library. In NetBeans, when creating this project you might select General in
Categories and Java Class Library in Projects. In Eclipse, simply create a new Java
Project. The name for the new project can be something like MyLib.
Make sure the compiler compliance level is set to at least Java 5. Both in Eclipse and
NetBeans you can do this in the project's properties dialogue. The following screen
shot demonstrates such a dialogue in Eclipse:
Creating Custom Components
[ 234 ]
In NetBeans a similar setting is named Source Level:
The next step is to copy all the files listed above into the src subdirectory of the new
project (you will find all the required files packaged together in the code package for
this chapter).


Pages:
268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6