Questions tagged [uirepeat]

JSF/Facelets component to iterate over a collection or array without generating markup.

The <ui:repeat> is a Facelets component which allows you to iterate over a collection or an array without generating any additional markup.

224 questions
0
votes
1 answer

p:radarChart stacks all objects of an ArrayList in every chart

The user first makes a selection, according to this selection my BackingBean builds the corresponding number of radarModels and adds them in an ArrayList. An is then updated and the requested radar charts are output to the user with the…
Benko
  • 11
  • 4
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

How to get values from ui:repeat in a html form

I have resolved my previous problem posted in: ui:repeat, populate list Now I would like to know how to get the values modified in the form and pass to my bean. This is how I done: in the form:
davisoski
  • 727
  • 2
  • 14
  • 41
0
votes
0 answers

How can I use jsf ui:repeat inside af:column for a list per table entry?

I would like to display a list of information per entry in the table. For example for each user, one can have multiple cell phone numbers. The users are listed in the and I have an for the cell numbers. I would like to loop through the list of…
Kazi
  • 71
  • 5
0
votes
1 answer

Different div tag ids with

I am trying to generate div tags dynamically depending on the number of items, contained in the 'deviceSel' from the backing beans. For each of the div tag, I am populating it by calling the 'generateSparkLine' function that is present in a JS file…
reg_frenzy
  • 81
  • 1
  • 5
  • 13
0
votes
1 answer

Table header taken from the list item used with ui:repeat

Let's say I have the following class Book class Book{ String author; String title; } I retrieve a list of Book ( List ) and I want to display it in a table like author1: title1 title11 author2: title2 title22 …
ccheneson
  • 49,072
  • 8
  • 63
  • 68
0
votes
1 answer

selectBooleanCheckBox in ui:repeat doesn't call listener

I am trying to populate selectBooleanCheckbox values using ui:repeat as the values are taken from a list. The checkbox values are assigned fine, but the listener is not called when I change the selectBooleanCheckbox value. I also got this error when…
0
votes
0 answers

JSF ui repeat : Array index out of range: 0

i have form inside my form i have ui repeat wich repeat input form i want to save value of input text in my bean :
yali
  • 1,038
  • 4
  • 15
  • 31
0
votes
1 answer

How to properly use

I am having an issue using in a JSF page. I have an arrayList that I am passing to it, however, it never iterates through to display the contents. I know that there is content because when I do the exact same thing using a ,…
MaxOvrdrv
  • 1,780
  • 17
  • 32
0
votes
0 answers

ui:repeat doesn't work, nothing in DOM as well

I have this simple code which uses ui:repeat and based on the list of items, it is supposed to output some data using h:outputText. XHTML code
user3701861
  • 151
  • 1
  • 7
0
votes
0 answers

JSF How to pass the value of a CommandButton in bean

I would like to know if I can get the value of the commandButton to the Bean? Bean Name is "fileDownloadView". But the value is always null. The value in the bean should be stored in the cbtValue. Thanks in advance. Example code:
0
votes
1 answer

ClassCastException: uirepeat index in setting the boolean array value jsf

The array size is depend on the student size on runtinme. I am able to display the boolean effectively on the selectBooleanCheckbox in JSF based on the array boolean. However, in setting the value, the ClassCastException…
brendan
  • 3,062
  • 3
  • 12
  • 16
0
votes
0 answers

JSF nested ui:repeat / DataTable issue

I'm trying to nest a ui:repeat or another DataTable inside of my original DataTable so I can display another list. So the original DataTable uses one list and the nested ui:repeat is using another but the ui:repeat isn't iterating through it,…
Broken
  • 1
0
votes
0 answers

ui:repeat within or inside ui:repeat not work

I have a problem using a inside another . Let's see the code to explain it better:
Dagon
  • 145
  • 2
  • 12