Hi again, Chad...

I have finally opened a JIRA issue (BEEHIVE-1196) with this problem... 

I hope we will find where is the error and we will fix it as soon as possible 
because is vital for us to be able to change through a configuration file what 
implementation class must be used.

Lots of thanks,

    Raúl (Spain) 

----- Mensaje original ----
De: Raul Herranz Serrano <[EMAIL PROTECTED]>
Para: Beehive Users <[email protected]>
Enviado: lunes, 4 de junio, 2007 11:07:43
Asunto: Re: overwritting

Hi Chad,

I'm experiencing something really strange... I'm going to try to explain it to 
you to see if you are able to tell me what is wrong, and how to solve it:

I'm using the BEA Workshop for WebLogic Platform that comes with the Portal 9 
course, and I have created a Portal Web Project which includes the Beehive 
Controls Libraries... To be able to see what happened while loading the 
"controlbindings.properties", I have created my own Controls and 
JavaControlFactory classes which are exactly the same as the original ones 
except for the logging sentences that I have added. 

The problem is that with those classes everything works fine (I have to change 
the import of the Controls class in the
 generated code in the .apt_src directory to use them), but if I use the 
original classes it looks like the "controlbindings.properties" is not being 
loaded...    

Do you know why? Can you help me solve this problem?
 

Lots of thanks!

    Raúl (Spain)

----- Mensaje original ----
De: Chad Schoettger <[EMAIL PROTECTED]>
Para: Beehive Users <[email protected]>
Enviado: lunes, 21 de mayo, 2007 17:19:25
Asunto: Re: overwritting

Hi Raul,

I believe your understanding is correct, however; I have not tried
using a controlbindings.properties file myself.

In order to be loaded by the controls framework the
controlbindings.properties file must be in either the WEB-INF/classes
directory or the root of a jar file.

If it still appears to be not working correctly please
 file a JIRA bug
for this issue and I can take a closer look.

 - Chad

On 5/21/07, Raul Herranz Serrano <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> I'm a newbie using the Beehive Controls Framework, so it's possible that my 
> questions are trivial for you...    I'm creating a simple application in 
> order to understand the use of Controls, and I have seen that you can specify 
> the default implementation for a CI using the 'defaultBinding' annotation... 
> but I have read in (or I have understand after reading at) 
> [http://wiki.apache.org/beehive/Controls/AssemblyAndBinding] that you can 
> over-write the "default binding" writing a controlbindings.properties with 
> the new bindings...
>
> So, here is my question: did I understand it correctly? (I have tried to do 
> it writing the 'controlbindings.properties', but it looks like it is
 not working :( )
>
> Can anyone help me?
>
> Lots of thanks!
>
>     Raúl (Spain)
>











                
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

Reply via email to