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

Alexander Kolesnikov

"Tapestry 5: Building Web Applications"

class.getName());
}
public boolean isAddCelebrity()
{
return getPageName().equals(AddCelebrity.class.getName());
}
Chapter 8
[ 203 ]
Finally, we can surround the links with an If component that will hide the menu
when the displayed page is the Start page, and add a disabled parameter to the
PageLink components:


Home


t:disabled="registration">
Registration



All Celebrities


t:disabled="addCelebrity">
Add New


When a PageLink's disabled parameter is set to true, the text surrounded by the
component will be rendered, but there will be no link associated with it??”exactly as
we wanted. Run the application and make sure that it works properly.
There is still one problem about the Border component however. The browser title
bar displays the same title??”Celebrity Collector??”for all the pages. This might not
be a big deal for human users, but search engines expect each page of a web
application to have a unique title, corresponding to the page's content, and we
need to ensure that.


Pages:
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6