RE: Column entries not being added to table via HashMap

2013-08-22 Thread Roger L. Whitcomb
to have you using Pivot for your project! ~Roger -Original Message- From: Ajay Bhat [mailto:a.ajay.b...@gmail.com] Sent: Wednesday, August 21, 2013 8:06 PM To: dev@pivot.apache.org Subject: Re: Column entries not being added to table via HashMap Hi Roger, Okay, I've done some fiddl

Re: Column entries not being added to table via HashMap

2013-08-21 Thread Ajay Bhat
Hi Roger, Okay, I've done some fiddling around with the code and now it works as expected. Thanks for the help, Ajay Bhat

Re: Column entries not being added to table via HashMap

2013-08-21 Thread Roger Whitcomb
Hi Ajay, That shouldn't be necessary. Your data structures are correct. The problem is your column identifier being "class". The BeanAdapter is going to first look for a method named "getClass" in the HashMap, which, of course, will find the "getClass" method from Object and use the "

Re: Column entries not being added to table via HashMap

2013-08-21 Thread Ajay Bhat
I'm thinking I should change the Map to Map since there are 3 columns. On Wed, Aug 21, 2013 at 6:13 PM, Ajay Bhat wrote: > Here are the 2 attachments I sent earlier : > > 1. > http://i1175.photobucket.com/albums/r628/otto_netz/Capture1_zps36f0a2a1.jpg > > 2. > http://i1175.photobucket.com/

Re: Column entries not being added to table via HashMap

2013-08-21 Thread Ajay Bhat
Here are the 2 attachments I sent earlier : 1. http://i1175.photobucket.com/albums/r628/otto_netz/Capture1_zps36f0a2a1.jpg 2. http://i1175.photobucket.com/albums/r628/otto_netz/Capture2_zps3c8d3a2a.jpg Here's a link to the code : https://github.com/ajaybhat/ApacheWorkspace/blob/master/Luke%20San

RE: Column entries not being added to table via HashMap

2013-08-20 Thread Roger L. Whitcomb
Hi Ajay, The attachments didn't come through. But, I've seen this before. Are you trying to use a HashMap for the whole row? So that the data for the entire TableView would have to be List>?! Or are you trying to assign a HashMap value to just one column? By default the column