Hi Ana,
The following should work:
<!facet pageButtonsTop>
<sun:panelGroup id="pbgt">
<sun:button id="okButton" ... />
<sun:button id="cancelButton" ... />
</sun:panelGroup>
</facet>
Sorry about not having a better example available yet!
Ken
Ana Caballero wrote:
> Hi Ken,
>
> Before the break you had added support for facets and I cannot find my
> notes on this. I'm trying to use a facet for the top buttons. I
> tried the following but didn't work. Can you give me an example?
>
> <!-- OK and Cancel button -->
>
> <ui:facet name="pageButtonsTop">
> <ui:panelGroup id="pageButtonsGroupTop">
> <sun:button id="okButton" primary="#{true}"
> text="Ok" />
> <sun:button id="cancelButton" primary="#{true}"
> text="Cancel"/>
> </ui:panelGroup>
> </ui:facet>
> Thanks,
> Ken