JSF converter for SelectOneMenu

The main JSF feature (or, at least, the one I like the most) is the ease to link controller bean attributes to xhtml view. However there’s an inherent important limitation: in the HTTP standard keys and values always will be strings, because they are sent that way. Of course you could serialize an object to base64, but a barbaric thing like that should be avoided in almost any circumstance.

Then how can we link a HTTP control to an object? For that, JSF provides converters. Well, it will allow you to program them, of course. Neither PrimeFaces, my library of choice, includes these converters. Thus, I’ve programmed a simple one for SelectOneMenu, the dropdown menus in the like of a combobox. I’ll leave it here for my own reference, and for anyone that could use it.¿Desea saber más?   Seguir leyendo

State of the Art: mémoires

At this stage is needless to say that Amiga is one of the most loved architectures by its fans, or that its multimedia capabilities made its demoscene one of the most important. One of the most long-remembered productions is, of course, State of the Art, by the group Spaceballs, from 1992.

Technology behind this demo is not groundbreaking. It is true that the use of rotoscope made it very interesting, but for the rest it could go unnoticed. It was however very bold regarding one thing: it was one of the first demos that used mainstream techno themes. For first time you could show it to a person not from demoscene circles (those nerds with their computers!) and exclaim: “That’s dope, dude!”¿Desea saber más?   Seguir leyendo