• Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing vector-properties in a bean  RSS feed

 
Daniel Zuckermann
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a bean that contains a Vector that is filled with some other objects. How can I access the properties of those other objects?

I can access a Vector item that way but I don't know how to access the object properties in the vector. I thought could work, but it doesn't.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ItDoesntWorkIsUseless

Vector? Use a List.

Then if things are as you describe, it should.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!