File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes selectManyCheckbox problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "selectManyCheckbox problem" Watch "selectManyCheckbox problem" New topic

selectManyCheckbox problem

Popescu Ion
Ranch Hand

Joined: Jan 14, 2011
Posts: 33
Hi guys,
I have a JSF page named list.xhtml, and it's job is to render a table with data. This page is called with GET request with one paramater, the paramater specify wich data to be displayed. Within this table I put a selectManyCheckbox tag for selecting rows to be deleted.
Questions :
1) selectManyCheckbox tag is performed only with POST method (I mean with commandButton and commandLink only), or it can use and GET request (I've tried with GET, button and link, and doesn't work)
2)When i hit the commandButton submit, a method is performed (deletion process), than returns a String with list.xhtml value, but I can't put there any parameter to display that page because it's a POST method, in the same time I need a parameter to that page to specify wich data to be displayed. How can I pass this parameter ?
I've tried to return something like list.xhtml?folderId=5, but when the page it's displayed, the #{param['folderId']} returns NULL value.

Any ideas?
Need your help please! Thnx in advance.

Sorry for my English, it is not my first language.
I agree. Here's the link:
subject: selectManyCheckbox problem
It's not a secret anymore!