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
2
votes
1 answer
2
votes
2 answers

Handling a ui:repeat that returns empy value

I have a ui:repeat that returns a list of entity. Is there any way to know that the returned list is empty?
list.name
something like if ui:repeat is…
galao
  • 1,281
  • 8
  • 26
  • 50
2
votes
0 answers

f:ajax on h:selectManyCheckbox not working inside ui:repeat: cannot find component

I have the following problem: I am using a h:selectManyChecbox inside a ui:repeat. A value change listener is attached to the component, as well as a f:ajax. I want the event to be triggered on each selection/deselection, then manipulate some values…
Louise
  • 1,451
  • 1
  • 18
  • 40
2
votes
1 answer

Dynamically generate rich menuitems inside rich context menu

I am trying to dynamically generate rich menu items inside a rich context menu component. Here is my code:
inxis
  • 51
  • 1
  • 4
2
votes
0 answers

JSF2 ui:repeat nullpointerexception on development stage

I have an issue (no big deal but wanted to see if anybody else had seen it) where I have an structure like the one below: boring code...
2
votes
0 answers

ui:repeat value expressions evaluated during render response regardless of rendered attribute of a parent component

We are migrating an old Seam webapp (Seam 2.2, JSF 1.2, JBoss 5.1) to JBoss 7.1 (Seam 2.3, JSF 2.0) and facing this srange problem: All the EL expressions as value of within conditionally rendered tags are evaluated to null…
tunggad
  • 285
  • 2
  • 13
2
votes
1 answer

Composite component in ui:repeat vs c:forEach using ajax calls

I have a composite component, which represents an item that will be stored in a list. I would like to display these items using , but I have problems making ajax calls. The thing is that for render attribute, I want to give the…
cubbuk
  • 7,800
  • 4
  • 35
  • 62
2
votes
3 answers

How to address a component inside a looping naming container

I have the following structure (contents and attributes omitted): Some content here (outputText, etc.)
Louise
  • 1,451
  • 1
  • 18
  • 40
2
votes
1 answer

f:ajax does not update ui:repeat

My JSF page is like this, The part does now work.
bluelabel
  • 1,996
  • 6
  • 29
  • 44
2
votes
1 answer

ui:repeat inside ui:repeat

I have this: .... #{item.product.codigoProduto} #{m.description}
user745235
1
vote
2 answers

Using dynamic ui:include inside ui:repeat results in NullPointerException

I want to create dynamic dialog windows by using and with . But there's an exception when I tried like below. main.xhtml
ogok
  • 219
  • 1
  • 4
  • 14
1
vote
1 answer

ui:repeat - adding / removing elements from list does not work properly

I have following code in my .xhtml file
adrian
  • 11
  • 4
1
vote
1 answer

JSF messages for ui repeat input

I have a JSF2 application that uses to render a number of text-boxes, each linked to an item in a collection. I need to show the error messages after the inputs in a single tag. At the same time, I have some other…
Ivaylo Slavov
  • 8,839
  • 12
  • 65
  • 108
1
vote
0 answers

JSF2 - ui:repeat, 1st commandLink doesn't work but others do

I have a ui:repeat loop to perfom some paging:
JScoobyCed
  • 10,203
  • 6
  • 34
  • 58
1
vote
1 answer

Composite component inside a ui:repeat, causes actionSource to not fire

OK, I'm guessing that this might be a bug but I'm not totally sure. Can anyone see what I'm doing wrong? Here's the situation. I have a composite component that seems to work perfectly when it's alone on the page. The problem comes when the…
jjross
  • 678
  • 1
  • 6
  • 19