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
1
vote
1 answer

How to invoke a method on a managed bean when pressing backbutton or F5?

How can I invoke a method on a managed bean when pressing backbutton or F5?
akub
  • 99
  • 2
  • 10
1
vote
1 answer

In JSF 1.2 how do I changing Logging level of RenderResponsePhase?

I am getting the following messsage in System out: "FacesMessage(s) have been enqueued....". The solution with Sun's JavaServer Faces implementation (1.2_07-b03-FCS) was to add this to web.xml: Set to true to…
JeffJak
  • 2,008
  • 5
  • 28
  • 40
1
vote
0 answers

Redirecting to different pages based on exception type in JSF1.2

I am trying to show to a special error page for only one of the JSF pages in my application. I tried to throw SpecialException from all the BB methods and entered a error-page mapping with SpecialException entry in web.xml. Still whenever an error…
Spear A1
  • 525
  • 1
  • 7
  • 20
1
vote
1 answer

JSF-1.2-Question. Strategy for saving current application-state(managed bean state) when redirecting to external service

Definition -- There is working web-app with managed-bean state at some point. this web-app posts request to external-application External-application calls-back(http 'get' method) to web-app -- At this time application should restore managed-bean…
Mr.Bonz
  • 13
  • 2
1
vote
1 answer

Getting FaceletContext from FacesContext in JSF 1.2

How to get FaceletContext from FaceletContext in JSF 1.2? The problem is that I am creating a Tab dynamically and I want to include a view inside the newly created Tab. Including a view is supported only by FaceletContext.
Sam
  • 11
  • 3
1
vote
1 answer

noSelectionLabel in jsf?

There are many situations when we want to tell the user to select an option from a selectOneMenu component. In Seam this is easily solved using noSelectionLabel.
Cristian Boariu
  • 9,603
  • 14
  • 91
  • 162
1
vote
0 answers

Tomahawk JSF 1.2 file upload is not working in JBoss 7.3 EAP while it worked fine in JBoss 6

Recently we have upgraded JBoss 6 tp 7.3 EAP servert and Java 6 to Java 8 version still jsf is configured to version 1.2 only Somehow file upload is not working in Jboss 7.3 EAP and the same is worked in Jboss 6. Then backed UploadedFile object is…
user3682520
  • 81
  • 3
  • 14
1
vote
0 answers

JSF1.2 and RichFaces 3.2.1 upgrade

I have the project which is designed and developed on very legacy frameworks. The frameworks which we are currently using…
Water
  • 57
  • 1
  • 7
1
vote
1 answer

RichFaces FileUpload and Flash Support ending in 2020

Well, in my company we have a legacy web system that uses JSF 1.2, Seam 2.2 and RichFaces 3.3 Well, there's one part of the system that uses rich:fileUpload with FlashSupport, but as we know Flash won't be supported anymore by the end of 2020. The…
1
vote
1 answer

How to change value of a session bean from a request bean?

I have a session bean FooSessionBean which has a boolean property: visible. I want to change the value of the visible property from my FooRequestBean. Is there any way to do this, other than changing the scope of FooRequestBean to session instead of…
Cristian Boariu
  • 9,603
  • 14
  • 91
  • 162
1
vote
0 answers

JSF command button can be clicked only once when calling servlet for file download

I have some command buttons in a jsf, one of which when clicked when create a file and download. In the action class that handle the jsf action , I create the url object that has the URL for calling the Servlet. This all works , the file is…
tvks
  • 11
  • 2
1
vote
0 answers

Why is h:selectOneMenu onchange fired two times and why valueChangeListener is not fired without onchange?

It is my first post on stackoverflow, I hope i'm doing it right I'm working with JSF and Xnet since some weeks (maybe 2 or 3) and I have two questions about h:selectOneMenu. First question : the onchange event is called two times. First time is when…
Mudarou
  • 11
  • 1
1
vote
1 answer

jsf a4j:commandButton reRender doesn't work

My jsf page works fine if I change the first button to h:commandButton. However, that refreshes the entire page on submit so my requirement is to keep both as ajax supported buttons. My backing bean has all the required methods. The following code…
qomzwinx
  • 65
  • 1
  • 10
1
vote
0 answers

NullPointerException in FacesCompositeELResolver how to fix or get support?

We are getting an NPE in Production, which is using apache-tomcat-8.5.28 or maybe 8.5.34 (not actually sure which but I can try to find out), with the following stack: java.lang.NullPointerException: while trying to invoke the method…
codefactor
  • 1,616
  • 2
  • 18
  • 41
1
vote
1 answer

I need to minus some value from a fixed number in jsf

I need to minus some value (value coming from DB though Databean and VO) here is my code: value="200 - #{pc_costReportDataBean.adjustCostVo.explanationLength}" but the problem is result coming like [200-0].
I.Sharma
  • 21
  • 5