You pretty much got it. There is one more point to cover. If you use the append=true attribute, you can render more than one view, without using the viewcollection, as long as the name of the appended view is the same as the last view. Sent from my Verizon Wireless BlackBerry
-----Original Message----- From: "Irv Wilson" <[email protected]> Date: Thu, 27 May 2010 16:13:19 To: <[email protected]> Subject: RE: [Model-Glue] stacked views So is my understanding correct that if you have one view it'll render but if have more than one the last one will need the viewcollection vars otherwise the page will solely render what's in the last view? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, May 27, 2010 3:40 PM To: [email protected] Subject: Re: [Model-Glue] stacked views Yes, all views are rendered and held in the viewcollection, and the last view is used to stream the content to the client. DW Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Irv Wilson <[email protected]> Date: Thu, 27 May 2010 15:27:59 To: model-glue<[email protected]> Subject: [Model-Glue] stacked views One thing I'm not quite getting is stacked views. I understand how the main template receives the html via viewcollection but when these views are stacked up in modelglue.xml what keeps them from opening individually? Is it just the last one in the stack that opens (regardless of name) and then piles in the html from the other views or is a view called "main" special? -- 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 -- 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 -- 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 -- 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
