Quantcast
Channel: OmniFaces & JSF Fans
Viewing all articles
Browse latest Browse all 74

[OmniFaces utilities 2.3] Expose protected state helper into public

$
0
0

[OmniFaces utilities] The getStateHelper() method exposes protected state helper into public.

Method:
Usage:

import org.omnifaces.util.Hacks;
...
StateHelper stateHelper = Hacks.getStateHelper(foo_component);
// now use the StateHelper API via stateHelper object

NoteDo not forget about the OmniFaces State utils for finding/putting a value associated with the specified key in the component's state.


Viewing all articles
Browse latest Browse all 74

Trending Articles