Is there a potential dangerous to mixed HTML tag with JSF tag

Posted on 2006-04-23
Medium Priority
Last Modified: 2010-04-01
Is there a potential dangerous to mixed HTML tag with JSF tag (without using <f:verbatim> to surround html tag)? Although until now I do not encounter problem.
<f:outputText value="dd" />
Question by:william007
  • 2
LVL 11

Assisted Solution

fargo earned 800 total points
ID: 16519283
<f:verbatim> tag is used around your markup to make it >>JSF friendly. Using verbatim force the embedded text to be processed by JSF and not by jsp handler. So, in order to make the tags to be handled by JSF, use verbatim.
LVL 23

Accepted Solution

Siva Prasanna Kumar earned 1200 total points
ID: 16519771
LVL 11

Assisted Solution

fargo earned 800 total points
ID: 16519988
mixing JSF and non-JSF tags are definitely considered as dangerous. Because in JSF the JSF tree is handled first and rendered..anything else than JSF tags are rendered later on...It can have very major sideeffects if you are mixing for ex. JSTL tags and JSF tags. OR tiles-JSF tags.

Following link is one of the example which says it is dangerous

and if you make a simple googling..you will find many places, where using verbatim is encouraged and mixing is discouraged.

Author Comment

ID: 16531070

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MSSQL DB-maintenance also needs implementation of multiple activities. However, unprecedented errors can hamper the database management. In that case, deploying Stellar SQL Database Toolkit ensures fast and accurate database and backup repair as wel…
Social messanging services like WhatsApp and Facebook can help businesses in ways that many owners don't even imagine, giving new opportunities to connect with customers. Discover some of the most innovative things they can do for your company.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question