Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Custom Component : Having a problem with the javascript i use  RSS feed

sri raman
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am creating a custom component for pagenation in dataTable, using JSF1.1. Im using a hidden field, with id as components id (client Id) and setting the value of this field to find if the component was actually selected(clicked)

but im not able to find this componentId(actually it is the hiddenfields id) in requestParameterMap().

and also that im not able to find the other hidden fields i created using the custom component in requestParameterMap(). It only contains those values that are explicitly set in the page as hidden (hardcoded in page)

and when the page is redisplayed(as nothing is done in the decode method) im getting a
java.lang.IllegalStateException: Duplicate component ID found in view.

Any help/suggestion is appreciated.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!