0 Replies Latest reply on May 24, 2008 4:26 AM by guarf

    Losing data from inputs when I call save method from other b

    guarf

      I have two beans (controllers), one from a Menu and other from the showing page (what i have selected previously from the menu).

      The page have a few inputs and works perfect when i call page controller methods like "create", "destroy", etc, using commandbuttons.
      But, when I call these methods from the menu controller the data from inputs isnt in the object.

      That is the way i call the method from my Menu Controller:

      Map sessionVars = FacesContext.getCurrentInstance().getExternalContext().getSessionMap();
      (SYSuserController)sessionVars.get("SYSuser")).create();



      Any suggestion will be appreciated.