Pekka Helenius
|
c498246b6d
|
Format CSS + raw HTML correctly also without Java; set placeholders for
Spring message keys; minor changes to web forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
b4992c71c4
|
Set proper price placeholder value into Add web form
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
967396b23d
|
Add more database constraints for BOOK table
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
2f9bfb19c7
|
Add missing CRUD saving operation
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
bf87234827
|
Move categories to global Spring Model
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
bad3ad0dbd
|
Update example forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
32973f2402
|
Add bookstore CSS style
|
4 years ago |
Pekka Helenius
|
f3ac94faeb
|
Add example input values for users; Update web form styles
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
8171bd0b46
|
Change book price data type to BigDecimal
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
7a22d4bb14
|
Use Thymeleaf message expressions in web forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
ee21c836a9
|
Set SLF4J log format; improve logs; deprecate HttpExceptionHandler class
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
956bdad01d
|
Error if attempting to add a non-unique ISBN value
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
91c4c8f63a
|
Public methods; add 'existsbyIsbn' method
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
4b13819157
|
Minor clean-up: remove redundant parameter
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
128ee7ef04
|
Simplify code of retrieving current year in add form; fix typo
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
382c8e9136
|
Generalize web form URL scheme
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0666a39954
|
Minor refactoring
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
3457982d9b
|
Set more flexible naming scheme for template URLs, get from Controller
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a4ce0b0f2b
|
Fix categories not showing up after invalid edits; Rename view
references
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
26de2e5846
|
Update sample book information
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
5c57943f92
|
Allow ':' in book's name
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
1eecc28e54
|
Redirect invalid URL requests to default page by default. Do not filter
these invalid requests by specific HTTP method types
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a479b461e8
|
Prefer 'Long' over 'long' data type for Ids
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
074c25c0ed
|
Update book data Edit logic
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
df81977c3f
|
Fix + separate Id number generation for Book & Category
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
95da20e3c0
|
Update toString method
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
32f05de98e
|
Delete redundant Book class constructor
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0e32811e58
|
Implement Category; add one-to-many relationship; update web forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
64b26e407f
|
Common clean-up; update string formats & Book class annotations
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
96d664976d
|
Enable forward HTTP headers support
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
9d25ffdf8c
|
Add proper Web UI messages for invalid data types
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
f0610e5bd3
|
Update web forms; Ignore proxy server configurations for now
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0524fdb984
|
Prefer relative hrefs (for proxy server configurations)
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
22a0434300
|
Re-format currency field in add/edit web forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
2ef2215bd4
|
Rename package: validation -> annotation
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0c6ad7b26c
|
Correct price formatting in add & edit web forms
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
91459eb6ab
|
Implement web form validation checks
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
ef0ae6b61d
|
Implement CurrentYear validator
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
41ef10b09c
|
Add price to list page
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
71d5c71fdf
|
Get current year for new books
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0258e74c28
|
Add placeholder resource folder for Javascript files
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
597a6c0a48
|
Add bootstrap theme; Add return buttons; Confirm book deletion; Suppress
favicon.ico requests
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
d121c07ce6
|
Implement support for database edits, re-factor code
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
6a5986c421
|
Implement add & delete functionality
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
8d53ef4cc7
|
Add booklist webpage, fetch results and display them
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a3436a4cc7
|
Rename bookstore.html to booklist.html
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
178afc318e
|
Implement basic SQL support with a test; temporarily change some
datatypes
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
0b4f4773d0
|
Init SQL support
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
9065513bbe
|
Add support for independent Tomcat deployment
Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
|
4 years ago |
Pekka Helenius
|
a1caa84071
|
Initialize project files
|
4 years ago |