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...
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...
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...
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"...
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?...
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...
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...
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...
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, ...
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
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,...
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...
1
Solved
I have in my JSF:
<h:commandButton value="Add to Cart"
rendered="#{movieDisplayController.movie.available != 0}"
action="#{cartController.addMovie(movieDisplayController.movie, '2')}">
<...
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.