You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by bu...@apache.org on 2018/04/06 00:22:28 UTC

svn commit: r1027937 - in /websites/production/tapestry/content: cache/main.pageCache component-mixins.html

Author: buildbot
Date: Fri Apr  6 00:22:27 2018
New Revision: 1027937

Log:
Production update by buildbot for tapestry

Modified:
    websites/production/tapestry/content/cache/main.pageCache
    websites/production/tapestry/content/component-mixins.html

Modified: websites/production/tapestry/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/tapestry/content/component-mixins.html
==============================================================================
--- websites/production/tapestry/content/component-mixins.html (original)
+++ websites/production/tapestry/content/component-mixins.html Fri Apr  6 00:22:27 2018
@@ -235,7 +235,7 @@ private TextField userId;
   @MixinClasses(value={Autocomplete.class,DefaultFromCookie.class},
                 order={"before:discardbody;after:renderdisabled","before:autocomplete")
 </pre>
-</div></div><p>The ordering is always specified in terms of the order of the "forward" rendering process (setupRender, beginRender, etc.). When the "reverse" rendering phases (afterRender, etc.) occur, the mixin order is exactly reversed. Mixins which have no associated ordering constraints will be ordered in a manner which is consistent with the specified constraints for all other mixins, but is otherwise unspecified.</p><h2 id="ComponentMixins-AvailableMixins">Available Mixins</h2><p>Tapestry includes the following mixins out-of-the-box.</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/Autocomplete.html">Autocomplete</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>modifies a text field to provide for auto-completion of text using values retrieved from the server as the user types. <a  
 href="ajax-and-zones.html">See instructions</a>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/Confirm.html">Confirm</a></td><td colspan="1" rowspan="1" class="confluenceTd">attached to a Form or link component, runs a modal-dialog to force the user to confirm the behavior. New for Tapestry 5.4.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/DiscardBody.html">DiscardBody</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>discards a component's body. Returns false from the BeforeRenderBody phase, which prevents the rendering of the body.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/F
 ormFieldFocus.html">FormFieldFocus</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>instruments the outer Form on which component the focus should be activated. Replaced by OverrideFieldFocus starting in Tapestry 5.4.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/FormGroup.html">FormGroup</a></td><td colspan="1" rowspan="1" class="confluenceTd">attaches to a field to render an enclosing &lt;div&gt; element and label for proper Bootstrap markup of text fields, selects, and textareas</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/NotEmpty.html">NotEmpty</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>attaches to any component that renders an element. At the end of the render, if the element is empty
 , then a non-breaking space (&amp;nbsp;) is injected into the element.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/OverrideFieldFocus.html">OverrideFieldFocus</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>when attached to a form field, causes that field to gain focus. Starting in Tapestry 5.4, this supersedes FormFieldFocus.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/RenderClientId.html">RenderClientId</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>forces a client element to render its client id by ensuring that "getClientId" is called.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/or
 g/apache/tapestry5/corelib/mixins/RenderDisabled.html">RenderDisabled</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>renders a "disabled" attribute if the containing component is disabled</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/RenderInformals.html">RenderInformals</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>renders out all informal parameters, at the end of the BeginRender phase. This mixin can be used with components that render a single tag inside the BeginRender phase.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/RenderNotification.html">RenderNotification</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>triggers component event notifications when the attach
 ed component enters its BeginRender and AfterRender render phases.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/TriggerFragment.html">TriggerFragment</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>when applied to a Checkbox or Radio component, links the input field and a FormFragment, making the field control the client-side visibility of the FormFragment</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/ZoneRefresh.html">ZoneRefresh</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>periodically refreshes a Zone by triggering an event on the server using ajax requests.</p></td></tr></tbody></table></div><p>In addition, the following mixins are available from other sources:</p><div class="tabl
 e-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/creatingmixins1" rel="nofollow">ClickOnce</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>From JumpStart, a mixin to apply to a submit button, ensuring it can't be double-clicked</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained">Confirm</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Adds a JavaScript <em>confirm</em> prompt to any link</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><a  class="external-link" href="http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/onevent" rel="nofollow">ZoneUpdater</a></td><td colspan="1" rowspan="1" class="confluenceTd">Updates a zone when a client-side event occurs</td><
 /tr></tbody></table></div><h2 id="ComponentMixins-AdditionalTools">Additional Tools</h2><p><a  class="external-link" href="http://tapestryxpath.sourceforge.net/" rel="nofollow">Tapestry-Xpath</a> is a third-part Tapestry module that allows XPath traversal of the Tapestry (server-side) DOM, which can be extremely useful in certain mixins.</p><p></p></div>
+</div></div><p>The ordering is always specified in terms of the order of the "forward" rendering process (setupRender, beginRender, etc.). When the "reverse" rendering phases (afterRender, etc.) occur, the mixin order is exactly reversed. Mixins which have no associated ordering constraints will be ordered in a manner which is consistent with the specified constraints for all other mixins, but is otherwise unspecified.</p><h2 id="ComponentMixins-AvailableMixins">Available Mixins</h2><p>Tapestry includes the following mixins out-of-the-box.</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/Autocomplete.html">Autocomplete</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>modifies a text field to provide for auto-completion of text using values retrieved from the server as the user types. <a  
 href="ajax-and-zones.html">See instructions</a>.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/Confirm.html">Confirm</a></td><td colspan="1" rowspan="1" class="confluenceTd">attached to a Form or link component, runs a modal-dialog to force the user to confirm the behavior. New for Tapestry 5.4.</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/DiscardBody.html">DiscardBody</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>discards a component's body. Returns false from the BeforeRenderBody phase, which prevents the rendering of the body.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/F
 ormFieldFocus.html">FormFieldFocus</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>instruments the outer Form on which component the focus should be activated. Replaced by OverrideFieldFocus starting in Tapestry 5.4.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/FormGroup.html">FormGroup</a></td><td colspan="1" rowspan="1" class="confluenceTd">attaches to a field to render an enclosing &lt;div&gt; element and label for proper Bootstrap markup of text fields, selects, and textareas</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/NotEmpty.html">NotEmpty</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>attaches to any component that renders an element. At the end of the render, if the element is empty
 , then a non-breaking space (&amp;nbsp;) is injected into the element.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/OverrideFieldFocus.html">OverrideFieldFocus</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>when attached to a form field, causes that field to gain focus. Starting in Tapestry 5.4, this supersedes FormFieldFocus.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/RenderClientId.html">RenderClientId</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>forces a client element to render its client id by ensuring that "getClientId" is called.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/or
 g/apache/tapestry5/corelib/mixins/RenderDisabled.html">RenderDisabled</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>renders a "disabled" attribute if the containing component is disabled</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/RenderInformals.html">RenderInformals</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>renders out all informal parameters, at the end of the BeginRender phase. This mixin can be used with components that render a single tag inside the BeginRender phase.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/RenderNotification.html">RenderNotification</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>triggers component event notifications when the attach
 ed component enters its BeginRender and AfterRender render phases.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/TriggerFragment.html">TriggerFragment</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>when applied to a Checkbox or Radio component, links the input field and a FormFragment, making the field control the client-side visibility of the FormFragment</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/mixins/ZoneRefresh.html">ZoneRefresh</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>periodically refreshes a Zone by triggering an event on the server using ajax requests.</p></td></tr></tbody></table></div><p>In addition, the following mixins are available from other sources:</p><div class="tabl
 e-wrap"><table class="confluenceTable"><tbody><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/creatingmixins1" rel="nofollow">ClickOnce</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>From JumpStart, a mixin to apply to a submit button, ensuring it can't be double-clicked</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><a  class="external-link" href="http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained">Confirm</a></p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Adds a JavaScript <em>confirm</em> prompt to any link</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><a  class="external-link" href="http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/oneven" rel="nofollow">ZoneUpdater</a></td><td colspan="1" rowspan="1" class="confluenceTd">Updates a zone when a client-side event occurs</td></t
 r></tbody></table></div><h2 id="ComponentMixins-AdditionalTools">Additional Tools</h2><p><a  class="external-link" href="http://tapestryxpath.sourceforge.net/" rel="nofollow">Tapestry-Xpath</a> is a third-part Tapestry module that allows XPath traversal of the Tapestry (server-side) DOM, which can be extremely useful in certain mixins.</p><p></p></div>
       </div>
 
       <div class="clearer"></div>