miercuri, 24 februarie 2016

[OmniFaces utilities 2.3] Expose protected state helper into public


[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

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

Niciun comentariu:

Trimiteți un comentariu