aspose file tools
The moose likes JSF and the fly likes Html inside f:verbatim not getting rendered the first time Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Html inside f:verbatim not getting rendered the first time" Watch "Html inside f:verbatim not getting rendered the first time" New topic
Author

Html inside f:verbatim not getting rendered the first time

Robin Sharma
Ranch Hand

Joined: Aug 24, 2005
Posts: 76
Howdy,

I have a JSP within which I include another JSP and within that I have yet another one. These included JSPs are within subView tags. What I'm seeing is that within the innermost JSP, if I have any verbatim tags, then the html inside those tags is NOT rendered the first time the page is loaded. However, when I perform any action which refreshes the page, the html appears. And from that point onwards things are fine .

Has anyone else encountered this problem? I'm using the Apache MyFaces JSF components.

Thanks.


DW
There is always a bug :-)
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
First this: is there room to upgrade to at least a JSF 1.2 implementation? Since the change of the view handler in JSF 1.2, you can just write plain vanilla HTML inline without the need for those nasty f:verbatim tags.

If there isn't any room, then check if there is a newer version of MyFaces 1.1 implementation available and upgrade to it. If that doesn't work, then I would file a bug report at their issuetracker.


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Html inside f:verbatim not getting rendered the first time
 
Similar Threads
Custom Tag Performance on WAS
Is this one HttpRequest cycle ?
Validating my understanding of JSF
Html page rendering
Is there an Alignment Procedure ?