[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.newcomer] Re: Showing Data from XML file into a Table Using a TableViewer
|
- From: 24adithya@xxxxxxxxx (adithya )
- Date: Tue, 10 Mar 2009 11:46:17 +0000 (UTC)
- Newsgroups: eclipse.newcomer
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Thanks for the information.
Actually,it's a problem of JRE (as you mentioned).
JRE6 supports xml 'binding' whereas jre1.5.0_14 doesn't.(i figured that
out yesterday in the 'rt.jar').
Hence,i switched to jre6 and its working , but if i still want to do it
using jre1.5.0_14 ,is there a way out??
Another problem i am facing is in showing table data.
Suppose i have 5 records to show then always the most recent ,in this case
its showing the last record 5 times in the table.
If i show the 1st and 2nd record its showing the 2nd record twice in the
table (i am using a tableviewer)..
Actually for dummy data its working.
Suppose for 'tables' i want to show the attributes then i am passing all
the attributes to the GUI as a "List"
i.e. Listobject.add(tables); where
tables = table.getTable(); where table contains all the table attributes
data (obtained by unmarshalling).
could you suggest something?
Adithya.