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?"

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to