summaryrefslogtreecommitdiff
path: root/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet
diff options
context:
space:
mode:
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet')
-rw-r--r--editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet20
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet
new file mode 100644
index 00000000..e543353e
--- /dev/null
+++ b/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;com:TCustomValidator
+ ControlToValidate="${1:controlIDToValidate}"
+ OnServerValidate="${2:customValidate}"${3:
+ ClientValidationFunction="${4:clientSideCustomValidate}"}
+ ErrorMessage="${6:required}" /&gt;$0</string>
+ <key>name</key>
+ <string>TCustomValidator (TValidator)</string>
+ <key>scope</key>
+ <string>text.html</string>
+ <key>tabTrigger</key>
+ <string>TValidator</string>
+ <key>uuid</key>
+ <string>BF6A7ED6-28A0-4165-AA7A-F1F003161AE5</string>
+</dict>
+</plist>