facelets Questions

6

Solved

I've been programming using RichFaces and JSF for quite some time now, and like the features that Facelets offer (especially as part of JSF 2), but haven't used it yet. Are there any gotchas to wat...
Prostyle asked 21/1, 2010 at 17:3

1

Solved

I am learning about composite components with JSF 2.0 and i want my component to be able to trigger methods from backing beans, so i created a simple example, but something is wrong. This is the c...
Seka asked 18/10, 2011 at 11:57

3

Solved

I have a databale on index.xhtml <h:dataTable style="border: solid 2px black;" value="#{IndexBean.bookList}" var="item" binding="#{IndexBean.datatableBooks}"> <h:column> <h:com...
Ipoh asked 6/5, 2010 at 7:43

2

Solved

I have the following template (masterLayout.xhtml): <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/f...
Muckraker asked 27/9, 2011 at 18:42

1

w.r.t. How to execute action on GET request with f:viewParam? <f:metadata> <f:viewParam name="id" value="#{tInputBean.id}" /> <f:event type="preRenderView" listener="#{tInputBean....
Ambit asked 8/9, 2011 at 4:47

2

Solved

I've read this several times now: some developers aren't advocates of interleaving JSF/Facelets tags with HTML tags in their XHTML files. Obviously the HTML tags won't be part of the UI component t...
Simplicidentate asked 29/3, 2011 at 14:29

1

Solved

I have to integrate the Facebook social plugins into a JSF application. This recommends that I add the fbml namespace to the xhtml file that it's rendered in the response. I have in my XHTML file:...
Midmost asked 23/8, 2011 at 13:48

2

I'm having a performance problem with my JSF/RichFaces/Facelets ajax requests and from what I can tell its because the entire component tree is being rebuild on each ajax request. This is happening...
Gamez asked 25/8, 2011 at 12:21

1

Solved

in a JSF facelet page (.xhtml) I have this javascript code <script type="text/javascript"> function navigateToDetail() { var id = document.getElementById("idElemento").value; alert(id); ...
Discontinue asked 22/8, 2011 at 17:1

3

Solved

I'm just learning JSF 2 thanks to this site I had learned a lot in such a short time. My question is regarding how to implement a common layout to all my JSF 2 pages and have only the content part...
Laellaertes asked 18/8, 2011 at 14:3

1

Solved

In a backing bean: @Min(3) Integer foo; If I have form like: <h:form> <h:commandButton value="Submit" /> <h:inputText value="#{bean.foo}" /> </h:form> This works ok....
Centuplicate asked 9/2, 2011 at 10:19

1

Solved

How to insert special characters like & and < into JSF components value attribute ? For example: I want something like this: <h:outputText value="Tom & Jerry Show" /> When I t...
Dittography asked 30/7, 2011 at 14:44

1

Solved

I've been using prefix mapping for years and decided to switch to suffix mapping, just to get rid of the /faces in the url really. I just wanted to check I'm going in the right direction before I d...
Vibes asked 26/7, 2011 at 19:35

1

Solved

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...

1

Solved

I have the following thing: <ui:param name="randomVideo" value="#{bean.randomVideo}" /> <a href="#{randomVideo.link}">#{randomVideo.text}</a&></pre> Because <ui:pa...
Barsac asked 21/7, 2011 at 7:42

2

Solved

I can't figure out how to include a piece of HTML (say a little table) in each of the pages of my web app. Say this is the table I want to include, so I made a template: <?xml version ... ?&gt...
Guria asked 29/6, 2011 at 22:1

1

Solved

What is the usefulness of the following? <ui:composition template="template.xhtml">; "In a template client page using <ui:composition>, anything outside of the bounds of a tag is ign...
Explorer asked 29/6, 2011 at 17:51

1

Solved

I asked this question and although the answer directly satisfied my needs I am left with a feeling that there has to a simpler solution for this specific problem. I would like to have a composite ...
Snivel asked 15/6, 2011 at 13:2

1

Solved

The title really says it all. I have made an attempt which failed with the error: Illegal attempt to pass arguments to a composite component lookup expression (i.e. cc.attrs.[identifier]). My att...
Immethodical asked 15/6, 2011 at 9:19

2

Solved

I've a JSP with <%@taglib uri="http://java.sun.com/jsf/facelets" prefix="ui" %> However it errors with The absolute uri: http://java.sun.com/jsf/facelets cannot be resolved in either we...
Riff asked 12/6, 2011 at 13:13

1

Solved

I tried to activate EL proposals in a Facelets page, but when I hit Ctrl+Space, it doesn't work. I managed to activate JSF tag proposals thank to other questions, but EL proposals aren't working. ...
Dogmatism asked 8/6, 2011 at 8:42

1

Solved

I am using helios 3.6.2. I have an .xhtml opened with Web Page Editor <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&...
Chalco asked 1/6, 2011 at 16:50

2

I am using Myfaces 2 on Facelets. I have to include a JSP page in a Facelet page. I tried using <ui:include> but it takes only XHTML pages. I also tried using <c:import> and <f:subvi...
Treasury asked 24/5, 2011 at 6:48

1

Is it possible to package JSF facelets and ManagedBeans into a JAR file? So that we can use this code and UI combination in different war/ear projects? I am not talking about JSF Components! If y...
Forwhy asked 24/5, 2011 at 0:15

2

Solved

See this. When and why to use <h:head>, instead of <head>? I've seen Primefaces won't work with <head>, though.
Rachellerachis asked 17/5, 2011 at 8:23

© 2022 - 2024 — McMap. All rights reserved.