MyFaces Commons Components contains non renderkit specific components and code that can be used with any jsf frameworks. It includes:

  • mc:renderOne : A component that only renders the first child either by index or the first visible one.
  • mc:outputClientId : Output the clientId of a component specified by for property.
  • mc:exporterActionListener : very simple export to pdf or xls action listener.

And some facelet EL functions that comes in handy writing html/javascript/css mixtures:

  • UIComponent findComponent(java.lang.String)
  • UIComponent findComponentFrom(javax.faces.component.UIComponent, java.lang.String)
  • java.lang.String outputClientId(java.lang.String)
  • No labels