Questions tagged [jsf-1.2]

JSF 1.2 is the latest release of the JSF 1.x specification and it works with Servlet 2.5 and JSP 2.1.

JavaServer Faces (JSF) is a user interface (UI) framework for Java web applications.

JSF 1.2 is a specification driven by the JSR-252 expert group under the Java Community Process (JCP).JSF became part of Java EE with this 1.2 release.

Unified Expression Language (EL) a major change in this specification , deprecates the Faces EL of its predecessors.

At a fundamental level, JSF is a way to get values from the user, into the model tier for processing.

See for more information.

JSF 1.2 API Spec

Migrating from JSF 1.2 to JSF 2.0: here

846 questions
67
votes
3 answers

What is Mojarra?

How is Mojarra different from Sun's JSF Reference Implemenation? Is it just a later version? Is it simply a rename?
JeffJak
  • 2,008
  • 5
  • 28
  • 40
30
votes
5 answers

How to make a redirection on page load in JSF 1.x

I have a web-application where the users can be sent directly to some specific pages (such as a page where he can view or edit an item). To achieve that, we provide a specific url. These urls are located outside the current web-application (i.e.…
Romain Linsolas
  • 79,475
  • 49
  • 202
  • 273
21
votes
5 answers

Uses of javax.faces.PROJECT_STAGE

I wanted to understand impact of 'javax.faces.PROJECT_STAGE' property for a JSF application. A nice use case was presented in below links https://dzone.com/articles/jsf-20-new-feature-preview-ser…
Vicky
  • 5,380
  • 18
  • 60
  • 83
18
votes
2 answers

Conditionally rendering an

I am trying to toggle a page that shows a . Before I just included the template and it would just show the table the whole time. Now I want to be able to toggle it on/off on the…
Gilbert V
  • 1,050
  • 5
  • 16
  • 43
16
votes
6 answers

JSF 1.x generic exception handling

If I have an exception in my business layer (e.g. a SQL exception in my JDBC connection bean), how can I propagate it with a custom message to a global error.jsp page?
gaurav
15
votes
4 answers

Input fields hold previous values only if validation failed

I came up with a strange problem. I tried to isolate the problem so following is my simplified code. public class MyBean { private List dataList; Data selectedData; public MyBean() { dataList = new ArrayList(); …
prageeth
  • 7,159
  • 7
  • 44
  • 72
9
votes
3 answers

IE11 Changes DOM structure on JSF rerender

Ok bit of a strange one here, Iv not seen any other reports of this, we have had some UI bugs reported from IE11 users recently, after doing some testing I realised that after performing a reRender (I am using A4J) IE11 is putting HTML elements in…
DaveB
  • 2,953
  • 7
  • 38
  • 60
8
votes
2 answers

How to Dynamically add a row in a table in JSF?

In my application i need to add a row on a click of a button and this button will be in all the rows. Need help to do this? Item Class public class Item { public Item() { } private String value; public Item(String value) { this.value = value;…
Hariharbalaji
  • 2,498
  • 8
  • 36
  • 51
7
votes
2 answers

JSF application using IE11 with Enterprise Mode

Our application cannot run with IE11 and EM. We are using modify JSF-1.2 and RichFaces 3.X . When we run Web page on IE11 without EM all working OK, but we have to use IE11 with EM. Is any possible method to disable EM for page from code? IE…
7
votes
1 answer

JSF 1.2 - iterate over a Map that contains Collections

Using JSF 1.2 and JSP.... Is it possible to iterate over a Map whose values contain Collections? I have a Map that looks like this: Map> myMap; I would like to iterate over myMap and draw a separate table for each key. Each table…
jahroy
  • 22,322
  • 9
  • 59
  • 108
6
votes
1 answer

what dictates JSF version? Container or faces-config?

I am currently running a legacy JSF application on JBoss AS 4.3. I believe that this implements JSF 1.2. However, when I looked at the faces-config, I saw that it was using the JSF 1.1 DTD. Which version of JSF am I using?
Zack Marrapese
  • 12,072
  • 9
  • 51
  • 69
6
votes
0 answers

How to access parent component from Facelet tag file in JSF 1.2

I am writing a Facelet tag file in JSF 1.2. I want to be able to reference the parent container. In JSF 2.0 I could make this a composite component and use #{cc.parent}. But is there a JSF 1.2-equivalent way of doing this? taglib.xml
Jason Wheeler
  • 872
  • 1
  • 9
  • 23
6
votes
1 answer

Invoking methods with parameters by EL in JSF 1.2

I am using a datatable and for each row I have two buttons, an "Edit" and a "Delete". I need these buttons to be read-only, i.e. disabled, if a certain condition is met for the row in question. I have seen in JSF 2 that it is possible to pass…
jabclab
  • 14,786
  • 5
  • 54
  • 51
6
votes
1 answer

encodeBegin vs encodeEnd in JSF and which one should be preferred

I am using the javax.faces.render.Renderer class to render my custom components. I override either encodeBegin or encodeEnd to achieve my desired output. I would like to know when should I use either of these methods? Is there any guideline on when…
Naveen
  • 6,786
  • 10
  • 37
  • 85
6
votes
1 answer

RichFaces a4j:support should update the model in the context, but not the entity

i have an h:inputTextarea with some a4j:support to update the model on demand
Joergi
  • 1,527
  • 3
  • 39
  • 82
1
2 3
56 57