cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

External Enumerated Value List and NmCommandBean

aacciano-2
Marble

External Enumerated Value List and NmCommandBean

Hello.

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.

Antonio

3 REPLIES 3

Re: External Enumerated Value List and NmCommandBean

Has anyone any suggestions for this?

Thanks

Antonio

Re: External Enumerated Value List and NmCommandBean

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.

Re: External Enumerated Value List and NmCommandBean

Thank you Olivier,

make sense.

Antonio

Announcements