sbutler
September 16, 2015, 11:01pm
1
On the docs, it shows a “valuelist” is a valid type. https://wiki.servoy.com/display/DOCS/Property+types
However, when I specify it, its not available to be set in the properties of the designer. Is there something special about the valuelist type?
{
...
"model":
{
"myValuelist":"valuelist"
}
}
Hi Scott,
Don’t know if the valuelist is a special type, or how to get it connected to a valuelist.
But it looks to me that a valuelist is an array.
“model”:
{
“myValuelist” : { “type”: “valuelist ” }
}
sbutler
September 17, 2015, 3:11pm
3
It contains an array of elements, but the valuelist itself should be a single element. I even coppied from Servoy’s example, with no success: https://github.com/Servoy/servoy-client … bobox.spec
{
...
"model":
{
"dataProviderID" : { "type":"dataprovider", "pushToServer": "allow", "tags": { "scope": "design" }},
"myValuelist": { "type" : "valuelist", "tags": { "scope" :"design" }, "for": "dataProviderID"}
}
}
Wondering if it has something to do with the manifest Servoy is using: https://github.com/Servoy/servoy-client … ANIFEST.MF
Global-Types: globaltypes/customTypes.spec
Johan?
“myValuelist”:“valuelist” is fine, there is a bug in editor so it doesn’t show in Properties View. We already fixed that now.