Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Does EL have a findAttribute() method

 
Varun Nayudu
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Scripting when we dont know the scope of the attribute we use the pageContext.findAttribute() method but does EL have any provission for such kind of searching
 
Bobby Sharma
Ranch Hand
Posts: 598
3
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think so , findAttribute is a method from PageContext.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. When you reference a scoped variable by name, it is automatically searched for in all scopes just as with findAttribute().

Would this not have been an easy thing to test for yourself?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic