You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by murat aydin <ma...@gmail.com> on 2007/12/04 14:37:22 UTC
Bean doesnt show new values
Hi,
I am setting a backing bean's attributes on an action of commandLink.
Commandlink opens a popup and the backing bean that i set its attributes
belongs to that popup page.
The values that i set to bean's attributes doesnt appear on the popup page.
When i do a refresh on the popup page, the new values appear.
Here is the action code:
public void openServices(ActionEvent event){
FacesContext context = FacesContext.getCurrentInstance();
Map map = context.getExternalContext().getRequestParameterMap();
String name = (String) map.get("name"); //parameter sent from
commandLink
FacesContext.getCurrentInstance
().getExternalContext().getSessionMap().remove("pc_ServicesPage");
ServicesPage bean = (ServicesPage) context.getApplication()
.getVariableResolver().resolveVariable(context,
"pc_ServicesPage");//Backing bean of popup page
bean.setClassName(name); // new value is set, although it is updated
it show old value
}
How can i force to show new values on the popup page? Thanks in advance.
murat