Use html tag to replace JSF components when possible

Asked

Viewed 122 times

0

I am starting studies with JSF (Javaserver Faces) and writing a xhtml file, I came up with the following dilemma:

Why not use HTML tag replacing some JSF compote, when possible? Example: use: <label for="nome">Nome</label> instead of <h:outputLabel value="Nome" for="nome"/>

This practice improves application performance, while the server will have fewer components to process, or it makes no difference, since all tags will be processed by the server?

1 answer

0


  • OK @Rafael, good observation. Grateful for the references, this form I could understand better about the subject.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.