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

p:selectManyCheckbox from domain classes stucture and collections inside ui:repeat using AJAX (listener, valueChangeListener), unstable

I do have pretty simple domain structure - groups that contain items whichs are selectable (checkboxes). It is impossible to select items from different groups. It loses the state somehow and behaves unstable.. Why? What am I doing …
1
vote
0 answers

JSF ui:repeat random order of elements

I have a code that is similar to the following ... ... The problem is that the items are displayed randomly each…
sara.elkady
  • 29
  • 1
  • 7
1
vote
1 answer

Use ui:repeat inside datatable for all the columns

I have a problem with h:datatable and ui:repeat. I have the next objects structure: Product SubproductType1 SubproductType2 SubproductType3 In the datatable I need to show info of the Product and info of one of the subproducts like: Name …
dcalap
  • 1,048
  • 2
  • 13
  • 37
1
vote
2 answers

Replace c:foreach on ui:repeat

I use JSF2 and primefaces. I have this piece of code Is it possible replace with ui:repeat without creating list items in range from 1 to 5?
Ray
  • 1,788
  • 7
  • 55
  • 92
1
vote
0 answers

Variable set by ui:param or c:set inside ui:repeat is not available outside ui:repeat

I would like to define a variable and reuse it somewhere else on the page. I'm defining variable in JSF using and and resetting it in the depending on condition as follows:
user2361862
  • 95
  • 4
  • 10
1
vote
2 answers

jsf2 ui:repeat alternate row color

Using varStatus of ui:repeat is helpful to identify the odd and even rows if I display all the records in the list that is mapped to ui:repeat. However, how do I handle a situation if I choose to display only specific records in the arraylist…
user2228591
  • 115
  • 1
  • 1
  • 10
1
vote
1 answer

Jsf ui:repeat size doesn't gets java bean value

JSF 2.0's ui:repeat tag gets the value of java bean(arraylist) as it's value property but size property doesn't. I am using the ui repeat inside of a datatable which shows statuses iteratively and ui repeat shows comments for each status. I am…
Ömer Faruk Almalı
  • 3,792
  • 6
  • 37
  • 63
1
vote
0 answers

ui:repeat strange behaviour

is showing a strange behaviour. I am showing some textfields and a delete link in . When delete link is clicked, the correct row is being deleted from backend, but the view still shows the deleted row, and the next row is…
user517491
1
vote
2 answers

How to populate an arraylist in panelGrid of JSF 2.0?

I have a problem in jsf panelgrid while populating data from arraylist.. I'm getting error as javax.el.PropertyNotFoundException: /facelet/crew/searchCrew.xhtml @14,95 value="#{searchCrewBean.searchCrewParam.staffNum}": Target Unreachable,…
nallskarthi
  • 281
  • 1
  • 8
  • 19
1
vote
1 answer

How can I set numbers within IDs dynamically in JSF

I design a JavaEE website with the help of JSF2 and Facelets. The code beyond is just an example how the JSF-Code looks like. When the user of the website wants to create new users but forgets to set e.g. the firstname, an error occurs and the…
Jana Urban
  • 13
  • 2
1
vote
0 answers

Does ui:repeat require unique var names?

First, let me explain the structure. I have some JSF Facelets pages, which use a template to provide a common header with dynamically generated menus. Within that template, the menus are generated with the following code:
moneyt
  • 452
  • 8
  • 18
1
vote
1 answer

JSF ui:repeat with render

I want to use a ui:repeat or any other iterative tag to display a number of components once for each item in an Array list.
Will
  • 655
  • 6
  • 16
1
vote
1 answer

How can I show my 2D arrayList using the in JSF

I can show the objects of the plain arrayList. ArrayListnames;