Category Archives: User Interface

Customize form:errors output on Spring-MVC

Rylee Brooks

Baa.. took a lot of searching in code, and I don’t particularly like the result – but it is what it is. The main issue is that my designer wanted us to get clever with how form validation error messages are displayed to the user. the <form:errors> tag is very useful for most cases – where you basically only want to display the errors to the users, perhaps with a specific class in mind. You can also ask it to change its default rendering of a <span> element to, say, a <div> element – but my designer wanted something else completely, and sent me on a wild goose chase.
Continue reading

Display a generated PDF from within Spring webflow

Not just a pretty face..

Creative Commons License photo credit: law_keven

In a recent Spring webflow project, I had a requirement to generate a PDF on the fly and display it as part of a web page.
The containing web page is part of a Spring webflow, and the PDF generation service already exists.

After some poking around, I came up with the simplest solution ever: Spring MVC…
Continue reading

Typography – more important than you may think

You say'n it's HBW.....:O)))

Creative Commons License photo credit: law_keven

This post is part of the “Be nice to your users” web UI design series.

There are many things that contribute to the rise or fall of your website. Anyone, and Google especially, will tell you that content is king. You have to have good, original content. Your site needs to be original, provide good value for your users, etc etc.
Continue reading

Changing text color dynamically on web pages

A Zagreb Mandarin

Creative Commons License photo credit: robokow

This post is part of a “Be nice to your users” web UI design series I plan to write.
With the whole Web2.0 fluid/milky design that many sites are using now, it became very popular to use shades of gray for the main text color on websites.
Sometimes, this gray can be really difficult to read, especially for people with less-than-perfect eye sight.
Continue reading