Trigger event to outer component

2021-10-27 Thread Nathan Quirynen
Hi, I want to bubble up an event from a component, which is deeply nested in other components, to an outer component, but it only bubbles up to the page and not further to the component defined as t:type="***" in the page. Some simplified example code to clarify: Page:     ...         ..

Re: Browser automatically scrolls to contact form in footer (undesirable)

2021-10-27 Thread Cezary Biernacki
Hi, Tapestry automatically puts focus on the first field of a form. You can switch off this behaviour by setting the "autofocus" property on the form to false. See http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Form.html Cezary On Wed, Oct 27, 2021 at 9:37 AM

Browser automatically scrolls to contact form in footer (undesirable)

2021-10-27 Thread Christopher Dodunski (Tapestry)
Hi all, I've built a new home page for an existing site, and this includes a simple contact form in the footer. When the page loads the browser automatically scrolls down to this form, with cursor in the first field. This obviously isn't desirable. Plain HTML forms don't normally invoke th