0 Replies Latest reply on May 28, 2008 3:45 PM by Edwin van der Elst

    Performance selectitems, in and outjection

    Edwin van der Elst Newbie

      Related post: Performance issues

      This is a variant on the problems described in that post.

      I have a
      h:selectOneMenu with as value 'bean.organisation'.

      The problem is, that for each element rendered using s:selectItems, the expression for the value of h:selectOneMenu is evaluated.
      The bean is in conversation scope and this results in a lot of unneeded in/out-jection.

      I can work around this by putting the currently selected value directly in conversation scope, or in another class that I outject.

      But is there an easier way to have the expression for current value only evaluated once?

      Edwin van der Elst