EventConnectionVisitor.wireFormEvents method doesn't connect auto submit events
if the component with the event listener is not a contained in the form
-------------------------------------------------------------------------------------------------------------------------------------------------------
Key: TAPESTRY-1868
URL: https://issues.apache.org/jira/browse/TAPESTRY-1868
Project: Tapestry
Issue Type: Bug
Components: XHR/dhtml/Ajax
Affects Versions: 4.1.3
Reporter: Alejandro Scandroli
{code:xml}
<span jwcid="[EMAIL PROTECTED]">
<select jwcid="[EMAIL PROTECTED]" model="ognl:@[EMAIL
PROTECTED]" value="ognl:gender">
</span>
<form jwcid="[EMAIL PROTECTED]">
<span jwcid="@RenderBlock"
block="ognl:page.components['propertySelectionBlock']"/>
</form>
{code}
{code:java}
@EventListener(targets = "propertySelection", events = "onchange")
{code}
In this case the auto submit event is never wired.
Then if I try to use the "submitForm" parameter
{code:java}
@EventListener(targets = "propertySelection", events = "onchange", submitForm =
"testForm")
{code}
Not even the "onchange" event is wired in this case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]