https://groups.google.com/d/forum/sitemesh3-usersSiteMesh 3 UsersSupport for SiteMesh 3 users.
<br>
<br>Please note, the first time you post, your message needs approval - this is to protect against the spammers. Be patient if your post doesn&#39;t appear right away.Google GroupsCorrado Alesso2014-11-06T01:44:52Zhttps://groups.google.com/d/topic/sitemesh3-users/BTqBDexzQjEPage truncation (Sitemesh 3, Tomcat 8)Hello all, I am experiencing a problem while porting my app from Tomcat 7 to Tomcat 8. The app is unchanged and the configuration of Tomcat is stock for both the versions. The problem manifests itself as a page truncation for html pages served by Sitemesh. The truncation occurs, for someJairo Junior2014-09-15T14:21:02Zhttps://groups.google.com/d/topic/sitemesh3-users/Ty2itucGwEsSItemesh3 and HTML5Hey, Is there any known problem with Sitemesh3 e HTML5? I'm trying to use it with both a decorator and a decorated page in HTML5. When I use in offline mode, the generated page is just fine, but when i use in my webapp, the decorated HTML presented is incomplete. I followed the exact steps of有限2014-09-03T22:59:10Zhttps://groups.google.com/d/topic/sitemesh3-users/IFbeAoD9Hk8Sitemesh3 : DivExtractingTagRuleBundle issue*in sitemesh3.xml, I added this:* <content-processor> <tag-rule-bundle class= *"org.sitemesh.content.tagrules.html.DivExtractingTagRuleBundle"* /> </content-processor> *in my html file:* <body> <div id="siteMeshJavaScript"> <script> $(function() { alert("Starting"); }); </script>mschipperheyn2014-04-23T17:57:11Zhttps://groups.google.com/d/topic/sitemesh3-users/A0_Jsb4vb7YHow to prevent HTML in TEXTAREA from being parsedhttp://stackoverflow.com/questions/2395686/how-to-prevent-sitemesh-from-parsing-html-in-textarea documents a way to prevent Sitemesh from parsing HTML contained in a textarea. I'm trying to find out how to achieve this with Sitemesh 3. Any suggestions? Kind regards, Marcfabrice....@gmail.com2014-02-17T14:24:15Zhttps://groups.google.com/d/topic/sitemesh3-users/BCGk1ScacxYsitemesh3 feature requestHello, Sitemesh3 introduce a new feature that I consider very useful : to be able to build offline website with sitemesh But in sitemesh3 there is a feature I used heavily on sitemesh2 that is missing : the ability to include some code fragment (from an other file) in a page : In sitemesh2,mschipperheyn2014-02-03T16:10:13Zhttps://groups.google.com/d/topic/sitemesh3-users/lDY_fBEAv4IWrong decorator selectedHi, I have two decorators <mapping path ="/*/??_??/account/**" decorator= "/WEB-INF/decorators/single_column.ftd"/> <mapping path ="/*/??_??/*/user/profile/edit/*/" decorator= "/WEB-INF/decorators/smallest_column.ftd"/> When I use the url /brasil/BR_pt/account/user/profile/edit/skill/, thePaulo Sérgio Medeiros2014-01-01T22:00:18Zhttps://groups.google.com/d/topic/sitemesh3-users/DZe2GQqjN8MSiteMesh missing documentation (advanced features)Hi folks, I was looking at the SiteMesh documentation and noticed that the whole "SiteMesh Bells and Whistles" section ( http://wiki.sitemesh.org/display/sitemesh/Learn+-+SiteMesh+Bells+and+Whistles) is missing. Is this documentation available anywhere else? Or it simply never existed?Amel Badaoui2013-08-13T14:37:35Zhttps://groups.google.com/d/topic/sitemesh3-users/mAmfy4QIAHwParser missed somethingHi, We have this stack trace in our console logs when rendering one of our decorators : SEVERE: Servlet.service() for servlet springmvc threw exception java.lang.AssertionError: Parser missed something. Please report this bug to SiteMesh team. at org.sitemesh.tagprocessor.TagTokenizer.pAshish Chudasama2013-05-28T11:18:10Zhttps://groups.google.com/d/topic/sitemesh3-users/mk1MYkrUNvQHow to create printable decorator using sitemesh3Hi Friends, Can you please help me how to implement printable decorator in sitemesh3 As in sitemesh 2 we do the following configuration <decorator-mappers> <mapper class="com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper"> <param name="decorator" value="printable" /> <paramAlfabeto2013-05-16T00:20:45Zhttps://groups.google.com/d/topic/sitemesh3-users/JSyr8p1ylLwMy contribution: struts2 with sitemesh3 implementationHello people Just write to give thanks to the people who develop sitemesh3. As reciprocity I published an example of sitemesh3 with struts2 in the following project: https://code.google.com/p/struts2-sitemesh3-example/ You know struts1 is death and now struts2 is the new standard. You canAravind N2013-03-21T20:46:40Zhttps://groups.google.com/d/topic/sitemesh3-users/aEjlijSt2Mksitemesh 3when is sitemesh 3 going to release an official version ? I see that the alpha-2 version was released 2 years ago.Mark Tombs2013-03-15T09:35:42Zhttps://groups.google.com/d/topic/sitemesh3-users/Kj4Om0koDsQusing getParameter in sitemesh3Hi, I have a site that works ok with sitemesh2, but I want some of the new functionality in sitemesh3 so I am trying it out. I am doing the following: On each decorated page I have a <meta name='menu' content='something'/> tag in the header. In the decorator I have navigation, and I am fetchingBryn Cooke2013-02-18T09:59:05Zhttps://groups.google.com/d/topic/sitemesh3-users/KjxbrtC0fFISitemesh3 custom propertiesHi I'm taking a look at sitemesh3 as it is one of the few templating frameworks that can deal with non XML markup which is ideal for html5. In the sitemesh3 documentation it says: "The *<sitemesh:write property='...'/>* tag will be rewritten by SiteMesh to include properties extracted from theStephan Kliche2012-12-12T19:58:33Zhttps://groups.google.com/d/topic/sitemesh3-users/-P0SyHlFPa4Excludes issue SiteMesh in an application with JAX-RS on GlassFishHi Group, I am using SiteMesh 3.0-alpha-2 in an application which also provides some REST endpoints using JAX-RS and it is running on GlassFish 3.1.2. In the application I defined a JAX-RS ApplicationConfig and mapped the endpoint to "/api": @ApplicationPath("/api") > > public class RestAppStephan Kliche2012-12-12T19:23:46Zhttps://groups.google.com/d/topic/sitemesh3-users/ry8db-Uto-AExcludes in a JAX-RS app on GlassfishHi Group, I am using SiteMesh in an application which also provides some JAX-RS restful endpoinds and I am testing it on Glassfish 3.1.2. The REST endpoint is mapped to the ApplicationPath "/api": @ApplicationPath("/api") > > public class RestApp extends Application { > > } > > And I have aBashar Saleh2012-11-29T13:00:32Zhttps://groups.google.com/d/topic/sitemesh3-users/Rz6D1PAMWzAProperty default valueIn Sitemesh 2, one used to be able to provide Sitemesh with a default value if a property was not found. How can this be done using sitemesh 3? For example, in Sitemesh 2: <decorator:getProperty property="..." [ *default*="..." ] [ writeEntireProperty="..." ]/> Any ideas?Bashar Saleh2012-11-29T12:51:17Zhttps://groups.google.com/d/topic/sitemesh3-users/Q0zKJv2E5LsDefault Property Values and Conditional ProcessingHello guys, In Sitemesh 2, one used to be able to set a default value for a property if not found, how is it done in sitemesh 3? Is there a way to change the decorator behavior based on the presence of a property? -BasharSansunS2012-11-25T17:59:30Zhttps://groups.google.com/d/topic/sitemesh3-users/ZfcNJadHZJoSitemesh2 and Struts2-JQuery-Plugin datepicker not showing calendar icon.Hi I am new to Sitemesh and Struts2-JQuery-Plugin. I have an web app that uses a Sitemesh 2.4.1 and Struts2-Core 2.2.3. Currently it uses Struts Tags for the input of text fields (eg: <s:textfield label="User Name" name="username" />. ). I wanted to add a date field using a date picker. I haveRamichetty Mahesh2012-11-15T06:51:01Zhttps://groups.google.com/d/topic/sitemesh3-users/9Qo57fidHawCMS integration using SitemeshDoes the Site Mesh Web frame work has the capability that it can be integrated with the CMS ( Content Manged System) The second thing is that the access to the appropriate HTML templates in which the content has to be loaded has to be done through the Web app that acts as an interceptor andShirish Padalkar2012-11-08T04:19:59Zhttps://groups.google.com/d/topic/sitemesh3-users/fkdI2SKs4xYParsing multiple head, body tags in document using Sitemesh 3Hi all, I have posted a question on StackOverflow about how to parse a document which can have duplicate head and body tags. http://stackoverflow.com/questions/13250730/multiple-body-tags-in-sitemesh-3 Can you guys have a look at it and try to answer? Thanks and regards, ShirishGunnar Hillert2012-10-12T05:32:05Zhttps://groups.google.com/d/topic/sitemesh3-users/NCPwAJHOVkQNew Milestone Release?Hi, It looks like there were a few critical issues fixed over the last few months. Any chance to maybe release a new milestone? Thanks! Cheers, GunnarCorrado Alesso2012-08-24T21:18:47Zhttps://groups.google.com/d/topic/sitemesh3-users/MgPUAqVwAsQTag propertiesHi all. I have very simple decorator <html> <head> <sitemesh:write property="head"/> </head> <body> <sitemesh:write property="body"/> </body> </html> and a content page <html> <head> </head> <body id="page1"> Content </body> </html> Notice the idgeorge2012-07-13T15:38:40Zhttps://groups.google.com/d/topic/sitemesh3-users/DsgAulIzeF8cant display "<=" on pageUsing sitemesh 2.4 and spring framework on our page's text field, if it contains "<=", then all characters after <= will be truncated, e.g., "123<=456" will be displayed as "123". however, "1>2" , "1<2", and "1=>2" are all fine. I dont think its our code's problem, because the same jsp snippetSean Gilligan2012-07-03T05:50:07Zhttps://groups.google.com/d/topic/sitemesh3-users/1rvXlTpFkcwGradle hello.html Example on GitHubI forked the project on GitHub, added a "hello" (hello.html) example, and created a pull request. The fork is here: https://github.com/msgilligan/sitemesh3 The pull request is here: https://github.com/sitemesh/sitemesh3/pull/37 To run the example, just check it out and run: gradle jettyRunsirj2012-07-03T05:59:55Zhttps://groups.google.com/d/topic/sitemesh3-users/1-U4nbhExlgsitemesh 3 can't get session information when decorating the root context path of my webappI have a webapp using sitemesh3, here is the sitemesh3.xml: <sitemesh> <mapping> <path>/mystuff/*</path> <decorator>/WEB-INF/decorators/en-layouts/mystuff.jsp</decorator> <decorator>/WEB-INF/decorators/en-layouts/header.jsp</decorator> </mapping> <mapping> <path>/*</path> <decoratorIlyas Patel2012-06-11T11:12:46Zhttps://groups.google.com/d/topic/sitemesh3-users/epr4AaiSMKkHow could I unit test a custom decorator which extends AbstractDecoratorMapperI have created a new custom decorator which extends a AbstractDecoratorMapper. The new class calls methods in the abstract class using super. The problem I have is when trying to write the unit test, I'm not sure how to write a test as I would not know what SiteMesh passes to the init methods. IIlyas Patel2012-06-05T00:58:14Zhttps://groups.google.com/d/topic/sitemesh3-users/VFZe3ri1kNQNew custom decorator mapper still defaults to ConfigDecoratorMapper classI have created a custom decorator mapper and added to my sitemesh.xml file. When I view the println statements it still defaults to com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper class which I am also using but not from my new mapper. Looking through the SiteMesh code I couldn'tIlyas Patel2012-06-04T21:38:34Zhttps://groups.google.com/d/topic/sitemesh3-users/__esbm-_BRwIs it possible to use another decorator file for certain requests (Java based configuration)?I use SiteMesh 2 xml configuration to add specific headers and footers to a page depending on a URL (for our main site). I would like to now add a different header and footer if the HTTP Referer is within a specific list and I don’t want to use the decorators.xml we use for the main site. I amxtian2012-04-18T13:44:41Zhttps://groups.google.com/d/topic/sitemesh3-users/pr1US6OFRO8Need help investigating a malfunction on a production site (urgent!)I am on my second website release using sitemesh 3 (sitemesh-3.0-alpha-2) and I'm experiencing a weird behavior. If you go to the following site: http://www.artemide.com and reload the homepage, say, 20 times, you are likely to see a decorated empty page instead of the expected content. OpeningRamu2012-01-06T07:53:31Zhttps://groups.google.com/d/topic/sitemesh3-users/cHBtEMjvc4wSitemesh3 Beta releaseHi, We are using the sitemesh 2.x in our applications, we want to migrate the application to sitemesh 3.0 Can anyone let us know the tentative beta release for the sitemesh 3.0. Thanks & Regards Ramushiva2012-01-01T13:45:03Zhttps://groups.google.com/d/topic/sitemesh3-users/SGWuTjf1C2YFreemarker in Sitemesh3Hi All, I'm going to in integration sitemesh 3 with spring mvc 3.1 and freemarker. I want to import spring.ftl macro into decorator.ftl. Please let me know how can i do this. Thanks shivantha,Shantanu Kumar2011-12-23T11:39:13Zhttps://groups.google.com/d/topic/sitemesh3-users/kNaYyV2nVjISitemesh 3 for JVM languagesHello, I have few questions about suitability of Sitemesh 3 for JVM languages: 1. Is SiteMesh 3 strongly tied to Java? How easy it might be for users of JVM languages (eg. Clojure, Groovy etc.) to use Sitemesh 3? For example, a requirement to pass a classname for Sitemesh to instantiate mayGuillaume MAKA2011-12-14T17:19:08Zhttps://groups.google.com/d/topic/sitemesh3-users/uM70MkZd8y0How to exclude css mime type ?I've a problem with the sitemesh 2.4 when I try to retrieve local css stylesheet in my JSP files with the <rel /> tag. Safari say me it requested with the correct text/css mime-type but get text/html response in place. My CSS declaration: <link type="text/css" rel="stylesheet" href="/MyApp/assets/Hasif S2011-11-18T05:31:58Zhttps://groups.google.com/d/topic/sitemesh3-users/Zfw89GFw7kkHow to the set paths and decorators dynamicallyHi, I am configuring SiteMesh using Java. My of some my pages are accessed by string concatenation to the URL. So the url changes dynamically. Different string to the URL directs users to different pages with different decorators. So how can this be done. Here is code for my filter class. publicMartin Röbert2011-11-14T19:10:07Zhttps://groups.google.com/d/topic/sitemesh3-users/WBziwdfn_e0SItemesh3 and SpringMobileHi there, I would like to Sitmesh together with the device resolution of Spring Mobile. An Interceptor (DeviceResolverHandlerInterceptor) is responsible for the device recognition and Sitemesh should do the beautification ;) My problem: If I want to obtain the current device from DeviceUtilsanthi sri2011-11-11T00:19:15Zhttps://groups.google.com/d/topic/sitemesh3-users/u_ViowGJRxQReg: Sending notifications to AdminHi, I am new to Open Symphony, am trying to send mail notification to the admin depeding on the node creation. Could you please share your views on this. Thanks, SanthiKasper2011-11-08T08:33:45Zhttps://groups.google.com/d/topic/sitemesh3-users/A6-EOA6_4M8Different decorators for the same URLHi there I need to specify one decorator for a given page, when the user is logged in, and one decorator for the user that is not logged in? What is important is that the URL does not change. So if my URL is: www.mysite.com/myname It should stay the same, but be decorated differently whetherstan...@yahoo.fr2011-11-08T18:55:31Zhttps://groups.google.com/d/topic/sitemesh3-users/1KFow6Gm0tQproblem with sitemesh about struts2jquery gridi have a problem with my grid because i use sitemesh decorator pattern my grid pager is very ugly when i use sitemesh decorator. how can i fix it? i erase all about size font on my master decorator page and my grid look so ugly and when i exclude my page what have a grid . my grid isCorrado Alesso2011-11-01T01:41:56Zhttps://groups.google.com/d/topic/sitemesh3-users/XJOpEhoAlcUMeta tag decoratorHi, in sitemesh 2 I was able to configure a PageDecoratorMapper and have the decorator be choosen on the meta tag defined in the page. For example this: <meta name="decorator" content="error"> will render the page using the "error" decorator. Is this still possbile in sitemesh 3? Thanks,Reza2011-09-23T09:00:39Zhttps://groups.google.com/d/topic/sitemesh3-users/fy_cMBC_4VkModel Data in decoratorHi , I have a problem with using model data in decorator. I have a set of Menu object that I inject into every ModelAndView using postHandle method of a customised HandlerInterceptor. It is fine so far and I am able to render menus in the decorator. However, I need to somehow indicate theAeonofTime2011-09-14T18:40:00Zhttps://groups.google.com/d/topic/sitemesh3-users/5iGfaIhmOxcIs this project active?Is Sitemesh an active project or is the project abandonware or on its last legs? Can anyone tell me what is going on with this project?Corrado Alesso2011-09-18T16:53:31Zhttps://groups.google.com/d/topic/sitemesh3-users/0_kQn-VqWT4SiteMesh 3 TaglibHello everyone, I'm an avid user of sitemesh 2, I've jsut discovered sitemesh 3 and I want to give it a try on a real project even if it's alpha... But I have a problem with the tag library definition. In sitemesh 2 I had <%@ taglib prefix="decorator" uri="http://www.opensymphony.com/Rafael Barrera Oro2011-09-12T19:07:39Zhttps://groups.google.com/d/topic/sitemesh3-users/wjkMeAq7QE4Struts2 + Sitemesh exclude problemHello! I have the following project structure: project src main webapp jsp nodecorate WEB-INF decorators main.jsp decorators.xmlReza2011-08-04T10:20:06Zhttps://groups.google.com/d/topic/sitemesh3-users/CDEP5dtfDlwTags in SitemeshI am using Sitemesh 2.4 with Thymeleaf and Thymeleaf does not allow < % taglib for declaring new tags. How can I specify this using xmlns attribute for html tag? When I try this pages are not decorated. The below is raising an exception in Thymeleaf <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0shiva2011-07-29T02:47:33Zhttps://groups.google.com/d/topic/sitemesh3-users/knxnqTJCDqkFreemarkerDecorator in Sitemesh3I'm going to do spring 3 mvc with freemarker and sitemesh 3, In sitemesh2 has freemarker decorator, Please let me know how I can use this.MJ KIM2011-07-28T06:24:27Zhttps://groups.google.com/d/topic/sitemesh3-users/ocHV6a1Ras4Please let us know how to register decorators excludesI have created a spring mvc project. My folder structure is as follows: webapp ㄴdecorators ㄴ main.jsp ㄴ resources ㄴ WEB-INF ㄴ views ㄴ main ㄴ today_main.jsp ㄴ decorators.xml IMarkus Döring (GBIF)2011-07-26T15:38:03Zhttps://groups.google.com/d/topic/sitemesh3-users/E0F15uZ0ALcsitemesh3 with jetty7 or tomcat7 hangsHi, Ive been trying to upgrade a simple struts2 application to sitemesh3 with no luck. Im running the application with maven jetty and it hangs forever. When I stop jetty I can see the following: at java.lang.Object.wait(Native Method) at org.eclipse.jetty.io.nio.SelectChanneRajaMohanReddy2011-07-26T11:27:05Zhttps://groups.google.com/d/topic/sitemesh3-users/wtTDYXbAhcYdecorator is not applying for particular jsp page?<?xml version="1.0" encoding="UTF-8"?> <sitemesh> <mapping path ="/jsp/xyz.jsp" decorator="/decorators/ logodecorator.jsp" /> </sitemesh> Iam going to apply the logo from the decorator.But the decorator itself is not applying for that particular jsp. Any mistakes in my code.Please advicestan...@yahoo.fr2011-07-13T14:10:08Zhttps://groups.google.com/d/topic/sitemesh3-users/gAAKPfMw_GIresize my windows my menu move on the topHi people i have a problem wih organisation about my windows on the left i have my menu i put code menu on my decorator page. Its working good if the windows display on the normal size but when you resize the windows my menu is on the top how to stabilize this menu :/ i put my code : mystan...@yahoo.fr2011-07-08T01:40:57Zhttps://groups.google.com/d/topic/sitemesh3-users/DcxhD7GExYYproblem exclude file with sitemesh3hi sitemesh develloper i need some help i want to exclude one file but i dont sucess :/ sitemesh working good all my file is decoratinf my sitemesh3.xml <sitemesh> <excludes> <pattern>/index.jsp</pattern></excludes> <mapping path="/*" decorator="/decorator/decorator.jsp"></mapping>