Sorry John, I really don't understand the question. Maybe more/better code snippets are in order? Might I suggest using http://modelglue.pastebin.com
DW On Fri, Oct 9, 2009 at 2:47 PM, John C. Bland II <[email protected]>wrote: > bump > --- > John C. Bland II > http://www.johncblandii.com > http://www.johnandseason.com > http://www.twitter.com/johncblandii > --- > Suggested sites: > http://www.lifthimhigh.com - "Christian Products for Those Bold Enough to > Wear Them" > http://www.sportsmatchmaker.com - "What are you doing today?" > > > On Thu, Oct 8, 2009 at 12:39 PM, John C. Bland II > <[email protected]>wrote: > >> Ok, I have templates which has a getView(...) and inside of the view is >> another getView(...). >> >> Here's why: >> [template] >> body >> {global stuff here} >> getView("panel") >> /body >> >> [dashboard/panel] >> div id="left" >> getView("quicksearch") >> getView("messagecenter") >> /div >> >> [home/panel] >> div id="right" >> getView("login") >> getView("ad") >> /div >> >> So...the template includes the panel flat out. The config details which >> panel to include and each panel could use some of the same code from another >> panel. >> >> Now...the internal views (login, ad, search, etc) could get custom tags >> (which I'm considering) but this issue came up and I don't like not knowing >> why something fails. >> >> Thoughts? >> >> --- >> John C. Bland II >> http://www.johncblandii.com >> http://www.johnandseason.com >> http://www.twitter.com/johncblandii >> --- >> Suggested sites: >> http://www.lifthimhigh.com - "Christian Products for Those Bold Enough to >> Wear Them" >> http://www.sportsmatchmaker.com - "What are you doing today?" >> > > > > > -- “Come to the edge, he said. They said: We are afraid. Come to the edge, he said. They came. He pushed them and they flew.” Guillaume Apollinaire quotes --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
