Here is how the ShowAll page should look now: Creating Custom Components [ 200 ] This is already closer to a real life application, but all those "quick and dirty" links that connect pages to each other are not a proper means for navigation. We need a navigation menu. Adding a Navigation Menu Let me admit from the very beginning that I am not going to show a production quality menu. That would require a serious use of styles, and I don't want to create such a distraction for you. We are going to use a simple table for layout, and a set of links. This will provide a decent foundation, and you can add any kind of styling to it when you have time. All work will concentrate on the Border component template. Here is what we want to see when the application is rendered on the AddCelebrity page: Chapter 8 [ 201 ] And here are the additions to the Border.tml template that we need to make to achieve this:
Creating Custom Components [ 202 ] Now we can easily navigate from page to page, although we shall not be able to see the ShowAll page until we log in properly.