Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

selectManyCheckbox problem

Popescu Ion
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic