0 Replies Latest reply on Apr 6, 2008 7:00 AM by Adrien Adrien

    rich:dataList display:inline problem

    Adrien Adrien Apprentice

      I want to display inline data with datalist.
      i had in css new class but something was wrong, datas always display on vertical.
      anyboty have an example?
      Thks

      css
      .rich-datalist{
      display: inline;
      list-style-type: none;
      background-color:red;
      }
      rich-list-item{
      display: inline;
      list-style-type: none;
      background-color:green;
      }

      code
      <rich:dataList id="ulalbum" rows="3" var="photo" value="#{wrapper.photos}" >
      <h:graphicImage id="icv" value="#{photo.urlPhotoCV}" onclick="" />
      <rich:toolTip for="icv" followMouse="true" mode="ajax" direction="top-right" layout="block">
      <f:facet name="defaultContent">
      <f:verbatim>...</f:verbatim>
      </f:facet>
      <rich:panel>
      <h:form>
      <h:graphicImage value="#{photo.urlPhoto}" />
      </h:form>
      </rich:panel>
      </rich:toolTip>
      </rich:dataList>