If you are in a subview, you will always have to put all non-JSF components inside of verbatim tags unless you use Facelets. That is one major reason for using verbatim tags.

On 10/13/05, Marius Kreis <[EMAIL PROTECTED]> wrote:

>> [...]
>>When I remove the verbatim tag (by putting the f:view tags only around
>>the commandLink and panelGrid) everything seems to work fine.
>>
>
>
> I don't know the reason to put those html tags inside of verbatim, but i
> often see this.
> if i use html i wrote it directly into the jsp.
>
> @all: Is there a advantage for puting html into verbatim instead of direct?

Well I think can answer this question:
If you want to print HTML inside of an JSF Tag (eg. PanelGrid) you
should use the Verbatim tag because the HTML tags are (as far as i know)
according to the TLD not allowed to be subelements. And a JSF element
might have a problem rendering a HTML tag...? There's also a warning
message if you have HTML elements inside of JSF tags.
Please correct me if I'm wrong.

Reply via email to