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
1
vote
1 answer

JSF h:panelGrid with ui:repeat

My problem is ui:repeat inside a h:panelGrid. Its a big table from a list of objects.. All objects are saved in one list. I tried this:
user962466
  • 11
  • 1
  • 4
1
vote
1 answer

Netbeans doesn't autocomplete properties of var of nested

Let me say I have a Book Library with a list of Book. A Book has a List of Page. Page has a list of Line. In JSF, i'm trying to display all the lines, now I'm using or to iterate through the lists. When I'm on second level…
Sudhik
  • 119
  • 8
1
vote
0 answers

How can I add a treeNode into each iteration of a ui:repeat

I have an object DetailsTO which contains TreeNode treeNode, TreeNode[] selectedNodes, and InnerDetailsTO innerDetails I have a list of these DetailsTO, each of which contains it's own treeNode and selectedNodes. There could be several DetailsTO in…
1
vote
2 answers

How to save an array in JSF with ui:repeat + h:inputText + managed bean?

In a postgres database I have a table with, among others, an int[] field. In my model I have a persisted bean that maps the table, including the int[] field. In this class I have implemented all the needed setters/getters. Now, I have a managed bean…
aciobanu
  • 391
  • 1
  • 4
  • 14
1
vote
1 answer

How to get current index of ui:repeat tag in a backing bean

I am a new in a primefaces and I have one problem. In my xhtml file I have ui:repeat tag, and with his varStatus attribute I can get the current index: index: #{status.index}
but I…
Eldos Narbay
  • 319
  • 4
  • 12
1
vote
0 answers

Load in java chords of dynamic primefaces dragable components

I am trying to load in java chords of dynamic primefaces dragable components. My code has this look: Primefaces
user4919313
  • 125
  • 11
1
vote
0 answers

Why h:selectBooleanCheckbox not is updated?

I am developing a Java Web application with JSF 2.2 and I have a list Boolean, but this list not change with the client decisions; when the user does click on h:commandButton the list show every the same result: false false true My xhtml code…
Juan Camacho
  • 736
  • 2
  • 7
  • 15
1
vote
1 answer

Values repeated in jsf

I have repeated values on my form. I am using tag. My code:
Maicoly Morocho
  • 149
  • 1
  • 14
1
vote
0 answers

ui:repeat h:selectManyCheckbox choice getting values from the h:selectManyCheckbox

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
1
vote
0 answers

How can I add JSF code to xhtml in the attribute id?

I am working with JSF 2.2 and I would like use JSF variables in the id attribute for to send individuals petitions for each list's element. For example:
Juan Camacho
  • 736
  • 2
  • 7
  • 15
1
vote
0 answers

JSF2 custom component attribute called in ui:repeat always access last value

I have a very weird problem when using a custom component. This is my main xhtml:
Leo Lozes
  • 1,358
  • 1
  • 15
  • 33
1
vote
0 answers

ui:iterate render another ui:iterate

I have very basic question on jsf/ajax. I would like to render second ui:iterate and h:selectoneMenu based on values in first ui:iterate. My code is like below.
Tulasi
  • 11
  • 1
1
vote
0 answers

ui:repeat does not detect error messages in #{facesContext.messageList}

I am using JSF 2.2 (Myfaces 2.2.9). I want to iterate over messages in JSF to display the errors, and I have some trouble with the ui:repeat element. My .xhtml page : message size = #{facesContext.messageList.size()}
Theflex
  • 61
  • 4
1
vote
1 answer

JSF2.2 Component to wrap a repeat

I'm using JSF 2.2 / Mojarra 2.2.8 In my model there are java.util.Set and I want to edit those Set public class MyModel { private Set fooSet; private Set barSet; // getters and setters } public class Foo { private String…
kwisatz
  • 1,266
  • 3
  • 16
  • 36
1
vote
1 answer

How to bind component inside the ui:repeat?

I am binding the component inside But it showing…
dileep H
  • 355
  • 1
  • 3
  • 9
Vehicle Usage: