Questions tagged [selectcheckboxmenu]

14 questions
2
votes
0 answers

Primefaces selectCheckboxMenu not working properly

I'm using primefaces selectCheckboxMenu with multiple= "true". I'm having 2 issues with this tag now. That token at right side of the checkboxmenu is not aligned properly Unable to see the label attribute value when multiple="true". Can anyone…
ARK
  • 35
  • 8
1
vote
0 answers

How to call listener in a p:selectCheckboxMenu with item passed in inside listener as parameter

I am using the selectCheckboxMenu to enable multiple users be selected. What I am trying to achieve is that, every time the user does a selection, the event will call the listener and pass in the selection as a parameter. Something like…
1
vote
0 answers

Primefaces SelectCheckboxMenu ajax not working when itemValue attribute is set as custom object instead of an Integer or String

I am trying to perform ajax on selecting any element in selectCheckBoxMenu primefaces. But ajax event fires only if itemValue is equal to String. If i am passing object then not event is fired. Please have a look. package…
Shivani Bhansali
  • 109
  • 1
  • 12
1
vote
0 answers

Primefaces selectOneMenu component items not rendered in separate file using ui:include

I one of my Primefaces faces projects I've created a complex form (main.xhtml) with one large panel (used for advanced filter) which I show on-demand. It worked perfectly. Later I decide to do some xhtml refactoring and I've moved the filter panel…
1
vote
0 answers

Why the SelectCheckboxMenu + Map> just turn the value inside the variable?

When I set the variable in my bean, the conversion is OK. Look the variables in the Image: Without Conversion Error When I use xhtml to set a variable, UI:repeat + p:selectCheckboxMenu I received this error: /* Caused by:…
1
vote
1 answer

Avoid scroll-up JSF primefaces selectCheckboxMenu component after change label

When we select an option of a primefaces selectCheckboxMenu using scroll down, after change listener, the component is updated and scroll go to the up and this behavior seems wrong. This is my code: XHTML
0
votes
1 answer

Converter method getAsObject() getAsString() never called

The convert doesn't work. This is the code abount my xhtml(For now I need to list only all values):
Postilla
  • 161
  • 1
  • 1
  • 8
0
votes
1 answer

How to Trigger Ajax To Load Nested Dropdowns After Loading A Form?

I have a button to display an edit dialog form with a selectOneMenu that holds prefix number values in it and, after selecting one of those prefix values, three selectCheckboxMenu are loaded with employees data. This is workinkg fine.
jMarcel
  • 958
  • 5
  • 24
  • 54
0
votes
1 answer

Primefaces selectCheckboxMenu erratic behavior when deselecting individual checkboxes

In an application based on jsf 2.1 and Primefaces 6.1.5, I have difficulties implementing a
Robert
  • 478
  • 6
  • 19
0
votes
1 answer

selectCheckboxMenu primefaces return empty List

I'm trying to get selected values from a selectCheckboxMenu using PrimeFaces 5.3 and JSF 2, but always the selection list is empty. This is the HTML part:
hmzn
  • 321
  • 2
  • 6
  • 22
0
votes
3 answers

How to pass the selected values from selectcheckBoxMenu to my bean?

I'm using JSF 2.2.8 and primefaces 6.0, and i have a selectCheckBoxMenu i want to retrieve the selected values in my bean. The selectCheckboxMenu is filled from the database but when i select the attributes and I save nothing happens it does not…
CHARAFI Saad
  • 1,340
  • 3
  • 16
  • 36
0
votes
3 answers

p:selectcheckboxmenu - customize scrollheight

Is there a way to tell the scrollheight to either be of certain height (say 150) or if there aren't enough items to fill this height - fit content?
Dina Kleper
  • 1,949
  • 4
  • 17
  • 23
0
votes
1 answer

PrimeFaces 5.2 selectCheckboxMenu not support Map style selectItems

I am trying to use Map style selectItems in my but unfortunately, it not works. Backing bean: @Named(value = "roleBean") @SessionScoped public class RoleBean(){ private Map roleMap; …
0
votes
1 answer

How to select all checkboxes with Selenium-WebDriver with javascript

I would like to select all checkboxes in a table, using javascript language in Selenium webdriver. I'm new to Selenium and I just can't find the right solution, so I would be grateful for any help. PS. I have 10 rows in my table. The html: