0 Replies Latest reply on Oct 16, 2007 6:32 PM by asookazian

    modalPanel and rendering images conditionally

    asookazian

      Seam 2.0.0.CR2
      JBoss 4.2.1.GA

      I have a h:dataTable with six columns, three of which are radio buttons that launch richfaces modalPanel onclick event of NO selection. The other three columns are read-only. Initially in the use case, the graphics will not display next to the radio buttons b/c there are no comments entered yet (assuming no saved data in Comments table in DB).

      The user then enters a comment in the modal popup and submits. Then I need the <h:graphicImage> to render after they have entered a note for that particular cell (radio button) in the dataTable. When they click the graphic again, they can edit their previously entered comment.

      How should I go about doing this? Any examples or advice is much appreciated. thx.