monkinetic the blog

JSF getElementById hack

If you’re new to using JSF like me and are trying to figure out how the heck to use javascript’s document.getLementById () with JSF’s dynamically assigned HTML ids, this might be a solution, if an ugly one: