On Apr 27, 2005, at 12:21 AM, Pavankumar wrote:
Hi,
I have problem in displaying data in displaytag table. I am fetching data
from database into an arraylist/list object.
al = getData() // fetches data from database and arraylist object al holds the
data. al can be arraylist object or list object
request.setAttribute("results",al);
<display:table name="$(results) pagesize="10">
<display:column property:"F1" value=" "> // F1 is table column name in database
Your syntax looks funny - shouldn't it be property="F1"? There needs to be a getF1() methods on the objects that are loaded into the "al" list.
Matt
.. .. </display>
can someone please tell me why data is not getting passed into displaytag
through arraylist/list object
thanks in advance, Pavan.
------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user
------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

