Questions tagged [selectmanycheckbox]

JSF tag to create a checkbox group.

The <h:selectManyCheckbox> is a JSF UI component which generates a bunch of HTML <input type="checkbox"> elements which allows you to bind the checked values to a managed bean property of collection or array type.

80 questions
1
vote
0 answers

JSF- SelectManyCheckBox cannot be add programmatically

I'm using primefaces 3.5 . I have a HtmlPanelGrid to show a popup which contain a list of checkboxes. But the popup isnt show up. private List selectedList; public List getSelectedList() { return selectedList; } public void…
Tony_Ynot
  • 155
  • 1
  • 14
1
vote
2 answers

dynamically creating selectManyCheckbox with tooltip

I have a HashMap in the backing bean and I want to dynamically render multiple select box. Here is the code:
Ravi
  • 323
  • 2
  • 6
  • 18
1
vote
1 answer

select all p:selectManyCheckbox

I'd like to create a button to select all checkboxes but I couldn't find one example that works for me. I'm using primefaces.
Camilla
  • 489
  • 5
  • 14
0
votes
1 answer

Required message in SelectManyCheckbox componente

I'm using JSF 2.1 with RichFaces 4 and I have a form with a selectManyCheckbox which I want it to have at least one item selected before processing the form. I put to true the attribute required but no message appears when I click the submit button…
BRabbit27
  • 6,333
  • 17
  • 90
  • 161
0
votes
0 answers

JSF h:selectManyCheckbox doesn't work if the 'value' attribute is a Map. JSF changes the Map values to other type

I'm facing one of those mystery problems. First have a look at the files below (sorry if there are still some names in Portuguese, but I think they don't get in the way): PaginaDevolucao.java @ViewScoped @Named("devolution") public class…
Marcos
  • 1,237
  • 1
  • 15
  • 31
0
votes
1 answer

p:selectmanycheckbox in p:datatable overrides selections

The first pic shows the selection of two checkboxes in a datatable. There were two rows of the datatable shown. At the first checkbox of the row you can see the brackets of the selection list. The only action were the selection of the checkboxes.…
derMicki
  • 55
  • 8
0
votes
1 answer

How to allow selection then deselection in selectManyChoice LOV outside a view criteria

here is my issue. I got a selectManyChoice in a form (that is not part of a view criteria). Everything work just fine except when a user select 1 or multiple entries, they can't deselect them all otherwise I get a PPR exception. The setup I have is…
Incognito
  • 493
  • 2
  • 8
  • 22
0
votes
0 answers

Ajax not work on primefaces selectManyCheckbox with converter

I'm trying to use primefaces selectManyCheckBox with ajax and converter, but the ajax not fired. If I'm didn't use converter, the ajax can fired. Is there something wrong with my converter?
berry
  • 97
  • 1
  • 13
0
votes
1 answer

selectManyCheckbox into p:dataTable column

I can not correctly view the contents of a column with selectManyCheckbox in p:dataTable. Here my .xhtml:
0
votes
0 answers
0
votes
1 answer

JSF SelectManyCheckbox/SelectOneMenu example

I would like to make a little html page where you can select the operators you would like to use in your calculation in a checkbox and under the checkbox there is a dropdown list which has the above selected operators as content. Everytime you…
Andor Nemeth
  • 37
  • 1
  • 6
0
votes
1 answer

ui:repeat h:selectManyCheckbox i can t get values inside a list

I'm working on a JSF 2.2 project , jboss 8.x I created a dynamic form only with selectManyCheckbox. I have the following code :
tero17
  • 1,570
  • 1
  • 11
  • 20
0
votes
1 answer

h:selectManyCheckbox converter's getAsObject always retrieves "on" as submitted value

I have a bean: @ManagedBean(name = "bExam") @SessionScoped public class BExam implements Serializable { private List categories; private List categoriesSelected; public BExam() { categories =…
Df.fpm
  • 189
  • 1
  • 5
  • 15