Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to proper use the verbatim tag.

notivagoJun 8 2007 — edited Jun 8 2007
Hello there people!

I am assuming a project that uses jsf 1.1, after some mess with IDE and build methods, the project started to complaign about the regular html in the page, for example saying that the div element is not closing and that there is no opening div element.

It turns out that the elements are balanced and the warnings come allways in pairs. One for the opening tag, saying it is not closing and one for the closing tag, saying that is not opening. It seems that the vilain here is the verbatim tag, that is breaking the plain html in sections.

The other developers in the project do not know for sure why the verbatim tags are there, and why they are used, only that they must be used.

After some research I found out that the verbatim tag allow the usage of plain html insde jsf elements, but all the data I found on it is vague, and even on the project we have html inside jsf without verbatim tag, and the code is working. So I am unable to quite understand when I must use it and when I should not use it.

As it is, it seem to me that it is a contrived way to develop pages, there must be a cleaner way to build the pages. I looked into some third party libs that suply jsf versions of the regular html tags, but I am not sure that is the way to go.

Can someone please point me documentation on how to use verbatim tags or how to avoid such tag.

Thanks in advance.

Edit: My problem is much like described here:
http://mail-archives.apache.org/mod_mbox/myfaces-users/200507.mbox/%3C96D065CF-13C0-4DA7-98FC-9AAF67D43566@mac.com%3E

Message was edited by:
notivago
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 6 2007
Added on Jun 8 2007
1 comment
275 views