-----Original Message-----
From: Ondrej Svetlik [mailto:[EMAIL PROTECTED]
Sent: Thursday, 22 June 2006 12:37 PM
To: MyFaces Discussion
Subject: Re: managed properties

>

 

Hello,

 

why don't you simply create the instance in the constructor of the bean?

 

class ManageMyBean {

   public ManageMyBean() {

     this.businessDelegate = new com.delegates.BusinessDelegate();

   }

}

 

best regards

 

Ondrej Svetlik

 

That is what I am doing now, but I wanted to know if it could be injected by the framework like a string or a list is.

 

Is there any way to manage namespaces for bean names? For instance can I do:

 

<managed-bean-name>delegates.businessDelegate</managed-bean-name>

 

To avoid conflicts? I don’t want to use underscores.

This correspondence is for the named persons only.
It may contain confidential or privileged information or both.
No confidentiality or privilege is waived or lost by any mis transmission.
If you receive this correspondence in error please delete it from your system immediately and notify the sender.
You must not disclose, copy or relay on any part of this correspondence, if you are not the intended recipient.
Any opinions expressed in this message are those of the individual sender except where the sender expressly,
and with the authority, states them to be the opinions of the Department of Emergency Services, Queensland.

Reply via email to