• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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

 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Saloon Keeper
Posts: 28661
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried adding a get method, but I still get the same exceptions
 
Tim Holloway
Saloon Keeper
Posts: 28661
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic