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

Use Ajax to update only ui:repeat instead of all form

I have some problem with the rendering of some data in my application. To make it simple, I have a h:form that contains a table with a ui:repeat in the tbody. Let's make an exemple (I did not put all code, because it would be far too long) :
Kaptin
  • 41
  • 7
0
votes
0 answers

Get the value for multiple of the list

I have a list on which I am using . How can I get the values of of multiple selected rating option? When I used , it gives multiple selected values by itself. How can I achieve the same in…
user3548196
  • 355
  • 1
  • 9
  • 32
0
votes
1 answer

Strange display behavior for p:dataTable in combination with ui:repeat or p:dataList

When I use a primefaces p:displayTable in a ui:repeat or a p:dataList, the resulting display is buggy. Buggy means, the first table defines the columns of the following tables and not the DynamicDataTableCatalog-columns-count as expected. My…
Rasap
  • 47
  • 10
0
votes
1 answer

Using not able to clear(reset) the value of the once filled

Here is the scenario:- ControllerBean:- private List attributeList; //setter getters of the attributeList Attribute:- private String attributeName; private String attributeValue; //setter getters of the attributeName and…
basim
  • 13
  • 5
0
votes
0 answers

Nested ui:repeat conditional counter

JSF 2.1 I am attempting to build some div tags conditionally. The div tags must have the following format for their DOM id - jquery_jplayer_# // where # is an integer Additional requirements: The resultant HTML should look like this -
user1492226
0
votes
2 answers

p:calendar bugs in ui:repeat / h:dataTable, can't get selected index

I got a ui:repeat with a few input elements with actionlisteners and i want to change the style of the elements, if they were edited by a user. I'm aware that through the ui:repeat we have different scopes for the components on the server and client…
dontcare
  • 935
  • 3
  • 16
  • 34
0
votes
0 answers

p:columnGroup in p:pataTable does not show headerText

I try to make a data table group of PrimeFaces. All goes well. The number of columns is correct, colspan= "#{asignaturaController.nombrePruebasEscritas1.size()} but the name of each test does not show and the object pointed to is full. I tried…
Rastaldi
  • 1
  • 1
0
votes
1 answer

Is it ok to use a ui:repeat inside a ui:include

We all know the difference between build time and render time. It is definitely not a great idea to put a tag (build time) inside a (render time), but is the opposite okay to do? Can we use inside a ?
Sekhon
  • 108
  • 1
  • 10
0
votes
1 answer

varStatus unavailable in ui:repeat

I have a question in remark to this site: http://docs.oracle.com - ui:repeat. I've read: JSTL in JSF2 Facelets… makes sense? - Solution BalusC How to create dynamic JSF form fields - Solution BalusC How come it is that I can't figure out or read…
Jesper
  • 119
  • 1
  • 3
  • 15
0
votes
1 answer

Show multiple p:selectOneMenu inside ui:repeat based on selected value of previous menu

I would like to display multiple components inside based on the selected value of previous until leaf of the tree reached. E.g. first list of countries in . Now I select one country say…
Shahbaz
  • 73
  • 8
0
votes
1 answer

how to pass result 'repeat'-'h:selectOneRadio' to List on Backing bean,using Ajax

how to pass the result of in List on Backing bean, using Ajax?
0
votes
1 answer

Customized rendering of elements in datatable

I have n elements in an arraylist, I want to display all those in a table of (n/3) X 3 format (by single iteration) with respective number of radio buttons like,
Krishna
  • 609
  • 1
  • 6
  • 17
0
votes
1 answer

Valuechange Listener inside ui:repeat only works for the last repeated component

I'm using JSF and Glassfish. I have in a ui:repeat several h:inputtextarea where I have a valuechange Listener. The problem is that the valuechangelistener only fires for the last component. here is my code. The answerhandler return a list of…
Zailux
  • 500
  • 5
  • 12
0
votes
1 answer

Why the pagination datatables JQuery doesn't work with JSF ui:repeat?

I'm working on a datatables JQuery in a JSF page, but the issue is that the pagination doesn't work in spite of it is shown. This is my page:
Abder KRIMA
  • 3,418
  • 5
  • 31
  • 54
0
votes
0 answers

Dynamic form with selectManyCheckbox in hashmap structure

I have a bit complex structure. First, I start problems table. Each problem has a subcategory and maincategory and also each subcategory has a main category. Besides, a main category have sub categories and a subcategory have problems. Then, I tried…
Armagan
  • 68
  • 9