Ewl » Canonical The canonical version of EWL Read More
Clone URL:  
Pushed to 3 repositories · View In Graph Contained in tip and canonical

Removed ZIP code logic from FormItemStatics.

Changeset 5c6172b184d2

Parent d9bb8fed7ff9

by Profile picture of William GrossWilliam Gross

Changes to one file · Browse files at 5c6172b184d2 Showing diff from parent d9bb8fed7ff9 Diff from another changeset...

 
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
 
72
73
74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
76
77
@@ -72,25 +72,6 @@
  dv =>   "{0}.ToTelephoneNumberControl( allowEmpty, setup: controlSetup, value: value, maxLength: {1}, additionalValidationMethod: additionalValidationMethod ).ToFormItem( setup: formItemSetup, label: label )"   .FormatWith( dv, field.Size?.ToString() ?? "null" ) ); - writeFormItemGetters( - writer, - field, - "EwfTextBox", - "ZipCode", - "string", - "\"\"", - new CSharpParameter[ 0 ], - getAllowEmptyParameter( false ).ToCollection(), - new[] - { - new CSharpParameter( "bool", "readOnly", "false" ), new CSharpParameter( "FormAction", "action", "null" ), - new CSharpParameter( "bool", "autoPostBack", "false" ) - }, - new CSharpParameter[ 0 ], - "new EwfTextBox( v" + ( field.Size.HasValue ? ", maxLength: " + field.Size.Value : "" ) + - ", readOnly: readOnly, action: action, autoPostBack: autoPostBack )", - "validator.GetZipCode( new ValidationErrorHandler( subject ), control.GetPostBackValue( postBackValues ), allowEmpty ).FullZipCode", - "" );   writeFormItemGetter(   writer,   field,