You're welcome. Glad you got it working.
The tricky thing about this is to make sure you don't have single quotes inside single quotes or double quotes inside double quotes. I believe the reason the first attempt made the checkbox disappear was because we had single quotes within single quotes. Your modification of the code works because the "id" variable resolves to a number, but if it resolved to a
String, it wouldn't work. I think this would work in all situations:
<html:checkbox property="user" onKlick="<%="view('"+ id +"')"%>"/>