Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

unexpected call to method or property access  RSS feed

 
Arun Sudharsanam
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsf page with inputText which calls valuechangelistener to perform some server-side validations. I have also set autosubmit="true" to submit the page on value change. The problem is when I press tab continuously for 3 to 4 times I am getting a javascript error below the page saying that

Unexpected call to method or property access.

But I am not using any javascript method in my page.

Any help is appreciated.
 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSF creates some javascript functions by itself. See the source of teh page to get better understanding. You can also make use of FireBug to get beeter understanding.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!