Usage of h:outputlabel vs label

143 Views Asked by At

In JSF 1.1 (unfortunately I'm semi-stuck using legacy infrastructure) what is the advantage (or indeed purpose) of using <h:outputlabel> when I could just use a standard <label> tag in a form?

I get the feeling it might be related to the dynamic field ID/names produced by jsf, but I'm not certain.

1

There are 1 best solutions below

1
user207421 On

The difference is that many of the attributes of <h:outputLabel/> can use EL expressions.