facelets Questions

3

Solved

I would like to output a bit of Facelets code conditionally. For that purpose, the JSTL tags seem to work fine: <c:if test="${lpc.verbose}"> ... </c:if> However, I'm not sure if th...
Warfeld asked 27/7, 2010 at 11:11

2

Solved

I want to set a ui:param depending on a bean value and I thought using c:if was a good idea. So I put in my page the following code: <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:...
Arachnid asked 4/12, 2013 at 10:10

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

1

Solved

I'm using JSF 2.1 and I'm experiencing some problems with the <h:link> tag. I'm trying to have the link's outcome point from my XHTML file to a plain HTML file. However, when I run my web app...
Padraig asked 1/12, 2013 at 8:7

1

Solved

I am developing an application for FB Login with website using Javascript. I tried in html it works fine. when i convert into JSF it gives an error. This is my fbLogin.xhtml code. <?xml versio...
Ursine asked 28/11, 2013 at 10:37

1

Solved

I have entered the following code: <h:outputStylesheet library="css" name="style.css" target="body" /> The problem is that it is giving me an error on target="body" saying: The attribute ...
Ygerne asked 27/11, 2013 at 10:47

2

Solved

I am wondering how to display a List<T> as obtained below in a Facelet: public List<T> searchByString(String string) { return getEntityManager().createNamedQuery("Userdetails.findByUs...
Burtis asked 20/11, 2013 at 14:29

0

I've found that if I add comment inside panelgrid tag, it will generate an empty <td> for it. I've found this link about this issue: https://java.net/jira/browse/JAVASERVERFACES-1768. Accordi...
Endolymph asked 14/11, 2013 at 15:43

1

Solved

This is called 3 times, for each row once. (example table has 3 rows) .... <ui:param name="rowIndex" value="#{cc.attrs.rowIndex}" /> <ui:param name="rowActive&quot...
Irrelevant asked 11/11, 2013 at 13:54

2

Solved

What are the differences between ui:composition and ui:decorate in Facelets ? Both seem to support ui:define as child tags . In what cases would you use each of these ?
Gouveia asked 26/10, 2012 at 17:53

1

Solved

I am trying to create a page which allows a user to logon to the system and then navigates to the homepage. I have managed to get it to do one or the other but cannot work out how to get it to do b...
Serious asked 8/10, 2013 at 14:18

2

Solved

Now,I write sample application with jsf, spring and ibatis.I use facelets and write template.xhtml, header.xhtml, menu.xml, login.xhtml and home page. After login, I found this error. In browser, ...
Chloric asked 19/6, 2013 at 14:52

1

Solved

Having read about HTML5 support in JSF 2.2, I was surprised to find the same XHTML doctype as in previous Facelets versions in the template file created with a new web application in Netbeans. The ...
Leningrad asked 4/10, 2013 at 19:34

1

Solved

In jsf-impl.jar (which can be found on mvnrepository.com), the *.taglib.xml files are located in directory com/sun/faces/metadata/taglib/. I don't understand how they're discovered in this case, b...
Arrest asked 26/9, 2013 at 11:56

1

Solved

I have an app that i'm developing and my company has a header banner that is required to be on all pages. We have about 6 different versions floating around my team of that header banner and I now ...
Aguayo asked 18/9, 2013 at 16:0

1

PrimeFaces Datatable Column Sorting is not working in IE8 but it works fine in Firefox. Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR ...
Houseraising asked 17/2, 2011 at 18:50

1

Solved

I am reading The Java EE 7 Tutorial from http://docs.oracle.com/javaee/7/tutorial/doc/jsf-facelets005.htm#GIQZR After I typed the example code in the chapter 8.5 Composite Components in my IDE and...
Desdamona asked 26/8, 2013 at 4:14

2

Solved

I tried to use 2 view resolvers: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/co...
Logbook asked 13/8, 2013 at 17:22

4

Solved

In current project I need to create a panel that will contain an HTML content created by the user elsewhere in the application. This content can be easily inserted like this: <h:outputText valu...
Osrock asked 10/9, 2010 at 7:4

1

Solved

I want to use <p:blockUI> to block the whole view. But as it's attribute block does only accept ids as keywords and not e.g. @all, the only way I currently see is to have a naming container (...
Retrospective asked 28/7, 2013 at 12:12

1

Solved

I don't know whether it is true or not but from what I've read, I believe, JSF EL & xhtml pages are not pre-compiled & just used when needed but instead they are parsed, evaluated, compiled...
Drye asked 27/7, 2013 at 3:47

1

Solved

I want to upload doc or docx file using primefaces fileUpload,although I specify the type of file it display Invalid file type <p:fileUpload cancelLabel="#{contenu.annuler}" fileUploadListe...
Aeneous asked 18/7, 2013 at 10:29

6

I am new to JSF, but my JSF tags are not rendered in xhtml file, i tried out every possible solution, but problem is not solved my web.xml <?xml version="1.0" encoding="UTF-8"?> <w...
Febricity asked 25/7, 2010 at 11:15

1

Solved

Ive been reading some posts about javax.faces.default_suffix but without success when trying to implement it. Using : jsf 2.0, jboss 7.1, Mojarra 2.1.5 I need to show in URL the following : loca...
Buhrstone asked 11/7, 2013 at 16:42

3

Is it possible to use facelets as view technology with Spring MVC? There is no mention about it in the official documentation, but I've heard that Facelets are very convenient and easy to use and I...
Cerussite asked 6/10, 2010 at 18:7

© 2022 - 2024 — McMap. All rights reserved.