Roland Haeder [Fri, 25 Sep 2015 12:34:15 +0000 (14:34 +0200)]
Continued:
- added category converter
- updated controller properties to latest API changes (e.g. house number can be Short)
- renamed some attributes for better reading
- handled over updated objects other beans
- added <f:selectItem /> to have a "null category" back, thanks to my teacher
- removed no longer "null category" stuff from controller
- renamed more in templates
- updated jars
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 25 Sep 2015 09:29:10 +0000 (11:29 +0200)]
tried to fix problem in admin area where no parent category shall be selectable. maybe drop the fake category thing?
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 25 Sep 2015 08:47:05 +0000 (10:47 +0200)]
Continued:
- introduced AbstractWebBean which currently only initializes the resource bundle (i18n)
- fixed all (?) attributes as the libs has changed a lot
- renamed bundle back to de_DE
- updated jars
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 24 Sep 2015 13:32:07 +0000 (15:32 +0200)]
Continued:
- auto-reformatted many files
- some getter names have changed, fixed here
- parentId is no longer in Category objects, need to get parentCategory.categoryId
- updated jars
Signed-off-by:Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 18 Sep 2015 13:07:19 +0000 (15:07 +0200)]
Continued:
- added JSP for writing PDF receipts for a given access key. An EJB is called which sends back a wrapped byte stream
- rewrote constructors to not expose NamingException
- updated jars
Signed-off-by:Roland Häder <roland@mxchange.org>
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>