I am working on a customization.
I have my external enumerated value list customization on which I pass a string as parameter (from the type and attribute management) to find a specific context.
This works fine, however I'd like to pass to the parameter, the context gathered from the "create window" via NmCommandBean.
Is this even possible?
I know I can get the context from a datautility, maybe is it possible to pass it to the external enumerated class?
Thank you for your help.
I'm afraid you can't.
In EnumerationInfoProvider, the initalize method is called only once.
Once it's done, you can only invalidate the cache, but you can't pass any parameters.
Even if you change the enumeration's content, it's global, ie in case of concurrent acces, you may encounter some trange behavior !
A solution is to create your own JCA component to manage the attribute.