Questions tagged [faces-config]

The faces-config XML file is the standard JSF web application configuration file that contains various customization options for a JSF Web application. Everything from basic managed beans, navigation flows to advanced custom components that affect the inner workings of a JSF web application, like navigation handlers,el evaluators and localization configurations

148 questions
0
votes
1 answer

Java faces-config how to check unused navigation rules?

Is there a efficient way to find unused navigation rules in faces-config due to pages removed or outcome never fired? Thank you in advance.
BC906
  • 11
  • 1
  • 3
0
votes
1 answer

How to delete or show details about an Object contained in list and presented in dataTable using JSF framework?

I want to know if someone of you have any idea or solution about problem concerning how to show detail or delete an object presenting in a dataTable ? I display data from database using MySql in jsf as a dataTable with columns containing commandLink…
V4Vendetta
  • 21
  • 1
  • 5
0
votes
1 answer

How can I put properties outside the project and load both properties project properties and outside project properties?

I'm setting up different projects on the same server and want to put the same properties on some path outside the tomcat folder and load project properties as well how can I achieve it so that load both project properties and properties on path.
user11157805
0
votes
1 answer

Prevent converting null request parameter to zero in websphere jsf

We use #{param.customId} in faces-config for getting parameter from request. In the glassfish2 it works fine, but under websphere 7.0 undefined BigDecimal null values change to zero (0). How to configure websphere to works as like as glassfish for…
aholub7x
  • 808
  • 12
  • 26
0
votes
0 answers

How can I use a method which takes parameters as a navigation action in faces-config.xml

I am trying to navigate user according to the return value of a method. I am already doing it using methods needing no parameter like public String save() { ... } by #{someBean.save}
ybalcanci
  • 93
  • 1
  • 7
0
votes
2 answers

jsf2 +

I have a mapped bean in faces-config.xml beanName java.util.HashMap view
Blanca Hdez
  • 3,513
  • 19
  • 71
  • 93
0
votes
0 answers

Multiple Resource Bundle in faces-config.xml in JSF 2.0

How to define multiple resource bundle in faces-config.xml in jsf 2.0 ? I have searched on various blogposts but every post talks about using only one resource bundle. I am new to JSF .Any help on any resource would be of great help.
Ankit_K
  • 96
  • 1
  • 7
0
votes
1 answer

Problem updating config-config.xml from 1_2 to 2

I'm having issues trying to configure JSF 2. I get the following error when starting up my tomcat 7 server locally. SEVERE: Exception sending context initialized event to listener instance of class…
Thomas Buckley
  • 5,836
  • 19
  • 62
  • 110
0
votes
1 answer

Configure same error page on two different paths?

I'm trying as simply as possible to deal with error handling in a "forked" JSF2 application, which has separate templates and XHTML page paths for mobile and desktop. The main servlet mapping (maybe in need of modification) currently looks like…
0
votes
3 answers

Enable JSF commandbutton only if all the other components are error free

I am using icefaces in my application. There is a form in the page, which has a couple of input fields. I would like to enable the commandbutton only if the fields are valid(no errors for the other components) Is it possible to do it ? example…
Maximus
  • 241
  • 6
  • 15
0
votes
1 answer

Overriding PrimeFaces renderer not working when provided via module library

I have a very tricky problem when overriding JSF-renderers. This is a part of my faces-config.xml:
Rokko_11
  • 837
  • 2
  • 10
  • 24
0
votes
0 answers

Do scope annotations override managed bean scope definitions in faces-config?

I upgraded an old JSF web application from MyFaces 1.1 to MyFaces 2.2.12, mainly using Migrating from JSF 1.2 to JSF 2.0 as a guide. Using Migrating JSF 1.1 with Ajax4jsf 1.x to JSF 2 as another guide, I also try to replace a4j:keepAlive occurences…
scholt
  • 180
  • 4
  • 19
0
votes
1 answer

Errors in faces-config after upgrade to JSF 2.2

After upgrading the JSF implementation in our project from Myfaces 1.1 to MyFaces 2.2.12, my IDE (IntelliJ) shows me errors for all navigation-rule and managed-bean entries in my faces-config.xml. I have changed the root element in that file from…
scholt
  • 180
  • 4
  • 19
0
votes
0 answers

"URI is not registered" of default xmlns in faces-config and MyFaces 2.2

I am in the process of updating the JSF implementation of our project from JSF 1.1 to JSF 2.2. I mainly use Migrating from JSF 1.2 to JSF 2.0 as a guide. When updating the root element of the faces-config.xml according to JSF 2.2 faces-config:…
scholt
  • 180
  • 4
  • 19
0
votes
1 answer

Navigation case not working in JSF

We're working on our first JSF project, and we have some problems. We are making the login functionality, and when we hit the login button, it throws: an IllegalArgumentException - null source a NullPointerException - Servlet.service() for servlet…
DaJackal
  • 2,085
  • 4
  • 32
  • 48