Modified: websites/production/tapestry/content/dom.html ============================================================================== --- websites/production/tapestry/content/dom.html (original) +++ websites/production/tapestry/content/dom.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><h1 id="DOM-DocumentObjectModel">Document Object Model</h1><p>Tapestry 5 takes a very different approach to markup generation than most other frameworks. Components render out a Document Object Model (DOM). This is a tree of nodes representing elements, attributes and text within a document.</p><p>Once all rendering is complete, the DOM tree is streamed to the client.</p><p>The <a class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/MarkupWriter.html">MarkupWriter</a> interface allows the majority of component code to treat the generation of output as a stream. In reality, MarkupWriter is more like a cursor into the DOM tree, and the DOM may ultimately be operated upon in a random access manner (rather than the serial (or buffered) approach used in Tapestry 4).</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div style="float:right; width:30%"><div class="confluence-information-macro confluence-information-macro-information"><p class="title conf-macro-render">A Note For Tapestry 4 Users</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>In Tapestry 4, markup generation was based on generating a character stream. At the lowest level, the fact that the output was in a markup format such as HTML, XHTML or WML was not known. Higher levels, such as the IMarkupWriter interface (and its implementations) provide the concept of markup generation: elements, attributes, start tags and end tags. This technique breaks down when two elements are peers, and not in a parent/child relationship. For example, the rendering of a FieldLabel component is affected by its companion TextField component. Handling these cases in Tapestry 4 required a number of kludges and special cases.</p></div></div></div> + <div id="ConfluenceContent"><h1 id="DOM-DocumentObjectModel">Document Object Model</h1><p>Tapestry 5 takes a very different approach to markup generation than most other frameworks. Components render out a Document Object Model (DOM). This is a tree of nodes representing elements, attributes and text within a document.</p><p>Once all rendering is complete, the DOM tree is streamed to the client.</p><p>The <a class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/MarkupWriter.html">MarkupWriter</a> interface allows the majority of component code to treat the generation of output as a stream. In reality, MarkupWriter is more like a cursor into the DOM tree, and the DOM may ultimately be operated upon in a random access manner (rather than the serial (or buffered) approach used in Tapestry 4).</p><div style="float:right; width:30%"><div class="confluence-information-macro confluence-information-macro-information"><p class ="title conf-macro-render">A Note For Tapestry 4 Users</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>In Tapestry 4, markup generation was based on generating a character stream. At the lowest level, the fact that the output was in a markup format such as HTML, XHTML or WML was not known. Higher levels, such as the IMarkupWriter interface (and its implementations) provide the concept of markup generation: elements, attributes, start tags and end tags. This technique breaks down when two elements are peers, and not in a parent/child relationship. For example, the rendering of a FieldLabel component is affected by its companion TextField component. Handling these cases in Tapestry 4 required a number of kludges and special cases.</p></div></div></div> <h1 id="DOM-DOMClasses">DOM Classes</h1><p>The implementation of this DOM is part of Tapestry, despite the fact that several third-party alternatives exist. This represents a desire to limit dependencies for the framework, but also the Tapestry DOM is streamlined for initial creation, and a limited amount of subsequent modification. Most DOM implementations are more sophisticated than needed for Tapestry, with greater support for querying (often using XPath) and manipulation.</p><p>Once the Document object is created, you don't directly create new DOM objects; instead, each DOM object includes methods that create new sub-objects. This primarily applies to the Element class, which can be a container of text, comments and other elements.</p><h2 id="DOM-Document">Document</h2><p>The <a class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/dom/Document.html">Document</a> object represents the an entire document, which is to say, an entire response t o be sent to the client.</p><p>Documents will have a single root element. The newRootElement() method is used to create the root element for the document.</p><p>The Document class also has methods for setting and getting the DTD, adding comments and text, and finding an element based on a path of element names.</p><h2 id="DOM-Element">Element</h2><p>An <a class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/dom/Element.html">Element</a> object represents an element of the document. Elements may have attributes, and they may themselves contain other elements, as well as text and comments.</p><p>The Element class has methods for searching, traversing and manipulating the DOM after it is built.</p><h1 id="DOM-DOMManipulation/Rewriting">DOM Manipulation/Rewriting</h1><p>A powerful feature of Tapestry 5 is the ability to manipulate the structure and ordering of the DOM after it has been rendered. For example, this can be used to alter the output of a component that may otherwise be outside of your control.</p><p>DOM manipulation is surprisingly fast, too.</p><p>Methods on Node (and Element, which is a subclass of Node) allow an existing node to be moved relative to an Element. Nodes may be moved before or after the Element, or may be moved inside an Element at the top (the first child) or the bottom (the last child).</p><p>Element's <code>attribute</code> method adds a new attribute name/value pair to the Element. If an existing attribute with the specified name already exists, then then the new value is ignored. This has implications when different pieces of code try to add attributes to an Element ... the first to add an attribute will "win". Conversely, the <code>forceAttributes</code> method can be used to update or remove an attribute.</p><p>In addition, the children of an Element may be removed or a Node (and all of its children) removed entirely.</p><p>Finally, an Element may "pop": the Element is removed and replaced w ith its children.</p><h1 id="DOM-MarkupWriter">MarkupWriter</h1><p>The <a class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/MarkupWriter.html">MarkupWriter interface</a> allows the structure of the document to be built while maintaining a streaming metaphor.</p><h2 id="DOM-element()andend()methods">element() and end() methods</h2><p>Calls to element() create a new element within the tree, and may provide attributes for the new element as well. Calls to write(), writeln() and writef() write text nodes within the current element. <em>Every call to element() should be matched with a call to end()</em>, which is used to move the current node up one level.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
Modified: websites/production/tapestry/content/downloadboxes-v2.html ============================================================================== --- websites/production/tapestry/content/downloadboxes-v2.html (original) +++ websites/production/tapestry/content/downloadboxes-v2.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><div class="row" id="downloadbox"> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="col-md-4" id="download"><p><a class="external-link" href="http://tapestry.apache.org/download.html"><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" draggable="false" src="downloadboxes-v2.data/download.png"></span></a></p><ul><li><a class="external-link" href="http://tapestry.apache.org/download.html">Download Tapestry</a></li></ul></div> + <div id="ConfluenceContent"><div class="row" id="downloadbox"><div class="col-md-4" id="download"><p><a class="external-link" href="http://tapestry.apache.org/download.html"><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" draggable="false" src="downloadboxes-v2.data/download.png"></span></a></p><ul><li><a class="external-link" href="http://tapestry.apache.org/download.html">Download Tapestry</a></li></ul></div> <div class="col-md-4" id="plugins"><p> <a class="external-link" href="http://tapestry.apache.org/modules.html"><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" draggable="false" src="downloadboxes-v2.data/plugins.png"></span></a></p><ul><li><a class="external-link" href="https://github.com/got5/tapestry5-jquery" rel="nofollow">Tapestry5-jQuery</a></li><li><a class="external-link" href="http://www.tynamo.org/tapestry-security+guide/" rel="nofollow">Tapestry-security</a></li><li><a class="external-link" href="https://github.com/uklance/tapestry-cometd" rel="nofollow">Tapestry-comentd</a></li></ul><p><a class="external-link" href="http://tapestry.apache.org/modules.html">More modules and components...</a></p></div> Modified: websites/production/tapestry/content/enum-parameter-recipe.html ============================================================================== --- websites/production/tapestry/content/enum-parameter-recipe.html (original) +++ websites/production/tapestry/content/enum-parameter-recipe.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/error-page-recipe.html ============================================================================== --- websites/production/tapestry/content/error-page-recipe.html (original) +++ websites/production/tapestry/content/error-page-recipe.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p></p><h1 id="ErrorPageRecipe-ServingTapestryPagesasServletErrorPages">Serving Tapestry Pages as Servlet Error Pages</h1><p>Do you want to dress up your site and use a snazzy Tapestry page instead of the default 404 error page? Using modern servlet containers, this is a snap!</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right; margin: 1em" title="Related Articles"> + <div id="ConfluenceContent"><p></p><h1 id="ErrorPageRecipe-ServingTapestryPagesasServletErrorPages">Serving Tapestry Pages as Servlet Error Pages</h1><p>Do you want to dress up your site and use a snazzy Tapestry page instead of the default 404 error page? Using modern servlet containers, this is a snap!</p><div class="aui-label" style="float:right; margin: 1em" title="Related Articles"> Modified: websites/production/tapestry/content/exploring-the-project.html ============================================================================== --- websites/production/tapestry/content/exploring-the-project.html (original) +++ websites/production/tapestry/content/exploring-the-project.html Fri Feb 28 18:18:17 2025 @@ -334,21 +334,11 @@ public class Index <pre><code class="language-xml"><html t:type="layout" title="tutorial1 Index" p:sidebarTitle="Framework Version" ... </code></pre> -</div></div><p>This binds two parameters, <code>title</code> and <code>sidebarTitle</code>, of the Layout component to the literal strings "tutorial1 Index" and "Framework Version", respectively.</p><p>The Layout component will actually provide the bulk of the HTML ultimately sent to the browser; we'll look at its template in a later chapter. The point is, the page's template is integrated into the Layout component's template. The following diagram shows how parameters passed to the Layout component end up rendered in the final page:</p><p> - - - - -<span class="gliffy-container" id="gliffy-container-24346949-2854" data-fullwidth="913" data-size="S" data-ceoid="24188263" data-edit="${diagramEditLink.getLinkUrl()}" data-full="${diagramZoomLink.getLinkUrl()}" data-filename="Templates and Parameters"> - - <map id="gliffy-map-24346949-7427" name="gliffy-map-24346949-7427"></map> - - <img class="gliffy-image gliffy-image-border" id="gliffy-image-24346949-2854" width="304" height="300" data-full-width="913" data-full-height="901" src="https://cwiki.apache.org/confluence/download/attachments/24188263/Templates%20and%20Parameters.png?version=2&modificationDate=1371888025000&api=v2" alt="Templates and Parameters" usemap="#gliffy-map-24346949-7427"> - - <map class="gliffy-dynamic" id="gliffy-dynamic-map-24346949-2854" name="gliffy-dynamic-map-24346949-2854"></map> -</span> - - </p><div class="aui-message shadowed closeable"><p class="title"><span class="gliffy-aui-icon"></span>ERROR</p><p>Gliffy is unlicensed. Please <strong><a href="https://cwiki.apache.org/confluence/plugins/servlet/upm#manage/com.gliffy.integration.confluence">install a license</a></strong> to draw diagrams in your wiki.</p></div> +</div></div><p>This binds two parameters, <code>title</code> and <code>sidebarTitle</code>, of the Layout component to the literal strings "tutorial1 Index" and "Framework Version", respectively.</p><p>The Layout component will actually provide the bulk of the HTML ultimately sent to the browser; we'll look at its template in a later chapter. The point is, the page's template is integrated into the Layout component's template. The following diagram shows how parameters passed to the Layout component end up rendered in the final page:</p><div class="aui-message error shadowed"> + <p class="title"><span class="gliffy-aui-icon"></span>Gliffy Macro Error</p> + <p>An error occurred while rendering this diagram. Please contact your administrator.</p> + <ul><li><strong>Name:</strong> Templates and Parameters</li></ul> +</div> <p>The interesting point here (and this is an advanced concept in Tapestry, one we'll return to later) is that we can pass a chunk of the Index.tml template to the Layout component as the <code>sidebar</code> parameter. That's what the tapestry:parameter namespace (the "p:" prefix) is for; the element name is matched against a parameter of the component and the entire block of the template is passed into the Layout component ... which decides where, inside <em>its</em> template, that block gets rendered.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> <pre><code class="language-xml"><t:eventlink event="complete" class="btn btn-default">Complete&raquo;</t:eventlink> </code></pre> Modified: websites/production/tapestry/content/forms-and-form-components-faq.html ============================================================================== --- websites/production/tapestry/content/forms-and-form-components-faq.html (original) +++ websites/production/tapestry/content/forms-and-form-components-faq.html Fri Feb 28 18:18:17 2025 @@ -155,11 +155,11 @@ <!-- /// Content Start --> <div id="content"> <div id="ConfluenceContent"><h1 id="FormsandFormComponentsFAQ-FormsandFormComponents">Forms and Form Components</h1><p>Main article: <a href="forms-and-validation.html">Forms and Validation</a></p><h2 id="FormsandFormComponentsFAQ-Contents">Contents</h2><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1740593825227 {padding: 0px;} -div.rbtoc1740593825227 ul {margin-left: 0px;} -div.rbtoc1740593825227 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1740766625914 {padding: 0px;} +div.rbtoc1740766625914 ul {margin-left: 0px;} +div.rbtoc1740766625914 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1740593825227"> +/*]]>*/</style></p><div class="toc-macro rbtoc1740766625914"> <ul class="toc-indentation"><li><a href="#FormsandFormComponentsFAQ-Whatisthet:formdatahiddenfieldfor?">What is the t:formdata hidden field for?</a></li><li><a href="#FormsandFormComponentsFAQ-HowdoIchangethelabelforafieldonthefly?">How do I change the label for a field on the fly?</a></li><li><a href="#FormsandFormComponentsFAQ-Tapestryfocusesonthewrongfieldinmyform,howdoIfixthat?">Tapestry focuses on the wrong field in my form, how do I fix that?</a></li></ul> </div><h2 id="FormsandFormComponentsFAQ-Whatisthet:formdatahiddenfieldfor?">What is the <code>t:formdata</code> hidden field for?</h2><p>In Tapestry, rendering a form can be a complicated process; inside the body of the Form component are many of field components: TextField, Select, TextArea, and so forth. Each of these must pull data out of your data model and convert it to the string form used inside the client web browser. In addition, JavaScript to support client-side validation must be generated. This can be further complicated by the use of Loop and If components, or made really complicated by the use of Block (to render portions of other pages: this is what the BeanEditForm component does).</p><p>Along the way, the Form is generating unique form control names for each field component, as it renders.</p><p>When the client-side Form is submitted, an event is triggered on the server-side Form component. It now needs to locate each component, in turn, inform the component of its control name, and allow the component to read the corresponding query parameter. The component then converts the client-side string back into a server-side value and performs validations before updating the data model.</p><p>That's where <code>t:formdata</code> comes in. While components are rendering, they are using the FormSupport environmental object to record callbacks:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>FormSupport.java (partial)</b></div><div class="codeContent panelContent pdl"> <pre><code class="language-java">public interface FormSupport extends ClientElement Modified: websites/production/tapestry/content/forms-and-validation.html ============================================================================== --- websites/production/tapestry/content/forms-and-validation.html (original) +++ websites/production/tapestry/content/forms-and-validation.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p><strong>Forms</strong> are the traditional way for most web applications to gather significant information from the user. Whether it's a search form, a login screen or a multi-page registration wizard, Tapestry uses standard HTML forms, with HTTP POST actions by default. In addition, AJAX-based form submission is supported using <a href="ajax-and-zones.html">Zones</a>.</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p><strong>Forms</strong> are the traditional way for most web applications to gather significant information from the user. Whether it's a search form, a login screen or a multi-page registration wizard, Tapestry uses standard HTML forms, with HTTP POST actions by default. In addition, AJAX-based form submission is supported using <a href="ajax-and-zones.html">Zones</a>.</p><div class="aui-label" style="float:right" title="Related Articles"> @@ -207,11 +199,11 @@ <p></p><p>Tapestry provides support for creating and rendering forms, populating their fields, and validating user input. For simple cases, input validation is declarative, meaning you simply tell Tapestry what validations to apply to a given field, and it takes care of it on the server and (optionally) on the client as well. In addition, you can provide event handler methods in your page or component classes to handle more complex validation scenarios.</p><p>Finally, Tapestry not only makes it easy to present errors messages to the user, but it can also automatically highlight form fields when validation fails.</p><p><strong>Contents</strong></p><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1740593868287 {padding: 0px;} -div.rbtoc1740593868287 ul {margin-left: 0px;} -div.rbtoc1740593868287 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1740766668797 {padding: 0px;} +div.rbtoc1740766668797 ul {margin-left: 0px;} +div.rbtoc1740766668797 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1740593868287"> +/*]]>*/</style></p><div class="toc-macro rbtoc1740766668797"> <ul class="toc-indentation"><li>Related Articles</li></ul> <ul><li><a href="#FormsandValidation-TheFormComponent">The Form Component</a> <ul class="toc-indentation"><li><a href="#FormsandValidation-FormEvents">Form Events</a></li><li><a href="#FormsandValidation-HandlingEvents">Handling Events</a></li><li><a href="#FormsandValidation-TrackingValidationErrors">Tracking Validation Errors</a></li><li><a href="#FormsandValidation-StoringDataBetweenRequests">Storing Data Between Requests</a></li><li><a href="#FormsandValidation-ConfiguringFieldsandLabels">Configuring Fields and Labels</a></li></ul> Modified: websites/production/tapestry/content/frequently-asked-questions.html ============================================================================== --- websites/production/tapestry/content/frequently-asked-questions.html (original) +++ websites/production/tapestry/content/frequently-asked-questions.html Fri Feb 28 18:18:17 2025 @@ -156,14 +156,6 @@ <div id="content"> <div id="ConfluenceContent"><ul class="childpages-macro"><li><a href="general-questions.html">General Questions</a></li><li><a href="templating-and-markup-faq.html">Templating and Markup FAQ</a></li><li><a href="page-and-component-classes-faq.html">Page And Component Classes FAQ</a></li><li><a href="forms-and-form-components-faq.html">Forms and Form Components FAQ</a></li><li><a href="beaneditform-faq.html">BeanEditForm FAQ</a></li><li><a href="link-components-faq.html">Link Components FAQ</a></li><li><a href="component-events-faq.html">Component Events FAQ</a></li><li><a href="javascript-faq.html">JavaScript FAQ</a></li><li><a href="ajax-components-faq.html">Ajax Components FAQ</a></li><li><a href="injection-faq.html">Injection FAQ</a></li><li><a href="tapestry-inversion-of-control-faq.html">Tapestry Inversion of Control FAQ</a></li><li><a href="security-faq.html">Security FAQ</a></li><li><a href="integration-with-existing-applications.html">Integration with existing applications</a></li><li><a href="request-processing-faq.html">Request Processing FAQ</a></li><li><a href="limitations.html">Limitations</a></li><li><a href="specific-errors-faq.html">Specific Errors FAQ</a></li><li><a href="hibernate-support-faq.html">Hibernate Support FAQ</a></li><li><a href="maven-support-faq.html">Maven Support FAQ</a></li><li><a href="release-upgrade-faq.html">Release Upgrade FAQ</a></li></ul> -<p> - -</p><div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> </div> </div> <!-- /// Content End --> Modified: websites/production/tapestry/content/general-questions.html ============================================================================== --- websites/production/tapestry/content/general-questions.html (original) +++ websites/production/tapestry/content/general-questions.html Fri Feb 28 18:18:17 2025 @@ -155,11 +155,11 @@ <!-- /// Content Start --> <div id="content"> <div id="ConfluenceContent"><h1 id="GeneralQuestions-GeneralQuestions">General Questions</h1><h2 id="GeneralQuestions-Contents">Contents</h2><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1740593666249 {padding: 0px;} -div.rbtoc1740593666249 ul {margin-left: 0px;} -div.rbtoc1740593666249 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1740766466565 {padding: 0px;} +div.rbtoc1740766466565 ul {margin-left: 0px;} +div.rbtoc1740766466565 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1740593666249"> +/*]]>*/</style></p><div class="toc-macro rbtoc1740766466565"> <ul class="toc-indentation"><li><a href="#GeneralQuestions-HowdoIgetstartedwithTapestry?">How do I get started with Tapestry?</a></li><li><a href="#GeneralQuestions-WhydoesTapestryusePrototype(inversionsbefore5.4)?WhynotinsertfavoriteJavaScriptlibraryhere?">Why does Tapestry use Prototype (in versions before 5.4)? Why not insert favorite JavaScript library here?</a></li><li><a href="#GeneralQuestions-WhydoesTapestryhaveitsownInversionofControlContainer?WhynotSpringorGuice?">Why does Tapestry have its own Inversion of Control Container? Why not Spring or Guice?</a></li><li><a href="#GeneralQuestions-HowdoIupgradefromTapestry4toTapestry5?">How do I upgrade from Tapestry 4 to Tapestry 5?</a></li><li><a href="#GeneralQuestions-HowdoIupgradefromoneversionofTapestry5toanother?">How do I upgrade from one version of Tapestry 5 to another?</a></li><li><a href="#GeneralQuestions-WhyaretherebothRequestandHttpServletRequest?">Why are there both Request and HttpServletRequest?</a></li></ul> </div><h2 id="GeneralQuestions-HowdoIgetstartedwithTapestry?">How do I get started with Tapestry?</h2><p class="confluence-link">The easiest way to get started is to use <a class="external-link" href="http://maven.apache.org">Apache Maven</a> to create your initial project; Maven can use an <em>archetype</em> (a kind of project template) to create a bare-bones Tapestry application for you. See the <a href="getting-started.html">Getting Started</a> page for more details.</p><p>Even without Maven, Tapestry is quite easy to set up. You just need to <a href="general-questions.html">download</a> the binaries and setup your build to place them inside your WAR's WEB-INF/lib folder. The rest is just some one-time <a href="configuration.html">configuration of the web.xml deployment descriptor</a>.</p><h2 id="GeneralQuestions-WhydoesTapestryusePrototype(inversionsbefore5.4)?WhynotinsertfavoriteJavaScriptlibraryhere?">Why does Tapestry use Prototype (in versions before 5.4)? Why not <em>i nsert favorite JavaScript library here</em>?</h2><p>An important goal for Tapestry is seamless DHTML and Ajax integration. To serve that goal, it was important that the built in components be capable of Ajax operations, such as dynamically re-rendering parts of the page. Because of that, it made sense to bundle a well-known JavaScript library as part of Tapestry.</p><p>At the time (this would be 2006-ish), Prototype and Scriptaculous were well known and well documented, whereas jQuery was just getting started.</p><p>The intent has always been to make this aspect of Tapestry pluggable. Tapestry 5.4 includes the option of either Prototype or jQuery, and future versions of Tapestry will likely remove Prototype as an option..</p><h2 id="GeneralQuestions-WhydoesTapestryhaveitsownInversionofControlContainer?WhynotSpringorGuice?">Why does Tapestry have its own Inversion of Control Container? Why not Spring or Guice?</h2><p>An Inversion of Control Container is <em>the</em> key piece of Tape stry's infrastructure. It is absolutely necessary to create software as robust, performant and extensible as Tapestry.</p><p>Tapestry IoC includes a number of features that distinguish itself from other containers:</p><ul><li>Configured in code, not XML</li><li>Built-in extension mechanism for services: configurations and contributions</li><li>Built-in aspect oriented programming model (service decorations and advice)</li><li>Easy modularization</li><li>Best-of-breed exception reporting</li></ul><p>Because Tapestry is implemented on top of its IoC container, and because the container makes it easy to extend or replace any service inside the container, it is possible to make the small changes to Tapestry needed to customize it to any project's needs.</p><p>In addition – and this is critical – Tapestry allows 3rd party libraries to be built that fully participate in the configurability of Tapestry itself. This means that such libraries can be configured the same way T apestry itself is configured, and such libraries can also configure Tapestry itself. This <em>distributed configuration</em> requires an IOC container that fully supports such configurability.</p><h2 id="GeneralQuestions-HowdoIupgradefromTapestry4toTapestry5?">How do I upgrade from Tapestry 4 to Tapestry 5?</h2><p>There is no existing tool that supports upgrading from Tapestry 4 to Tapestry 5; Tapestry 5 is a complete rewrite.</p><p>Many of the basic concepts in Tapestry 4 are still present in Tapestry 5, but refactored, improved, streamlined, and simplified. The basic concept of pages, templates and components are largely the same. Other aspects, such as server-side event handling, is markedly different.</p><p>Tapestry 5 is designed so that it can live side-by-side in the same servlet as a Tapestry 4 app, without package namespace conflicts, sharing session data and common resources such as images and CSS. This means that you can gradually migrate a Tapestry 4 app to Tapestry 5 one page (or one portion of the app) at a time.</p><h2 id="GeneralQuestions-HowdoIupgradefromoneversionofTapestry5toanother?">How do I upgrade from one version of Tapestry 5 to another?</h2><p>Main Article: <a href="how-to-upgrade.html">How to Upgrade</a>.</p><p>A lot of effort goes into making an upgrade from one Tapestry 5 release to another go smoothly. In the general case, it is just a matter of updating the version number in your Maven <code>build.xml</code> or Gradle <code>build.gradle</code> file and executing the appropriate commands (e.g., <code>gradle idea</code> or <code>mvn eclipse:eclipse</code>) to bring your local workspace up to date with the latest binaries.</p><p>After changing dependencies, you should always perform a clean recompile of your application.</p><p>We make every effort to ensure backwards-compatibility. Tapestry is mostly coded in terms of interfaces; those interfaces are stable to a point: interfaces your code is expected to implement are usually complet ely frozen; interfaces your code is expected to invoke, such as the interfaces to IoC services, are stable, but may have new methods added in a release; existing methods are not changed.</p><p>In <em>rare</em> cases a choice is necessary between fixing bugs (or adding essential functionality) and maintaining complete backwards compatibility; in those cases, an incompatible change may be introduced. These are always discussed in detail in the <a href="release-notes.html">Release Notes</a> for the specific release. You should always read the release notes before attempting an upgrade, and always (really, <em>always</em>) be prepared to retest your application afterwards.</p><p>Note that you should be careful any time you make use of <strong>internal</strong> APIs (you can tell an API is internal by the package name, <code>org.apache.tapestry5.internal). </code>Internal APIs may change <em>at any time</em>; there's no guarantee of backwards compatibility. Please always check on th e documentation, or consult the user mailing list, to see if there's a stable, public alternative. If you do make use of internal APIs, be sure to get a discussion going so that your needs can be met in the future by a stable, public API.</p><h2 id="GeneralQuestions-WhyaretherebothRequestandHttpServletRequest?"><span style="color: rgb(83,145,38);">Why are there both Request and HttpServletRequest?</span></h2><p>Tapestry's Request interface is <em>very</em> close to the standard HttpServletRequest interface. It differs in a few ways, omitting some unneeded methods, and adding a couple of new methods (such as <code>isXHR()</code>), as well as changing how some existing methods operate. For example, <code>getParameterNames()</code> returns a sorted List of Strings; HttpServletRequest returns an Enumeration, which is a very dated approach.</p><p>However, the stronger reason for Request (and the related interfaces Response and Session) is to enable the support for Portlets at some point in the future. By writing code in terms of Tapestry's Request, and not HttpServletRequest, you can be assured that the same code will operate in both Servlet Tapestry and Portlet Tapestry.</p></div> </div> Modified: websites/production/tapestry/content/getting-started.html ============================================================================== --- websites/production/tapestry/content/getting-started.html (original) +++ websites/production/tapestry/content/getting-started.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/hibernate-core-conf.html ============================================================================== --- websites/production/tapestry/content/hibernate-core-conf.html (original) +++ websites/production/tapestry/content/hibernate-core-conf.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p><strong>Hibernate Configuration</strong> is handled by the Tapestry Hibernate Core module. This is done in a just-in-time manner, the first time a Hibernate Session is required.</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p><strong>Hibernate Configuration</strong> is handled by the Tapestry Hibernate Core module. This is done in a just-in-time manner, the first time a Hibernate Session is required.</p><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/hibernate-core.html ============================================================================== --- websites/production/tapestry/content/hibernate-core.html (original) +++ websites/production/tapestry/content/hibernate-core.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p><strong>Hibernate-Core </strong>is a Tapestry module that provides basic Hibernate support without dependencies on the Tapestry-core (the web framework part of Tapestry).</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p><strong>Hibernate-Core </strong>is a Tapestry module that provides basic Hibernate support without dependencies on the Tapestry-core (the web framework part of Tapestry).</p><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/hibernate-support-faq.html ============================================================================== --- websites/production/tapestry/content/hibernate-support-faq.html (original) +++ websites/production/tapestry/content/hibernate-support-faq.html Fri Feb 28 18:18:17 2025 @@ -155,11 +155,11 @@ <!-- /// Content Start --> <div id="content"> <div id="ConfluenceContent"><h1 id="HibernateSupportFAQ-HibernateSupport">Hibernate Support</h1><p>Main article: <a href="hibernate.html">Hibernate</a></p><h2 id="HibernateSupportFAQ-Contents">Contents</h2><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1740593780423 {padding: 0px;} -div.rbtoc1740593780423 ul {margin-left: 0px;} -div.rbtoc1740593780423 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1740766581294 {padding: 0px;} +div.rbtoc1740766581294 ul {margin-left: 0px;} +div.rbtoc1740766581294 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1740593780423"> +/*]]>*/</style></p><div class="toc-macro rbtoc1740766581294"> <ul class="toc-indentation"><li><a href="#HibernateSupportFAQ-HowdoIgetHibernatetostartupupwhentheapplicationstartsup,ratherthanlazilywiththefirstrequestfortheapplication?">How do I get Hibernate to startup up when the application starts up, rather than lazily with the first request for the application?</a></li></ul> </div><h2 id="HibernateSupportFAQ-HowdoIgetHibernatetostartupupwhentheapplicationstartsup,ratherthanlazilywiththefirstrequestfortheapplication?">How do I get Hibernate to startup up when the application starts up, rather than lazily with the first request for the application?</h2><p>This was a minor problem in 5.0; by 5.1 it is just a matter of overriding the configuration system <code>tapestry.hibernate-early-startup</code> to "true".</p></div> </div> Modified: websites/production/tapestry/content/hibernate-user-guide.html ============================================================================== --- websites/production/tapestry/content/hibernate-user-guide.html (original) +++ websites/production/tapestry/content/hibernate-user-guide.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p><em>This page describes functionality provided by the Tapestry-hibernate-core module, but the descriptions apply equally to the Tapestry-jpa module.</em></p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p><em>This page describes functionality provided by the Tapestry-hibernate-core module, but the descriptions apply equally to the Tapestry-jpa module.</em></p><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/hibernate.html ============================================================================== --- websites/production/tapestry/content/hibernate.html (original) +++ websites/production/tapestry/content/hibernate.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p>The <strong>Tapestry-hibernate </strong>module provides out-of-the-box support for using Hibernate 3 as the back end for normal CRUD style Tapestry applications.</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p>The <strong>Tapestry-hibernate </strong>module provides out-of-the-box support for using Hibernate 3 as the back end for normal CRUD style Tapestry applications.</p><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/https.html ============================================================================== --- websites/production/tapestry/content/https.html (original) +++ websites/production/tapestry/content/https.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><div class="confluence-information-macro confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>This page describes Tapestry's mechanism for automatically switching between HTTP and HTTPS URLs. With the <a class="external-link" href="https://en.wikipedia.org/wiki/HTTPS" rel="nofollow">recent trend</a> to have all web sites use HTTPS, you will likely want to disable this behavior. To do so, set the <a href="configuration.html">tapestry.secure-enabled</a> configuration symbol to <em>false</em> (counter-intuitively).</p></div></div><p>By default, Tapestry assumes your application will be primarily deployed as a standard web application, using HTTP (not HTTPS) as the primary protocol.</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right; margin: 1em" title="Related Articles"> + <div id="ConfluenceContent"><div class="confluence-information-macro confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>This page describes Tapestry's mechanism for automatically switching between HTTP and HTTPS URLs. With the <a class="external-link" href="https://en.wikipedia.org/wiki/HTTPS" rel="nofollow">recent trend</a> to have all web sites use HTTPS, you will likely want to disable this behavior. To do so, set the <a href="configuration.html">tapestry.secure-enabled</a> configuration symbol to <em>false</em> (counter-intuitively).</p></div></div><p>By default, Tapestry assumes your application will be primarily deployed as a standard web application, using HTTP (not HTTPS) as the primary protocol.</p><div class="aui-label" style="float:right; margin: 1em" title="Related Articles"> Modified: websites/production/tapestry/content/index.html ============================================================================== --- websites/production/tapestry/content/index.html (original) +++ websites/production/tapestry/content/index.html Fri Feb 28 18:18:17 2025 @@ -145,15 +145,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p></p><div class="row" id="top"> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="col-md-8 home-banner"><p><span class="confluence-embedded-file-wrapper confluence-embedded-manual-size"><img class="confluence-embedded-image" draggable="false" height="250" src="index.data/apache-tapestry-icontext-600.png"></span></p></div> + <div id="ConfluenceContent"><p></p><div class="row" id="top"><div class="col-md-8 home-banner"><p><span class="confluence-embedded-file-wrapper confluence-embedded-manual-size"><img class="confluence-embedded-image" draggable="false" height="250" src="index.data/apache-tapestry-icontext-600.png"></span></p></div> <div class="col-md-4" style="padding: 0 2em 2em"><p>A component-oriented framework for creating highly scalable web applications in Java.</p></div> Modified: websites/production/tapestry/content/indexv2-old.html ============================================================================== --- websites/production/tapestry/content/indexv2-old.html (original) +++ websites/production/tapestry/content/indexv2-old.html Fri Feb 28 18:18:17 2025 @@ -156,14 +156,6 @@ <div id="content"> <div id="ConfluenceContent"> <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> - - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> <style type="text/css" rel="preload"> .blogSurtitle { background: none repeat scroll 0 0 #569D2F; border: 2px solid #DDDDDD; color: #FFFFFF; margin: 1px 1px 10px; padding: 3px;}a.blogDate { color: #FFFFFF; }a.blogHeading { color: #569D2F; font-size: 14px; }#col p { text-align : justify; font-size : 11px; line-height : 1.2 !important } Modified: websites/production/tapestry/content/indexv2.html ============================================================================== --- websites/production/tapestry/content/indexv2.html (original) +++ websites/production/tapestry/content/indexv2.html Fri Feb 28 18:18:17 2025 @@ -146,14 +146,6 @@ <!-- /// Content Start --> <div id="content"> <div id="ConfluenceContent"> - - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> <style type="text/css" rel="preload"> a.blogDate { color: #FFFFFF; }a.blogHeading { color: #569D2F; font-size: 14px; }#col p { text-align : justify; font-size : 11px; line-height : 1.2 !important } Modified: websites/production/tapestry/content/injection-faq.html ============================================================================== --- websites/production/tapestry/content/injection-faq.html (original) +++ websites/production/tapestry/content/injection-faq.html Fri Feb 28 18:18:17 2025 @@ -155,11 +155,11 @@ <!-- /// Content Start --> <div id="content"> <div id="ConfluenceContent"><h1 id="InjectionFAQ-Injection">Injection</h1><p>Main article:  <a href="injection.html">Injection</a></p><h2 id="InjectionFAQ-Contents">Contents</h2><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1740593706827 {padding: 0px;} -div.rbtoc1740593706827 ul {margin-left: 0px;} -div.rbtoc1740593706827 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1740766507355 {padding: 0px;} +div.rbtoc1740766507355 ul {margin-left: 0px;} +div.rbtoc1740766507355 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1740593706827"> +/*]]>*/</style></p><div class="toc-macro rbtoc1740766507355"> <ul class="toc-indentation"><li><a href="#InjectionFAQ-What'sthedifferencebetweenthe@Componentand@InjectComponentannotations?">What's the difference between the @Component and @InjectComponent annotations?</a></li><li><a href="#InjectionFAQ-What'sthedifferencebetweenthe@InjectPageand@InjectContainerannotations?">What's the difference between the @InjectPage and @InjectContainer annotations?</a></li><li><a href="#InjectionFAQ-IgetanexceptionbecauseIhavetwoserviceswiththesameinterface,howdoIhandlethis?">I get an exception because I have two services with the same interface, how do I handle this?</a></li><li><a href="#InjectionFAQ-What'sthedifferencebetween@Injectand@Environmental?">What's the difference between @Inject and @Environmental?</a></li><li><a href="#InjectionFAQ-Butwait...IseeIusedthe@Injectannotationanditstillworked.Whatgives?">But wait ... I see I used the @Inject annotation and it still worked. What gives?</a></li><li><a href="#InjectionFAQ-Ok,butRequestisasingletonservi ce,notanenvironmental,andIcaninjectthat.IsTapestryreallythreadsafe?">Ok, but Request is a singleton service, not an environmental, and I can inject that. Is Tapestry really thread safe?</a></li><li><a href="#InjectionFAQ-Iuse@Injectonafieldtoinjectaservice,butthefieldisstillnull,whathappened?">I use @Inject on a field to inject a service, but the field is still null, what happened?</a></li></ul> </div><h2 id="InjectionFAQ-What'sthedifferencebetweenthe@Componentand@InjectComponentannotations?">What's the difference between the <code>@Component</code> and <code>@InjectComponent</code> annotations?</h2><p>The <code>@Component</code> annotation is used to define the <em>type</em> of component, and its parameter bindings. When using <code>@Component</code>, the template must not define the type, and any parameter bindings are merged in:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> <pre><code class="language-java"> <a t:id="home" class="nav">Back to home</a> Modified: websites/production/tapestry/content/injection-in-detail.html ============================================================================== --- websites/production/tapestry/content/injection-in-detail.html (original) +++ websites/production/tapestry/content/injection-in-detail.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p><strong>Injection</strong> in Tapestry IoC can be a complicated subject for a number of reasons:</p><ul><li>Injection can occur in many places: on fields, and on parameters to methods and constructors of certain objects.</li><li>Parts of Injection are themselves defined in terms of Tapestry IoC services, many of which are extensible.</li></ul> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p><strong>Injection</strong> in Tapestry IoC can be a complicated subject for a number of reasons:</p><ul><li>Injection can occur in many places: on fields, and on parameters to methods and constructors of certain objects.</li><li>Parts of Injection are themselves defined in terms of Tapestry IoC services, many of which are extensible.</li></ul><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/injection.html ============================================================================== --- websites/production/tapestry/content/injection.html (original) +++ websites/production/tapestry/content/injection.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p><strong>Injection</strong> is Tapestry's way of making a dependency – such as a resource, asset, component, block or service – available in a page, component, mixin or service class.</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p><strong>Injection</strong> is Tapestry's way of making a dependency – such as a resource, asset, component, block or service – available in a page, component, mixin or service class.</p><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/integrating-with-jpa.html ============================================================================== --- websites/production/tapestry/content/integrating-with-jpa.html (original) +++ websites/production/tapestry/content/integrating-with-jpa.html Fri Feb 28 18:18:17 2025 @@ -162,11 +162,11 @@ <div class="param-body"></div> </div><p>Tapestry provides a built-in integration with the Java Persistence API (JPA) through the <strong>Tapestry-jpa</strong> module. This module supersedes the 3rd-party <a class="external-link" href="http://www.tynamo.org/tapestry-jpa+guide/" rel="nofollow">Tynamo JPA module</a>.</p><p><strong>Contents</strong></p><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1740593621425 {padding: 0px;} -div.rbtoc1740593621425 ul {margin-left: 0px;} -div.rbtoc1740593621425 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1740766421985 {padding: 0px;} +div.rbtoc1740766421985 ul {margin-left: 0px;} +div.rbtoc1740766421985 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1740593621425"> +/*]]>*/</style></p><div class="toc-macro rbtoc1740766421985"> <ul class="toc-indentation"><li><a href="#IntegratingwithJPA-Downloading">Downloading</a> <ul class="toc-indentation"><li><a href="#IntegratingwithJPA-SelectingaJPAImplementation">Selecting a JPA Implementation</a></li></ul> </li><li><a href="#IntegratingwithJPA-ConfiguringJPA">Configuring JPA</a> Modified: websites/production/tapestry/content/integrating-with-spring-framework.html ============================================================================== --- websites/production/tapestry/content/integrating-with-spring-framework.html (original) +++ websites/production/tapestry/content/integrating-with-spring-framework.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p>Tapestry easily integrates with Spring Framework, allowing beans defined by Spring to be injected into Tapestry IoC services, and into Tapestry components. In addition, with Tapestry 5.2 and later, you can also go the other way, injecting Tapestry services in Spring beans.</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p>Tapestry easily integrates with Spring Framework, allowing beans defined by Spring to be injected into Tapestry IoC services, and into Tapestry components. In addition, with Tapestry 5.2 and later, you can also go the other way, injecting Tapestry services in Spring beans.</p><div class="aui-label" style="float:right" title="Related Articles"> @@ -198,11 +190,11 @@ <p>For integrating Spring Security into your application, see <a href="security.html">Security</a>.</p><p><strong>Contents</strong></p><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1740593627501 {padding: 0px;} -div.rbtoc1740593627501 ul {margin-left: 0px;} -div.rbtoc1740593627501 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1740766428109 {padding: 0px;} +div.rbtoc1740766428109 ul {margin-left: 0px;} +div.rbtoc1740766428109 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1740593627501"> +/*]]>*/</style></p><div class="toc-macro rbtoc1740766428109"> <ul class="toc-indentation"><li>Related Articles</li></ul> <ul><li><a href="#IntegratingwithSpringFramework-SpringVersion">Spring Version</a></li><li><a href="#IntegratingwithSpringFramework-Usage">Usage</a> <ul class="toc-indentation"><li><a href="#IntegratingwithSpringFramework-Requireddependency">Required dependency</a></li><li><a href="#IntegratingwithSpringFramework-Updateyourweb.xmlfile">Update your web.xml file</a></li><li><a href="#IntegratingwithSpringFramework-AccessingtheSpringApplicationContext">Accessing the Spring Application Context</a></li><li><a href="#IntegratingwithSpringFramework-Injectingbeans">Injecting beans</a></li><li><a href="#IntegratingwithSpringFramework-InjectingTapestryservicesinSpringbeans">Injecting Tapestry services in Spring beans</a></li></ul> Modified: websites/production/tapestry/content/integration-testing.html ============================================================================== --- websites/production/tapestry/content/integration-testing.html (original) +++ websites/production/tapestry/content/integration-testing.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p><strong>Integration testing</strong> involves the testing of larger segments of your Tapestry module or web application, typically including the user interface.</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p><strong>Integration testing</strong> involves the testing of larger segments of your Tapestry module or web application, typically including the user interface.</p><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/integration-with-existing-applications.html ============================================================================== --- websites/production/tapestry/content/integration-with-existing-applications.html (original) +++ websites/production/tapestry/content/integration-with-existing-applications.html Fri Feb 28 18:18:17 2025 @@ -155,11 +155,11 @@ <!-- /// Content Start --> <div id="content"> <div id="ConfluenceContent"><h1 id="Integrationwithexistingapplications-Integrationwithexistingapplications">Integration with existing applications</h1><h2 id="Integrationwithexistingapplications-Contents">Contents</h2><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1740593813856 {padding: 0px;} -div.rbtoc1740593813856 ul {margin-left: 0px;} -div.rbtoc1740593813856 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1740766614993 {padding: 0px;} +div.rbtoc1740766614993 ul {margin-left: 0px;} +div.rbtoc1740766614993 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1740593813856"> +/*]]>*/</style></p><div class="toc-macro rbtoc1740766614993"> <ul class="toc-indentation"><li><a href="#Integrationwithexistingapplications-HowdoImakeaformonaJSPsubmitintoTapestry?">How do I make a form on a JSP submit into Tapestry?</a></li><li><a href="#Integrationwithexistingapplications-HowdoIshareinformationbetweenaJSPapplicationandtheTapestryapplication?">How do I share information between a JSP application and the Tapestry application?</a></li><li><a href="#Integrationwithexistingapplications-HowdoIputtheTapestryapplicationinsideafolder,toavoidconflicts?">How do I put the Tapestry application inside a folder, to avoid conflicts?</a></li></ul> </div><p>You may have an existing JSP (or Struts, Spring MVC, etc.) application that you want to migrate to Tapestry. It's quite common to do this in stages, moving some functionality into Tapestry and leaving other parts, initially, in the other system. <a href="request-processing-faq.html">You may need to prevent Tapestry from handling certain requests</a>.</p><h2 id="Integrationwithexistingapplications-HowdoImakeaformonaJSPsubmitintoTapestry?">How do I make a form on a JSP submit into Tapestry?</h2><p>Tapestry's Form component does a lot of work while an HTML form is rendering to store all the information needed to handle the form submission in a later request; this is all very specific to Tapestry and the particular construction of your pages and forms; it can't be reproduced from a JSP.</p><p>Fortunately, that isn't necessary: you can have a standard HTML Form submit to a Tapestry page, you just don't get to use all of Tapestry's built in conversion and validation logic.</p><p> All you need to know is how Tapestry converts page class names to page names (that appear in the URL). It's basically a matter of stripping off the <em>root-package</em>.<code>pages</code> prefix from the fully qualified class name. So, for example, if you are building a login screen as a JSP, you might want to have a Tapestry page to receive the user name and password. Let's assume the Tapestry page class is <code>com.example.myapp.pages.LoginForm</code>; the page name will be <code>loginform (although, since </code><span>Tapestry is case insensitive, LoginForm would work just as well)</span><span>, and the URL will be </span><code>/loginform</code><span>.</span></p><div class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>LoginForm.tml</b></div><div class="codeContent panelContent pdl"> <pre><code class="language-xml"><form method="post" action="/loginform"> Modified: websites/production/tapestry/content/introduction.html ============================================================================== --- websites/production/tapestry/content/introduction.html (original) +++ websites/production/tapestry/content/introduction.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/ioc-cookbook-patterns.html ============================================================================== --- websites/production/tapestry/content/ioc-cookbook-patterns.html (original) +++ websites/production/tapestry/content/ioc-cookbook-patterns.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p>Tapestry IoC has support for implementing several of the <a class="external-link" href="http://en.wikipedia.org/wiki/Design_pattern_(computer_science)" rel="nofollow">Gang Of Four Design Patterns</a>. In fact, the IoC container itself is a pumped up version of the Factory pattern.</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p>Tapestry IoC has support for implementing several of the <a class="external-link" href="http://en.wikipedia.org/wiki/Design_pattern_(computer_science)" rel="nofollow">Gang Of Four Design Patterns</a>. In fact, the IoC container itself is a pumped up version of the Factory pattern.</p><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/ioc-cookbook.html ============================================================================== --- websites/production/tapestry/content/ioc-cookbook.html (original) +++ websites/production/tapestry/content/ioc-cookbook.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p>Tapestry <strong>Inversion of Control</strong> (IoC), though originally designed specifically for the needs of the Tapestry web framework, may also be employed as a stand-alone IoC container, separate from the rest of Tapestry.</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p>Tapestry <strong>Inversion of Control</strong> (IoC), though originally designed specifically for the needs of the Tapestry web framework, may also be employed as a stand-alone IoC container, separate from the rest of Tapestry.</p><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/ioc.html ============================================================================== --- websites/production/tapestry/content/ioc.html (original) +++ websites/production/tapestry/content/ioc.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p>Tapestry's <strong>Inversion of Control</strong> container is a built-in Tapestry module based on <a class="external-link" href="http://www.martinfowler.com/articles/injection.html" rel="nofollow">inversion of control</a> (IoC), a design approach that allows a working system to be fabricated from many small, easily testable pieces.</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p>Tapestry's <strong>Inversion of Control</strong> container is a built-in Tapestry module based on <a class="external-link" href="http://www.martinfowler.com/articles/injection.html" rel="nofollow">inversion of control</a> (IoC), a design approach that allows a working system to be fabricated from many small, easily testable pieces.</p><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/javascript-faq.html ============================================================================== --- websites/production/tapestry/content/javascript-faq.html (original) +++ websites/production/tapestry/content/javascript-faq.html Fri Feb 28 18:18:17 2025 @@ -155,11 +155,11 @@ <!-- /// Content Start --> <div id="content"> <div id="ConfluenceContent"><h1 id="JavaScriptFAQ-JavaScript">JavaScript</h1><p>Main articles: <a href="client-side-javascript.html">Client-Side JavaScript</a>, <a href="legacy-javascript.html">Legacy JavaScript</a></p><h2 id="JavaScriptFAQ-Contents">Contents</h2><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1740593815804 {padding: 0px;} -div.rbtoc1740593815804 ul {margin-left: 0px;} -div.rbtoc1740593815804 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1740766616872 {padding: 0px;} +div.rbtoc1740766616872 ul {margin-left: 0px;} +div.rbtoc1740766616872 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1740593815804"> +/*]]>*/</style></p><div class="toc-macro rbtoc1740766616872"> <ul class="toc-indentation"><li><a href="#JavaScriptFAQ-WhydoIgeta"Tapestryisundefined"erroronformsubmit?(5.3andearlier)">Why do I get a "Tapestry is undefined" error on form submit? (5.3 and earlier)</a></li><li><a href="#JavaScriptFAQ-What'sthedifferencebetweentheT5objectandtheTapestryobjectinthebrowser?(5.3andearlier)">What's the difference between the T5 object and the Tapestry object in the browser? (5.3 and earlier)</a></li></ul> </div><h2 id="JavaScriptFAQ-WhydoIgeta"Tapestryisundefined"erroronformsubmit?(5.3andearlier)">Why do I get a "Tapestry is undefined" error on form submit? (5.3 and earlier)</h2><p>This client-side error is clear but can be awkward to solve. It means your browser has not been able to load the tapestry.js file properly. The question is, why? It can be due to multiple reasons, some of them below:</p><ul><li>First, check if 'tapestry.js' is present in the head part of your resulting HTML page.</li><li><p>If you have set the <a href="configuration.html">tapestry.combine-scripts</a> configuration symbol to true, Tapestry generates one single URL to retrieve all the JS files. Sometimes, this can produce long URLs that browsers are unable to retrieve. Try setting the symbol to false.</p><div class="confluence-information-macro confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div class="confluenc e-information-macro-body"><p>This only applies to Tapestry 5.1.</p></div></div></li><li>If you have included jQuery in conjunction with Tapestry's prototype, that will cause a conflict with the '$' selector used by both. In this case, you should put jQuery on top of the stack and turn on the <a class="external-link" href="http://api.jquery.com/jQuery.noConflict/" rel="nofollow">jQuery.noConflict</a> mode.</li><li>Also, if you have included a custom or third-party JS library on top of the stack that causes the JavaScript parsing to fail, then check the JavaScript syntax in that library.</li><li>If you have used a tool to minimize your JavaScript libraries, this can lead to JavaScript syntax errors, so check if it works with all the JavaScript files unpacked.</li></ul><h2 id="JavaScriptFAQ-What'sthedifferencebetweentheT5objectandtheTapestryobjectinthebrowser?(5.3andearlier)">What's the difference between the <code>T5</code> object and the <code>Tapestry</code> object in the browser? ( 5.3 and earlier)</h2><p>Both of these objects are <em>namespaces</em>: containers of functions, constants, and nested namespaces.</p><p>The <code>T5</code> object is a replacement for the <code>Tapestry</code> object, starting in release 5.3. Increasingly, functions defined by the <code>Tapestry</code> object are being replaced with similar or equivalent functions in the <code>T5</code> object.</p><p>This is part of an overall goal, spanning at least two releases of Tapestry, to make Tapestry JavaScript framework agnostic; which is to say, not depend specifically on Prototype or jQuery. Much of the code in the <code>Tapestry</code> object is specifically linked to Prototype and Scriptaculous.</p><p>The <code>T5</code> object represents a stable, documented, set of APIs that are preferred when building components for maximum portability between underlying JavaScript frameworks. In other words, when building component libraries, coding to the <code>T5</code> object ensures that your c omponent will be useful regardless of whether the final application is built using Prototype, jQuery or something else.</p></div> </div> Modified: websites/production/tapestry/content/javascript-modules.html ============================================================================== --- websites/production/tapestry/content/javascript-modules.html (original) +++ websites/production/tapestry/content/javascript-modules.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><p><strong>JavaScript Modules</strong> are a mechanism for bringing modern concepts of variable scope and dependency management to JavaScript. <em>Starting with version 5.4</em>, Tapestry uses <a class="external-link" href="http://requirejs.org/" rel="nofollow">RequireJS</a> <a class="external-link" href="https://github.com/amdjs/amdjs-api/blob/master/AMD.md" rel="nofollow"> </a>modules internally, and provides support for using RequireJS modules in your own Tapestry application.</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><p><strong>JavaScript Modules</strong> are a mechanism for bringing modern concepts of variable scope and dependency management to JavaScript. <em>Starting with version 5.4</em>, Tapestry uses <a class="external-link" href="http://requirejs.org/" rel="nofollow">RequireJS</a> <a class="external-link" href="https://github.com/amdjs/amdjs-api/blob/master/AMD.md" rel="nofollow"> </a>modules internally, and provides support for using RequireJS modules in your own Tapestry application.</p><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/javascript-rewrite-in-54.html ============================================================================== --- websites/production/tapestry/content/javascript-rewrite-in-54.html (original) +++ websites/production/tapestry/content/javascript-rewrite-in-54.html Fri Feb 28 18:18:17 2025 @@ -155,11 +155,11 @@ <!-- /// Content Start --> <div id="content"> <div id="ConfluenceContent"><div class="confluence-information-macro confluence-information-macro-information"><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>This is a historical document in which Tapestry's Howard Lewis Ship describes the motivations and plan for significantly changing Tapestry's client-side functionality starting in Tapestry 5.4. This plan closely matches the actual results delivered in Tapestry 5.4, but this document is mostly kept for historical reference.</p></div></div><h2 id="JavaScriptRewritein5.4-Contents">Contents</h2><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1740593625402 {padding: 0px;} -div.rbtoc1740593625402 ul {margin-left: 0px;} -div.rbtoc1740593625402 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1740766426015 {padding: 0px;} +div.rbtoc1740766426015 ul {margin-left: 0px;} +div.rbtoc1740766426015 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1740593625402"> +/*]]>*/</style></p><div class="toc-macro rbtoc1740766426015"> <ul class="toc-indentation"><li><a href="#JavaScriptRewritein5.4-TapestryandJavaScript">Tapestry and JavaScript</a></li><li><a href="#JavaScriptRewritein5.4-TapestryJavaScriptLimitations(through5.3)">Tapestry JavaScript Limitations (through 5.3)</a> <ul class="toc-indentation"><li><a href="#JavaScriptRewritein5.4-DependenceonPrototype/Scriptaculous">Dependence on Prototype/Scriptaculous</a></li><li><a href="#JavaScriptRewritein5.4-LackofDocumentation">Lack of Documentation</a></li><li><a href="#JavaScriptRewritein5.4-LackofModuleStructure">Lack of Module Structure</a></li><li><a href="#JavaScriptRewritein5.4-ComplexInitialization">Complex Initialization</a></li></ul> </li><li><a href="#JavaScriptRewritein5.4-JavaScriptImprovementsfor5.4">JavaScript Improvements for 5.4</a> Modified: websites/production/tapestry/content/key-features-v2.html ============================================================================== --- websites/production/tapestry/content/key-features-v2.html (original) +++ websites/production/tapestry/content/key-features-v2.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><div class="row" id="features"><div class="col-sm-4"><h3 id="KeyFeaturesv2-JavaPower">Java Power</h3> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="feature relief"><p>Tapestry pages and components are simple Java POJOs, with easy access to all Java language features and the vast Java ecosystem. Thanks to Java's advanced concurrency API, Tapestry handles requests <em>fast</em> without sacrificing security or stability.</p></div> + <div id="ConfluenceContent"><div class="row" id="features"><div class="col-sm-4"><h3 id="KeyFeaturesv2-JavaPower">Java Power</h3><div class="feature relief"><p>Tapestry pages and components are simple Java POJOs, with easy access to all Java language features and the vast Java ecosystem. Thanks to Java's advanced concurrency API, Tapestry handles requests <em>fast</em> without sacrificing security or stability.</p></div> </div> Modified: websites/production/tapestry/content/key-features.html ============================================================================== --- websites/production/tapestry/content/key-features.html (original) +++ websites/production/tapestry/content/key-features.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><div class="row" id="features"><div class="col-sm-4"><h3 id="KeyFeatures-JavaPower">Java Power</h3> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="feature relief"><p>Tapestry pages and components are simple Java POJOs, with easy access to all Java language features and the vast Java ecosystem. Thanks to Java's advanced concurrency API, Tapestry handles requests <em>fast</em> without sacrificing security or stability.</p></div> + <div id="ConfluenceContent"><div class="row" id="features"><div class="col-sm-4"><h3 id="KeyFeatures-JavaPower">Java Power</h3><div class="feature relief"><p>Tapestry pages and components are simple Java POJOs, with easy access to all Java language features and the vast Java ecosystem. Thanks to Java's advanced concurrency API, Tapestry handles requests <em>fast</em> without sacrificing security or stability.</p></div> </div> Modified: websites/production/tapestry/content/layout-component.html ============================================================================== --- websites/production/tapestry/content/layout-component.html (original) +++ websites/production/tapestry/content/layout-component.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><div class="aui-label" style="float:right" title="Related Articles"> Modified: websites/production/tapestry/content/legacy-javascript.html ============================================================================== --- websites/production/tapestry/content/legacy-javascript.html (original) +++ websites/production/tapestry/content/legacy-javascript.html Fri Feb 28 18:18:17 2025 @@ -154,15 +154,7 @@ <!-- /// Content Start --> <div id="content"> - <div id="ConfluenceContent"><div class="confluence-information-macro confluence-information-macro-warning"><p class="title conf-macro-render">For Older Versions of Tapestry</p><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p class="confluence-link">This page describes JavaScript usage in Tapestry versions up through 5.3.x. For version 5.4 and later, see <a href="client-side-javascript.html">Client-Side JavaScript</a>.</p></div></div><p class="confluence-link"><strong>JavaScript</strong> is a first-class concept in Tapestry, and sophisticated JavaScript support is provided right out of the box, including rich <a href="ajax-and-zones.html">Ajax and Zones</a>, download optimization, client-side logging, and localization.</p> - -<div class="adaptavist-psl-unlicensed-banner adaptavist-psl-warning adaptavist-psl-js"> - <b>This page contains macros or features from a plugin which requires a valid license.</b> - - <p>You will need to contact your administrator.</p> - -</div> -<div class="aui-label" style="float:right" title="Related Articles"> + <div id="ConfluenceContent"><div class="confluence-information-macro confluence-information-macro-warning"><p class="title conf-macro-render">For Older Versions of Tapestry</p><span class="aui-icon aui-icon-small aui-iconfont-error confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p class="confluence-link">This page describes JavaScript usage in Tapestry versions up through 5.3.x. For version 5.4 and later, see <a href="client-side-javascript.html">Client-Side JavaScript</a>.</p></div></div><p class="confluence-link"><strong>JavaScript</strong> is a first-class concept in Tapestry, and sophisticated JavaScript support is provided right out of the box, including rich <a href="ajax-and-zones.html">Ajax and Zones</a>, download optimization, client-side logging, and localization.</p><div class="aui-label" style="float:right" title="Related Articles">