TreeModel with Dynamic Tooltip Values for Accessibility Tools In Webcenter Portal (Doc ID 2225873.1)

Last updated on JANUARY 24, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Goal

How to change the tool-tip value of the af:tree and af:treeTable's Expand/Collapse arrows dynamically?

Using below skin properties we can change the values, however these cannot be dynamic.

https://docs.oracle.com/cd/E23943_01/apirefs.1111/e15862/toc.htm

af_tree.TIP_COLLAPSED_NODE Tooltip on the collapse icon. Also used for af:treeTable.

af_tree.TIP_EXPANDED_NODE Tooltip on the expand icon. Also used for af:treeTable.

But requirement is to pass dynamic names for eg, Expand A/Collapse A, Expand B/Collapse B and so on.

af: tree has hierarchy like parent node (file one) and child nodes (Child one)

> file one (tool tip here for expand/collapse should be "expand file one" instead of only "expand" and "collapse file one" instead of only "Collaps")

>> Child one (tool tip here for expand/collapse should be "expand child one" instead of only "expand" and "collapse child one" instead of only "Collaps")

 

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms