Client side validation doesn't work when field info contains type attribute 
----------------------------------------------------------------------------

                 Key: STS-840
                 URL: http://www.stripesframework.org/jira/browse/STS-840
             Project: Stripes
          Issue Type: Bug
          Components: Validation
    Affects Versions: Release 1.5.6
            Reporter: Valentine


Field info generation
            StringBuilder fieldInfo = new StringBuilder();

            if (fieldType.isPrimitive() || 
Number.class.isAssignableFrom(fieldType)
                    || Date.class.isAssignableFrom(fieldType) || includeType) {
                fieldInfo.append("type:").append(
                        JavaScriptBuilder.quote(fqn ? fieldType.getName() : 
fieldType
                                .getSimpleName()));
            }
...
                fieldInfo.append("required:").append(data.required())
                        .append(",ignore:").append(data.ignore())
                        .append(",encrypted:").append(data.encrypted())
                        .append(",trim:").append(data.trim());

So if the "type"

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to