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
-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
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.
3 matches
Mail list logo