Hi, I tried out the layout example, everything works excep I cannot pass attribute
to the layout-definition, I debug into LayoutrenderTag and LayoutDefinitionTag and saw that the page context attributes are set, but it is not available in the layout-defintion's content. The pageTitle is rendered as empty string. Any idea why? Thanks --- <%@ taglib prefix="str" uri="http://stripes.sourceforge.net/stripes.tld"%> <str:layout-render name="/layout.jsp" pageTilte="Home"> <str:layout-component name="main"> <div class="padding"> Main content here </div> </str:layout-component> <str:layout-component name="sidebar"> <div class="padding"> side bar </div> </str:layout-component> </str:layout-render> <!-- layout.jsp --> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib prefix="str" uri="http://stripes.sourceforge.net/stripes.tld"%> <str:layout-definition> <!-- adding this useBean does not help either --> <jsp:useBean id="pageTitle" class="java.lang.String"/> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>${pageTitle}:<%=pageContext.getAttribute("pageTitle") %></title> </head> <body> ${pageTitle} </body> </html> ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
