Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deadlock in JSF page

 
V.Rajesh Kanna
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All ,
I'm working in JSF for the past 3 months . Today I noticed something new in a JSF page . When a recursive param is defined the page goes mad. None of the action buttons are working properly.

The recursive param in my page
<h:inputHidden name="kanna" value="#{request.parameter['kanna']}"/>

after adding this in any working JSF page all action buttons stop working. Why this happens ?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any particular reason why when you set yourself up to recurse forever you should expect the app not to do so?

Although as far as it goes, using the "request" object as though it was a backing bean is unwise at best.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic