Skip to content

Commit

Permalink
TheCoder4eu/BootsFaces-OSP#946 added an example of a "close" button i…
Browse files Browse the repository at this point in the history
…n a dynamic tab
  • Loading branch information
stephanrauh committed Jun 2, 2018
1 parent 88229fa commit 0bc4fb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/webapp/bootstrap/tab.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@
in the getter. Otherwise, this algorithm is called multiple times, resulting in
mediocre performance.
</p>
<p>The example below also demonstrate how to use a facet to simulate the "close" button.
The facets don't work with AJAX, so a <code>&lt;b:remoteCommand /&gt;</code> fills the gap.</p>
<b:panel title="live preview">
<h:form>
<b:remoteCommand name="removeTab" id="removeTab" actionListener="#{testBean.removeTab()}" update="@form" parameters="title"/>
Expand Down

0 comments on commit 0bc4fb0

Please sign in to comment.