In my previous article I have shown how to create a simple form with two select boxes using spring form from MVC. When we have an application with may forms we want to be able to use a general model for backing the data. We also might want to have certain elements multiple times, e.g. not one Customer but several. We will take theses step by step. „Generifing MVC spring select lists“ weiterlesen
Spring MVC forms with select drop down list
I’m currently developing a Spring MVC application that uses forms. Some of the form elements provided are easy enough to use with a backing model (such as simple input fields (text, password, textarea)). With the selection list however I had problems since I could not work out how to populate the form from the model and how to handle the submit event. All this is probably caused by the complexity of the problem domain and the used model. Therefore I set out and implemented an easy example. There are some articles on how to do that but none with the Annotation process introduced since Spring 2.5. My example is based on this article Spring MVC dropdown example. „Spring MVC forms with select drop down list“ weiterlesen
Java on Synology’s NAS 509+
Patience is a vitue. After letting the problem of Java on my Synology NAS 509+ rest (see Yet another Try to get Java running and Compiling for Synology DS509+) the problem solved itself. „Java on Synology’s NAS 509+“ weiterlesen
Updating compiler suite
Since every attempt to produce a compiler for my NAS that can be used to compile the OpenJDK failed, I decided to create a toolchain on the NAS to compile this stuff. The reason for a separate toolchain is that libraries are needed that are used by the running system. Replacing them is a bad idea. Therefore I set up a native toolchain to compile other programs into the running system. Basically this is the same as the first couple of chapters form the Linux from Scratch (Version 6.5) approach, which I used as guidance. The following listing does not produce the desired results but it is never the less a good starting point. „Updating compiler suite“ weiterlesen
Bootproblems with Linux
Recently I made some changes on my network. This resulted in chaos so I decided that I reboot my Linux machine. This piece of hardware is already a bit older and in dire need of replacement. There are legacy installations of Windows XP and Windows 98 which are seldom used. Due to the hardware limits this is installed as dual boot.
I restarted the machine and Windows got up even though Linux was the default in the grub bootloader.
„Bootproblems with Linux“ weiterlesen