Questions tagged [selectmanymenu]

JSF tag to create a multi select dropdown.

The <h:selectManyMenu> is a JSF UI component which generates a HTML <select multiple="multiple" size="1"> element which allows you to bind the selected values to a managed bean property of collection or array type.

21 questions
0
votes
0 answers

selectManyMenu Converter basics

I'm trying to make selectManyMenu works, but I have problems writing the converter for it correctly. This is the first time I need to write converter so things are not so clear to me. I have read on several places that I shouldn't do any calls to…
Marko P
  • 89
  • 1
  • 12
0
votes
2 answers

Why is UISelectMany not returning a collection on a generic property?

I have a JSF page that contains a element. The value attribute points to a generic object defined in a subclass as type ArrayList. According to the java documentation the UISelectMany should return its value from…
Rob Benton
  • 427
  • 1
  • 4
  • 11
0
votes
1 answer

Conditionally enable/disable p:selectManyMenu based on h:selectOneRadio value

I am having 2 radio buttons one enable and disable. if i click enable the all selectmanymenu tags should be disabled and vece versa. could you please help me. i have attached the code below. radio button code:
0
votes
1 answer

how to go through a List of Object

I'm not novice to java , but today i sucked to a problem for 1 hour, i don't know why . My code looksas follows: My ArrayList: private ArrayList selectedThemes; My Loop: for (Theme selectedTheme : selectedThemes) { …
user3521250
  • 115
  • 3
  • 14
0
votes
0 answers

selectManyMenu selection values inside a composite

I've created a composite that contains the PrimeFaces selectManyMenu. I'm attempting to pass the bound selection value into the composite, but it fails. Composite code:
Paul
  • 449
  • 1
  • 5
  • 13
-1
votes
1 answer

javax.faces.FacesException: Value of must be an array or a collection

I am getting the error: javax.faces.FacesException: Value of 'frmrapport:type' must be an array or a collection from the XHTML file:
1
2