• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF bean access in Java code  RSS feed

 
Urs Wagner
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

How can I access the JSF bean in the <% Java code %> section in the JSP file?
 
Sergey Smirnov
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The same way You can get it from the regular java code. Use Value Binding or Variable resolver.
Take a look for the code snippets at:
http://jsffaq.com/Wiki.jsp?page=HowToAccessOneManagedBeanFromAnotherManagedBean

--
Sergey : http://jsfTutorials.net
[ October 18, 2005: Message edited by: Sergey Smirnov ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!