Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

An EL question

 
Higgledy Smith
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JSF, how can I refence two attributes defined in the backing bean?

I tried both of these, but neither worked. :


OR



Thank you.>
 
Rainer Eschen
author
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first syntax should work. But, it misses the object reference, or the attribute reference ;-). You always need something like



Your backing bean offers getter for both attributes then.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic