Re: How to access DataChannelMetaData from templates

2020-01-20 Thread Juan Manuel Diaz Lara
Thanks for your help, I really appreciate this, now I can use the "comment" to pass additional metadata and use it at runtime. Atte. Juan Manuel Díaz Lara On Monday, January 20, 2020, 2:28:38 AM CST, Nikita Timofeev wrote: Hi, If you really need to get access to model metadata at ru

Re: How to access DataChannelMetaData from templates

2020-01-20 Thread Nikita Timofeev
Hi, If you really need to get access to model metadata at runtime, you could get it by configuring ServerRuntime like this: ServerRuntime.builder().addModule(binder -> { binder.bind(DataChannelMetaData.class).to(DefaultDataChannelMetaData.class); binder.bind(HandlerFactory.class).to(Extension

How to access DataChannelMetaData from templates

2020-01-17 Thread Juan Manuel Diaz Lara
This is to be get the "comment" of the mapping node of attributes to generate additional features to _baseClasses. I really need then at run time but I will be happy if I can get it at generation time. Thanks. Atte. Juan Manuel Díaz Lara