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

Performing logic with state with a JSF ui:repeat loop

I'm pretty new to JSF / Facelets and trying to understand where best placed to put logic when deciding whether to render content within a ui:repeat component. In my backing bean I have a list of messages each one containing a date. I want to print…
Simon Kent
  • 452
  • 1
  • 4
  • 13
0
votes
1 answer

Select many checkbox selected items return null when there is nested ui:repeat

I have a problem list. Each problem has a sub category and main category and also each sub category has a main category. I want to list the problems like above. --Main category1 (1 is id) ----subcat1 ------problem1 ------problem2 …
Armagan
  • 68
  • 9
0
votes
1 answer

ui:repeat in o:treeNodeItem

I have an where i am displaying list of persons and each person what it has children and every child what it have children where the level of children is not known The data is displayed correctly but the displayed node is an
bob-cac
  • 1,272
  • 2
  • 17
  • 35
0
votes
1 answer

f:ajax within nested ui:repeat

I'm attempting to use ajax to rerender the container of a list of objects contained within another list of objects when a button press deletes an element of the sublist of objects. But I am unable to find the parent container of the sublist objects.…
Yveris
  • 1
  • 1
0
votes
1 answer

ViewScoped CDI bean recreated after some AJAX requests

I have a CDI ViewScoped bean and a JSF page. After a couple of AJAX requests the bean somehow recreated. Here is the full code of the application: index.xhtml
Salih Erikci
  • 5,076
  • 12
  • 39
  • 69
0
votes
0 answers

var of ui:repeat-tag as param in nested ui:repeat-tag

I am currently working on a timetable-software as a project at my university. We are working with JSF. Our software has to be dynamic (specified by our teacher) in the terms of "how many days does a work-week have" and "how long is each of those…
Tim Hansen
  • 84
  • 2
  • 14
0
votes
0 answers

reload sibling within

this is what I have and here the…
Vincent
  • 470
  • 6
  • 13
0
votes
1 answer

updating an empty integer array inside ui:repeat

I want to use ui:repeat to fill values of an integer array which is originally empty, from inputText. I followed the explanation in here, but it did't work for me. My UI is:
alem
  • 5
  • 2
0
votes
1 answer

can't update inputText in ui:repeat

I have a Entity Tage in following : public class Tage implements Serializable { private int id=0; private String text=""; private String color=null; public int getId() { return id; } public void setId(int id) { this.id = id; } public…
or123456
  • 2,091
  • 8
  • 28
  • 50
0
votes
1 answer

update ui:repeat in p:commandButton

I have a composite component be use of ui:repeat for show one list. following code:
or123456
  • 2,091
  • 8
  • 28
  • 50
0
votes
0 answers

Clicking on Links in JSF failing

I am trying to display a URL as a result in my UI after some processing. So far I have used URL: "#{entry.value}" When I click on a link that is displayed the URL…
sdwaraki
  • 382
  • 1
  • 4
  • 12
0
votes
2 answers

how to set error message to p:message inside ui:repeat from backing bean

I have a form contains with inputText and message component. I want to set the error message from the backing bean but keep fail to do it. Below is my html code:
heng heng
  • 693
  • 3
  • 13
  • 25
0
votes
1 answer

Component ID has already been found in the view. Duplicate ui:repeat element after executing ajax functionality

I am using JSF Mojarra 2.2 and Primefaces 4.0. On my page I use to render some dataTables. By clicking on the name column of a single row-element additional information for this row is loaded via ajax and displayed below the tables in a…
nilsfried
  • 46
  • 1
  • 4
0
votes
1 answer

accessing var outside ui:repeat JSF2

I want to access a variable through out my page. The var is declared inside a ui:repeat element. Heard that the scope of the variable in only inside the repeat tag. I want to load another div on the same page which need the details inside this var.…
najeeb
  • 813
  • 12
  • 25
0
votes
0 answers

How to deal number and string in ui:repeat and wind rose highchart

I have following code for generating dynamic windrose in highchart: the second and third only accepts numbers and my var=val is an array of numbers. But I need to show "N", "S", "E", "W" in first . How can I generate an array so that my…
Novis
  • 630
  • 4
  • 13
  • 28