Changing a managed property from others managed beans

2005-06-16 Thread Rogerio Pereira
Hi, How can i change/access a managed property from any other managed bean. Thanks for any answer. Rogério

Re: Changing a managed property from others managed beans

2005-06-16 Thread Enrique Medina
Hi, Why not simply refer to the other bean using Dependency Injection through the JSF Managed Bean mechanism? For example, yourInitialBean com.whatever.you.want.YourInitialBean request otherManagedBean #{otherManagedBean} Quique. 2005/6/16, Rogerio Pereira <[EMAIL PROTECTED]>: > Hi, > > H

Re: Changing a managed property from others managed beans

2005-06-17 Thread Duncan Mills
Or if you want to access another managed bean at "runtime" so to speak you can use a method something like this: public static Object resolveExpression(FacesContext ctx, String expression) { Application app = ctx.getApplication(); ValueBinding bind = app.createValueBinding(expression);