You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Alejandro Scandroli (JIRA)" <de...@tapestry.apache.org> on 2007/10/28 20:35:50 UTC

[jira] Created: (TAPESTRY-1868) EventConnectionVisitor.wireFormEvents method doesn't connect auto submit events if the component with the event listener is not a contained in the form

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="propertySelectionBlock@Block">
		<select jwcid="propertySelection@PropertySelection" model="ognl:@com.myexample.DetailsPage@GENDER_MODEL" value="ognl:gender">
	</span>

	<form jwcid="testForm@Form">
		<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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org