Menu

orientation (horizonal display)

Help
Garry
2005-04-04
2012-10-08
  • Garry

    Garry - 2005-04-04

    I have a List in which each record references to a image file.
    Now I want to display these images in a table format with next and previous
    links.
    No problem so far, the tagllib can handle it!
    But, I want to display the records in a horizontal -orientation. So not a <tr>
    for each record, but a <td>. Is this possible?

    \What I actually want is to display 4 images per line.

    i.e:
    img1 img2 img3 img4
    img4 img6 img7 img8

     
    • Matt Raible

      Matt Raible - 2005-04-05

      No, I don't believe this is possible. Of course, it's possible to give a <column> a body, so you might be able to do something with that. Just remove the "property" attribute and specify text in the body.

       
    • Garry

      Garry - 2005-04-05

      Is it possible to increment to next row in decorator? That way I could have decorator display 4 rows as 4 columns?

       
      • Matt Raible

        Matt Raible - 2005-04-05

        I don't know - hopefully someone that has more knowledge of the displaytag's internals can help you.

         
    • Garry

      Garry - 2005-04-05

      Who would that be?

       
      • Matt Raible

        Matt Raible - 2005-04-05

        Hopefully someone that's monitoring these forums. ;-) My guess is it's not possible to do what you're trying to do.

         

Log in to post a comment.

MongoDB Logo MongoDB