Roland Haeder [Wed, 16 Sep 2015 10:05:08 +0000 (12:05 +0200)]
Continiued:
- moved creating of Customer instance to proper bean
- renamed that bean to reflect its purpose better
- added a lot logger messages
- updated jars
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 16 Sep 2015 08:39:55 +0000 (10:39 +0200)]
Minor fixes:
- need to name this "gender", else a warning is issued
- ignored for internationalization
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 15 Sep 2015 09:18:06 +0000 (11:18 +0200)]
Continued:
- added more translations
- swapped out some parts of large registration form for reuse
- used them again for checkout without registration
- added template file for templates
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 15 Sep 2015 07:58:46 +0000 (09:58 +0200)]
Translation update:
- internationalized a lot more strings + translated them to English
- added doctype in output pages (not templates)
- added XML definition in all pages where absent
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 14 Sep 2015 13:29:42 +0000 (15:29 +0200)]
Translation update:
- internationalized a lot more strings + translated them to English
- prefixed some messages with ADMIN_ as they only occur in admin area (please find and fix all)
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 14 Sep 2015 12:33:25 +0000 (14:33 +0200)]
Continued:
- used interface Context as type
- internationalized more stuff (+ translates to English)
- added method changeItem() and finished it
- updated jar
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 14 Sep 2015 09:29:26 +0000 (11:29 +0200)]
Continued:
- added total price to basket and index
- now item prices are right-origiented
- added method calculateTotalPrice() to basket controller
- added method getItemAmount() to basket controller
- now amount and submit button/link to basket are left-floated, prices are right-floated
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 14 Sep 2015 08:42:30 +0000 (10:42 +0200)]
Continued:
- refactured index page as this was not working (why, JSF team?)
- added very basic item basket (total amount to pay is missing + link to checkout page)
- updated jars
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 11 Sep 2015 13:40:09 +0000 (15:40 +0200)]
Continued with fixing:
- add validator for amount
- some beans now have "cache" to save EJB calls and notify "controller" bean
- the gender bean does not need to get the genders from an EJB (saves a lot bandwidth)
- newly thrown exceptions added
- updated jars
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 11 Sep 2015 09:56:40 +0000 (11:56 +0200)]
Continued:
- cleanup from some older code (the caching needs to be back)
- no need to compare against true
- updated jar(s)
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 10 Sep 2015 20:15:37 +0000 (22:15 +0200)]
Continued:
- fixed handling of categories and products in admin area (a lot stuff needed to be fixed)
- added stub page basket.xhtml + bye.xhtml
- added add_item.xhtml for later confirmation of added item
- added navigation rules
- updated translation keys
- updated jars
- added copyright notice :-) (and CSS improved)
- many more I forgot ...
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 9 Sep 2015 20:14:33 +0000 (22:14 +0200)]
Continued:
- update jcore.jar, jcoreee.jar, jshop-core.jar, jshop-ee-lib.jar
- applied naming convention: Bean interfaces ends with Controller, Bean classes with Bean and "Web" must be pre-last word
- a lot fixes applied
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 9 Sep 2015 10:02:40 +0000 (12:02 +0200)]
Renamed controller method (still no clue, how this should work) + updated jcore-ee-logger.jar + a little rewrite on index.xhtml (maybe working)
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 8 Sep 2015 20:48:29 +0000 (22:48 +0200)]
Continued:
- first pages are working again!
- migrated from JSP to JSF (more needs to be done)
- added navigation rules
- updated jcore.jar, jcoreee.jar, jshop-core.jar, jshop-ee-lib.jar + jswingcore.jar
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 7 Sep 2015 18:51:39 +0000 (20:51 +0200)]
Continued:
- updated jcore.jar, jcoreee.jar, jshop-core.jar jshop-ee-lib.jar
- got rid of some things that don't work in EJB container ... :-(
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 7 Sep 2015 14:26:23 +0000 (16:26 +0200)]
updated jcore.jar + jcoreee.jar + jshop-core.jar + jshop-ee-lib.jar and removed jshop-ejb.jar as this would be CDI.
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 7 Sep 2015 13:31:03 +0000 (15:31 +0200)]
Well, if that is EJB, it sucks somehow: Logging not allowed and a complexer class structure leaves strange errors behind:
----------------------------------------
Caused by: java.lang.NoClassDefFoundError: [Lorg/mxchange/jcore/model/contact/gender/Gender;
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
at java.lang.Class.privateGetPublicMethods(Class.java:2690)
at java.lang.Class.getMethods(Class.java:1467)
at org.glassfish.ejb.deployment.descriptor.EjbDescriptor.addAllInterfaceMethodsIn(EjbDescriptor.java:2577)
at org.glassfish.ejb.deployment.descriptor.EjbDescriptor.getLocalRemoteBusinessMethodDescriptors(EjbDescriptor.java:2530)
... 53 more
Caused by: java.lang.ClassNotFoundException: org.mxchange.jcore.model.contact.gender.Gender
----------------------------------------
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 5 Sep 2015 13:51:44 +0000 (15:51 +0200)]
Continued a bit:
- renamed getGenders() to allGenders()
- tried to get initial context and lookup bean
- the EJB methods allGenders() and selectableGenders() may now work?
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 4 Sep 2015 18:31:38 +0000 (20:31 +0200)]
Renamed methods and instance and used Customer interface, so the bean doesn't "see" it is actually a Contact
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 4 Sep 2015 17:05:11 +0000 (19:05 +0200)]
More cleanups + redirected source code locations to relative positions. You have to clone my project the same way to have this working without changing anything!
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 3 Sep 2015 11:38:58 +0000 (13:38 +0200)]
Refacturing towards JSF/EJB:
- renamed and prepared JSPs to XHTML (JSF)
- updated jcore, jsfcore and jshop
- added own validator for privacy/terms checkboxes
- still the "mini basket" is not functional yet, maybe it will come as a template?
- introduced guest_base.tpl for all "guest" pages
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 2 Sep 2015 17:36:32 +0000 (19:36 +0200)]
Refacturing:
- continue to throw all exceptions from PizzaServiceApplication to let the outer class handle them
- this allows more flexibility than before, e.g. a Swing application doesn't need to handle ServletException then, but can handle the exceptions by itself.
Signed-off-by:Roland Häder <roland@mxchange.org>