• Post Reply Bookmark Topic Watch Topic
  • New Topic

Property can't be found that's definitely there!  RSS feed

 
Daniel Prene
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting a really weird exception that I don't beleive I should be getting.



Here's the jsf:
(take a look at the t:columns)


I've confirmed that the t:columns is iterating through the list and the variable is in fact a Developer. I did this by h utputTexting the developer variable.

Developer is a simple public class that contains the following


Any help would be endlessly appreciated.
- D.P.

[ March 20, 2006: Message edited by: Daniel Prene ]
[ March 20, 2006: Message edited by: Daniel Prene ]
 
Tim Holloway
Bartender
Posts: 18663
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is ""developer" a class that implements Map or extends HashMap?

It looks like the beanutils wants to do a developer.get("shortName") instead of a developer.shortname()
 
Daniel Prene
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Developer does not implement Map or extends HashMap.

It looks like the beanutils wants to do a developer.get("shortName") instead of a developer.shortname()

but I can grab values from the project var just fine...
 
Daniel Prene
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried adding a get method, but I still get the same exceptions
 
Tim Holloway
Bartender
Posts: 18663
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You've got me. BTW, what I SHOULD have said was:

It looks like the beanutils wants to do a developer.get("shortName") instead of a developer.getShortname()


But I think you knew that. Maybe you could post the source of the developer bean and its faces-config.xml stanza?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!