0 Replies Latest reply on Jul 19, 2010 9:59 AM by Edilmar Alves

    selectOneMenu + button New + refresh

    Edilmar Alves Expert



      I use JSF2 + RichFaces3.3.3 in my webapp.

      I have a selectOneMenu with values from other table (foreign key).

      Then, I would like to create a NEW button beside selectOneMenu,

      to show the window than manage the foreign table and, if I create a

      new record at this table, when the user closes this window, refresh the

      selectOneMenu showing the new record. I would like to create a

      generic code for this, to use in many locals.


      The part to click button and show foreign window is easy.

      But I don't know how to refresh the selectOneMenu after

      user closes the foreign window.


      Thanks for any helps.