facelets Questions

5

This is what I have in the output HTML document (produced by JSF 2.0/Mojarra 2.0.3): <input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="4267906931114993858:-63...
Delve asked 1/3, 2011 at 8:8

3

Solved

Today I'd like to know some features on the JSF Lifecycle. Let me start : 1 - Phase 2:Apply request Values - During this phase,each component in the view will search for its values in the request ...
Romanticism asked 1/12, 2010 at 11:12

0

Have a simple question. Let's consider the following tag. <h:inputText id="text" value="#{bean.value}"/> If it is mistakenly written as follows. <h:inputText id="text"value="#{bean.val...
Izak asked 6/1, 2015 at 9:19

3

Solved

is it possible to embed comments in my .xhtml-files that are only displayed in the source and not the rendered result? I want to include author, date,... in the files but they should not be v...
Mcalpin asked 17/8, 2010 at 8:43

3

Solved

I'm developing web-application with JSF. I tested it as I was able to but from time to time runtime exceptions are thrown. So, how to redirect user to special error page every time an exception is...
Shandishandie asked 30/4, 2010 at 23:29

2

Solved

I see that from JSF 2.0 onwards Facelets view definition language is the preferred view definition language and not JSP which has been deprecated as a legacy fallback. I want to understand why Face...
Jellaba asked 26/10, 2012 at 18:10

3

Where can I find XML schema definitions for xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"...
Hydrophyte asked 16/2, 2010 at 8:26

2

I have a file called test.xhtml i am trying to access a hash map using foreach in Facelets, but it is not displaying key value pair my code is as follows. How is this caused and how can I solve it?...
Arnitaarno asked 16/7, 2012 at 10:23

2

The Eclipse Facelet HTML Validator reports an error "Cannot apply expression operators to method bindings" for the following line: <ui:fragment rendered="#{!empty managedBean.getSomething('ENUM...
Battement asked 5/1, 2014 at 0:38

2

Solved

I currently have 2 command buttons and one listbox. Based on listbox selection, the result generated can be shown in a download-able file or rendered as an HTML table. The getFile() code is based o...
Hiding asked 29/11, 2010 at 13:20

1

I am wondering if it is possible to know if ui:insert was defined in the ui:composition. I know that I can do it using separate ui:param, but just wanted to do it without in order to keep it simp...
Justen asked 27/9, 2014 at 2:31

2

I'm using PF 3.5 and JSF Mojarra 2.1. I have a dialog which I want to use appendToBody=true. This usually results in "unpredictable behavior" though. Basically what the dialog does is, when I cho...
Audwen asked 4/9, 2013 at 7:32

1

Solved

I'm trying to setup the Omniface's FaceExceptionFilter on my Glassfish 4.0 server, using Mojarra 2.2.8, Primefaces 4.0 and Omnifaces 1.8.1. The filters and error pages in web.xml are defined as fo...
Lush asked 3/9, 2014 at 12:36

1

Solved

I have JSF 2.2, PrimeFaces 5.0 web application. On my page I need to conditionally set <ui:param/>. The problem is that a standard ternary operator isn't enough, because I have more than 2 ...
Mccary asked 8/8, 2014 at 13:55

1

Solved

I have a template, in which a <h:form> is defined. This <h:form> is used all over the application for the CRUD pages of entities. So, at one place I need another enctype for the form, ...
Teutonism asked 24/7, 2014 at 15:19

0

I am using Eclipse Luna to implement JSF2.1 web application, and each time i open the project the facelet HTML validator starts, I am used to eclipse Helios and it was faster than luna in validatio...
Selfhood asked 8/7, 2014 at 15:45

1

Solved

Iv read a lot of posts but no success in fixing this. A help please.... Eclipse Juno / JSF Project Structure : teste.xhtml : <!DOCTYPE html[ <!ENTITY nbsp " "> <!ENTIT...
Pecten asked 17/6, 2014 at 12:45

1

Solved

The reason why the topic has "kind of" is because I have an example in JSF 2.2 where I use a commandButton and call a bean function twice (depending on the url). It's basically the same code, which...
Bulley asked 19/5, 2014 at 15:54

2

I have a form in the <ui:insert name="content" /> When I save the data with a p:commandButton I can update the form and things within the <ui:insert name="content" />. But I am having ...
Teetotalism asked 27/8, 2012 at 4:33

2

I had some problems with hot-reloading Facelets files using JRebel, Spring, JSF Mojarra 2.0.3 and WebLogic 10.3. JRebel reloads regular Java classes and js/css files under /WebContent successfully,...
Decreasing asked 22/9, 2011 at 9:18

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

4

Solved

Currenty I have a web project with JSF 1.2 and Facelets running in tomcat 6.0.18.0. I decided to upgrade the servlet container, thus i deployed in tomcat 7 and all seemed ok until we hit one view u...
Amedeo asked 23/10, 2011 at 14:39

1

Solved

I have in my JSF: <h:commandButton value="Add to Cart" rendered="#{movieDisplayController.movie.available != 0}" action="#{cartController.addMovie(movieDisplayController.movie, '2')}"> &lt...
Kaslik asked 21/2, 2014 at 15:10

7

Solved

Does Facelets have any features for neater or more readable internationalised user interface text labels that what you can otherwise do using JSF? For example, with plain JSF, using h:outputFormat...
Cyruscyst asked 17/9, 2008 at 18:35

2

Solved

I have a <ui:composition> that contains a few elements with explicit ids and some ajax events which reference these ids for partial processing/updating. I encapsulated this fragment of xhtml ...
Bastinado asked 4/2, 2014 at 12:30

© 2022 - 2024 — McMap. All rights reserved.