Hello!

I have a problem with the event bubbling stuff. A form is located inside a 
component which in turn is embedded inside my page. Now I am trying to process 
the form in my page.

There is more than one component inside the page so there is the need to 
specify the component who triggers the event. Without this, everything works 
fine. (example: onSuccess() works, onSuccessFromComponent() and 
onSuccessFromForm() do not work.)

I would have expected that onSuccessFromComponent() works in this scenario.

Is this something that should work, do I miss something or is it a bug?

        Piero

-------8<------------------------------------------------------------------
public abstract class Page {

        /** This works fine!! */
        void onSuccess() {
        }

        /** these fail */
        public void onSuccessFromMyComponentId() {
        }
        public void onSuccessFromMyFormId() {
                // this was just a test... normally we don't know the ID
        }
}

Page.tml:
<t:MyComponent t:id="MyComponentId"/>
<t:MyComponent t:id="MyOtherComponentId"/>

MyComponent.tml:
<t:form t:id="MyFormId" ......
-------8<------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to