This post will illustrate how you can print the text on CommandLink when using af:showPrintablePageBehavior tag
Problem :
By default, when showPrintablePageBehavior is used in page and it renders the page in print mode in new tab with exception that command link disappears in the printable version.
As per default print behavior of ADF that it omits command buttons, links etc present on the page.
Solution :
Add another component (e.g. af:outputText) next to the commandlink (together with the link) and set the rendered attribute to
rendered ="#{adfFacesContext.outputMode eq 'printable'}"
Then (in theory) the outputtext only gets rendered if you render the page as printable.
Enjoy...
Problem :
By default, when showPrintablePageBehavior is used in page and it renders the page in print mode in new tab with exception that command link disappears in the printable version.
As per default print behavior of ADF that it omits command buttons, links etc present on the page.
Solution :
Add another component (e.g. af:outputText) next to the commandlink (together with the link) and set the rendered attribute to
rendered ="#{adfFacesContext.outputMode eq 'printable'}"
Then (in theory) the outputtext only gets rendered if you render the page as printable.
Enjoy...