0 Replies Latest reply on Oct 12, 2012 7:10 AM by Sergey Morenets

    a4j:mediaOutput and data iteration components

    Sergey Morenets Novice

      Hi

       

      Does a4j:mediaOutput work inside data iteration components? I have a case which worked in RF 3.3.3

      however fails to work in 4.2.2. The "paint" method is invoked only for the first element in the list.

      Thus only the first image is visible. Other images are rendered but FireBug shows that their URL is invalid.

       

      Please see the source code below.

       

      <rich:list var="file" value="#{album.uploadBean.files}"

                              type="definitions" columns="1" >

                              <h:panelGrid columns="2">

                                  <a4j:mediaOutput element="img" session="false"

                                      createContent="#{mediaBean.paint}" value="#{file}"

                                      cacheable="false">

                                      <f:param value="#{album.uploadBean.timeStamp}" name="time" />

                                  </a4j:mediaOutput>

                                  <h:inputTextarea value="#{file.description}" />

                              </h:panelGrid>

                          </rich:list>

       

      Also the same issue https://community.jboss.org/message/630463

       

      I have the following configuration: RF 4.2.2,JSF 2.1, Spring 3.1