Toggle OSGI Config Fields | Community
Skip to main content
karansheel
Level 3
Oct 22, 2018 9:27 AM UTC
Solved

Toggle OSGI Config Fields

Is there any OOTB config or any way through which we can toggle OSGI configuration field just like we do in touch UI. My requirement is i want to create a osgi config in which on click of a checkbox i want to display some fields. Is there any way to achieve this ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Peter_Puzanovs
Peter_PuzanovsAccepted solution
New Participant
Oct 22, 2018 10:43 AM UTC

Dear Karansheel,

OSGi configuration is not as configurable as Touch UI.

It does not have option to introduce logic based on your needs, it's a simple xml markup, that's limited to only simple UI Elements.

For complete docs of what's possible as per specs have look here[0] and here for specifics of what's possible in Apache Felix[1]

[0] https://osgi.org/specification/osgi.cmpn/7.0.0/service.cm.html 

[1] felix/config.js at trunk · apache/felix · GitHub 

Regards,

Peter

1 reply

Peter_Puzanovs
Peter_PuzanovsAccepted solution
New Participant
Oct 22, 2018 10:43 AM UTC

Dear Karansheel,

OSGi configuration is not as configurable as Touch UI.

It does not have option to introduce logic based on your needs, it's a simple xml markup, that's limited to only simple UI Elements.

For complete docs of what's possible as per specs have look here[0] and here for specifics of what's possible in Apache Felix[1]

[0] https://osgi.org/specification/osgi.cmpn/7.0.0/service.cm.html 

[1] felix/config.js at trunk · apache/felix · GitHub 

Regards,

Peter

Translate