| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright 2004, 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.form.LinkSubmit" allow-body="yes"> |
| |
| <description> |
| Creates a hyperlink that submits its enclosing form using JavaScript. |
| </description> |
| |
| <parameter name="disabled"/> |
| <parameter name="selected"/> |
| <parameter name="tag"/> |
| |
| <parameter name="listener"> |
| <description> |
| A listener that is notified if this component is triggered. |
| </description> |
| </parameter> |
| |
| <parameter name="action" > |
| <description> |
| A listener that is notified if this component is triggered |
| just before the form's listener, after all components |
| enclosed by the Form have had a chance to update their properties. |
| </description> |
| </parameter> |
| |
| <parameter name="parameters"> |
| <description> |
| An object, or list of objects, gathered when the link is triggered and |
| made available as listener parameters in the request cycle, making |
| the parameters available to a deferred listener. |
| </description> |
| </parameter> |
| |
| <parameter name="submitType" default-value="literal:submit" > |
| <description> |
| The type of submission this component should cause. Valid values are |
| submit, cancel, and refresh. |
| </description> |
| </parameter> |
| |
| <parameter name="updateComponents" /> |
| <parameter name="json" default-value="false" /> |
| <parameter name="async" default-value="false" /> |
| |
| <reserved-parameter name="name"/> |
| <reserved-parameter name="href"/> |
| |
| <inject property="directService" object="engine-service:direct" /> |
| <inject property="listenerInvoker" object="infrastructure:listenerInvoker"/> |
| |
| </component-specification> |