Value List Handler
Tag row


This is an iterate tag. This tage takes the ValueList and iterates the elements in the ValueList.list property.


Tag Information
Tag Classnet.mlw.vlh.web.tag.DefaultRowTag
TagExtraInfo Classnet.mlw.vlh.web.tag.DefaultRowTei
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
beantruetruejava.lang.String

The name of the pageContext key to place the current iteration on.

Example

Considere that we have an class Player with method getId.

<vlh:row bean="player">

    Using EL language we shows the player id ${player.id}.
</vlh:row>

displayfalsetruejava.lang.String

Specify the name of an display adapter (defined in configuration bean) to use, default is html.

Example

JSP
display="html" bean="player"gt;
Configuration bean

<bean id="classicLook" singleton="true" class="net.mlw.vlh.web.ValueListConfigBean">

    Ommited content. <property name="displayProviders">
      <map>
        <entry key="html">
          <bean id="classicLookHtmlDisplayProvider" class="net.mlw.vlh.web.tag.support.HtmlDisplayProvider">
            <property name="imageHome"><value>images</value></property>
          </bean>
        </entry>
        <entry key="csv"><ref bean="csvDisplayProvider" /></entry>
        <entry key="excel"><ref bean="excelDisplayProvider" /></entry>
      </map>
    </property>
</bean>
<bean id="csvDisplayProvider" class="net.mlw.vlh.web.tag.support.CsvDisplayProvider"/>
<bean id="excelDisplayProvider" class="net.mlw.vlh.web.tag.support.ExcelDisplayProvider"/>

disableHeaderfalsetrueboolean

Disable rendering of header. Default is false. But when there are not specified column's titles, it will skip rendering anyway.

Usage
  • true
  • Skip zero (header) row of the table.
  • false
  • Default setting. Automatic detection of rendering header. (Check if at least one column has a title, if yes, render header row, if no, skip it.)
  • nestedHeaderfalsetrueboolean

    Specifies how to render the value list header in case of nested value list (the default is true).

    Usage
    • false
    • - the header of the nested value list is rendered as a part of the header of the top value list
    • true
    • - the header is rendered for each nested valuelist

    Variables
    No Variables Defined.


    Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.