facelets Questions

1

Solved

I have a question about integrating jquery library with JSF 2.0 when using <h:outputScript library="/common/js" name="jquery-1.5.1.min.js" target="head" /> , i should include <h:head>...
Disregard asked 10/5, 2011 at 18:55

2

I have problem with datatable using Primefaces 2.2.1 and JSF 2.0. I have used filtering and paging in the datatable. When I try to filter the selected data is displayed and when i remove the filte...
Menefee asked 18/2, 2011 at 14:31

1

What is the difference between JSF Custom Components and Facelets Composite Components?
Millibar asked 18/4, 2011 at 14:43

1

Solved

I have a JSF template with the a title and a subtitle : <h3><ui:insert name="title"/></h3> <hr/> <h5><ui:insert name="subtitle"/></h5> All the pages usi...
Sanford asked 13/4, 2011 at 14:6

2

Solved

I'm using Java Facelets and jQuery, however the expression $('...') in jQuery conflicts with EL expression, how do I escape the jQuery's one? I'd like to escape a large chunk of Javascript, too...
Gunplay asked 10/4, 2011 at 19:20

1

Solved

I have an application that use composition (for page templates). But we think in create a web-application (war) to host all templates shared by all applications in the same host of all applications...
Geotropism asked 7/4, 2011 at 21:21

1

Solved

I'm trying to share an error page (error.xhtml) between multiple wars. They are all in a big ear application, and all use a common jar library, where I'd like to put this. The error page sho...
Castra asked 21/3, 2011 at 15:40

2

I wrote a ViewScoped Managed-Bean and every time I refresh the page in my webbrowser, the Managed-Bean seems to be recreated, article is null, it loads a new article-object and so on. For me it loo...
Languet asked 7/3, 2011 at 13:43

4

Solved

What is the syntax for calling list.size() in a JSF 2.0 Facelets template (eg, using an h:outputText element)?
Cynthia asked 26/8, 2009 at 3:13

2

Solved

I'd like to know if it's possible to compose my own component (or call it Widget, Object). I mean, instead of (for example) using h:panelGroup and a h:outputLabel inside it, make my own h:panelMar...
Shivaree asked 7/3, 2011 at 12:2

1

Solved

I've declared the Facelet view template as follows: <ui:composition template="./templates/master.xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui...
Volpe asked 3/3, 2011 at 7:44

3

Solved

I have a question about outputing a list of objects as a comma separated list in JSF. Let's say: public class SomeObj { private String name; ... constructors, getters and setters ... } and Li...
Charley asked 12/7, 2010 at 18:3

1

Solved

My JSF 2 project structure is as follow: root ... WebContent META-INF resources css images javascript templates commonLayout.xhtml footer.xhtml header.xhtml views main index.xhtml W...
Czardom asked 15/2, 2011 at 12:31

1

Solved

Is there a code generator for Eclipse that can create a facelets form that is based on the fields of a JPA POJO? I'm just looking for something that can inspect my JPA entity and belch out a form ...
Palliate asked 11/2, 2011 at 14:23

2

Solved

What is the most correct way to include another XHTML page in an XHTML page? I have been trying different ways, none of them are working.
Urushiol asked 25/1, 2011 at 11:19

1

Solved

I'm using JSF 2 with Facelets. I have a managed bean that has a property referring to a List<Employee>. Now, I have the <h:dataTable> tag that can create a table out of that collection ...
Immigrant asked 25/1, 2011 at 3:30

3

Solved

I am referring to pretty deep object hierarchies with pretty cryptic names in EL as in #{myBean.configBaseStack.excludeMethodFromAccounting.method.TimeoutBehaviorEnabled}. I would like to point to...
Primateship asked 3/1, 2011 at 15:30

1

Solved

I have the following method in a JSF backing bean: public List<Rent> getTopMemebers(){ return rentDAO.findByMonthAndYear(MonthReport, YearReport); } I am displaying this in a datata...
Bromeosin asked 10/12, 2010 at 18:42

1

I'd like to change the "required" property of an InputText that is located within an ui:repeat, but I'm not able to access to the component from the ManagedBean: <h:selectManyCheckbox id="requi...
Willyt asked 6/12, 2010 at 14:11

2

Solved

As usual, i've some trouble by using some ajax call on a requested scoped bean. I've this Bean : @ManagedBean @RequestScoped public class ArticlesSelector implements Serializable { @ManagedPrope...
Calvano asked 2/12, 2010 at 11:26

1

Solved

I need to pass a parameter to a bean when i do an ajax call. My bean is this : @ManagedBean @RequestScoped public class Selector { @ManagedProperty(value="#{param.page}") private String page; ...
Nanete asked 2/12, 2010 at 13:12

2

Solved

I have problems including a facelet template. I wanted to split some content up, so that I can reuse it somewhere else. So I changed this code: <!DOCTYPE html> <ui:composition xmlns="htt...
Minority asked 5/11, 2010 at 13:35

3

Solved

I strongly need to override JSF 2.0 Content-Type header. Default it is Content-Type:application/xhtml+xml; charset=UTF-8 But I need Content-Type:text/html; charset=UTF-8 Thanks.
Smyth asked 27/9, 2010 at 12:42

1

Solved

I have a strange problem with the <ui:repeat> tag. Even for my very simple example, value bindings inside nested repeat components do not work as expected. I have a simple facelet like so: ...
Sure asked 14/9, 2010 at 11:41

1

Solved

I am building a JSF application. I defined the GUI and did the select statements query the database using select. Now I must do the insert statements, but I don't know how to read the value of a J...
Sumatra asked 9/9, 2010 at 22:51

© 2022 - 2024 — McMap. All rights reserved.