Linked Questions

1 vote
1 answer
2k views

In my JSF 2.0 project, I get a name-space collision when I include two identical XHTML files in a single parent XHTML file. My goal is to create a dashboard of identical controls on a single page, ...
smagrath's user avatar
  • 281
2 votes
1 answer
863 views

Let us assume that we have defined the JSF tag lib with following code: <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html"> <h:panelGrid ...
ppawel's user avatar
  • 1,056
110 votes
2 answers
61k views

I started using JSF 2.0 with Facelets recently and got puzzled by new composite components knowing existing <ui:include> and other templating techniques offered by Facelets 1.x. What is the ...
mrembisz's user avatar
  • 12.9k
25 votes
2 answers
18k views

I have lot's of outputLabel and inputText pairs in panelGrids <h:panelGrid columns="2"> <h:outputLabel value="label1" for="inputId1"/> <h:inputText id="inputId1/> <h:...
Anatoli's user avatar
  • 303
7 votes
2 answers
10k views

I have a problem with duplicated ids in my JSF app. I've read in this post that one of the possible solutions is to use Naming Container. Can you give me some example how to use the Naming Container ...
mgamer's user avatar
  • 14.2k
6 votes
1 answer
7k views

In order to more understand the clientID generation in JSF (2.x), could someone explain to me when exactely does JSF generates the client ID (which lifecycle phase, build time or render time ...)? ...
Tarik's user avatar
  • 5,031
4 votes
1 answer
1k views

I developing a simple application using JSF and PrimeFaces and here's a problem that I'm facing: These are managed beans that have a Person property: ClientBean EmployeeBean I have the person.xhtml ...
AndreDuarte's user avatar
2 votes
1 answer
2k views

I have a main HTML page which includes detail.xhtml and duo.xhtml. Now duo.xhtml also includes detail.xhtml, which results in duplicate IDs which of course it not working. What can I do to solve this ...
dasLort's user avatar
  • 1,294
2 votes
1 answer
994 views

Mojarra 2.1 I have the facelet (namespaces ommited) inc.xhtml: <f:view> <h:inputText id="name" value="#{bean.name}" required="true"> <f:validateLength maximum="32" /> ...
St.Antario's user avatar
  • 27.7k
2 votes
1 answer
1k views

I am on a team that is interested in using ui:include to embed external resources in a HTML document. While investigating how to do this, I came across this post: JSF Facelets how to include external ...
Clink's user avatar
  • 41
0 votes
1 answer
816 views

I have the following part of a .xhtml page: <ui:composition template="./templates/template.xhtml"> <ui:define name="mainContent"> <ui:include src="include/includeAbleEditor.xhtml"&...
Mansouritta's user avatar
0 votes
1 answer
750 views

I have a facelets tag like this: <ui:composition> <h:outputText value="#{label}"/> <h:inputText id="input" value="#{value}"/> <h:message for="input"/> </ui:...
user1785730's user avatar
  • 3,841
0 votes
0 answers
45 views

Due to accessibility of the dynamic ID I cannot use JSF <h:inputHidden/> and instead must use HTML: <input type="hidden" id="sound_#{recordingTag}" value="#{wavRecorded}"/> When I use ...
Phillip Byram's user avatar