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

Pass parameter to a dialoggrid from another dialoggrid in the same page

I've message in an xhtml page of course bound with a bean. Now the messages are in a list, and i'm using ui:repeat to display the message and all that. Now when i open a message, there's a reply button in the dialogGrid which opens another dialog…
Mudassir Shahzad
  • 542
  • 2
  • 16
  • 32
1
vote
1 answer

ui:repeat inside composition not printing values

I am new to jsf. I have the bellow code. When I place ui:repeat inside rich:toolbar it prints the data. But when I place it after the toolbargroup inside composition tag it doesn't print anything. I have a toolbar and I want to show ui:repeat data…
Sara
  • 2,417
  • 7
  • 35
  • 52
1
vote
1 answer
1
vote
1 answer

UI:repeat does not increment the id of table row

In JSF 2 (SUN RI ) UI:repeat does not increment the id of table row when new rows are added. It does display all rows on browser. However, view source reveals only one row.
1
vote
2 answers

Expose items of a list while iterating within composite component

I'm iterating over a list of items in composite component. I want to expose each item of the list so that they could be used within the child component of this composite component, to create a template for how to display all items in the list. Here…
Rajat Gupta
  • 25,853
  • 63
  • 179
  • 294
1
vote
2 answers

p:dialog in ui:repeat

I'm showing messages from a list in my backing bean in xhtml jsf page. I'm using ui:repeat for the loop and a reply button for each message. on the reply button, i'm calling a dialog box in which i'm showing the username displayed at the xhtml page.…
Mudassir Shahzad
  • 542
  • 2
  • 16
  • 32
1
vote
1 answer

Empty values of inside is not set to backing bean during ajax call

The empty/null value of the h:selectOneMenu during the ajax call is not set to the property in the backing bean, whereas if I select any dropdown item which has non empty / not null value, it is set to the property in the backing bean during the…
Nila
  • 11
  • 1
  • 3
1
vote
1 answer

Primefaces Multiple FileUpload doesn't show files nor triggers the handleFileUpload

I'm searching since one week and couldn't find a proper solution for my problem. So I'm asking the experts here. I'm trying to implement a page with FileUpload to upload and show the images after upload on same page. my problem is, if I set my…
hoomb
  • 649
  • 2
  • 12
  • 24
1
vote
1 answer

Table cell click event work with an f:ajax tag

I have been playing around with JSF and ui:repeat to create a simple dynamic table. My next step in teh process is to allow each cell in the table to be clickable/edited and started to tie in f:ajax around an h:outputlabel. This is where my…
MikeR
  • 633
  • 8
  • 21
0
votes
3 answers

Value not retained for action parameter when inside ui:repeat

Below is my Code: #{status.content}
Logan
  • 2,445
  • 4
  • 36
  • 56
0
votes
1 answer

Use c:set inside ui:repeat does not work

I have a JSF 2 application with the following code:
Ivaylo Slavov
  • 8,839
  • 12
  • 65
  • 108
0
votes
1 answer

f:ajax inside ui:repeat

I need to show a list of auction items. When a user clicks on a Bid button next to each item, I'd like to have ajax open a bid form right under this auction item. So I'm going with a ui:repeat and a f:ajax as shown below, but when I go to the page…
Herzog
  • 923
  • 1
  • 14
  • 28
0
votes
1 answer

dynamic id problems with jsf ui:repeat

i´m having a problem with which i hope you can help me. I´m working with jsf and mojarra. I create a matrix of inputtext with this.
0
votes
1 answer

ui:repeat + AJAX

We have a list to be displayed under a panel of the screen where all the code in which the fields are repeatable are kept under a different Facelet file. While I am trying to render an image based on the listener's action for an ajax event I am…
Shashi
  • 1,112
  • 2
  • 17
  • 32
0
votes
1 answer

JSF ui:repeat | Just display the first 5 elements of a List

Hi can someone tell me if its possible to just render the first 5 elements of a list with ui:repeat without creating a seperate List for this? I googled but couldn't find something about this. Thank you for your answers in advance.
SNJ
  • 3
  • 1