1 Reply Latest reply on Jan 7, 2009 4:02 PM by soltys.moonlight.c.wp.pl

    Seam 2.1.1.GA, RichFaces 3.3.0.CR2 rendered problem

    soltys.moonlight.c.wp.pl
      I'm having such piece of code:

      <rich:column rendered="#{dictMgr.isSubDictionary()}">
          <h:selectOneMenu value="#{x.precedent.id}">
              <f:selectItem itemLabel="#{messages.combo_choose}" itemValue="" />
              <f:selectItems value="#{dictMgr.selectPrecednetValues}" />
          </h:selectOneMenu>
      </rich:column>

      which displays values of a dictionary, this exact column displays precedent if
      dictionary is hierarchical, based on result isSubDictionary() method. But when submitting
      form with above code I get error when current dictionary doesn't have precedent field,
      which is true in that case. I used this code with Seam 2.0.6.GA and RichFaces 3.1.6.GA
      and everything worked fine, but now it doesn't.
      Curious thing about it is when instead x.precedent.id I use a method of some kind
      everything works fine, how about that?

      Appreciate any help,
      Maciej