listeners.formSubmit ?

"Phil" <[email protected]> Wed, 8 Jan 2003 19:03:30 +0800
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <000f01c2b705$94bb7d70$4664a8c0@ht>
in some of the samples in the page specification, there is a listeners
expression such as "listeners.formSubmit".
As I look into the code, basically the listener is the class defined in the
page specification (see below page specification).
So the listener in  this case is the class: "EnquiryPage".

Here are my questions:
1) Actually I'm not very sure what is the real listener class and how to
know it?
2) Besides this, can I have multile listener class? (I thought, page
specification class only allows 1 class)
3)When will the listener be invoked?

Hope someone can share his/her experience.

thanks,
Phil


=====================================
<page-specification class="EnquiryPage">

<component id="enquiryForm" type="Form">
    <binding name="listener" expression="listeners.formSubmit"/>
</component>

<component id="contactRepCheckbox" type="Checkbox">
    <binding name="selected" expression="contactRep"/>
    <binding name="disabled" expression="staff"/>
</component>

</page-specification>
========================================

Service provided by MaGlobe Prepaid Worldwide Internet Access (visit www.MaGlobe.com)


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com