Hi, I'm looking to have a helper that returns pagination. Something along the lines of for examples sake ( i would have more parametersi real life)
<cfoutput>#helpers.ui.pagination( query, start, count )#</cfoutput> This would return a chunk of html that would contain next / previous buttons and maybe some navigational elements. Should I be using helpers for this kind of thing or would it be more appropriate to be a view component? Helpers seem like a more appropriate option given that it will be a reusable component used across many views? Is it OK to return large chunks of html via helpers? Look forward to your thoughts.. Many thanks, b --~--~---------~--~----~------------~-------~--~----~ Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en -~----------~----~----~----~------~----~------~--~---
