Category Archives: javaScript

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

Fancybox problems? Make sure you validate!

Not-So-Easy Like Friday Morning

Creative Commons License photo credit: Or Hiltch

This took a whole day for me. Hopefully I can save you the pain. I added quite a few possible search terms here for maximum coverage, so the text may get a bit repetitive. I mean – when I tried to look for a solution, I didn’t even know what to look for – so I tried googling for every symptom I saw, to no avail.
Continue reading

Google appengine and maps tutorial with Java – Part III

Cane en vol

Creative Commons License photo credit: Free114

If you followed part 2 of this tutorial, you have an appengine application that displays a Google map in your browser, and lets you click the map to add markers to it.
While extremely useful on long, cold Winter nights, you probably want more from your application. For example, you’d probably like to be able to save those markers somewhere, so you can share them with your users.
Continue reading

Google appengine and maps tutorial with Java – Part II

The ugly duckling

Creative Commons License photo credit: pasma

Google’s appengine is the Google cloud offering. It is highly scalable, and provides a free entry level cloud application platform. However, it is not very trivial to develop for and deploy on.
Google maps API version 3 is the current (June 2011) officially supported version of integrating with Google maps. The API allows you to display and manipulate maps in may ways.
Continue reading