Hi! To me this question depends on whether you want the page to be cached or not.
If you don't want or need cacheing for this page, the easiest way, IMHO, is to create a page that is called like: /mysite/displayperson.html?person=john And create an appropriate TemplateModel class which: - provides a method setPerson(String name) to accept the parameter person=john - and getPersonContent() returning the content from the Data module using the parameter... Regards from Vienna, Richard -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Magnolia Forums (on behalf of null) Gesendet: Freitag, 16. September 2011 11:41 An: Magnolia User List Betreff: [magnolia-user] Best way to use data (module) contents to render a page Hi, if you have some contents in the data module, for example articles or people or something else, what is the best approach to make each content render in a page? e.g. I want a page called by a URL www.xxxx.com/people/john.html to be rendered with the contents of john's data. Filter? Servlet? or other? Thanks -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=375dba6f-d768-49d9-b4a7-c68246167d45 ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
