---- murat aydin <[EMAIL PROTECTED]> schrieb:
> 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.

What does your managed-bean declaration for pc_ServicesPage look like?

Regards,

Simon

Reply via email to