Hi I'm trying to load some heavy js file only after a user have clicked on button so basically when user loads the main page there is a hidden page inside wrapper that hidden page got #{myBean.show} Woooow and my callme looks like this public void callme(){ show = !show; System.out.println("caaaaaaaaaaaal me\t"+show); } This works perfectly in my mojarra sandbox , but for some reason it is not being loaded in my Myfaces 2.0.11 application I even tried the latest 2.1.8 snapshot Is there any web.xml configuration that I'm missing Thanks ahead, Daniel.