Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] ConfigurableComponent and Kura admin user interface

Starting with Kura 2.1 you can append "|TextArea" to the "description" attribute. Which will trigger the Web UI to render a TextArea instead of a single-line text field.

You can have a look at [1] for an example.

[1] https://github.com/eclipse/kura/blob/develop/kura/org.eclipse.kura.camel.xml/OSGI-INF/metatype/org.eclipse.kura.camel.xml.XmlRouterComponent.xml#L9

On Thu, Oct 20, 2016 at 8:41 AM, De Alti, Cristiano <Cristiano.DeAlti@xxxxxxxxxxxx> wrote:

Da: kura-dev-bounces@xxxxxxxxxxx <kura-dev-bounces@xxxxxxxxxxx> per conto di Lewis, ScottX <scottx.lewis@xxxxxxxxx>
Inviato: giovedì 20 ottobre 2016 00.53.57
A: kura-dev@xxxxxxxxxxx
Oggetto: [kura-dev] ConfigurableComponent and Kura admin user interface
 
Question:

We are creating configurable component services and using the Kura Admin user interface.   We would like, however, to have some multiline text input.   This could be injected as either a String[] or one long String property...for the moment it doesn't matter.

But there doesn't seem to be any metatype support a String[] ([1]) and I can't determine if there is some way to allow multiple text lines in the Kura Admin interface.  None of the Kura services seems to have multi-line input (all have only a single line of text input).

Is there some way to get/use multiline text box input for ConfigurableComponents?

Thanks,

Scott

[1] http://felix.apache.org/documentation/subprojects/apache-felix-metatype-service.html


_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev

_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev



--
Jens Reimann
Senior Software Engineer / EMEA ENG Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
_____________________________________________________________________________

Red Hat GmbH, www.de.redhat.com,
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill

Back to the top