Last active
February 13, 2019 16:23
-
-
Save CedricL46/d22efbb58a4418c4a005f72239a2837e to your computer and use it in GitHub Desktop.
See full tutorial on how to show a placeholder or a tooltip(shortdesc) in an ADF column filter header here : https://cedricleruth.com/how-to-show-a-tooltipshortdesc-or-watermarkplaceholder-in-an-adf-column-filter-header/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Below an example table on with a column header filter customized to display a place holder and tooltip --> | |
<af:table value="#{bindings.YourVO.collectionModel}" var="row" rows="#{bindings.YourVO.rangeSize}" | |
fetchSize="#{bindings.YourVO.rangeSize}" filterModel="#{bindings.YourVOCriteriaQuery.queryDescriptor}" | |
queryListener="#{bindings.YourVOCriteriaQuery.processQuery}" varStatus="vs" | |
selectionListener="#{bindings.YourVO.collectionModel.makeCurrent}" rowSelection="single" id="T1" | |
styleClass="AFStretchWidth" | |
rowBandingInterval="0" columnBandingInterval="0"> | |
<af:column sortProperty="#{bindings.YourVO.hints.YourVoAttribute.name}" filterable="true" sortable="true" id="Tc1" | |
width="60"> | |
<!-- Add the following filter facet to modify the header column filter inputText component --> | |
<f:facet name="filter"> | |
<af:inputText value="#{vs.filterCriteria.YourVoAttribute}" | |
placeholder="YOUR PLACE HOLDER TEXT" shortDesc="YOUR SHORTDESC TEXT" id="id4"> | |
</af:inputText> | |
</f:facet> | |
<af:outputText value="#{row.YourVoAttribute}" id="ot1"/> | |
</af:column> | |
</af:table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment