Sunday, January 16, 2011

ADF Faces RC: Right Aligning Components Inside ADF Column Footer Facet

The image below shows a right aligned OutpuText component inside the ADF Column footer facet:

To achieve the above alignment, simply enclosed the component inside a panelGrid as follows:
     <f:facet name="footer">
       <h:panelGrid columns="1" id="pg1" style="text-align:right;" width="100%">
         <af:outputText value="#{yourvaluebindinghere}"
           <af:convertNumber type="currency" currencySymbol=" "/>