[ 
http://issues.apache.org/jira/browse/BEEHIVE-20?page=comments#action_65116 ]
     
Jeremiah Johnson commented on BEEHIVE-20:
-----------------------------------------

It doesn't appear that KT ever updated the Wiki, so I just made a minor edit: 
changed MyApp.controls.properties to controlbindings.properties and also 
removed the 'interface' in the binding bullet.  There is DRT that exercises the 
external configuration feature, so if you have anymore trouble take a look at 
it or I can help you too.

Wiki Original
bindings between ControlBean/interface types and control implementation types. 
Each binding applies to all usages of the ControlBean/interface type within 
that app. 

Example controls binding file (e.g. MyApp.controls.properties) 
org.acme.controls.FooBean=org.acme.controls.FooSimulationImpl
com.bea.controls.DailyTimerBean=org.acme.controls.CustomTimerImpl

Wiki New
bindings between ControlBean types and control implementation types. Each 
binding applies to all usages of the ControlBean type within that app. 

Example controls binding file (controlbindings.properties) 
org.acme.controls.FooBean=org.acme.controls.FooSimulationImpl
com.bea.controls.DailyTimerBean=org.acme.controls.CustomTimerImpl

The external configuration file should be in the classpath as 
controlbindings.properties. If you are building a Web application that uses 
Controls, then you would put a controlbindings.properties file in 
WEB-INF/classes to take advantage of external binding. If you are building a 
jar with Controls in it that requires external binding, then 
controlbindings.properties would be in the root of the jar. 



> Binding Unsupported
> -------------------
>
>          Key: BEEHIVE-20
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-20
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1
>     Reporter: Zach Smith
>     Assignee: Zach Smith
>      Fix For: V1Beta

>
> The binding support described 
> http://wiki.apache.org/beehive/Controls/AssemblyAndBinding in is not 
> implemented.
> I wrote a simple test to ensure binding but the test fails as it appears that 
> the MyApp.controls.properties file is not referenced.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to