volkers suggestion is the easiest in staying w/ plain JSF from what I see.

-M

On 2/6/07, Lisa <[EMAIL PROTECTED]> wrote:

We are using Spring in other parts of the framework but not on our Backing
Beans.  This would take some rework to use Spring on the front-end beans.
Also upgrading to Spring 2.0 would take some work as well and we are already
behind.

I am aware that you can do this in Spring but could not find an easy way to
do it in JSF.

Thanks


L



Beelen, Marco wrote:
>
> Hello Lisa,
>
> I'm solving that problem by implementing the InitializingBean-interface
> of Spring on my managed bean and use the jsf-spring-library (
> http://jsf-spring.sourceforge.net/ ) to make sure that the method is
> being called:
>
> My faces-context.xml contains:
>
> <application>
>       <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
>
>
> <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolve
> r</variable-resolver>
> </application>
>
> And in the web.xml I added:
>
> <listener>
>       <listener-class>
>
> de.mindmatters.faces.spring.context.ContextLoaderListener
>       </listener-class>
> </listener>
>
>
> With kind regards,
>       Marco
>
>
> -----Original Message-----
> From: Lisa [mailto:[EMAIL PROTECTED]
> Sent: maandag 5 februari 2007 6:44
> To: [email protected]
> Subject: JSF lifecyle - managed-bean
>
>
> Is there a way to automatically call an init() method after all setters
> have
> been called on a managed-bean?  I am looking for something I can put in
> the
> .xml config file or an interface that I can extend.
>
> Spring has this facility.  We are using Spring for most of the framework
> but
> using JSF managed-bean facility for all backing beans.
>
>
> thanks
>
>
> L
> --
> View this message in context:
> http://www.nabble.com/JSF-lifecyle---managed-bean-tf3172695.html#a880137
> 8
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------------------------------------------------------
> Notice:  This e-mail message, together with any attachments, contains
> information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
> New Jersey, USA 08889), and/or its affiliates (which may be known
> outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
> and in Japan, as Banyu - direct contact information for affiliates is
> available at http://www.merck.com/contact/contacts.html) that may be
> confidential, proprietary copyrighted and/or legally privileged. It is
> intended solely for the use of the individual or entity named on this
> message. If you are not the intended recipient, and have received this
> message in error, please notify us immediately by reply e-mail and then
> delete it from your system.
>
> ------------------------------------------------------------------------------
>
>

--
View this message in context: 
http://www.nabble.com/JSF-lifecyle---managed-bean-tf3172695.html#a8817399
Sent from the MyFaces - Users mailing list archive at Nabble.com.




--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to