Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

Hyrule
Project Home Known Issues Contact Project

Hyrule Issue: Make ValidationMessage.cfc honor the "displayname" attribute

Name: Make ValidationMessage.cfc honor the "displayname" attribute
ID: 9
Project: Hyrule
Type: Enhancement
Area: Code
Severity: Low
Status: Open
Related URL:
Creator: Michael Zock
Created: 02/13/12 6:19 AM
Updated: 02/13/12 6:19 AM
Description: Changing the line
<pre>m = replaceNoCase(m,matches[i],humanize(arguments.prop.name),"all");</pre>
to
<pre>m = replaceNoCase(m,matches[i],humanize(structKeyExists(arguments.prop, 'displayname') ? arguments.prop.displayname : arguments.prop.name),"all");</pre>
would offer an option to display a more user-friendly wording than what some framework/project conventions might allow.
History: Created by MikeZ83 (Michael Zock) : 02/13/12 6:19 AM

To add a comment to this bug, please login using the link above.