Index: components/artifactView/data/demoData.json
===================================================================
--- components/artifactView/data/demoData.json	(revision 9650)
+++ components/artifactView/data/demoData.json	(working copy)
@@ -1 +1 @@
-{"artifactAccessionNumber":"M976.188.1","artifactTitle":"Winter Carnival, 1883, Hockey Trophy","artifactImage":"http://eich.wsg.mcgill.ca/largeimages/M976.188.1-P5.jpg","artifactAuthor":"Thomas Allan & Co.","artifactDate":"1883, 19th century","artifactDescription":"<p>Although it may be hard for some to believe that there was ever a hockey trophy other than Lord Stanley's (1841-1908), the Stanley Cup does have an ancestor. It was called the Carnival Cup.\n\nIn 1879 the first organized hockey team, the McGill University Hockey Club, was formed in Montreal. By 1875, a basic set of rules was created for the game, and hockey quickly spread across Canada. The first Canadian hockey championship was held in 1883 at the Montreal Ice Carnival. The winner of the week-long tournament, and the winner of the Carnival Cup, was the McGill team. \n\nAll early hockey was played by amateurs. The main competitions were between university, military and athletic clubs, which formed the Ontario Hockey Association in 1890. In 1893, Governor General Lord Stanley donated a trophy to the national championship of the association, and after 1912 only professionals competed for the Stanley Cup.</p><p>WHAT : This Montreal Ice Carnival Hockey Cup is an oval cup on a tripod of hockey sticks. It was made from sterling silver by the firm of Thomas Allan & Co.</p><p>WHEN : Only ten years after the awarding of this trophy in 1883 to McGill University, Montreal's AAA team was victorious in the first Stanley Cup game, which was played on March 22, 1893.</p><p>WHERE : The cup was made in Montreal specifically for the Montreal Ice Carnival hockey tournament, which may have been played at the McGill University rink.</p><p>WHO : This Montreal Ice Carnival hockey trophy has the names of the members of the winning McGill University team for the year 1883 engraved on the side of the bowl.</p>","artifactComments":{"id":"2980","reported":"0","author":{"userid":"4492","username":"huguesccc","avatar":"http://www.mccord-museum.qc.ca/images/avatars/anonyme.jpg"},"text":"I wish i had won this cup.","last_modified":"2010-01-24 18:41:04","offensive":"0","public":"1","published":"2010-01-24 18:41:04"},"artifactCommentsCount":"1","artifactDimensions":"18 x 8 cm","artifactMedia":[{"id":"7","duration":[{"unit":"s","nodetext":"30"}],"title":"Exploring Canada's polar region","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/06-SEXTANT_3-EN.mp4"},{"id":"1","duration":[{"unit":"s","nodetext":"40"}],"title":"Sailing ships and steamships","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/01-BATEAU_1-EN.mp4"},{"id":"15","duration":[{"unit":"s","nodetext":"55"}],"title":"The construction of the Canadian Pacific Railway","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/02-WAGON_2-EN.mp4"},{"id":"13","duration":[{"unit":"s","nodetext":"34"}],"title":"The Esthetic Tastes of the Mik'maq Communities","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/10-CANOT_1-EN.mp4"},{"id":"5","duration":[{"unit":"s","nodetext":"25"}],"title":"The expansion of the canadian railway network","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/02-WAGON_3-EN.mp4"},{"id":"3","duration":[{"unit":"s","nodetext":"36"}],"title":"The importance of railways","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/02-WAGON_1-EN.mp4"},{"id":"11","duration":[{"unit":"s","nodetext":"33"}],"title":"The nomad life of nunavimiuts","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/07-DEFENSE_1-EN.mp4"}],"artifactMediaCount":"7","artifactMedium":"","artifactMention":"","artifactRelated":[{"subtitle":"Wm. Notman & Son","accessnumber":"VIEW-1998","title":"Composite, Montreal Carnival, QC, 1883, copied 1889","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/v1998.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"J. Theo. Robinson","accessnumber":"PHA0046","title":"Over the Snow or the Montreal Carnival","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/PHA0046-P1.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"1879-1881","accessnumber":"M995.18.1","title":"Hockey stick","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/M995.18.1.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"1879-1881","accessnumber":"M995.18.1","title":"Hockey stick","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/2624.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"Wm. Notman & Son","accessnumber":"II-86447","title":"Victoria hockey team, Montreal, QC, 1888","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/ii86447.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"Wm. Notman & Son","accessnumber":"II-149897","title":"McGill Hockey Team, Montreal, QC, 1904","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/ii149897.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"Wm. Notman & Son","accessnumber":"VIEW-3486.0","title":"Hockey, McGill University teams, Montreal, QC, 1902","thumbnail":[{"height":"74","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/v3486.jpg","width":"74"}],"hasMedia":"no"},{"subtitle":"Anonyme - Anonymous","accessnumber":"MP-0000.2241","title":"Hockey on the ice, McGill Campus, Montreal, QC, about 1900","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/84033000.jpg","width":"75"}],"hasMedia":"no"}],"artifactRelatedCount":"8"},"descriptionMoreLess":{"options":{"strings":{}}},"strings":{},"comments":{"options":{"model":{"ownid":"catt","comments":[{"authorid":"rb269","author":"Robert Brown","location":"Washington, DC","date":"2009-07-16T12:15:07Z","text":"I had such an amazing time at this exhibit! Really loved the red sleigh especially. I had one just like it growing up"},{"authorid":"jo236","author":"Jamie Orange","location":"Montreal, QC","date":"2009-07-12T17:22:15Z","text":"Quisque sed adipiscing tellus. Nulla facilisi. Sed vel eros vei FELLIS imperdiet varius vehicula nec turpis."},{"authorid":"catt","author":"anonymous","date":"2009-05-01T22:13:00Z","text":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque eget massa at nulla scelerisque pretium. Proin arcu lorem!"}]},"templateSource":"\r\n <div class=\"flc-guestbook-container\" >\r\n <!-- Navigation Bar and Header -->\r\n <div class=\"flc-navigationBar fl-navbar fl-col-mixed\">\r\n <!-- Back button -->\r\n <div class=\"fl-col-fixed fl-force-left\">\r\n <a rsf:id=\"scr=null\" class=\"flc-navigationBar-back fl-button fl-backButton\" href=\"#\">\r\n <img class=\"fl-button-inner fl-button-icon\" src=\"../../../../fluid-engage-core/shared/images/back.png\" alt=\"Go back\"/>\r\n </a>\r\n </div>\r\n <!-- Home button -->\r\n <div class=\"fl-col-fixed fl-force-left\">\r\n <a rsf:id=\"scr=null\" class=\"flc-navigationBar-home fl-button\" href=\"#\">\r\n <img class=\"fl-button-inner fl-button-icon\" src=\"../../../../fluid-engage-core/shared/images/home.png\" alt=\"Go home\"/>\r\n </a>\r\n </div>\r\n <!-- Page header -->\r\n <h1 class=\"flc-catalogue-title fl-navbar-title fl-col-flex\">Guestbook for This Exhibition</h1>\r\n </div>\r\n \r\n <div class=\"flc-guestbook-addnote fl-guestbook-addnote\">\r\n <div class=\"fl-centered\">\r\n <label for=\"fl-addnote\" class=\"flc-guestbook-addnote-Text fl-guestbook-title\">Add a note</label>\r\n <a href=\"#\"><div id=\"fl-addnote\" class=\"flc-guestbook-addnote-control fl-guestbook-addnote-control\"></div></a>\r\n </div>\r\n </div>\r\n <div class=\"flc-guestbook-comment-cell fl-guestbook-comment-cell\">\r\n <div class=\"fl-guestbook-header fl-push\">\r\n <span class=\"flc-guestbook-author fl-guestbook-author fl-guestbook-slash-after\">Robert Brown</span>\r\n <span class=\"flc-guestbook-location fl-guestbook-location fl-guestbook-slash-after\">Washington, DC</span>\r\n <span class=\"flc-guestbook-date fl-guestbook-date\">July 16, 2009</span>\r\n </div>\r\n <span class=\"flc-guestbook-text fl-guestbook-text fl-push\">I had such an amazing time at this\r\n exhibit! Really loved the red sleigh especially. I had one just like it growing up</span>\r\n <div class=\"fl-push\"> </div>\r\n <div class=\"fl-guestbook-actions fl-force-right\">\r\n <a class=\"flc-guestbook-action fl-guestbook-action\">REPORT ABUSE</a>\r\n </div>\r\n <div class=\"fl-push\"> </div>\r\n </div>\r\n </div>\r\n "}}
\ No newline at end of file
+{"model":{"artifactAccessionNumber":"M976.188.1","artifactTitle":"Winter Carnival, 1883, Hockey Trophy","artifactImage":"http://eich.wsg.mcgill.ca/largeimages/M976.188.1-P5.jpg","artifactAuthor":"Thomas Allan & Co.","artifactDate":"1883, 19th century","artifactDescription":"<p>Although it may be hard for some to believe that there was ever a hockey trophy other than Lord Stanley's (1841-1908), the Stanley Cup does have an ancestor. It was called the Carnival Cup.\n\nIn 1879 the first organized hockey team, the McGill University Hockey Club, was formed in Montreal. By 1875, a basic set of rules was created for the game, and hockey quickly spread across Canada.  The first Canadian hockey championship was held in 1883 at the Montreal Ice Carnival. The winner of the week-long tournament, and the winner of the Carnival Cup, was the McGill team. \n\nAll early hockey was played by amateurs. The main competitions were between university, military and athletic clubs, which formed the Ontario Hockey Association in 1890.  In 1893, Governor General Lord Stanley donated a trophy to the national championship of the association,  and after 1912 only professionals competed for the Stanley Cup.</p><p>WHAT : This Montreal Ice Carnival Hockey Cup is an oval cup on a tripod of hockey sticks. It was made from sterling silver by the firm of Thomas Allan & Co.</p><p>WHEN : Only ten years after the awarding of this trophy in 1883 to McGill University, Montreal's AAA team was victorious in the first Stanley Cup game, which was played on March 22, 1893.</p><p>WHERE : The cup was made in Montreal specifically for the Montreal Ice Carnival hockey tournament,  which may have been played at the McGill University rink.</p><p>WHO : This Montreal Ice Carnival hockey trophy has the names of the members of the winning McGill University team for the year 1883 engraved on the side of the bowl.</p>","artifactComments":{"id":"2980","reported":"0","author":{"userid":"4492","username":"huguesccc","avatar":"http://www.mccord-museum.qc.ca/images/avatars/anonyme.jpg"},"text":"I wish i had won this cup.","last_modified":"2010-01-24 18:41:04","offensive":"0","public":"1","published":"2010-01-24 18:41:04"},"artifactCommentsCount":"1","artifactDimensions":"18 x 8 cm","artifactMedia":{"id":"1","duration":[{"unit":"s","nodetext":"98"}],"title":"Hockey Cup","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/Coupe_hockey_EN.mp4"},"artifactMediaCount":"1","artifactMedium":"","artifactMention":"","artifactRelated":[{"subtitle":"Wm. Notman & Son","accessnumber":"VIEW-1998","title":"Composite, Montreal Carnival, QC, 1883, copied 1889","thumbnail":[{"height":"75","nodetext":"http://eich.wsg.mcgill.ca/ThumbView/v1998.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"J. Theo. Robinson","accessnumber":"PHA0046","title":"Over the Snow or the Montreal Carnival","thumbnail":[{"height":"75","nodetext":"http://eich.wsg.mcgill.ca/ThumbView/PHA0046-P1.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"1879-1881","accessnumber":"M995.18.1","title":"Hockey stick","thumbnail":[{"height":"75","nodetext":"http://eich.wsg.mcgill.ca/ThumbView/M995.18.1.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"1879-1881","accessnumber":"M995.18.1","title":"Hockey stick","thumbnail":[{"height":"75","nodetext":"http://eich.wsg.mcgill.ca/ThumbView/2624.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"Wm. Notman & Son","accessnumber":"II-86447","title":"Victoria hockey team, Montreal, QC, 1888","thumbnail":[{"height":"75","nodetext":"http://eich.wsg.mcgill.ca/ThumbView/ii86447.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"Wm. Notman & Son","accessnumber":"II-149897","title":"McGill Hockey Team, Montreal, QC, 1904","thumbnail":[{"height":"75","nodetext":"http://eich.wsg.mcgill.ca/ThumbView/ii149897.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"Wm. Notman & Son","accessnumber":"VIEW-3486.0","title":"Hockey, McGill University teams, Montreal, QC, 1902","thumbnail":[{"height":"74","nodetext":"http://eich.wsg.mcgill.ca/ThumbView/v3486.jpg","width":"74"}],"hasMedia":"no"},{"subtitle":"Anonyme - Anonymous","accessnumber":"MP-0000.2241","title":"Hockey on the ice, McGill Campus, Montreal, QC, about 1900","thumbnail":[{"height":"75","nodetext":"http://eich.wsg.mcgill.ca/ThumbView/84033000.jpg","width":"75"}],"hasMedia":"no"}],"artifactRelatedCount":"8","id":"M976.188.1","uuid":"7361e02304faafafa97d141c1d321815"},"descriptionMoreLess":{"options":{"strings":{}}},"strings":{},"comments":{"options":{"model":{"comments":[{"_id":"892ab6669da75f1d9354755e7b706389","_rev":"2-0d359d238454389a5a873e603645f6c3","text":"Dhdjskjdh","date":"2010-02-19T14:04:10.000Z","authorId":"9bd16015e7edfe7ab743ca6c684f279e","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"artifact","targetId":"M976.188.1","abuseReported":{"07ca7651e7d7baf63d6d43d4bf23a5cc":true}}],"totalComments":1},"strings":{"addNote":"Add Note","delete":"Delete","reportAbuse":"Report Abuse","abuseReported":"Abuse reported. Pending moderator review","cancel":"Cancel","submit":"Submit","commentEntry":"Comment Entry","title":"Guestbook for This Exhibition"},"addNoteTarget":"../guestbook/comment.html?type=artifact&id=M976.188.1&db=mccord&lang=en","postURL":"../guestbook/comment.json?db=mccord","locale":"en","templateSource":"\r\n        <div class=\"flc-guestbook-container fl-guestbook\" >\r\n                        <!-- Navigation Bar and Header -->\r\n            <div class=\"flc-navigationBar fl-navbar fl-col-mixed\">\r\n                <!-- Back button -->\r\n                <div class=\"fl-col-fixed fl-force-left\">\r\n                    <a class=\"flc-navigationBar-back fl-button fl-backButton\" href=\"#\">\r\n                        <img class=\"fl-button-inner fl-button-icon\" src=\"../../../../fluid-engage-core/shared/images/back.png\" alt=\"Go back\"/>\r\n                    </a>\r\n                </div>\r\n                <!-- Home button -->\r\n                <div class=\"fl-col-fixed fl-force-left\">\r\n                    <a class=\"flc-navigationBar-home fl-button\" href=\"#\">\r\n                        <img class=\"fl-button-inner fl-button-icon\" src=\"../../../../fluid-engage-core/shared/images/home.png\" alt=\"Go home\"/>\r\n                    </a>\r\n                </div>\r\n                <!-- Page header -->\r\n                <h1 class=\"flc-guestbook-title fl-navbar-title fl-col-flex\">Guestbook for This Exhibition</h1>\r\n            </div>\r\n            \r\n            <div class=\"flc-guestbook-addnote fl-guestbook-addnote\">\r\n               <div class=\"fl-centered\">\r\n                   <a class=\"flc-guestbook-addnote-control\" href=\"comment.html\">\r\n                       <label for=\"fl-addnote\" class=\"flc-guestbook-addnote-text fl-guestbook-title\">Add a note</label>\r\n                       <span id=\"fl-addnote\" class=\"fl-guestbook-addnote-control\"></span>\r\n                   </a>\r\n               </div>\r\n            </div>\r\n            <div class=\"flc-guestbook-comment-cell fl-guestbook-comment-cell\">\r\n              <div class=\"fl-guestbook-header fl-push\">\r\n                <span class=\"flc-guestbook-author fl-guestbook-author fl-guestbook-slash-after\">Robert Brown</span>\r\n                <span class=\"flc-guestbook-location fl-guestbook-location fl-guestbook-slash-after\">Washington, DC</span>\r\n                <span class=\"flc-guestbook-date fl-guestbook-date\">July 16, 2009</span>\r\n              </div>\r\n                <span class=\"flc-guestbook-text fl-guestbook-text fl-push\">I had such an amazing time at this\r\n                exhibit! Really loved the red sleigh especially. I had one just like it growing up</span>\r\n              <div class=\"fl-push\"> </div>\r\n              <div class=\"fl-guestbook-actions fl-force-right\">\r\n                <a class=\"flc-guestbook-action fl-guestbook-action\">REPORT ABUSE</a>\r\n              </div>\r\n              <div class=\"fl-push\"> </div>\r\n            </div>\r\n        </div>\r\n        "}}}
\ No newline at end of file
Index: components/artifactView/html/view.html
===================================================================
--- components/artifactView/html/view.html	(revision 9650)
+++ components/artifactView/html/view.html	(working copy)
@@ -46,7 +46,8 @@
         <script type="text/javascript" src="../../../../fluid-engage-core/lib/jquery/datepicker/i18n/jquery.ui.datepicker-en-GB.js"></script>
         <script type="text/javascript" src="../../../../fluid-engage-core/lib/jquery/datepicker/i18n/jquery.ui.datepicker-fr.js"></script>
         <script type="text/javascript" src="../../../../fluid-engage-core/framework/js/dateUtils.js"></script>
-        <script type="text/javascript" src="../../../../fluid-engage-core/components/guestbook/js/guestbook.js"></script>         
+        <script type="text/javascript" src="../../../../fluid-engage-core/components/guestbook/js/guestbook.js"></script>
+        <script type="text/javascript" src="../../../../fluid-engage-core/framework/js/loadData.js" rsf:id="scr=ignore"></script>         
     </head>   
     <body class="fl-theme-iphone"> 
         <div class="flc-artifact fl-artifact">
@@ -129,8 +130,7 @@
 	        </div>
         </div>
         <script id="flc-initBlock" type="text/javascript">
-            fluid.engage.artifactView(".flc-artifact", {"model":{"artifactAccessionNumber":"M976.188.1","artifactTitle":"Winter Carnival, 1883, Hockey Trophy","artifactImage":"http://eich.wsg.mcgill.ca/largeimages/M976.188.1-P5.jpg","artifactAuthor":"Thomas Allan & Co.","artifactDate":"1883, 19th century","artifactDescription":"<p>Although it may be hard for some to believe that there was ever a hockey trophy other than Lord Stanley's (1841-1908), the Stanley Cup does have an ancestor. It was called the Carnival Cup.\n\nIn 1879 the first organized hockey team, the McGill University Hockey Club, was formed in Montreal. By 1875, a basic set of rules was created for the game, and hockey quickly spread across Canada. The first Canadian hockey championship was held in 1883 at the Montreal Ice Carnival. The winner of the week-long tournament, and the winner of the Carnival Cup, was the McGill team. \n\nAll early hockey was played by amateurs. The main competitions were between university, military and athletic clubs, which formed the Ontario Hockey Association in 1890. In 1893, Governor General Lord Stanley donated a trophy to the national championship of the association, and after 1912 only professionals competed for the Stanley Cup.</p><p>WHAT : This Montreal Ice Carnival Hockey Cup is an oval cup on a tripod of hockey sticks. It was made from sterling silver by the firm of Thomas Allan & Co.</p><p>WHEN : Only ten years after the awarding of this trophy in 1883 to McGill University, Montreal's AAA team was victorious in the first Stanley Cup game, which was played on March 22, 1893.</p><p>WHERE : The cup was made in Montreal specifically for the Montreal Ice Carnival hockey tournament, which may have been played at the McGill University rink.</p><p>WHO : This Montreal Ice Carnival hockey trophy has the names of the members of the winning McGill University team for the year 1883 engraved on the side of the bowl.</p>","artifactComments":{"id":"2980","reported":"0","author":{"userid":"4492","username":"huguesccc","avatar":"http://www.mccord-museum.qc.ca/images/avatars/anonyme.jpg"},"text":"I wish i had won this cup.","last_modified":"2010-01-24 18:41:04","offensive":"0","public":"1","published":"2010-01-24 18:41:04"},"artifactCommentsCount":"1","artifactDimensions":"18 x 8 cm","artifactMedia":[{"id":"7","duration":[{"unit":"s","nodetext":"30"}],"title":"Exploring Canada's polar region","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/06-SEXTANT_3-EN.mp4"},{"id":"1","duration":[{"unit":"s","nodetext":"40"}],"title":"Sailing ships and steamships","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/01-BATEAU_1-EN.mp4"},{"id":"15","duration":[{"unit":"s","nodetext":"55"}],"title":"The construction of the Canadian Pacific Railway","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/02-WAGON_2-EN.mp4"},{"id":"13","duration":[{"unit":"s","nodetext":"34"}],"title":"The Esthetic Tastes of the Mik'maq Communities","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/10-CANOT_1-EN.mp4"},{"id":"5","duration":[{"unit":"s","nodetext":"25"}],"title":"The expansion of the canadian railway network","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/02-WAGON_3-EN.mp4"},{"id":"3","duration":[{"unit":"s","nodetext":"36"}],"title":"The importance of railways","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/02-WAGON_1-EN.mp4"},{"id":"11","duration":[{"unit":"s","nodetext":"33"}],"title":"The nomad life of nunavimiuts","format":"mp4","type":"video","uri":"http://wozniak.wsg.mcgill.ca/video/mp4/07-DEFENSE_1-EN.mp4"}],"artifactMediaCount":"7","artifactMedium":"","artifactMention":"","artifactRelated":[{"subtitle":"Wm. Notman & Son","accessnumber":"VIEW-1998","title":"Composite, Montreal Carnival, QC, 1883, copied 1889","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/v1998.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"J. Theo. Robinson","accessnumber":"PHA0046","title":"Over the Snow or the Montreal Carnival","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/PHA0046-P1.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"1879-1881","accessnumber":"M995.18.1","title":"Hockey stick","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/M995.18.1.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"1879-1881","accessnumber":"M995.18.1","title":"Hockey stick","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/2624.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"Wm. Notman & Son","accessnumber":"II-86447","title":"Victoria hockey team, Montreal, QC, 1888","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/ii86447.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"Wm. Notman & Son","accessnumber":"II-149897","title":"McGill Hockey Team, Montreal, QC, 1904","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/ii149897.jpg","width":"75"}],"hasMedia":"no"},{"subtitle":"Wm. Notman & Son","accessnumber":"VIEW-3486.0","title":"Hockey, McGill University teams, Montreal, QC, 1902","thumbnail":[{"height":"74","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/v3486.jpg","width":"74"}],"hasMedia":"no"},{"subtitle":"Anonyme - Anonymous","accessnumber":"MP-0000.2241","title":"Hockey on the ice, McGill Campus, Montreal, QC, about 1900","thumbnail":[{"height":"75","nodetext":"http://wozniak.wsg.mcgill.ca/ThumbView/84033000.jpg","width":"75"}],"hasMedia":"no"}],"artifactRelatedCount":"8"},"descriptionMoreLess":{"options":{"strings":{}}},"strings":{},"comments":{"options":{"model":{"ownid":"catt","comments":[{"authorid":"rb269","author":"Robert Brown","location":"Washington, DC","date":"2009-07-16T12:15:07Z","text":"I had such an amazing time at this exhibit! Really loved the red sleigh especially. I had one just like it growing up"},{"authorid":"jo236","author":"Jamie Orange","location":"Montreal, QC","date":"2009-07-12T17:22:15Z","text":"Quisque sed adipiscing tellus. Nulla facilisi. Sed vel eros vei FELLIS imperdiet varius vehicula nec turpis."},{"authorid":"catt","author":"anonymous","date":"2009-05-01T22:13:00Z","text":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque eget massa at nulla scelerisque pretium. Proin arcu lorem!"}]},"templateSource":"\r\n <div class=\"flc-guestbook-container\" >\r\n <!-- Navigation Bar and Header -->\r\n <div class=\"flc-navigationBar fl-navbar fl-col-mixed\">\r\n <!-- Back button -->\r\n <div class=\"fl-col-fixed fl-force-left\">\r\n <a rsf:id=\"scr=null\" class=\"flc-navigationBar-back fl-button fl-backButton\" href=\"#\">\r\n <img class=\"fl-button-inner fl-button-icon\" src=\"../../../../fluid-engage-core/shared/images/back.png\" alt=\"Go back\"/>\r\n </a>\r\n </div>\r\n <!-- Home button -->\r\n <div class=\"fl-col-fixed fl-force-left\">\r\n <a rsf:id=\"scr=null\" class=\"flc-navigationBar-home fl-button\" href=\"#\">\r\n <img class=\"fl-button-inner fl-button-icon\" src=\"../../../../fluid-engage-core/shared/images/home.png\" alt=\"Go home\"/>\r\n </a>\r\n </div>\r\n <!-- Page header -->\r\n <h1 class=\"flc-catalogue-title fl-navbar-title fl-col-flex\">Guestbook for This Exhibition</h1>\r\n </div>\r\n \r\n <div class=\"flc-guestbook-addnote fl-guestbook-addnote\">\r\n <div class=\"fl-centered\">\r\n <label for=\"fl-addnote\" class=\"flc-guestbook-addnote-Text fl-guestbook-title\">Add a note</label>\r\n <a href=\"#\"><div id=\"fl-addnote\" class=\"flc-guestbook-addnote-control fl-guestbook-addnote-control\"></div></a>\r\n </div>\r\n </div>\r\n <div class=\"flc-guestbook-comment-cell fl-guestbook-comment-cell\">\r\n <div class=\"fl-guestbook-header fl-push\">\r\n <span class=\"flc-guestbook-author fl-guestbook-author fl-guestbook-slash-after\">Robert Brown</span>\r\n <span class=\"flc-guestbook-location fl-guestbook-location fl-guestbook-slash-after\">Washington, DC</span>\r\n <span class=\"flc-guestbook-date fl-guestbook-date\">July 16, 2009</span>\r\n </div>\r\n <span class=\"flc-guestbook-text fl-guestbook-text fl-push\">I had such an amazing time at this\r\n exhibit! Really loved the red sleigh especially. I had one just like it growing up</span>\r\n <div class=\"fl-push\"> </div>\r\n <div class=\"fl-guestbook-actions fl-force-right\">\r\n <a class=\"flc-guestbook-action fl-guestbook-action\">REPORT ABUSE</a>\r\n </div>\r\n <div class=\"fl-push\"> </div>\r\n </div>\r\n </div>\r\n "}}});
-            
+            fluid.engage.initComponentWithLocalData("fluid.engage.artifactView", ".flc-artifact");
         </script>
     </body>
 </html>
\ No newline at end of file
Index: components/browse/data/demoData.json
===================================================================
--- components/browse/data/demoData.json	(revision 9650)
+++ components/browse/data/demoData.json	(working copy)
@@ -1,74 +1 @@
-{
-    categories: [
-        {
-            name: "Category 1",
-            items: [
-                    {
-                        target: "../../navigationList/images/Artifacts-.jpg",
-                        image: "../../navigationList/images/Artifacts-.jpg",
-                        title: "Title 1",
-                        description: "Description 1"
-                    },
-                    {
-                        target: "../../navigationList/images/Snuffbox.jpg",
-                        image: "../../navigationList/images/Snuffbox.jpg",
-                        title: "Title 2",
-                        description: "Description 2"
-                    },
-                    {
-                        target: "../../navigationList/images/Snuffbox.jpg",
-                        image: "../../navigationList/images/Snuffbox.jpg",
-                        title: "Title 3",
-                        description: "Description 3"
-                    }
-                ]
-            
-        },
-        {
-            name: "Category 2",
-            items: [
-                    {
-                        target: "../../navigationList/images/Artifacts-.jpg",
-                        image: "../../navigationList/images/Artifacts-.jpg",
-                        title: "Title 1",
-                        description: "Description 1"
-                    },
-                    {
-                        target: "../../navigationList/images/Snuffbox.jpg",
-                        image: "../../navigationList/images/Snuffbox.jpg",
-                        title: "Title 2",
-                        description: "Description 2"
-                    },
-                    {
-                        target: "../../navigationList/images/Snuffbox.jpg",
-                        image: "../../navigationList/images/Snuffbox.jpg",
-                        title: "Title 3",
-                        description: "Description 3"
-                    }
-                ]
-        },
-        {
-            name: "Category 3",
-            items: [
-                    {
-                        target: "../../navigationList/images/Artifacts-.jpg",
-                        image: "../../navigationList/images/Artifacts-.jpg",
-                        title: "Title 1",
-                        description: "Description 1"
-                    },
-                    {
-                        target: "../../navigationList/images/Snuffbox.jpg",
-                        image: "../../navigationList/images/Snuffbox.jpg",
-                        title: "Title 2",
-                        description: "Description 2"
-                    },
-                    {
-                        target: "../../navigationList/images/Snuffbox.jpg",
-                        image: "../../navigationList/images/Snuffbox.jpg",
-                        title: "Title 3",
-                        description: "Description 3"
-                    }
-                ]
-        }
-    ]
-}
\ No newline at end of file
+{"showHeaderForFirstCategory":false,"model":{"categories":[{"name":"currentCategory","items":[{"isCurrent":true,"url":"../exhibitions/view.html?db=mccord_exhibitions&id=55&lang=en","imageUrl":"http://www.mccord-museum.qc.ca/expositions_doc/images/thumbnail/irish.jpg","title":"Being Irish O'Quebec","description":"The exhibition is extended until October 11, 2010."},{"isCurrent":true,"url":"../exhibitions/view.html?db=mccord_exhibitions&id=60&lang=en","imageUrl":"http://www.mccord-museum.qc.ca/expositions_doc/images/thumbnail/jewishpainters.jpg","title":"Jewish Painters of Montreal: Witnesses of Their Time, 1930-1948","description":"From January 29 to May 2, 2010"},{"isCurrent":true,"url":"../exhibitions/view.html?db=mccord_exhibitions&id=4&lang=en","imageUrl":"http://www.mccord-museum.qc.ca/expositions_doc/images/thumbnail/simply.jpg","title":"Simply Montréal: Glimpses of a Unique City","description":"Permanent exhibition"}]},{"name":"upcomingCategory","items":[{"isCurrent":false,"url":"about.html?db=mccord_exhibitions&id=57&lang=en","imageUrl":"http://www.mccord-museum.qc.ca/expositions_doc/images/x-small/Wathahine2_bandeau.jpg","title":"Wathahine - Photographs of Aboriginal Women by Nance Ackerman","description":"From March 10, 2010 to May 15, 2011"}]}],"title":"title"},"showToggle":false,"useCabinet":true,"cabinet":{"options":{"startOpen":true,"selectors":{"openByDefault":".flc-cabinet-drawer"}}},"strings":{"categoryHeader":"Upcoming (%size)","title":"Exhibitions"}}
\ No newline at end of file
Index: components/cabinet/html/Cabinet.html
===================================================================
--- components/cabinet/html/Cabinet.html	(revision 9650)
+++ components/cabinet/html/Cabinet.html	(working copy)
@@ -22,7 +22,8 @@
         <script type="text/javascript" src="../../../../fluid-infusion/src/webapp/framework/core/js/DataBinding.js"></script>
         <script type="text/javascript" src="../../../../fluid-infusion/src/webapp/framework/renderer/js/fluidParser.js"></script>
         <script type="text/javascript" src="../../../../fluid-infusion/src/webapp/framework/renderer/js/fluidRenderer.js"></script>
-        <script type="text/javascript" src="../../../../fluid-infusion/src/webapp/lib/fastXmlPull/js/fastXmlPull.js"></script>  
+        <script type="text/javascript" src="../../../../fluid-infusion/src/webapp/lib/fastXmlPull/js/fastXmlPull.js"></script>
+        <script type="text/javascript" src="../../../../fluid-engage-core/framework/js/engageRenderUtils.js"></script>  
         <script type="text/javascript" src="../../navigationList/js/NavigationList.js"></script> 
         <script type="text/javascript" src="../js/Cabinet.js"></script>
     </head>
Index: components/catalogue/data/demoData.json
===================================================================
--- components/catalogue/data/demoData.json	(revision 0)
+++ components/catalogue/data/demoData.json	(revision 0)
@@ -0,0 +1 @@
+{"model":{"title":"Simply Montréal: Glimpses of a Unique City","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&lang=en","numArtifacts":"506","themes":[{"title":"Surviving Winter - Brrrr!","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&sectionID=01&lang=en","numArtifacts":"12","artifacts":[{"description":"Wm. Notman & Son","showBadge":false,"title":"Stormy day, St. Catherine Street, Montreal, QC, 1901","image":"http://www.mccord-museum.qc.ca/ThumbView/v3449.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=VIEW-3449&lang=en"},{"description":"1845","showBadge":false,"title":"Travels in North America with Geological Observations on the United States, Canada, and Nova Scotia","image":"http://www.mccord-museum.qc.ca/ThumbView/RB-0576-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=RB-0576&lang=en"},{"description":"Arthur Lablanc","showBadge":false,"title":"Shovel","image":"http://www.mccord-museum.qc.ca/ThumbView/M22431-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M22431&lang=en"},{"description":"1842","showBadge":false,"title":"From Charles Lyell to John Samuel McCord about the barometrical height of Mount Royal","image":"http://www.mccord-museum.qc.ca/ThumbView/P001-D12_36-820.11-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=P001-D12_36-820.11&lang=en"}]},{"title":"Surviving Winter - Cozy Mittens, Winterproof Walls","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&sectionID=02&lang=en","numArtifacts":"31","artifacts":[{"description":"Anonyme - Anonymous","showBadge":false,"title":"Belt","image":"http://www.mccord-museum.qc.ca/ThumbView/ME982.568-P2.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=ME982.568&lang=en"},{"description":"1890-1900","showBadge":false,"title":"Stove model","image":"http://www.mccord-museum.qc.ca/ThumbView/1638.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M992.101.194.1-12&lang=en"},{"description":"About 1825","showBadge":false,"title":"Stove","image":"http://www.mccord-museum.qc.ca/ThumbView/0822.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M24632.1-6&lang=en"},{"description":"1900-1925","showBadge":false,"title":"Man's winter overcoat","image":"http://www.mccord-museum.qc.ca/ThumbView/M993.94.2-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M993.94.2&lang=en"}]},{"title":"Surviving Winter - Montreal, Winter City","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&sectionID=03&lang=en","numArtifacts":"25","artifacts":[{"description":"","showBadge":false,"title":"Gloves","image":"http://www.mccord-museum.qc.ca/ThumbView/M969.15.129.1-2-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M969.15.129.1-2&lang=en"},{"description":"Wm. Notman & Son","showBadge":false,"title":"Sherbrooke Street in winter, Montreal, QC, 1896","image":"http://www.mccord-museum.qc.ca/ThumbView/v2801.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=VIEW-2801&lang=en"},{"description":"About 1930","showBadge":false,"title":"Muff","image":"http://www.mccord-museum.qc.ca/ThumbView/M976.18.10-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M976.18.10&lang=en"},{"description":"H. B.","showBadge":false,"title":"Charles Lumkin Half-Way House, Côte-des-Neiges, 1885","image":"http://www.mccord-museum.qc.ca/ThumbView/5453.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M971.73&lang=en"}]},{"title":"Enjoyment - From Cricket to Arm-wrestling","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&sectionID=10&lang=en","numArtifacts":"27","artifacts":[{"description":"Notman & Sandham","showBadge":false,"title":"Curling on the St. Lawrence, Montreal, QC, composite, 1878","image":"http://www.mccord-museum.qc.ca/ThumbView/II48781.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=II-48781&lang=en"},{"description":"Wm. Notman & Son","showBadge":false,"title":"Polo players at racetrack, Montreal, QC, 1900","image":"http://www.mccord-museum.qc.ca/ThumbView/v8787.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=VIEW-8787&lang=en"},{"description":"Brentwood Sportswear","showBadge":false,"title":"Mans' cabana set","image":"http://www.mccord-museum.qc.ca/ThumbView/M973.46.5.1-2-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M973.46.5.1-2&lang=en"},{"description":"1875-1900","showBadge":false,"title":"Sash","image":"http://www.mccord-museum.qc.ca/ThumbView/M985.187.1-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M985.187.1&lang=en"}]},{"title":"Enjoyment - Open-air City","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&sectionID=11&lang=en","numArtifacts":"78","artifacts":[{"description":"1928-1929","showBadge":false,"title":"Program of the 1928-1929 Season of the Winter Club, Montreal","image":"http://www.mccord-museum.qc.ca/ThumbView/C069_C,174.1-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=C069_C.174.1&lang=en"},{"description":"1996","showBadge":false,"title":"Salmon fly","image":"http://www.mccord-museum.qc.ca/ThumbView/M2005.109.8-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M2005.109.8&lang=en"},{"description":"1870","showBadge":false,"title":"Constitution and By - Laws of the Montreal Snow Shoe Club, established 1843","image":"http://www.mccord-museum.qc.ca/ThumbView/C069_D,97.1-P2.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M5627&lang=en"},{"description":"Ken Anger","showBadge":false,"title":"Decoy, duck - Mallard","image":"http://www.mccord-museum.qc.ca/ThumbView/M2001.26.101-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M2001.26.101&lang=en"}]},{"title":"Enjoyment - A Swinging City","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&sectionID=12&lang=en","numArtifacts":"37","artifacts":[{"description":"1880-1900","showBadge":false,"title":"Bottle","image":"http://www.mccord-museum.qc.ca/ThumbView/M994X.2.79-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M994X.2.79&lang=en"},{"description":"1940-1950","showBadge":false,"title":"Necklace","image":"http://www.mccord-museum.qc.ca/ThumbView/M988.70.14.1-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M988.70.14.1&lang=en"},{"description":"Jacques Fath","showBadge":false,"title":"Evening dress","image":"http://www.mccord-museum.qc.ca/ThumbView/M967.29.4.1-2-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M967.29.4.1-2&lang=en"},{"description":"Toronto Lithographing Co. Ltd.","showBadge":false,"title":"Fine Old Rye. Bottled by Alex. Elliott","image":"http://www.mccord-museum.qc.ca/ThumbView/M999.70.20-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M999.70.20&lang=en"}]},{"title":"Prospering -They Came from the Sea","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&sectionID=07&lang=en","numArtifacts":"62","artifacts":[{"description":"Anonyme - Anonymous","showBadge":false,"title":"Necklace","image":"http://www.mccord-museum.qc.ca/ThumbView/5667.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M998X.3.4&lang=en"},{"description":"Anonyme - Anonymous","showBadge":false,"title":"Spiked tomahawk","image":"http://www.mccord-museum.qc.ca/ThumbView/M2151-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M2151&lang=en"},{"description":"Anonyme - Anonymous","showBadge":false,"title":"Bag","image":"http://www.mccord-museum.qc.ca/ThumbView/M12528-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M12528&lang=en"},{"description":"Donald Hill","showBadge":false,"title":"Portrait of Charles Jean-Baptiste Chaboillez, (1736-1808)","image":"http://www.mccord-museum.qc.ca/ThumbView/5837.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M1588&lang=en"}]},{"title":"Prospering - City of Promise, Land of Trade","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&sectionID=08&lang=en","numArtifacts":"81","artifacts":[{"description":"Louis Marx & Co. Inc.","showBadge":false,"title":"Chair, toy","image":"http://www.mccord-museum.qc.ca/ThumbView/M974.82.54.29-31-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M974.82.54.30&lang=en"},{"description":"William Henry Bartlett (1809-1854)","showBadge":false,"title":"Doll platter","image":"http://www.mccord-museum.qc.ca/ThumbView/M997.56.1.10-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M997.56.1.10&lang=en"},{"description":"Louis Marx & Co. Inc.","showBadge":false,"title":"Piano, toy","image":"http://www.mccord-museum.qc.ca/ThumbView/M974.82.54.5-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M974.82.54.5&lang=en"},{"description":"Wooton Desk Company","showBadge":false,"title":"Wooton desk","image":"http://www.mccord-museum.qc.ca/ThumbView/M988.103.1.1-53.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M988.103.1.1-53&lang=en"}]},{"title":"Prospering - The Highs and Lows of an Imperial Jewel","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&sectionID=09&lang=en","numArtifacts":"48","artifacts":[{"description":"1829","showBadge":false,"title":"Pocket watch","image":"http://www.mccord-museum.qc.ca/ThumbView/M993X.1.1-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M993X.1.1&lang=en"},{"description":"About 1850-1875","showBadge":false,"title":"Pocket watch","image":"http://www.mccord-museum.qc.ca/ThumbView/M993X.1.2-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M993X.1.2&lang=en"},{"description":"A. W. C. CO.","showBadge":false,"title":"Pocket watch","image":"http://www.mccord-museum.qc.ca/ThumbView/M989.158.1.1-3-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M989.158.1.1-3&lang=en"},{"description":"1890-1910","showBadge":false,"title":"Spittoon","image":"http://www.mccord-museum.qc.ca/ThumbView/M998.14.5.16-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M998.14.5.16&lang=en"}]},{"title":"Different Cultures Meet - Alliances and Passions","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&sectionID=06&lang=en","numArtifacts":"57","artifacts":[{"description":"1800-1900","showBadge":false,"title":"Rolling pin","image":"http://www.mccord-museum.qc.ca/ThumbView/M22006-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M22006&lang=en"},{"description":"1900-1933","showBadge":false,"title":"Cup, toy","image":"http://www.mccord-museum.qc.ca/ThumbView/M2000.41.160.8-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M2000.41.160.8&lang=en"},{"description":"1919?","showBadge":false,"title":"Slippers","image":"http://www.mccord-museum.qc.ca/ThumbView/M2007.139.2.1-2-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M2007.139.2.1-2&lang=en"},{"description":"Patent Package Co.","showBadge":false,"title":"Spice box","image":"http://www.mccord-museum.qc.ca/ThumbView/M974.61.1.2A-B-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M974.61.1.2A-B&lang=en"}]},{"title":"Different Cultures Meet - Living Together","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&sectionID=05&lang=en","numArtifacts":"18","artifacts":[{"description":"Anonyme - Anonymous","showBadge":false,"title":"Root club","image":"http://www.mccord-museum.qc.ca/ThumbView/ME966.175-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=ME966.175&lang=en"},{"description":"Anonyme - Anonymous","showBadge":false,"title":"Powder horn","image":"http://www.mccord-museum.qc.ca/ThumbView/M234.1-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M234.1&lang=en"},{"description":"","showBadge":false,"title":"Cannonball","image":"http://www.mccord-museum.qc.ca/ThumbView/M993X.2.4-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M993X.2.4&lang=en"},{"description":"John Mare (attribué à / attributed to)","showBadge":false,"title":"Rene-Ovide Hertel de Rouville, 1720-1792","image":"http://www.mccord-museum.qc.ca/ThumbView/M966.62.2-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M966.62.2&lang=en"}]},{"title":"Different Cultures Meet - A Northern Mosaic","allArtifactsViewURL":"browse.html?db=mccord_exhibitions&exhibitID=4&sectionID=04&lang=en","numArtifacts":"30","artifacts":[{"description":"Ernest Lloyd","showBadge":false,"title":"Portrait of Miss Marion Tomlison","image":"http://www.mccord-museum.qc.ca/ThumbView/M970.84-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M970.84&lang=en"},{"description":"D. N. Inglis","showBadge":false,"title":"Mrs. Ernest (Mary) Stuart","image":"http://www.mccord-museum.qc.ca/ThumbView/M2002.104.2-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M2002.104.2&lang=en"},{"description":"William Notman (1826-1891)","showBadge":false,"title":"Mrs. J. Henry Joseph, Montreal, QC, 1869","image":"http://www.mccord-museum.qc.ca/ThumbView/I-38462.1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=I-38462.1&lang=en"},{"description":"John Bell-Smith","showBadge":false,"title":"Portrait of Alfred La Rocque","image":"http://www.mccord-museum.qc.ca/ThumbView/M994.65.2-P1.jpg","target":"../artifacts/view.html?db=mccord&accessNumber=M994.65.2&lang=en"}]}]}}
\ No newline at end of file
Index: components/exhibition/data/demoData.json
===================================================================
--- components/exhibition/data/demoData.json	(revision 9650)
+++ components/exhibition/data/demoData.json	(working copy)
@@ -1,21 +1 @@
-{
-    "title": "eSpace",
-    "isCurrent": "yes",
-    "displayDate": "July 22, 2009 to January 10, 2010",
-    "endDate": "2010-01-10",
-    "imageURL": "../../navigationList/images/Artifacts-.jpg",
-    "shortDescription": "This installation brings together two different yet intimately linked universes.",
-    "introduction": "This installation brings together two different yet intimately linked universes: the real and the imaginary. Objects that are reflections or sometimes symbols of these two &quot;spaces&quot; appear side by side, grouped according to the themes of exploration and the conquest of space.",
-    "content": "In 1969, an American astronaut took the first step on the Moon. On the 40th anniversary of this remarkable event, we invite you to enter eSpace. This exhibition brings together two different yet intimately linked universes: the real and the imaginary. A rarely before seen selection of objects, toys, cartoons and an original space suit from the Smithsonian National Air and Space Museum of Washington will spark the imagination of young and old alike. Interactive terminals and video excerpts also come together to make of eSpace. a truly unique experience.",
-    "catalogueSize": 172,
-    "cataloguePreview": [{
-        "media": true,
-        "title": "Thermometer",
-        "image": "../../navigationList/images/Snuffbox.jpg"
-    }, {
-        "title": "Barometer",
-        "image": "../../navigationList/images/Snuffbox.jpg"
-    }
-    ]
-}
-    
+{"model":{"isCurrent":true,"id":"4","title":"Simply Montréal: Glimpses of a Unique City","displayDate":"Permanent exhibition","endDate":"2020-12-31","image":"http://www.mccord-museum.qc.ca/expositions_doc/images/thumbnail/simply.jpg","introduction":"<p>\nBy turns dazzling and dark, dignified and frivolous, steamy-hot and icy-cold, Montreal - city of a thousand spires, crossroads of a continent - casts its eternal spell. Like a tune that lingers in the mind, its history speaks to the hearts of all: Montrealers, people experiencing its charm for the first time, and those who just keep coming back. The McCord Museum's permanent exhibition, entitled <i><b>Simply Montréal</b></i>, offers myriad glimpses of this unique city and immerse visitors into the very heart of the rich and varied experience it offers.\n</p>\n<p>\nAn array of First Nations objects, full of symbolism and emotion; a selection of extraordinary photographs by the renowned Canadian photographer William Notman; a variety of sports equipment and charming toys; a series of splendid gowns and outfits worn by illustrious Montrealers - over <b>800 objects</b> from the McCord's famous collection will bring the great Montreal adventure to life.\n</p>\n<p>\nAccented with interactive installations and enveloped in evocative atmospheres, <i><b>Simply Montréal</b></i> is an invitation to people of all ages to steep themselves in the city, surround themselves with its sounds and sensations - even to brave an authentic \"made in Montreal\" snowstorm!\n</p>","catalogueSize":"506","shortDescription":"Immerse yourself into the very heart of the rich and varied experience this city offers.","cataloguePreview":[{"target":"../artifacts/view.html?db=mccord&accessNumber=M994.47.3.1-4&lang=en","image":"http://www.mccord-museum.qc.ca/ThumbView/M994.47.3.1-4-P1.jpg","media":false,"title":"Syphon"},{"target":"../artifacts/view.html?db=mccord&accessNumber=II-120280&lang=en","image":"http://www.mccord-museum.qc.ca/ThumbView/ii120280.jpg","media":false,"title":"Mrs. Sang Kee's group, Montreal, QC, 1897"},{"target":"../artifacts/view.html?db=mccord&accessNumber=M1314&lang=en","image":"http://www.mccord-museum.qc.ca/ThumbView/5118.jpg","media":false,"title":"Rifle"},{"target":"../artifacts/view.html?db=mccord&accessNumber=M996X.2.871.1-2&lang=en","image":"http://www.mccord-museum.qc.ca/ThumbView/M996X.2.871.1-2-P1.jpg","media":false,"title":"Ice skates"}],"catalogueLink":"../catalogue/view.html?db=mccord_exhibitions&id=4&lang=en","aboutLink":"about.html?db=mccord_exhibitions&id=4&lang=en","guestbookLink":"../guestbook/guestbook.html?db=mccord_exhibitions&type=exhibition&id=Simply+Montr%C3%A9al%3A+Glimpses+of+a+Unique+City&lang=en"},"guestbook":{"options":{"model":{"comments":[{"_id":"4c9c3a70b8c2de014f3af7771df89f52","_rev":"2-f9a36034840a5f018a1984d55f64c9f0","text":"is this bug fixed?","date":"2010-03-03T14:25:29.000Z","authorId":"78ef6ad3f39646cc91628ffe32ae5b10","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City","abuseReported":{"41fe99ef52e5bc926244934b7643e3ce":true}}],"totalComments":24},"strings":{"addNote":"Add Note","delete":"Delete","reportAbuse":"Report Abuse","abuseReported":"Abuse reported. Pending moderator review","cancel":"Cancel","submit":"Submit","commentEntry":"Comment Entry","title":"Guestbook for This Exhibition"},"addNoteTarget":"../guestbook/comment.html?type=exhibition&id=Simply+Montr%C3%A9al%3A+Glimpses+of+a+Unique+City&db=mccord&lang=en","postURL":"../guestbook/comment.json?db=mccord","locale":"en","templateSource":"\r\n        <div class=\"flc-guestbook-container fl-guestbook\" >\r\n                        <!-- Navigation Bar and Header -->\r\n            <div class=\"flc-navigationBar fl-navbar fl-col-mixed\">\r\n                <!-- Back button -->\r\n                <div class=\"fl-col-fixed fl-force-left\">\r\n                    <a class=\"flc-navigationBar-back fl-button fl-backButton\" href=\"#\">\r\n                        <img class=\"fl-button-inner fl-button-icon\" src=\"../../../../fluid-engage-core/shared/images/back.png\" alt=\"Go back\"/>\r\n                    </a>\r\n                </div>\r\n                <!-- Home button -->\r\n                <div class=\"fl-col-fixed fl-force-left\">\r\n                    <a class=\"flc-navigationBar-home fl-button\" href=\"#\">\r\n                        <img class=\"fl-button-inner fl-button-icon\" src=\"../../../../fluid-engage-core/shared/images/home.png\" alt=\"Go home\"/>\r\n                    </a>\r\n                </div>\r\n                <!-- Page header -->\r\n                <h1 class=\"flc-guestbook-title fl-navbar-title fl-col-flex\">Guestbook for This Exhibition</h1>\r\n            </div>\r\n            \r\n            <div class=\"flc-guestbook-addnote fl-guestbook-addnote\">\r\n               <div class=\"fl-centered\">\r\n                   <a class=\"flc-guestbook-addnote-control\" href=\"comment.html\">\r\n                       <label for=\"fl-addnote\" class=\"flc-guestbook-addnote-text fl-guestbook-title\">Add a note</label>\r\n                       <span id=\"fl-addnote\" class=\"fl-guestbook-addnote-control\"></span>\r\n                   </a>\r\n               </div>\r\n            </div>\r\n            <div class=\"flc-guestbook-comment-cell fl-guestbook-comment-cell\">\r\n              <div class=\"fl-guestbook-header fl-push\">\r\n                <span class=\"flc-guestbook-author fl-guestbook-author fl-guestbook-slash-after\">Robert Brown</span>\r\n                <span class=\"flc-guestbook-location fl-guestbook-location fl-guestbook-slash-after\">Washington, DC</span>\r\n                <span class=\"flc-guestbook-date fl-guestbook-date\">July 16, 2009</span>\r\n              </div>\r\n                <span class=\"flc-guestbook-text fl-guestbook-text fl-push\">I had such an amazing time at this\r\n                exhibit! Really loved the red sleigh especially. I had one just like it growing up</span>\r\n              <div class=\"fl-push\"> </div>\r\n              <div class=\"fl-guestbook-actions fl-force-right\">\r\n                <a class=\"flc-guestbook-action fl-guestbook-action\">REPORT ABUSE</a>\r\n              </div>\r\n              <div class=\"fl-push\"> </div>\r\n            </div>\r\n        </div>\r\n        "}}}
\ No newline at end of file
Index: components/exhibition/html/about.html
===================================================================
--- components/exhibition/html/about.html	(revision 9650)
+++ components/exhibition/html/about.html	(working copy)
@@ -26,7 +26,7 @@
         <script type="text/javascript" src="../../../../fluid-engage-core/framework/js/engageRenderUtils.js"></script>
         <script type="text/javascript" src="../../../../fluid-engage-core/components/navigationBar/js/NavigationBar.js"></script>
         <script type="text/javascript" src="../../../../fluid-engage-core/components/exhibition/js/ExhibitionView.js"></script>
-        <script type="text/javascript" src="../../../../fluid-engage-core/framework/js/loadData.js"></script>
+        <script type="text/javascript" src="../../../../fluid-engage-core/framework/js/loadData.js" rsf:id="scr=ignore"></script>
     </head>   
     <body class="fl-theme-iphone">
         <div class="flc-exhibition-container">
Index: components/exhibition/html/view.html
===================================================================
--- components/exhibition/html/view.html	(revision 9650)
+++ components/exhibition/html/view.html	(working copy)
@@ -121,14 +121,7 @@
            The markup for the guestbook template is inserted here when run from the server.
         </div>
         <script id="flc-initBlock" type="text/javascript">
-            fluid.engage.initComponentWithLocalData("fluid.engage.exhibitionView", ".flc-exhibition-container", 
-                { guestbook: {
-                    type: "fluid.engage.guestbook", 
-                    options: {templateSource: fluid.kettle.fetchTemplateSection("../../guestbook/html/guestbook.html").data,
-                              model: fluid.kettle.operateUrl("../../guestbook/data/demoData.json", JSON.parse, {async: false}).data
-                             }
-                             }
-                    });
+            fluid.engage.initComponentWithLocalData("fluid.engage.exhibitionView", ".flc-exhibition-container");
         </script>
     </body>
 </html>
\ No newline at end of file
Index: components/guestbook/data/demoData.json
===================================================================
--- components/guestbook/data/demoData.json	(revision 9650)
+++ components/guestbook/data/demoData.json	(working copy)
@@ -1,26 +1 @@
-{
-"ownId": "catt",
-"comments": [
-{
-"authorId": "rb269",
-"author": "Robert Brown",
-"location": "Washington, DC",
-"date": "2009-07-16T12:15:07Z",
-"text": "I had such an amazing time at this exhibit! Really loved the red sleigh especially. I had one just like it growing up",
-},
-{
-"authorId": "jo236",
-"author": "Jamie Orange",
-"location": "Montreal, QC",
-"date": "2009-07-12T17:22:15Z",
-"text": "Quisque sed adipiscing tellus. Nulla facilisi. Sed vel eros vei FELLIS imperdiet varius vehicula nec turpis.",
-"abuseReported": {} 
-},
-{
-"authorId": "catt",
-"author": "anonymous",
-"date": "2009-05-01T22:13:00Z",
-"text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque eget massa at nulla scelerisque pretium. Proin arcu lorem!",
-}
-]
-}
\ No newline at end of file
+{"model":{"comments":[{"_id":"4c9c3a70b8c2de014f3af7771df89f52","_rev":"2-f9a36034840a5f018a1984d55f64c9f0","text":"is this bug fixed?","date":"2010-03-03T14:25:29.000Z","authorId":"78ef6ad3f39646cc91628ffe32ae5b10","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City","abuseReported":{"41fe99ef52e5bc926244934b7643e3ce":true}},{"_id":"f4a7c01b023ff996327e3dbb555f320b","_rev":"1-e2d8df13d0c1dbf010677c322358f849","text":"test","date":"2010-03-03T14:23:49.000Z","authorId":"78ef6ad3f39646cc91628ffe32ae5b10","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"5f100909099501ccabeca13a56f728c4","_rev":"1-73325269816e5ad0831ad56d80e82a10","text":"test","date":"2010-03-03T14:03:49.000Z","authorId":"5b3a4aafad98f3cdf13fd7e00f353b8a","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"5bee8f8b9f0e92cc84de7cd2602a33e6","_rev":"1-8969e61c9a33921dea435c40b5d52312","text":"foozball","date":"2010-03-03T13:52:20.000Z","authorId":"5b3a4aafad98f3cdf13fd7e00f353b8a","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"b01182096497b4f4e72846587e67a148","_rev":"1-476009bbc63b130c900ceb81f8493a9d","text":"fbkdch","date":"2010-03-03T10:45:24.000Z","authorId":"3575741b2925734583f6df284ad7fa2a","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"85b94ebb287f7824e07169d29cb5e36a","_rev":"1-389321b3dff5b6e9e8517fd0fe37175f","text":"hi!","date":"2010-03-02T16:55:25.000Z","authorId":"fb5ba4176bebe04a695a1edccad40eeb","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"c942f5f067b01e392ae7b7c1c3f03754","_rev":"2-9ccc285005e6b61db98dde496768126c","text":"test","date":"2010-03-02T15:30:47.000Z","authorId":"8e72a1959d474d3096412a78530e30dc","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City","abuseReported":{"8c0826e60c83c95f52437075e8a8e7c3":true}},{"_id":"53da4599148f478b4dabdbe61aad6867","_rev":"1-ed05e0eb657c2da46f269969ea7681c7","text":"I'm at the foot warmer exhibit, #06","date":"2010-03-02T14:33:02.000Z","authorId":"1a128015864c2771a8f8bfdbf9b29d60","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"9ac4fe2199604e123bd4f55e4f6d2576","_rev":"1-005726858aaa78fdd7454ebdfec1a867","text":"a note","date":"2010-03-02T11:07:42.000Z","authorId":"27a91cc06b663b2ce87a7807ae6a42ec","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"57cfce364de92434e87dfa96b1df1e59","_rev":"1-ac6aab17611b033ab4f0d665f8a8822f","text":"hola","date":"2010-03-01T12:29:49.000Z","authorId":"34a8d1e769ff969108514592b9f13537","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"f41faa33b516a3c94ba7b85e9da8a4e9","_rev":"1-326be22c0e7d844d89498e4534641eae","text":"","date":"2010-03-01T12:28:29.000Z","authorId":"433ac8530f82de253c5103b14d3431a1","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"72f77250a76ccfd82e7c138e5f82a69e","_rev":"1-5482a64a67e0aa227d4ce8d04fc92559","text":"","date":"2010-03-01T12:21:47.000Z","authorId":"433ac8530f82de253c5103b14d3431a1","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"e552e953736fb1a22149a0dac89d2be1","_rev":"1-b0092adeb18ebe5542232d4ba9340b42","text":"","date":"2010-03-01T12:12:01.000Z","authorId":"433ac8530f82de253c5103b14d3431a1","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"13fdec17cb36333d57c000510d891ec0","_rev":"1-cf28bfe77608af07c3dd6e4d4857e65f","text":"","date":"2010-03-01T12:06:06.000Z","authorId":"433ac8530f82de253c5103b14d3431a1","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"8d5273f1a3ea0c6ecbe19cec3c6aff30","_rev":"1-97f214ea728e480190eec81bd136354a","text":"","date":"2010-03-01T12:04:07.000Z","authorId":"433ac8530f82de253c5103b14d3431a1","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"d509ff0171cf2d282af930ffbe2556eb","_rev":"1-36c1303f231db8c6204ecb31505a674e","text":"","date":"2010-03-01T12:03:34.000Z","authorId":"433ac8530f82de253c5103b14d3431a1","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"1bad39b7d83e05bfc3445b559c85c9e4","_rev":"1-4fd5fc123f7d2cb32ff2bbe83ef2b186","text":"I like the skates.","date":"2010-03-01T12:01:13.000Z","authorId":"433ac8530f82de253c5103b14d3431a1","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"4532b4f2b5a1a399c82d04b5bccb2344","_rev":"1-ed331999116a4c1c7c52bd6b70c63a59","text":"test","date":"2010-03-01T12:00:37.000Z","authorId":"433ac8530f82de253c5103b14d3431a1","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"8d9976c85c4830e20acb64d94ebf97f3","_rev":"1-5913a9ebf0dc98a4b9fdccae23a5b4e0","text":"not the end of the world","date":"2010-03-01T11:36:03.000Z","authorId":"433ac8530f82de253c5103b14d3431a1","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"07ddb5eae5c64d5b65213e5251969d39","_rev":"1-ffbf11d6643eed91c30e8bf829867cb1","text":"","date":"2010-02-23T10:48:49.000Z","authorId":"dbe1d5a130cd376f190ee71a9f318fa4","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City"},{"_id":"05ad11555786b3e05d501d583611af9a","_rev":"2-1a591df4d669b9c7bd91c7bb4d5982d3","text":"Ffgh","date":"2010-02-22T16:33:40.000Z","authorId":"bb434c8e4c4a740adc9ae752c84034f2","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City","abuseReported":{"c54edc30c19ce8b6e22682b2ecdc61f2":true}},{"_id":"83509f0a9897c64e9373b2751c5f0404","_rev":"2-1a144f8dc59b796542fb6cd5c38cb93c","text":"Cats are us","date":"2010-02-19T10:52:37.000Z","authorId":"8753a26e5e0daf1f68d8456aa27d15e9","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City","abuseReported":{"bb434c8e4c4a740adc9ae752c84034f2":true}},{"_id":"cc5c8b7b197891e5fedf7617fc03ca85","_rev":"2-40d4bc39770a7ccf9457724c69cdacdc","text":"test","date":"2010-02-19T09:51:53.000Z","authorId":"db53d3bacd4686134aca59daad95f719","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City","abuseReported":{"c54edc30c19ce8b6e22682b2ecdc61f2":true}},{"_id":"966875eff0c3549b422b1a16bed72433","_rev":"2-35294f38da241bdbbd2897f9c4bbd1c6","text":"cats","date":"2010-02-18T21:52:03.000Z","authorId":"9a8dae88f899c76a74b76d403600109b","userName":"Anonymous","type":"fluid.guestbook.comment","authorName":"Anonymous CATT","targetType":"exhibition","targetId":"Simply Montréal: Glimpses of a Unique City","abuseReported":{"94e3d00e54e1059465cbcae6af85039b":true}}],"totalComments":24},"strings":{"addNote":"Add Note","delete":"Delete","reportAbuse":"Report Abuse","abuseReported":"Abuse reported. Pending moderator review","cancel":"Cancel","submit":"Submit","commentEntry":"Comment Entry","title":"Guestbook for This Exhibition"},"addNoteTarget":"../guestbook/comment.html?type=exhibition&id=Simply+Montr%C3%A9al%3A+Glimpses+of+a+Unique+City&db=mccord&lang=en","postURL":"../guestbook/comment.json?db=mccord","locale":"en"}
\ No newline at end of file
Index: components/home/js/Home.js
===================================================================
--- components/home/js/Home.js	(revision 9650)
+++ components/home/js/Home.js	(working copy)
@@ -69,7 +69,19 @@
         });    
     }
     
+    var updateLocalLinks = function (that) {
+        $.each(["englishLink", "frenchLink"], function (index, value) {
+            var link = that.locate(value);
+            var href = link.attr("href");
+            href = href.replace(/app/i, "html");
+            link.attr("href", href);
+        });
+    };
+    
     function setup(that) {
+        if (fluid.engage.url.isLocal()) {
+            updateLocalLinks(that);
+        }
         fluid.engage.quickI18N(that.dom, that.options.strings, that.options.labelI18N, "text");
         localizeAltText(that.dom, that.options.strings, that.options.iconI18N);
         
Index: components/myCollection/data/demoData.json
===================================================================
--- components/myCollection/data/demoData.json	(revision 9650)
+++ components/myCollection/data/demoData.json	(working copy)
@@ -1,44 +1 @@
-[
-    {
-        "id": "e3cbe2c26799ed621576a271a0def978",
-        "target": "view.html?q=ME986.104.3.1-2&db=mccord&uuid=c9949e514929699fd0991f46fd1e78f7",
-        "image": "http://eich.wsg.mcgill.ca/ThumbView/ME986.104.3.jpg",
-        "title": "No Title",
-        "description": "1910-1930, 20th century"
-    },
-    {
-        "id": "50016071055ed4973757b7ece1f63ced",
-        "target": "view.html?q=M956.5&db=mccord&uuid=c9949e514929699fd0991f46fd1e78f7",
-        "image": "http://eich.wsg.mcgill.ca/ThumbView/5090.jpg",
-        "title": "No Title",
-        "description": "1865-1900, 19th century"
-    },
-    {
-        "id": "f32010cf5814a9963c6d9290610a7371",
-        "target": "view.html?q=M999.70.23&db=mccord&uuid=c9949e514929699fd0991f46fd1e78f7",
-        "image": "http://eich.wsg.mcgill.ca/ThumbView/M999.70.23.jpg",
-        "title": "Castor Oil, National Drug & Chemical Co.of Can.Ltd.",
-        "description": "1900-1925, 20th century"
-    },
-    {
-        "id": "e5c9568bfc512e69dd94f8e25e932414",
-        "target": "view.html?q=ME892.10&db=mccord&uuid=c9949e514929699fd0991f46fd1e78f7",
-        "image": "http://eich.wsg.mcgill.ca/ThumbView/ME892.10-a.jpg",
-        "title": "No Title",
-        "description": "1800-1850, 19th century"
-    },
-    {
-        "id": "df6052db54a07236c0305ad5270f1ae9",
-        "target": "view.html?q=M980.37.2&db=mccord&uuid=c9949e514929699fd0991f46fd1e78f7",
-        "image": "http://eich.wsg.mcgill.ca/ThumbView/M980.37.2.jpg",
-        "title": "No Title",
-        "description": "1892, 19th century"
-    },
-   {
-        "id": "da4de044a34e150a328d1c42e96937e9",
-        "target": "view.html?q=M995.47.2.1-3&db=mccord&uuid=c9949e514929699fd0991f46fd1e78f7",
-        "image": "http://eich.wsg.mcgill.ca/ThumbView/M995.47.2.1-3.jpg",
-        "title": "No Title",
-        "description": "1905-1910, 20th century"
-    }
-]
+{"model":[{"id":"VIEW-1498","artifactId":"131431","target":"../artifacts/view.html?accessNumber=VIEW-1498&db=mccord&lang=en","image":"http://eich.wsg.mcgill.ca/largeimages/v1498.jpg","title":"Ice shove, Commissioners Street, Montreal, QC, about 1884","description":"About 1884, 19th century"},{"id":"M976.188.1","artifactId":"48378","target":"../artifacts/view.html?accessNumber=M976.188.1&db=mccord&lang=en","image":"http://eich.wsg.mcgill.ca/largeimages/M976.188.1-P5.jpg","title":"Winter Carnival, 1883, Hockey Trophy","description":"1883, 19th century"}],"strings":{}}
\ No newline at end of file
Index: components/navigationList/html/NavigationList.html
===================================================================
--- components/navigationList/html/NavigationList.html	(revision 9650)
+++ components/navigationList/html/NavigationList.html	(working copy)
@@ -17,7 +17,8 @@
         <script type="text/javascript" src="../../../../fluid-infusion/src/webapp/framework/core/js/DataBinding.js"></script>
         <script type="text/javascript" src="../../../../fluid-infusion/src/webapp/framework/renderer/js/fluidParser.js"></script>
         <script type="text/javascript" src="../../../../fluid-infusion/src/webapp/framework/renderer/js/fluidRenderer.js"></script>
-        <script type="text/javascript" src="../../../../fluid-infusion/src/webapp/lib/fastXmlPull/js/fastXmlPull.js"></script>  
+        <script type="text/javascript" src="../../../../fluid-infusion/src/webapp/lib/fastXmlPull/js/fastXmlPull.js"></script>
+        <script type="text/javascript" src="../../../../fluid-engage-core/framework/js/engageRenderUtils.js"></script>  
         <script type="text/javascript" src="../js/NavigationList.js"></script>
     </head>
     
Index: framework/js/URLUtilities.js
===================================================================
--- framework/js/URLUtilities.js	(revision 9650)
+++ framework/js/URLUtilities.js	(working copy)
@@ -78,6 +78,10 @@
         return (typeof(url) === "undefined") ? getLocation() : setLocation(url);
     };
     
+    fluid.engage.url.isLocal = function () {
+        return window.location.href.indexOf("file://") !== -1;
+    };
+    
     // This shim is here for future expansion of our backtracking support. For now,
     // We just rely on the browser's back functionality along with the jQuery hashchange plugin.
     fluid.engage.url.history = {
Index: framework/js/loadData.js
===================================================================
--- framework/js/loadData.js	(revision 9650)
+++ framework/js/loadData.js	(working copy)
@@ -41,7 +41,7 @@
             dataType: "json",
             success: function (data) {
                 if (data) {
-                    options.model = data;
+                    options = data;
                 }
                 fluid.invokeGlobalFunction(componentName, [container, options]);
             }
Index: framework/js/user.js
===================================================================
--- framework/js/user.js	(revision 9650)
+++ framework/js/user.js	(working copy)
@@ -105,7 +105,16 @@
     fluid.engage.user.currentUser = function () {
         // Check the cookie to see if we've already met the user and grab their model.
         // If not, create a new document for them.
-        // TODO: We should harmonize this cookie usage with the home screen. Why have two cookies?        
+        // TODO: We should harmonize this cookie usage with the home screen. Why have two cookies?
+        
+        // This bit checks if fluid.engage.user.createNewUser is used in kettleless environment
+        // and if so it returns a fixes user structure.
+        if (fluid.engage.url.isLocal()) {
+            var localUser = fluid.engage.user.createNewUser();
+            localUser._id = "localUserID";
+            return localUser;
+        }
+        
         var cookieId = fluid.engage.getCookie("engage.uuid");
         if (cookieId) {
             return fluid.engage.user.fetchUser(cookieId);
