i think it should read some thing like this....
 
  <display:table name="allList" id="allL" pagesize='10' cellpadding="3"  cellspacing="1" class="newtable" decorator="org.hyweb.ebpps.wrappers.NAEBW01_CF201" requestURI="/action/QAList.do?myAction=list" > 
  <display:column titleKey="hyweb.ebpps.consumer.general.titleId" property="msgCheckBox" sortable="true" />
 </display:table>
 
 
package org.hyweb.ebpps.wrappers;
import org.hyweb.ebpps.models.NAEBT01_CF201;
public class NAEBW01_CF201 extends BaseWrappers
{
    public String getMsgCheckBox()
    {
      NAEBT01_CF201 model = (NAEBT01_CF201) this.getCurrentRowObject();
      return "<input type='checkbox' value='"+model.getMsgId()+"' > " ;
    }
}
NAEBT01_CF201 is the model of your list and model.getMsgId() is just the method of ur class.......
 
hope this helps
 
 
凌網科技股份有限公司
http://www.hyweb.com.tw
總公司 : 新竹市東光路192號9樓之1
分公司 : 台北市重慶南路二段51號5樓
趙駿吉(Lewis) 系統工程師
EMail: [EMAIL PROTECTED]
TEL:23956966 ext 577
MSN: [EMAIL PROTECTED]
----- Original Message -----
Sent: Thursday, June 01, 2006 4:17 AM
Subject: [displaytag-devel] _javascript_ with Display Tag Column

I want to display a checkbox to the left of each item in my column.  How do I go about doing that? 
 
I read that I need to use a decorater and possibly create a subclass.  But not sure.
 
Here is how it looks so far:
 
<display:table name="test" pagesize="10" size="32" id="table1" >
        <display:column property="id" title="id" />
 </display:table>
 



_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to