PageRenderTime 363ms CodeModel.GetById 181ms app.highlight 0ms RepoModel.GetById 181ms app.codeStats 0ms

/wheels/tests/_assets/controllers/ControllerWithModelErrors.cfc

http://cfwheels.googlecode.com/
ColdFusion CFScript | 8 lines | 6 code | 2 blank | 0 comment | 0 complexity | 44aca6adaf04103955894af3e65311c6 MD5 | raw file
1<cfcomponent extends="wheelsMapping.Controller">
2
3	<cfset user = model("user").new()>
4	<cfset user.addError("firstname", "firstname error1")>
5	<cfset user.addError("firstname", "firstname error2")>
6	<cfset user.addError("firstname", "firstname error2")>
7
8</cfcomponent>