Create a config extension to change a string-list value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

There is a document in the wiki explaining how to create a configuration extensions.

In this document it is said that the valid property values are string, boolean, int, short, long, double, binary.

Also in the Chapter 15 - Configuration Management of the Developers Guide that the same types are supported.

But if you search for some config values in Expert configuration, the type may be different of the supported types, for example you con see string-list (or depend on version []string).

I’m not able to change any of the string-list configurations with a Configuration extension, don’t mind what of the supported types I use, always fails.

How should I change a string-list value?

I use something like this, but changing oor:type="xs:string-list" for every of the valid types, and with or without <it> label:

<?xml version="1.0" encoding="UTF-8"?> <oor:component-data oor:name="Common" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <node oor:name="Security"> <node oor:name="Scripting"> <prop oor:name="SecureURL" oor:type="xs:string-list" oor:finalized="false"> <value> <it>"$(work)/BD"</it> </value> </prop> </node> </node> </oor:component-data>


Regards
--
Juan C. Sanz

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux