Re: Initializing Beans - Two problems

2007-05-08 Thread Francisco Passos
Simon Lessard [mailto:[EMAIL PROTECTED] *Sent:* maandag 7 mei 2007 20:07 *To:* MyFaces Discussion *Subject:* Re: Initializing Beans - Two problems Hello Francisco, You could implement your own VariableResolver using decorator pattern delegating to the original resolver then initializing the bean if

RE: Initializing Beans - Two problems

2007-05-08 Thread Beelen, Marco
-properties are set. With kind regards, Marco Beelen From: Simon Lessard [mailto:[EMAIL PROTECTED] Sent: maandag 7 mei 2007 20:07 To: MyFaces Discussion Subject: Re: Initializing Beans - Two problems Hello Francisco, You could implement your own V

Re: Initializing Beans - Two problems

2007-05-07 Thread Simon Lessard
Hello Francisco, You could implement your own VariableResolver using decorator pattern delegating to the original resolver then initializing the bean if your condition is true. The code would look as follow: public Object resolveVariable(FacesContext context, String name) { Object o = delegate.