omnifaces / optimusfaces

Utility library for OmniFaces + PrimeFaces combined

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to add additional buttons via f:facet

mydeadlyvenoms opened this issue · comments

OptimusFaces allows to add additional buttons to the op:dataTable header via <f:facet name="header">...</f:facet>. It would be nice if the additional buttons are placed inside the resulting <div class="ui-datatable-actions ui-helper-clearfix">...</div>. Currently the resulting table header looks like the following:

image

You can now use <ui:define name="actions"> for this instead of <f:facet name="header">.

Hi @BalusC
Thank you for the additional feature!
There is still a line break due to the <div>...</div> created by the toggler. When changing the <div>...</div> to <span>...</span> the line break is gone. Please let me know if I can further assist!

@BalusC can we reopen this one?

Sorted out now.

Thank you very much, I can confirm that it works.