So, to be clear, you are returning markup from functions in your
objects?

On Mar 10, 8:07 am, Evangelos <[email protected]> wrote:
> Hi,
>
> Where's the best spot in your mach-ii files to put display code of an
> object, when you're looking to create these objects dynamically?
>
> I want to create a view dynamically based on a list of objects (which
> objects to use and their values are in a database which I query,
> presumable with the gateway).  Where is the best spot to generate the
> display code that's going to be used for that specific objectType?
> Does it go in the controller as a function that is called for each
> objectType?  Do you create a large list of if statements in a View, so
> when you're looping through the objects with their types and values
> the proper display code is used?
>
> An object returned is for example a title with just text, a matrice
> with numbers, a single numerical value or a large note of some
> sort ... Each has its own way of being displayed.
>
> I haven't done this before, with the idea of "code generation" in
> mind.  Do you need more info?

-- 
You received this message because you are subscribed to Mach-II for CFML list.
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/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/

Reply via email to