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
2 answers

auto -instantiate a session bean?

I have a session bean vdcAddBean com.cloud.appsportfolio.jsf.vdc.beans.VDCAddBean
Cristian Boariu
  • 9,603
  • 14
  • 91
  • 162
2
votes
0 answers

Richfaces 3 on Payara 5: Request prolog cannot be read

I'm attempting to move an existing Richfaces 3.3.4 / JSF 1.2 application off Glassfish 3 (for a number of reasons) onto Payara 5.192. The application runs fine with a couple exceptions, the primary problem being rich:fileUpload doesn't work. I…
John Manko
  • 1,828
  • 27
  • 51
2
votes
1 answer

FacesContext.getCurrentInstance() throwing java.lang.VerifyError: Inconsistent stackmap frames at branch target exception

I already checked other stackoverflow answers but none of them had an answer for JSF facescontext so I had to put a question. We had jdk 6, jsf 1.2 and mySQL 5.5 and now we have upgraded to java 8 and mySQL 5.7. For that, I have replaced…
Aakash Patel
  • 549
  • 5
  • 19
2
votes
2 answers

Is there any difference between ui:fragment and s:fragment?

What's the difference between and ? I use these two tag libraries interchangeably for conditional rendering (using the rendered attribute although I can't find any documentation that states "rendered" is a valid attribute…
Victor Martinez
  • 1,102
  • 2
  • 8
  • 22
2
votes
3 answers

How to create a view scoped bean in JSF 1.x?

I have 2 links in a web page, link one pint to appserver/?dept=1, link two is appserver/?dept=2. Then I have a JSF phase listener, in there, I can get the back end bean and set dept1 or dept2 as the bean parameter, in order to render different…
Charles
  • 161
  • 1
  • 3
  • 12
2
votes
1 answer

How to deploy JSF v1.2 apps to WebSphere v9.0 (Full and Liberty)?

WebSphere v9.0.0.2 full profile does not provide anymore JSF v1.2 support it seems Q: What about "legacy" apps that are written in JSF v1.2 + facelets (facelets was not part of the JSF standard at this time), can they be deployed to WAS v9.0 or…
titou10
  • 2,814
  • 1
  • 19
  • 42
2
votes
1 answer

ui:table immediately disappears after retrieving data

We are moving our existing JSF 1.1 project (currently running in Glassfish) to WildFly 9 and JSF 1.2. Most of the components in our JSPs are ui: type components (from http://www.sun.com/web/ui). We are able to deploy and run the application. All…
Tom
  • 21
  • 2
2
votes
0 answers

The method setVar(String) in the type DataTableTag is not applicable for the arguments (JspValueExpression)

I want to add a list of strings to a data-table and display. The jsp code is which is working fine as the…
2
votes
1 answer

Avoid ViewExpiredException in JSF 1.2 on a single page

I have a login page that is not protected and is accessible via different navigation-cases. The problem: many users access that login page and leave it open for a while before then sign in again. Boom! The terrible ViewExpiredException occurs! I…
pmartin8
  • 1,545
  • 1
  • 20
  • 36
2
votes
1 answer

calling returns undefined from server

In my Managed Bean, I have a simple boolean method: public class UploadBean { // ... public boolean getPossuiNotasFiscaisNaoTransmitidas() { boolean result = false; // Some computation ... return result; …
Rafael Afonso
  • 595
  • 1
  • 10
  • 28
2
votes
1 answer

ConvertDateTime does not get timezone defined in web.xml

I'm using f:convertDateTime to format a dateTime in a datatable. I set the following context parameter in web.xml to explicitly set the timezone to system timezone:
Ronaldo Lanhellas
  • 2,975
  • 5
  • 46
  • 92
2
votes
0 answers

Migration from Richfaces 3.3.0 with JSF 1.2 to Richfaces 3.3.3 with JSF 2.0

I am using JSF 1.2 , Richfaces 3.3.0 , Maven2 with Tomcat 6. I am in need to migrate from JSF 1.2 to JSF 2.0 in order to get rid of problems raised in my project. I had found that Richfaces 3.3.3 is a stepping stone to JSF 2.0 . I know there is…
Kannan
  • 63
  • 1
  • 1
  • 6
2
votes
0 answers

hx:ajaxRefreshSubmit doesn't work in Firefox, Chrome

I am using IBM JSF 1.2. This is snippet of main jsp page:
mismas
  • 1,236
  • 5
  • 27
  • 55
2
votes
1 answer

Invoke multiple valuechangelistener jsf-1.2 richfaces

Is it possible to invoke multiple valueChangeListener in a h:selectBooleanCheckbox I'm trying to pass a value into two Beans. The beans don't know each other. And injection is not an option.
MadMax
  • 68
  • 6
2
votes
0 answers

JSTL var access in

I have a JSTL loop: The loop creates an with :
Curly5115
  • 103
  • 1
  • 3
  • 13