dannyparadis
14 years agoOccasional Contributor
Propety Layout for custom component
Hi!
I try to made display a numeric property on my layout with a textfied, but because my property is numeric the default layout display is a potentiometer.
I try to read on the MIG layout site, but that don't help me.
Ok I found a workaround by changing the type of the port property by String, but I would like to know if I have other way, like using widget.
Where I could find the a widget list and propeties?
Do you use a tool to generate your layout?
I try to read the groovy code for the soapui mockService, but it is not available on the folder script-components. Where I could found this build in component?
By the way, do you have more examples or doc for layout?
;-) A lot of questions!
I try to made display a numeric property on my layout with a textfied, but because my property is numeric the default layout display is a potentiometer.
createProperty('host', String, '127.0.0.1')
createProperty('port', Integer, 8649)
...
layout() {
property( property:host, label:'Host')
property( property:port, label:'Port')
}
I try to read on the MIG layout site, but that don't help me.
Ok I found a workaround by changing the type of the port property by String, but I would like to know if I have other way, like using widget.
Where I could find the a widget list and propeties?
Do you use a tool to generate your layout?
I try to read the groovy code for the soapui mockService, but it is not available on the folder script-components. Where I could found this build in component?
By the way, do you have more examples or doc for layout?
;-) A lot of questions!