PageRenderTime 24ms CodeModel.GetById 0ms RepoModel.GetById 1ms app.codeStats 0ms

/wheels/tests/view/urls/pagination.cfc

http://cfwheels.googlecode.com/
ColdFusion CFScript | 13 lines | 10 code | 3 blank | 0 comment | 0 complexity | 1e6544c53765a736fda6bf6f0d777342 MD5 | raw file
Possible License(s): Apache-2.0, CPL-1.0
  1. <cfcomponent extends="wheelsMapping.Test">
  2. <cffunction name="setup">
  3. <cfset loc.controller = controller(name="dummy")>
  4. <cfset loc.user = model("users")>
  5. </cffunction>
  6. <cffunction name="test_x_pagination_valid">
  7. <cfset loc.e = loc.user.findAll(where="firstname = 'somemoron'", perpage="2", page="1", handle="pagination_test_1", order="id")>
  8. <cfset loc.controller.pagination("pagination_test_1")>
  9. </cffunction>
  10. </cfcomponent>