• Post Reply Bookmark Topic Watch Topic
  • New Topic

Object Type Argument to EL Functions  RSS feed

 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do we supply argument to EL Function which is an Object - say a Map stored in request scope? I tried the following syntax but it does not compile:

${mine oIt(${myMap})}
 
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
Make sure that the 'disable smilies' checkbox is checked when submitting code.



The ${} is not a 'fetch' operator. It encloses then entire EL expression.
[ September 06, 2005: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!