Hi, Carsten Ziegeler schrieb: > Clement Escoffier wrote: >> Hi, >> >> You're right, it doesn't work. I don't know how the Web console manages >> configurations. It might be possible that it requires a metatype file or >> something like this to "generate" the create form correctly. Right now, >> the Factory configuration list is empty (despite I deploy several >> ManagedServiceFactory services), and the create button does nothing. Did >> you have the same behavior ? >> >> Perhaps Carlsten or Felix can guide us to the light :-) >> > Yes, the current web console relies on the meta type description. Only > if a meta type description exists for a configuration or a factory, it > is displayed in the form. > The scr plugin generates the meta type descriptor by default, that's the > reason why it works this way :)
Actually it is the otherway around: the SCR plugin generates the meta type descriptors because otherwise the console would not display the configurations ;-) The meta type descriptors are the only description of configurations. If these are missing, the console can only find out about existing configuration just display them as property lists. Of course, the console could also look for ManagedService[Factory] services and display empty configuration entries for these. The drawback of this is, that this quickly fills the list of possible configurations in the GUI - and since the GUI is not optimal right now, it would be even worse if all the configurations without meta type would also be displayed. This is the actual reason, that the console only displays configurations for which meta type descriptors exist. Of course, the console could "enhanced" to disable this filter and display everything.... Regards Felix --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

