Update snippets-vitruvio.json
Add forms
This commit is contained in:
@@ -96,6 +96,28 @@
|
||||
"\t</form>",
|
||||
"</panel-form>"
|
||||
]
|
||||
},
|
||||
"Create forms": {
|
||||
"prefix": "!forms",
|
||||
"body": [
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>",
|
||||
"<forms xmlns=\"http://www.davinti.com.br/vitruvio/form\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.davinti.com.br/vitruvio/form https://bitbucket.org/davinTI/vitruvio-xds/raw/master/vitruvio-form.xsd\">",
|
||||
"\t\t<descriptorScript language=\"JavaScript\">",
|
||||
"\t\t\t<![CDATA[ ",
|
||||
"\t\t\t",
|
||||
"\t\t\t]]>",
|
||||
"\t\t</descriptorScript>",
|
||||
"\t<form formKey=\"${1}\" width=\"100%\">",
|
||||
"\t\t<name>${2}</name>",
|
||||
"\t\t<components>",
|
||||
"\t\t\t<VerticalLayout spacing=\"true\" margin=\"true\" height=\"100%\" width=\"100%\">",
|
||||
"\t\t\t\t${0}",
|
||||
"\t\t\t</VerticalLayout>",
|
||||
"\t\t</components>",
|
||||
"\t</form>",
|
||||
"</forms>"
|
||||
]
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user