Is this a
java error, or a javascript error when you load the page?
My guess is that the code will generate something like this:
Note that you have a line break in there that creates a javascript error.
The solution is to remove a line break from your code:
or alternatively, I like separating it out: