On Fri, 2007-08-03 at 14:31 -0600, Bryan Basham wrote:
> Thanks for the suggestion.  I've never used facelets, so would you
> be willing to sketch how this chunk of code would look using that
> technology?
> 
> Is there any other solution without using facelets?  For example, is
> there a JSP (or Jasper) configuration that will relax the parser?

Yep, it's called JSP (not JSPX) :-)

That's the point of JSPX - that the input is valid XML. And that means
the tags must be balanced.

There is a JSF tag library that provides a JSF equivalent for every html
tag, so you can write
  h:ul
    h:ui
etc and then you don't need f:verbatim. However that's not a very
efficient solution; a JSF component gets created for each such element
rather than treating the embedded html as simply raw text. See:
  http://jsftutorials.net/htmLib/

Regards,

Simon

Reply via email to