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>
Roland Haeder [Wed, 2 Sep 2015 13:24:53 +0000 (15:24 +0200)]
jshop now no longer provides the BasketBean instance in BaseFrameworkBean class + changed links to <h:link />
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 [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