Posts

Showing posts from January, 2013

Auto updating the play framework messages file for admin section

So the other day at work, my boss asked me to do a really boring task, which was to give meaningful names to some 30 to 50 labels in an html form i.e. I had to go in an manually type in proper names for all the labels in the form. Ok a little bit of backstory, at work we have this large application that does all sorts of data processing and analysis amongst other things. Naturally the heart of this application is in the complex data processing tasks and therefore some UI aspects, only used internally by staff are largely ignored, well at least until there is time for it. The application is built using the play framework for Java and for the admin tasks, we use the auto admin generator provided by Play, that gives us the basic functionality. As those who have use Play framework would already know, when it generates the admin UI form, it maps the variable name to the field label in the html form. So for a class called Person with a property lastNa...