uirepeat Questions
2
I have created a custom ISO date time Converter:
public class IsoDateTimeConverter implements Converter, StateHolder {
private Class type;
private String pattern;
private boolean transientVal...
Anglaangle asked 23/9, 2011 at 14:26
2
I have a superclass Person:
public class Person {
public abstract Type getType();
}
I have 2 subclasses of it:
public class JuridicalPerson extends Person {
public Type getType() {
return Ty...
Paralipomena asked 31/8, 2014 at 16:48
1
Solved
So after several days of debugging, we were eventually able to reproduce some strange interactions between composite components, ui:repeat, p:remoteCommand and partial state saving in JSF that we d...
Heaviness asked 29/6, 2016 at 14:18
1
Solved
I have a Home. Each Home has a list of Rooms. Each Room has zero or more Persons.
I would like to count total persons of each home. But I can't add a new variable to record person count in any bac...
6
Solved
I'm using PrimeFaces 3.2 on JBoss 7.1.1.
I am trying to display an image which is stored in a BLOB in a MySQL database in <ui:repeat>. The image is stored in a byte[] and then converted to a...
Kalamazoo asked 9/4, 2012 at 13:26
1
Solved
Before asking this question, I visited many other related ones and tried to gather the maximum of information. But, what I found till now let me understand that there is no real/major difference be...
Noland asked 9/3, 2015 at 13:48
1
I am trying to make two composite componenets play well together by nesting one as a child.
The setup consists of a lightbox and a input both with an attribute called "Value". This works fine, unti...
Latex asked 11/10, 2013 at 13:12
2
Solved
I have a form with a variable number of input elements, like this:
<ui:repeat var="_lang" value="#{myBean.languages}">
<h:inputTextarea value="${_lang.title}" id="theTitle" />
<h:...
Chinquapin asked 2/10, 2013 at 7:4
2
We have a JSF page that displays a table with query results. We want to show just the top 3 results.
How can this be done using <ui:repeat>?
We can't do this in the business layer, because ...
1
I'm writing a validator method in JSF 2. I have a ui:repeat element in my page that renders a list of items. Each item has a date property, and I need to ensure the dates correspond to each other i...
Abeyta asked 27/8, 2013 at 15:21
1
Solved
Using JSF 2.0, I need to display a table wherein each row contains a link which opens a popup. I have two models: A which has id and List<B> properties and B which has id and name properties....
Hardaway asked 31/3, 2013 at 5:20
1
Solved
I'm using com.sun.faces version 2.1.18. In my application I have a dynamic list of questions. I use <ui:repeat> to render each question. Depending on the type of question I render a type of i...
Publishing asked 28/3, 2013 at 12:46
1
Solved
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 ...
Philharmonic asked 12/2, 2013 at 13:43
1
Solved
I've been using ui:repeat to generate tables. With ui:repeat it's easy to get the rows numbered using the varStatus. I'm depending on the row id's from varStatus when calling the backing bean to ha...
3
I have a Facelets page with a <h:dataTable>. In each row there is a <h:selectBooleanCheckbox>. If the checkbox is selected the object behind the corresponding row should be set in the b...
Gerlachovka asked 26/3, 2010 at 15:42
2
Solved
I'm trying to assign an id to a component inside a <ui:repeat> like that:
<ui:repeat value="#{bean.columns}" var="column">
<h:panelGroup layout="block" id="column_#{column.id}"
s...
2
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 temp...
Osteen asked 17/6, 2012 at 12:51
2
Solved
I was trying to display a panel where user can see a list of items category(displayed as images) and on clicking they can view products within the category(images will be displayed)
For displaying...
Gratifying asked 8/6, 2012 at 7:26
1
Solved
Here is the scenario (simplified):
There is a bean (call it mrBean) with a member and the appropriate getters/setters:
private List<String> rootContext;
public void addContextItem() {
roo...
2
Solved
Given a collection that I want to arrange on a page like this:
<!-- Group 0 -->
<div style="float:left;">
<div><!-- Item 0 --></div>
<div><!-- Item 1 -->...
1
Solved
Unfortunately, primefaces accordionPanel doesn't works well in version 2.2.1 if you are trying to create tabs dynamically. This is my case, I need to create accordions if the user clicks an add ico...
Fianna asked 3/4, 2012 at 22:48
1
Solved
I am looking for a little bit of guidance today with the issue I am running into.
What I am trying to accomplish is build a page on the fly with validation and all. The end result is to allow the...
Anthropomorphic asked 8/2, 2012 at 14:6
2
Solved
I have seen a couple other examples on SO discussing some weird workarounds but none seem to work and they were all addressed at versions prior to JSF 2. So, it it possible to simply output the key...
Alanis asked 17/11, 2011 at 4:37
2
Solved
How to repeat output of some content in JSF using only standard tags (ui:, h: etc) ? In other words - how to do equivalent to PHP code below in JSF ? I immediately wanted to take advantage of ui:re...
1
Solved
Original question is below, but as I have come up with a more minimal example to demonstrate this problem, and figured it should go at the top.
Anyway, it appears that ui:repeat tags are processe...
Complementary asked 23/9, 2011 at 19:54
1 Next >
© 2022 - 2024 — McMap. All rights reserved.