0 Replies Latest reply on Sep 21, 2009 8:22 PM by lucius yu

    Outjection not working for some variables

    lucius yu Newbie

      Hi all,

      I'm calling an action method of a Conversation Scoped Session Bean bi my XHTML's EL like


      and it calls:

              private List<Section> sections;
              private List<Section> selectedSections;
              public void find() throws Exception {
                      if( selectedChapter!= null ){
                              sections = selectedChapter.getSections();
                              selectedSections = new ArrayList<Section>();
                      translations = new ArrayList<Translation>();
                      for (Section section : selectedSections) {
                              for (Translation translation : section.getTranslations()) {

      For some reason, the variable sections gets outjected properly, but the selectedSections does not!  Why is that?