title: primefaces p:outputLabel not set label for UIInput use its value when it is a child of Omnifaces tree
body: <p>p:outputLabel will set label for related UIInput, But when it is a child of Omnifaces o:tree It is not work. The validate error message still use clientId.</p>
  <p>Omnifaces outputLabel can set label for related UIComponent, and it can work with o:tree.</p>
  <p>Primefaces set lable in endEncode method, when work with o:tree, the validateValue method called before endEncode.</p>
  <p>Anyone have a workaround?</p>
  <h1>UPDATE:</h1>
  <p>version:</p>
  <ul>
  <li>Java 7</li>
  <li>TomEE 1.5.1 (myfaces 2.1.9)</li>
  <li>Primefaces-3.4.1</li>
  <li>omnifaces-1.3-SNAPSHOT-20121121</li>
  </ul>
  <p>Can only reproduce with myfaces, with Mojarra the value of lable in last node will be used for other node's invalid message.</p>
  <ul>
  <li>A <a href="http://dl.dropbox.com/u/4606812/testee-mojarra.zip" rel="nofollow noreferrer">demo with mojarra</a></li>
  <li>A <a href="http://dl.dropbox.com/u/4606812/testee-myfaces.zip" rel="nofollow noreferrer">demo with myfaces</a></li>
  </ul>