]>
git.mxchange.org Git - pizzaservice-war.git/log
Roland Haeder [Mon, 31 Aug 2015 12:26:18 +0000 (14:26 +0200)]
If a request was successfully handled, redirect!
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 12:13:01 +0000 (14:13 +0200)]
Handle redirect in filter to get rid of scriptlet
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 10:46:29 +0000 (12:46 +0200)]
some improvements + the logger was to noisy (queue full)
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 09:59:04 +0000 (11:59 +0200)]
Updated jshop
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 09:54:08 +0000 (11:54 +0200)]
Ignored for internationalization
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 09:48:27 +0000 (11:48 +0200)]
Opps, not all.
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 09:43:31 +0000 (11:43 +0200)]
updated jshop + renamed some form fields due to jshop change
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 09:33:57 +0000 (11:33 +0200)]
Cleanup
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 09:26:18 +0000 (11:26 +0200)]
Updated jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 09:21:09 +0000 (11:21 +0200)]
jshop updated
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 09:16:50 +0000 (11:16 +0200)]
Lesser scriptlets
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 09:07:31 +0000 (11:07 +0200)]
More cleanups + added source path for jshop (you need to do the same)
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 08:30:51 +0000 (10:30 +0200)]
Cleanup
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 08:10:02 +0000 (10:10 +0200)]
Updated jshop
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 08:04:42 +0000 (10:04 +0200)]
Opps ...
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 07:56:30 +0000 (09:56 +0200)]
No need to declare outside try() block
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 07:54:13 +0000 (09:54 +0200)]
MessageFormat.format()
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 07:48:22 +0000 (09:48 +0200)]
updated jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 07:41:30 +0000 (09:41 +0200)]
@TODO is not valid, only use TODO
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 07:38:39 +0000 (09:38 +0200)]
Removed more deprecated stuff + marked more as deprecated
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 07:25:19 +0000 (09:25 +0200)]
updated jshop+ got rid of another (large) scriptlet
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 06:40:47 +0000 (08:40 +0200)]
More unused methods removed
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 29 Aug 2015 06:44:33 +0000 (08:44 +0200)]
Updated jshop.jar + comment in index.jsp
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 20:59:50 +0000 (22:59 +0200)]
Removed more deprecated and no longer used methods + kept one for functionality
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 20:57:46 +0000 (22:57 +0200)]
Removed more deprecated and no longer used methods + kept one for functionality
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 20:53:12 +0000 (22:53 +0200)]
Removed already no longer used methods and cleared some which you should really not use (old way of handling orders) + fixed some packages
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 20:36:42 +0000 (22:36 +0200)]
Updated jsfcore+jshop + fixed BaseServletSystem
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 20:31:01 +0000 (22:31 +0200)]
Fixed more packages
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 20:07:27 +0000 (22:07 +0200)]
Refacturing:
- introduced new sub-project "jshop" which will be a generic shop library for
JSF-based web applications.
- therefore a lot has been moved to there and new packages needs to be set.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 13:28:48 +0000 (15:28 +0200)]
Maybe an idea to get rid of the scriptlet in index.jsp? A bean for basket items?
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 13:14:46 +0000 (15:14 +0200)]
described a bit more + removed redundant javadoc tags.
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 13:08:36 +0000 (15:08 +0200)]
No, had to revert a commit as it didn't seem to work. :-(
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 13:01:59 +0000 (15:01 +0200)]
Use include JSP instead of repeating it (DRY).
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 12:32:07 +0000 (14:32 +0200)]
use else and not continue
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 11:57:40 +0000 (13:57 +0200)]
Again use the scriptlet-lesser approach
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 11:54:33 +0000 (13:54 +0200)]
Again lesser scriptlets
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 11:40:06 +0000 (13:40 +0200)]
No class attribute is needed for type=hidden
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 11:18:25 +0000 (13:18 +0200)]
MessageFormat.format() used + ignored for internationalization
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 10:12:53 +0000 (12:12 +0200)]
More tpyos fixed ... ;-) + updated jcore.jar
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 09:52:42 +0000 (11:52 +0200)]
Also renamed this method for better understanding of its purpose
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 09:50:59 +0000 (11:50 +0200)]
Use Boolean.TRUE and not primitive true
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 09:48:41 +0000 (11:48 +0200)]
Renamed getCategories() to getAllCategories() to make its purpose more clear
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 09:43:20 +0000 (11:43 +0200)]
Use lesser getFoo() in EL code
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 09:40:47 +0000 (11:40 +0200)]
also set basePath ... ;-)
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 09:36:56 +0000 (11:36 +0200)]
'app' was the old name, now it is 'controller'
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 09:34:10 +0000 (11:34 +0200)]
Continued a bit:
- used controller bean
- messages formatted and ignored for internationalization
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 09:25:21 +0000 (11:25 +0200)]
Notes added for entering numbers
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 09:24:10 +0000 (11:24 +0200)]
Again lesser scriptlets + added initialization of controller bean
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 09:16:36 +0000 (11:16 +0200)]
Migration to JSF continued:
- used lesser scriptlets where possible, e.g.:
- <%=request.getContextPath()%> can be converted to ${pageContext.request.contextPath}
- after that, set it with <c:set var="basePath" value="${pageContext....}" />
- then you can use it: ${basePath}
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 28 Aug 2015 06:38:56 +0000 (08:38 +0200)]
Huh? Wasn't updated correctly?
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 27 Aug 2015 21:52:56 +0000 (23:52 +0200)]
Continued with project:
- added method getProduct()
- added method getLast()
- added method getAll() (again?)
- Used BasketBean instead of Basket
- Yepp, JSPs don't support @Inject and @PostConstruct ... :-(
- added getLastNumRows() which deligates this call to jcore's method
- implemented MiniBasketTag (a bit broken)
- added missing language resourced
- updated jcore.jar
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 27 Aug 2015 19:39:51 +0000 (21:39 +0200)]
JSPs don't support @Inject and @PostConstruct annotations
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 27 Aug 2015 19:17:48 +0000 (21:17 +0200)]
Added logger to tag + used "this"
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 27 Aug 2015 19:05:37 +0000 (21:05 +0200)]
Continued with project:
- started to refacture all JSPs towards JSFs
- this requires a lot to be rewritten
- moved some classes to better location
- deleted some old JSPs
- moved constants from FooBarConstants class to proper interface
- removed above mentioned classes
- added interface BasketTag
- updated jcore.jar
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 27 Aug 2015 13:33:11 +0000 (15:33 +0200)]
Added a lot new stuff:
- New beans added that should get rid of scriptlets (Java code within view)
- New JARs added
- jcore updated
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 27 Aug 2015 06:52:34 +0000 (08:52 +0200)]
Better compare this way:
if (null == foo)
Otherwise could lead to a bug if you miss only one equal sign
+ updated jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 26 Aug 2015 13:33:52 +0000 (15:33 +0200)]
Renamed more stuff for fixes + updated jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 26 Aug 2015 12:39:32 +0000 (14:39 +0200)]
Continued with project:
- Had to renamed id -> itemId and categoryId accordingly to allow databased- baskets
- Implemented almost all methods in basket database frontend class
- Added constants class for above frontend
- Updated jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 26 Aug 2015 08:24:20 +0000 (10:24 +0200)]
Rewrote item handling in BaseBasket to a database approach:
- added method addItem() for adding items, please make sure to call ...
- added method isItemAdded() which checks if the given item is found by its id number
- added method getItem() to get an item from given Product instance
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 26 Aug 2015 07:27:52 +0000 (09:27 +0200)]
Added missing diamond type
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 25 Aug 2015 16:10:50 +0000 (18:10 +0200)]
Added path for sources (relative). You need to have jsfcore cloned there to have this working. Else you may accidentally commit your path and then it may get silently merged.
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 25 Aug 2015 16:07:10 +0000 (18:07 +0200)]
Updated jsfcore.jar
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 25 Aug 2015 16:03:38 +0000 (18:03 +0200)]
Added jsfcore as this project is being converted to a JSF-based application
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 25 Aug 2015 16:03:12 +0000 (18:03 +0200)]
Added jsfcore as this project is being converted to a JSF-based application
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 25 Aug 2015 15:25:39 +0000 (17:25 +0200)]
Updated jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 25 Aug 2015 13:31:50 +0000 (15:31 +0200)]
Updated jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 25 Aug 2015 08:35:23 +0000 (10:35 +0200)]
Merge remote-tracking branch 'origin/master'
Roland Haeder [Mon, 24 Aug 2015 13:28:17 +0000 (15:28 +0200)]
Minor improvement
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 13:17:43 +0000 (15:17 +0200)]
Use more generic, because it is cool to do so! ;-)
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 13:12:24 +0000 (15:12 +0200)]
Ignored for internationalization
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 13:08:09 +0000 (15:08 +0200)]
Better this way
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 13:04:30 +0000 (15:04 +0200)]
Added Serializable to BaseBasket + added log4j-web and filter for it (all URLs)
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 12:38:11 +0000 (14:38 +0200)]
Added important TODO to handle insert result
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 11:57:53 +0000 (13:57 +0200)]
Updated jcore + added stub method
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 10:53:35 +0000 (12:53 +0200)]
Updated jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 09:49:47 +0000 (11:49 +0200)]
Converted private constructor to public init() method with context, still this cannot be converted to a bean as the context is somehow needed. :-(
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 13:28:17 +0000 (15:28 +0200)]
Minor improvement
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 13:17:43 +0000 (15:17 +0200)]
Use more generic, because it is cool to do so! ;-)
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 13:12:24 +0000 (15:12 +0200)]
Ignored for internationalization
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 13:08:09 +0000 (15:08 +0200)]
Better this way
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 13:04:30 +0000 (15:04 +0200)]
Added Serializable to BaseBasket + added log4j-web and filter for it (all URLs)
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 12:38:11 +0000 (14:38 +0200)]
Added important TODO to handle insert result
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 11:57:53 +0000 (13:57 +0200)]
Updated jcore + added stub method
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 10:53:35 +0000 (12:53 +0200)]
Updated jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 09:49:47 +0000 (11:49 +0200)]
Converted private constructor to public init() method with context, still this cannot be converted to a bean as the context is somehow needed. :-(
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 09:24:50 +0000 (11:24 +0200)]
Initial stuff for Java Server Faces added
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 06:51:34 +0000 (08:51 +0200)]
Updated jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 24 Aug 2015 06:48:22 +0000 (08:48 +0200)]
Added @Override + call of default constructor
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 22 Aug 2015 12:01:11 +0000 (14:01 +0200)]
Moved includes in proper sub folders + renamed them according "access group"
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 22 Aug 2015 11:25:31 +0000 (13:25 +0200)]
The item bean must go into request scope, else all added items have same amount + began to cleanup rudimentary JSPs for a basket-based approach
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 21 Aug 2015 10:41:41 +0000 (12:41 +0200)]
Continued with project, added more checks for items and handling of already added items
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 21 Aug 2015 09:36:41 +0000 (11:36 +0200)]
Different class paths between Linux and Windows systems? :-(
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 21 Aug 2015 09:32:12 +0000 (11:32 +0200)]
Fixes for bad HTML with better HTML and CSS
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 20 Aug 2015 12:26:09 +0000 (14:26 +0200)]
update jcore.jar ... Yes, maybe a lot more updates now. This way the application is independent from latest jcore updates, means it is decentralized. If you add jcore as a project dependency, the application becomes directly depending on latest changes in jcore which centralizes it.
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 19 Aug 2015 16:19:31 +0000 (18:19 +0200)]
Garr, comments are not supported, but XML specification allows it. :-(
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 19 Aug 2015 15:38:31 +0000 (17:38 +0200)]
Some fixes:
- fixes for `updated` column as MariaDB doesn't seem to like ON UPDATE CURRENT_TIMESTAMP on one column *and* DEFAULT CURRENT_TIMESTAMP on other column in same table
- Again some properties fixed
- updated 'jcore.jar'
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 19 Aug 2015 13:40:55 +0000 (15:40 +0200)]
Added mysql driver
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 19 Aug 2015 13:09:19 +0000 (15:09 +0200)]
Removed notice
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 19 Aug 2015 12:47:05 +0000 (14:47 +0200)]
Updated 'jcore.jar' + added initialization of backends for local call + caught all exceptions
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 19 Aug 2015 11:39:00 +0000 (13:39 +0200)]
Simplified it more
Signed-off-by:Roland Häder <roland@mxchange.org>