?
Solved

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

Posted on 2006-04-23
4
Medium Priority
?
396 Views
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.
eg
<f:view>
<div>
<f:outputText value="dd" />
</div>
<table>
...
</f:view>
0
Comment
Question by:william007
  • 2
4 Comments
 
LVL 11

Assisted Solution

by:fargo
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.
0
 
LVL 23

Accepted Solution

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

Assisted Solution

by:fargo
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
http://www.jsf-resources.com/2006/02/20/tiles-jsf-issues/

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

Author Comment

by:william007
ID: 16531070
Thanks:-)
0

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