• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF -ActionListener method

 
Vidu Greg
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

I am having actionListener method (Bean Scope -Session) in searchcommandButton. This method is called if only I have immediate="true" option otherwise its not being called. I removed immediate="true" because sometimes I was getting ArrayList out of bound exception. Please help me in this matter.

Thanks

VD
 
Sergey Smirnov
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The phase where actionListener is invoked depends of the immediate attribute.
if you put <h:messages /> on the page, does it show anything?

--
Sergey : http://jsfTutorials.net
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!