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

Collection of selectManyCheckbox inside a ui:repeat knows which element of the repeater it belongs to

I am developing a web app using JSF 2. My web app among other things contains a series of questions put one at a time (so one question is visible at a time) and have multiple answers (I use h:selectManyCheckbox). I store the questions and possible…
CyberGriZzly
  • 379
  • 3
  • 9
  • 22
0
votes
1 answer

nested ui:repeat issue (or f:ajax)

i have 2 ui:repeat nested like this:
  • user2018726
    • 638
    • 2
    • 12
    • 23
    0
    votes
    1 answer

    rich:column is generating extra td element

    Hi Iam using rich:dataTable to display elements which is of type List of type MyClass. var="item"
    satish
    • 287
    • 6
    • 22
    0
    votes
    1 answer

    p:commandlink inside ui:repeat

    In our application we are displaying the menus dynamically. We have the menu object(menuitems in below code) populated with all the menu items (read from an xml). The home page then generates the menus by usinng ui:repeat. Insdie ui:repeat there are…
    Skyler Hays
    • 279
    • 1
    • 5
    • 14
    0
    votes
    0 answers

    PrimeFaces ui repeat + infinite scrolling

    I have a primefaces "grid panel" template and i'm filling it's columns from database via java classes. And i've to show lots of clones of that panel but surely they full with different info. For displaying all of them i am using "ui repeat" tag and…
    Ömer Faruk Almalı
    • 3,792
    • 6
    • 37
    • 63
    0
    votes
    1 answer

    JSF loop reRender

    Hopefully the title isn't too cryptic ... The problem we have is that we generate a bunch of input controls (h:inputOneMenu, h:inputText etc) from some Java List. Works fine EXCEPT the requirement is that these inputs validate on the fly. Again not…
    arw
    0
    votes
    0 answers

    JSF graphicImage

    I have to do a list of images. I use ui:repeat to do this, but it doesn't work and I can't see the images:
    enfix
    • 6,680
    • 12
    • 55
    • 80
    0
    votes
    2 answers

    f:ajax not working as expected for h:selectOneRadio inside ui:repeat

    I am rendering a table with , which has a radio button. i.e. , on selection of radioButton, need to re-render the whole form. but which is not working. Here is my code:
    uday
    • 315
    • 3
    • 7
    • 17
    0
    votes
    1 answer

    Jquery new message slide down in a list of messages

    I've a list of messages in the backing bean which i'm using in a ui:repeat tag to display on the xhtml page.
    Mudassir Shahzad
    • 542
    • 2
    • 16
    • 32
    0
    votes
    2 answers

    Setting value with var

    user1079293
    0
    votes
    1 answer

    Strange behavior with inside inside

    I have an table of data presented by an ui:repeat. Because I want the user to be able to change the data on a per row basis, each row is enclosed in an h:form. Finally each h:form has a button with the f:ajax tag. I am getting wildly inconsistent…
    Panayiotis Karabassis
    • 2,278
    • 3
    • 25
    • 40
    0
    votes
    2 answers

    Display horizontally dynamic content in JSF

    Looks simple but I can't do it. I need to display a series of images, 3 in each line. For example, if I have 9 elements in my collection it should display 9 images in a 3 x 3 table. I'm trying with this code:
    Fisu
    • 2,534
    • 1
    • 15
    • 14
    -1
    votes
    1 answer

    input.setValid(false) does not have any effect when component is inside

    I need to mark inputText field generated using ui:repeat as invalid. I am able to do it for normal input fields by using following code in bean: UIComponent root = context.getViewRoot(); UIInput inputFieldObj = obj.findComponent(root, id); …
    Alok
    • 184
    • 2
    • 18
    -2
    votes
    1 answer

    JSF repeat for row grouping or groupRow

    I am not too good with JSF, i have searched but couldn't find similar answer on the net please i need help. I have a set of a sample table below which can grow, it is not certain of how many rows each car…
    1 2 3
    14
    15