Hi Gerhard

Thank you for your hints. I could solve my problem. I'm looping now 
through the session objects to pick and change these ones I like. How it 
performs we will see if the code is on the live environment. I think it 
will work otherwise I will check the observer pattern. Thank you again.

Regards,
Reto


"Gerhard Petracek" <[EMAIL PROTECTED]> wrote in message 
news:<[EMAIL PROTECTED]>...
> hello reto,
> 
> did you already consider to use the observer pattern?
> (i already implemented this pattern for managed-beans.)
> 
> maybe such an approach is too complex for your scenario.
> (i don't know your concrete goal.)
> 
> regards,
> gerhard
> 
> 
> 
> 2008/3/5, Reto Huber <[EMAIL PROTECTED]>:
> >
> > Hi Gerhard
> >
> > Thank you for your answer. In my application the user triggers a 
function
> > (by pressing a button) that affects all instances of a special type 
of
> > Mbean
> > within his session. For this I have to call a method on those 
Mbeans.
> >
> > It isn't a high performance solution but i think I can go with the 
Session
> > Map to get the Mbeans. Or do you know a better way to do this?
> >
> > Regards,
> >
> > Reto
> >
> >
> >
> >
> 
> 
> -- 
> 
> http://www.irian.at
> 
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
> 
> Professional Support for Apache MyFaces
> 

Reply via email to