You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Co...@hydro.qc.ca on 2006/04/27 22:44:56 UTC

Newbie question - does the use of Tiles affect our use of the verbatim tag?

I am currently a team lead on a project using faces (our 2nd app) and one of the developpers
raised an issue which I hope someone from the forums may help clarify.
 
He claims that jsp pages containing both static and dynamic content do not need to use
the verbatim tag if tiles is not in the picture.  In other words, the header of the page is in pure
html, the body is dynamic, and the footer is pure html. According to his tests, the pure html
does NOT need a verbatim tag if we don't use tiles. If tiles is in the picture, we absolutely
need to wrap the html with verbatims, otherwise everything gets rendered, but all over the place.
 
This seems a bit odd to me, but I've seen stranger...
 
I haven't had a moment to verify this, so i was hoping there may be someone who
could shed some light on this issue.
 
thanks
 
Mark
 

Re: Newbie question - does the use of Tiles affect our use of the verbatim tag?

Posted by Mike Kienenberger <mk...@gmail.com>.
On 4/27/06, Cote.Mark@hydro.qc.ca <Co...@hydro.qc.ca> wrote:
> I am currently a team lead on a project using faces (our 2nd app) and one of
> the developpers
> raised an issue which I hope someone from the forums may help clarify.
>
> He claims that jsp pages containing both static and dynamic content do not
> need to use
> the verbatim tag if tiles is not in the picture.  In other words, the header
> of the page is in pure
> html, the body is dynamic, and the footer is pure html. According to his
> tests, the pure html
> does NOT need a verbatim tag if we don't use tiles. If tiles is in the
> picture, we absolutely
> need to wrap the html with verbatims, otherwise everything gets rendered,
> but all over the place.

You have to use verbatim with the standard JSF 1.1 view handler to
insure consistent results.   It may be possible to use
non-verbatim-tagged text outside of your f:view tags, but I don't know
for sure.   Tiles is irrelevent to the situation.

Maybe what's being miscommunicated is that if you use facelets instead
of using tiles, then you do not have to use verbatim anywhere.