title: Can I hide a column in displaytag using media='none'
body: <p>Can i hide a column in displaytag using <code>media='none'</code>? Will there be any other consequences due to this as am using the value from the hidden column in another column of the displaytag as a parameter to a hyperlink.</p>
  
  <p>I succeeded in hiding the column but get the foll: warning in the server logs</p>
  
  <blockquote>
    <p>W org.displaytag.tags.ColumnTag setMedia Unrecognized value for attribute "media" value="none"</p>
  </blockquote>
  
  <p>I tried using class as hidden but it didn't workout so i went ahead with media as none and it worked.</p>
  
  <hr>
  
  <pre><code>   &lt;table border="1"  width="100%"   align="center" cellpadding="0" cellspacing="1"    class="table_main"&gt;
  
  
  &lt;display:table name="requestScope.ITIReportForm.rprtData" id="table" export="true" sort="list" requestURI="/itireport.do"   pagesize="20" align="center"  class="table_main" width="100%"&gt;
  
  &lt;display:column width="5%"  align="center" media="html" titleKey="" headerClass="table_header" title="Request No"&gt;
  &lt;a href="/apeweb/homesubmit.do?method=showRequest&amp;requestNo=&lt;%=((ITIReportVO)table).getReqNo()%&gt;&amp;reqStatus=&lt;%=((ITIReportVO)table).getStatusreq()%&gt;&amp;reqType=&lt;%=((ITIReportVO)table).getTypeofrequest()%&gt;"&gt;&lt;%=((ITIReportVO)table).getReqNo()%&gt;&lt;/a&gt;
  &lt;/display:column&gt;
  
  &lt;display:column width="5%"  align="center" class="hidden" media="Excel" title="Request No" headerClass="table_header" &gt;
  &lt;%=((ITIReportVO)table).getReqNo()%&gt;
  &lt;/display:column&gt;
  &lt;display:column  class="hidden" property="statusreq" title="Status" headerClass="table_header" width="16%" align="center" media ="none"/&gt;
  &lt;display:column  class="label_text" property="typeofrequest" title="Req Type" headerClass="table_header" width="10%" align="center"/&gt;
  &lt;display:column  class="label_text" property="cdsID" title="CDSID" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="ll6CdsID" title="LL6 CDSID" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="requestStatus" title="Request Status" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="creationDate" title="Creation Date" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="assgnITI" title="Assigned to ITI" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="assgnAsstAdm" title="Assigned to Asset Admin" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="assgnHlpDsk" title="Assigned to Help Desk" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="closdDate" title="Closed Date"  headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:setProperty name="export.xls.filename" value="rprtData.xls"/&gt;
  &lt;display:setProperty name="css.tr.even" value="row1" /&gt;
  &lt;display:setProperty name="css.tr.odd" value="row2" /&gt;
  &lt;display:setProperty name="paging.banner.placement" value="bottom" /&gt;
  &lt;display:setProperty name="basic.msg.empty_list"  value="No Records Found" /&gt;
  
   &lt;/display:table&gt;
  &lt;/table&gt;
  </code></pre>
  
  <hr>
  
  <p>@  alfasin ...Here is my code...I tried using class as hidden but it didn't workout so i went ahead with media as none and it worked.</p>
  
  <pre><code>   &lt;table border="1"  width="100%"   align="center" cellpadding="0" cellspacing="1"    class="table_main"&gt;
  
  
  &lt;display:table name="requestScope.ITIReportForm.rprtData" id="table" export="true" sort="list" requestURI="/itireport.do"   pagesize="20" align="center"  class="table_main" width="100%"&gt;
  
  &lt;display:column width="5%"  align="center" media="html" titleKey="" headerClass="table_header" title="Request No"&gt;
  &lt;a href="/apeweb/homesubmit.do?method=showRequest&amp;requestNo=&lt;%=((ITIReportVO)table).getReqNo()%&gt;&amp;reqStatus=&lt;%=((ITIReportVO)table).getStatusreq()%&gt;&amp;reqType=&lt;%=((ITIReportVO)table).getTypeofrequest()%&gt;"&gt;&lt;%=((ITIReportVO)table).getReqNo()%&gt;&lt;/a&gt;
  &lt;/display:column&gt;
  
  &lt;display:column width="5%"  align="center" class="hidden" media="Excel" title="Request No" headerClass="table_header" &gt;
  &lt;%=((ITIReportVO)table).getReqNo()%&gt;
  &lt;/display:column&gt;
  &lt;display:column  class="hidden" property="statusreq" title="Status" headerClass="table_header" width="16%" align="center" media ="none"/&gt;
  &lt;display:column  class="label_text" property="typeofrequest" title="Req Type" headerClass="table_header" width="10%" align="center"/&gt;
  &lt;display:column  class="label_text" property="cdsID" title="CDSID" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="ll6CdsID" title="LL6 CDSID" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="requestStatus" title="Request Status" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="creationDate" title="Creation Date" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="assgnITI" title="Assigned to ITI" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="assgnAsstAdm" title="Assigned to Asset Admin" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="assgnHlpDsk" title="Assigned to Help Desk" headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:column  class="label_text" property="closdDate" title="Closed Date"  headerClass="table_header" width="6%" align="center"/&gt;
  &lt;display:setProperty name="export.xls.filename" value="rprtData.xls"/&gt;
  &lt;display:setProperty name="css.tr.even" value="row1" /&gt;
  &lt;display:setProperty name="css.tr.odd" value="row2" /&gt;
  &lt;display:setProperty name="paging.banner.placement" value="bottom" /&gt;
  &lt;display:setProperty name="basic.msg.empty_list"  value="No Records Found" /&gt;
  
   &lt;/display:table&gt;
  &lt;/table&gt;
  </code></pre>