aspose file tools
The moose likes JSF and the fly likes Custom Component : Having a problem with the javascript i use Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Custom Component : Having a problem with the javascript i use" Watch "Custom Component : Having a problem with the javascript i use" New topic
Author

Custom Component : Having a problem with the javascript i use

sri raman
Greenhorn

Joined: Dec 03, 2009
Posts: 6
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.
Thanks,
Sriraman
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Custom Component : Having a problem with the javascript i use
 
Similar Threads
jsf and hidden fields
Passing a Querystring from one page to the next
cant get value from inputText
Database Ids and Forms
Custom objects on the ActionForm