Anyone?
On 30. Oktober 2014 11:22:58 MEZ, Veit Guna <veit.g...@gmx.de> wrote: >Hi. >I'm using Felix 4.2.1 with a bundle, that offers a configuration using >the configuration service offered by Felix. >For this, I've created a metatype.xml with a field like this: > >--cut here-- ><metatype:MetaData >xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.2.0" >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >xsi:schemaLocation="http://www.osgi.org/xmlns/metatype/v1.2.0 >http://www.osgi.org/xmlns/metatype/v1.2.0/metatype.xsd" >localization="OSGI-INF/metatype/metatype"> >... ><AD id="company.username" type="String" default="Administrator" >name="%company.username.name" >description="%company.username.description" required="true"/> >... >--cut here-- > >Basically the configuration works, but the required field isn't >checked. If I leave it empty, it simply saves the configuration without >any complain. >When I reopen the configuration, the field is blank. Is that expected >behavior? >Also I'm wondering, if max/min attributes aren't checked either? > >Thanks >Veit