previous |
index
What the Library Tile Controller Does
- Looks for a library attribute in session scope.
- If it is not there, the controller creates a library and stores it
in session scope.
- Consults the library's selectedBook property to see if a book has
been selected.
- If so, the controller sets the value of the book session
attribute to the selected book.
- If not, the controller sets the book session attribute to
the book for Peter Pan.
Here is the
Library Tile Controller class.
previous |
index