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

Alexander Kolesnikov

"Tapestry 5: Building Web Applications"

In our case, it will proceed by displaying the ShowAll page.
However, if the method returns something different from null, then it should be
an indication of the page to be displayed, instead of the current one. Since we are
returning the Start class, the unauthenticated user will be redirected to the
Start page.
Try this. Run the application, enter http://localhost:8084/celebrities/
showall into address bar, and press Enter. If you were not authenticated before, or
if your session was invalidated, then instead of the ShowAll page you will see the
Start page.
There are two ways of getting your session invalidated??”to wait and
do nothing for longer than the session timeout period (30 minutes by
default), or to close down the browser window and open another one (so
that the session cookie will be discarded).
Now we allow access to the ShowAll page only to authenticated users, but, at the
moment this page displays nothing interesting. We need to add some content to it,
and for this we are going to use some new components.
Simple Components
[ 96 ]
Loop, Output and DirectLink
The following is what we are going to display on ShowAll page:
Basically, it lists all celebrities in our collection in a table.


Pages:
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
druga wojna światowa Free English grammar and study guid hotel jelenia góra Russian bride counter strike 1.6