Author: andyhot
Date: Tue Nov 28 18:43:17 2006
New Revision: 480348
URL: http://svn.apache.org/viewvc?view=rev&rev=480348
Log:
TAPESTRY-1137: Register the clientId binding type
Modified:
tapestry/tapestry4/trunk/tapestry-framework/src/descriptor/META-INF/tapestry.bindings.xml
Modified:
tapestry/tapestry4/trunk/tapestry-framework/src/descriptor/META-INF/tapestry.bindings.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/descriptor/META-INF/tapestry.bindings.xml?view=diff&rev=480348&r1=480347&r2=480348
==============================================================================
---
tapestry/tapestry4/trunk/tapestry-framework/src/descriptor/META-INF/tapestry.bindings.xml
(original)
+++
tapestry/tapestry4/trunk/tapestry-framework/src/descriptor/META-INF/tapestry.bindings.xml
Tue Nov 28 18:43:17 2006
@@ -95,7 +95,7 @@
<service-point id="ComponentBindingFactory" interface="BindingFactory">
- Binding factory where the path is the is of a nested component.
+ Binding factory where the path is the id of a nested component.
<invoke-factory>
<construct class="ComponentBindingFactory">
@@ -131,6 +131,17 @@
</service-point>
+ <service-point id="ClientIdBindingFactory" interface="BindingFactory">
+
+ Binding factory where the path is the id of a nested component. Its
clientId is returned.
+
+ <invoke-factory>
+ <construct class="ClientIdBindingFactory">
+ <set-object property="valueConverter"
value="infrastructure:valueConverter"/>
+ </construct>
+ </invoke-factory>
+ </service-point>
+
<configuration-point id="BindingFactories">
Used to map binding prefixes to binding factories.
@@ -165,6 +176,7 @@
<binding prefix="component" service-id="ComponentBindingFactory"/>
<binding prefix="state" service-id="StateBindingFactory"/>
<binding prefix="hivemind" service-id="HiveMindBindingFactory"/>
+ <binding prefix="clientId" service-id="ClientIdBindingFactory"/>
</contribution>
<service-point id="BindingSource">