Hint: use the Code button in the message editor to wrap special tags around code or XML so that they will format in a more readable way.
Also, be very careful about coding "$" jQuery clauses on a JSF View Definition. The "$" may be intercepted and mis-interpreted by the EL processor, which assigns a different meaning. It's safer to use the alternate "jQuery()" syntax.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: how to refresh captcha text with JS or render?