1. opensymphony
  2. webwork


webwork / docs / wikidocs / Sitemesh.html

        <title>WebWork 2 : SiteMesh</title>
	    <link rel="stylesheet" href="styles/site.css" type="text/css" />
        <META http-equiv="Content-Type" content="text/html; charset=UTF-8">	    

	    <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
			    <td valign="top" class="pagebody">
				    <div class="pageheader">
					    <span class="pagetitle">
                            WebWork 2 : SiteMesh
				    <div class="pagesubheading">
					    This page last changed on Jun 26, 2004 by <font color="#0050B2">mbogaert</font>.

				    <p class="paragraph">SiteMesh can be found at <a href="http://www.opensymphony.com/sitemesh" title="Visit page outside Confluence">&#104;ttp://www.opensymphony.com/sitemesh</a></p>Integrating WebWork with SiteMesh is amazingly simple: you don&#039;t have to do anything in fact. WebWork stores all its value stack information in the request attributes, meaning that if you wish to display data that is in the stack (or even the ActionContext) you can do so by using the normal tag libraries that come with WebWork. That&#039;s it!<p class="paragraph">One thing to note is when you want to pass a value from a decorated page to a decorator using the <b class="strong">&lt;ww:set&gt;</b> tag, you need to specify a scope (request, session, application) if the decorated page is invoked directly (not a result of an action).  By default if no action has been executed and no scope was specified, the set value will only availlable from the same PageContext.</p>

	    <table border="0" cellpadding="0" cellspacing="0" width="100%">
				<td height="12" background="border/border_bottom.gif"><img src="border/spacer.gif" width="1" height="1" border="0"/></td>
			    <td align="center"><font color="grey">Document generated by Confluence on Oct 15, 2004 02:04</font></td>