The sheet defines a way to render an object. The template is a page which
gets duplicated as is every time we create a new document associated with a
certain class, and normally just contains an include statement of the sheet
document plus an empty instance (object) of the selected class.
I have to say, the only difference is then the sheet does not have an object
attached to it, and potentially could be used in other places as well.
Therefore the separation, but I guess you could build a template which does
not depend on a sheet, and not create the sheet at all, you then loose the
document-view design, since the same document is holding the data (the
document) and the view (the renderer).
Hope that helps
Vito Impagliazzo
www.olsen.ch
On Wed, Feb 2, 2011 at 1:50 PM, Lukapt <lukapt(a)gmail.com> wrote:
Hello,
I started using the xwiki plataform recently. I'm a bit confused about the
differences between Sheet and Template concepts.
Despite some research it is not clear for me when to use Sheet or Template
pages.
It would be very helpful if someone could clarify me or point some link
with
an explanation.
Thanks in advance.
Best regards,
Luís Braga
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Question-about-Sheet-and-Template-tp59846…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
---
Please consider the environment before printing this email.