| <?xml version="1.0"?> |
| <!-- |
| 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. |
| --> |
| |
| <module id="tapestry.render" version="4.1.0" > |
| |
| Various rendering services. |
| |
| <service-point id="ComponentRenderChain" interface="org.apache.tapestry.services.ComponentRenderWorker"> |
| |
| The chain of enhancement workers that render after each individual |
| component renders. Configured from ComponentRenderWorkers configuration point. |
| |
| <invoke-factory service-id="hivemind.lib.ChainFactory"> |
| <construct configuration-id="ComponentRenderWorkers"/> |
| </invoke-factory> |
| |
| </service-point> |
| |
| <configuration-point id="ComponentRenderWorkers" schema-id="hivemind.lib.ChainContribution"> |
| |
| Provides the logic for component class render contributions. |
| |
| </configuration-point> |
| |
| <service-point id="ComponentEventConnectionWorker" interface="org.apache.tapestry.services.ComponentRenderWorker"> |
| |
| Wires javascript events to components, adds javascript contributions to |
| render. |
| |
| <invoke-factory model="pooled"> |
| <construct class="org.apache.tapestry.services.impl.ComponentEventConnectionWorker"> |
| <set-service property="eventInvoker" service-id="tapestry.event.EventInvoker"/> |
| <set-service property="eventEngine" service-id="tapestry.event.DirectEvent"/> |
| <set property="componentScript" value="/org/apache/tapestry/ComponentEvent.script" /> |
| <set property="widgetScript" value="/org/apache/tapestry/dojo/html/WidgetEvent.script" /> |
| <set property="elementScript" value="/org/apache/tapestry/html/ElementEvent.script" /> |
| <set-service property="scriptSource" service-id="tapestry.script.ScriptSource"/> |
| </construct> |
| </invoke-factory> |
| |
| </service-point> |
| |
| <contribution configuration-id="ComponentRenderWorkers"> |
| <command id="component-event-connection" object="service:ComponentEventConnectionWorker" /> |
| </contribution> |
| |
| </module> |