Big hack to work towards removing Tapestry and moveing config file to fixed location in WEB-INF Folder, lossing all xml datafiles and putting data in an optional database. This make s the allpiction unstable and losses features but it is an attempt to work towards a simple clean structure.
Tidy up of data from file mess, which was not working very well anyway. This is back to basics so that a database storage of data can be built on top to store Folder and Picture Data.
Many problems with setLocale and request.getEncoding() in Tomcat. This seams to be a knowen problem on the web with various workarounds suggested but not totally working. This code uses a work around to fix the problem but is likely to cause problems onother platforms. Encoding added to config file and URLEndoding reworked. It all works perfectly on my laptop but there may be bugs in other environments. This is a ci of all known bugs fixed so the code can tested and got into release state.
Repaired the config of thumbnail size and page location. Needs more testing. Fixed the parameter encoding agian. The problem was that if files have german umlauts in them then they were encoded in UTF-8 not the encoding of the response. This has been tidied up and fixed. But if you set your local to be Russia then you can not see files with gernam chars in them becuase these chars do not exist in the locale encoding. This needs a force local config setting and some explanation in the manual and then I think it is acceptable. The alternative is encoding every page in UTF-16.
Made Changes Necessary for Sharing Picture Information between multiple users.
This also gets ginp ready for database integration by centralizing picture information access.
Translator now uses Localization and ResourceBundles for standard translations. These can still be overridden by the HTML de=TEXT tag. The new Tag Library has been moved to net.sf.ginp.tags.