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
2
votes
1 answer

Force JSF application to use server-side locale for i18n

Recently I've started to make i18n for JSF 1.2 web-application. Actually for this moment we need to have only two locales and instances of web-application will be deployed and configured on separate servers with same code-base. Locale is specified…
2
votes
1 answer

Conditionally render other component when radiobutton is changed

I am trying to display a menu if a radiobutton is selected. I'm using the rendered attribute for this purpose. Model: private int type; // +getter+setter View:
2
votes
0 answers

java.lang.ClassCastException during upgrade of JSF1.2

While upgrading the application from jsf 1.1 to jsf 1.2 i am getting the below error java.lang.ClassCastException: Unable to convert "#{TermsOfUseBean.vin}" to type "javax.el.ValueExpression" for attribute "value" at…
sai
  • 59
  • 11
2
votes
1 answer

Null value submitted for a conditionally disabled field in a reusable JSF popup

I have a popup dialog developed in IceFaces 1.8.x (JSF 1.2). The dialog is reusable (used for account creation as well as modification) and has a cancel button with immediate = true (to avoid validations). This dialog suffered a problem in the past…
Alphonso
  • 1,295
  • 1
  • 9
  • 11
2
votes
1 answer

Calling REST service in my JSF application

I have a legacy application written in JSF 1 but I have this requirement to edit the code and call a rest service in my managed bean prior to displaying the user interface. I am just not too sure how to implement this? Anyone have idea over this?
Mark Estrada
  • 9,013
  • 37
  • 119
  • 186
2
votes
2 answers

Tag Library supports namespace , but no tag was defined for name : ajax

I am using JSF1.2 + Richface 3.3.3 . I was trying to design a column filter which filters all the rows containing that particular string. I tried implementing the example on the following page :…
user3392436
  • 31
  • 1
  • 2
2
votes
1 answer

Displaying a JSF requestLink parameter containing a + sign

Strange one this. I have a tag in my JSF page which contains a parameter that contains a + sign. When the resulting hyperlink is clicked the URL converts the + sign to a space, as this is how spaces in URLs are represented. Is there any way of…
Steve W
  • 97
  • 7
2
votes
1 answer

How to clear session bean when browser closed in jsf 1.2?

I have JSF page which needs clear the session when its browser closed.Could anyone please help me on this to clear the session on browser close in jsf page.
2
votes
0 answers

How to catch runtime exceptions in jspx pages

This is in continuation with my previous question. I couldn't find solution for that. Hence I am trying to debug my application view layer jspx. I realized that jspx is quite different from jsp, like it doesn't allow scriptlets. I know, that usage…
srk
  • 4,857
  • 12
  • 65
  • 109
2
votes
1 answer

SAP NetWeaver hot deployment

I am working in a project which is based on Java/J2EE (JSF, Icefaces) and SAP NetWeaver combination. Currently, we are building/deploying the application using ant, for every small change in .jspx file or some .html file, we have do re-build. Just…
srk
  • 4,857
  • 12
  • 65
  • 109
2
votes
3 answers

Change listener without submitting the form

I've got a list box and I want to catch change in selection in order to fill an other one according to it. I've tried in the following way:
AnPe
  • 33
  • 7
2
votes
0 answers

JSF session bean target unreachable in process

I have a JSF 1.2 web application that has been in use for several years. Over the last couple days I've seen many 'Target unreachable' errors while users are processing. The underlying objects on my session scoped beans seem to be null. This…
Eric
  • 21
  • 2
2
votes
1 answer

How to programmaticallty create a for HtmlPanelGrid

i am createing header for from bean. now this is jsf required code(if i written code in jsf page).
Jubin Patel
  • 1,959
  • 19
  • 38
2
votes
1 answer

Proper way to style a webapplication for different customers

I have a JSF 1.2 based Java web-application that is packaged as an EAR. It contains several JARs and one WAR that provides a web-UI as frontend. The WAR contains JSF pages (XHTML), CSS files and other web-resources like images. The build-system in…
Martin Höller
  • 2,714
  • 26
  • 44
2
votes
1 answer

JSF 1.2- >2.0 :viewId parameter for save view state is null

We are migrating our JSF 1.2 project to JSF 2.0 and using a command button in a JSP page .Clicking command button get a reponse from external system and display response. While clicking this command button we are getting blank page with below…
Om P
  • 117
  • 1
  • 3
  • 9