| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright 2005 The Apache Software Foundation |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!DOCTYPE component-specification PUBLIC |
| "-//Apache Software Foundation//Tapestry Specification 4.0//EN" |
| "http://tapestry.apache.org/dtd/Tapestry_4_0.dtd"> |
| |
| <component-specification class="org.apache.tapestry.components.InvokeListener" |
| allow-informal-parameters="no" |
| allow-body="no"> |
| |
| <description> |
| Invokes a listener, with parameters, during the page render. |
| </description> |
| |
| <parameter name="listener"> |
| <description> |
| The listener to be invoked. If none is provided, Tapestry will attempt |
| to find a listener with the capitalized id of the component, prefixed |
| by "do". For example, jwcid="clear@InvokeListener" would have a |
| listener called doClear(). |
| </description> |
| </parameter> |
| |
| <parameter name="parameters"> |
| <description> |
| An object, or list of objects, provided as method parameters |
| to the listener method. |
| </description> |
| </parameter> |
| |
| <inject property="listenerInvoker" object="infrastructure:listenerInvoker"/> |
| |
| </component-specification> |