]>
git.mxchange.org Git - pizzaservice-war.git/log
Roland Haeder [Wed, 2 Sep 2015 12:47:08 +0000 (14:47 +0200)]
swing-based stuff was removed from jcore
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 2 Sep 2015 08:43:12 +0000 (10:43 +0200)]
missed align=right + column span over new column
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 2 Sep 2015 08:42:06 +0000 (10:42 +0200)]
updated jcore (lesser warnings) + jsfcore + jshop
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 2 Sep 2015 07:52:11 +0000 (09:52 +0200)]
Converted space -> tab
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 2 Sep 2015 07:51:07 +0000 (09:51 +0200)]
Continued with project:
- converted single tables per row into one table with header and body
- added column for showing total price for item (price * amount)
- added mime-type for tpl extension
- renamed CSS id to make it more clear
- updated jshop.jar
NOTE: Please note that this change won't fully work as the product instance needs to be set in item instance now (see jshop.jar, method calculateTotalPrice())
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 2 Sep 2015 06:41:20 +0000 (08:41 +0200)]
updated jsfcore, jshop + moved classes to those projects
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 2 Sep 2015 06:31:40 +0000 (08:31 +0200)]
Cleanup
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 2 Sep 2015 06:21:26 +0000 (08:21 +0200)]
this template serves as a template for new templates ... ;-) Eh, I mean pages.
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 2 Sep 2015 06:08:54 +0000 (08:08 +0200)]
was duplicate
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 1 Sep 2015 13:26:42 +0000 (15:26 +0200)]
Refacturing towards JSF:
- Well, this sucks a bit: getAvailableProducts() needs to return something that is Collection and not Iterator (which worked in JSP)
- Added initial index.xhtml and CSS layout for upcoming rewrite (origin: NetBeans)
- updated jcore/jshop
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 1 Sep 2015 12:17:28 +0000 (14:17 +0200)]
Get the basket bean directly from session scope
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 1 Sep 2015 06:42:23 +0000 (08:42 +0200)]
Added title for mini basket
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 1 Sep 2015 06:31:14 +0000 (08:31 +0200)]
Some changes for internationalization + jcore.jar, jsfcore.jar, updated
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 1 Sep 2015 06:16:47 +0000 (08:16 +0200)]
minor improvement
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 1 Sep 2015 06:09:44 +0000 (08:09 +0200)]
use slash, not double back-slash
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 13:33:06 +0000 (15:33 +0200)]
Tried to fix heavy logging causing queue full
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 13:13:05 +0000 (15:13 +0200)]
Continued with project:
- Cleaned up duplicated defined methods in interface
- Used ServletRequest and ServletResponse instead of Http varriants (casting was required)
- Got rid of 2 parameters for doAdminHandleFooForms() methods
- Got rid of HttpServletRequest/-Response interfaces, used Http-less varriant
- No need to set basket in admin category.jsp
- updated jshop.jar
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 31 Aug 2015 12:26:27 +0000 (14:26 +0200)]
Cleanup
Signed-off-by:Roland Häder <roland@mxchange.org>
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>