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
4
votes
0 answers

Howto deploy a JSF 1.2 application to TomEE 1.7.1?

I tried to deploy an application with JSF 1.2 to TomEE 1.7.1 Web Profile and of course got exceptions because of the JSF 2.0-Libs in TomEE ... . According to the article Is it possible to deploy JSF MyFaces 1.1.5 applications to TomEE I removed the…
Frank Jung
  • 41
  • 2
4
votes
1 answer

JSF 1.2 on Wildfly 8 Final - weld-core-jsf is still referencing JSF 2.2 API

I'm currently migrating a JSF-1.2 app to Wildfly 8 Final and am stuck :( First of all, I've read many post with related issues (e.g. https://community.jboss.org/message/845006 or Migrate JSF 1.2 Seam app to WildFly Beta 1) but the proposed solution…
shillner
  • 1,806
  • 15
  • 24
4
votes
1 answer

Navigation from managed bean constructor in ADF Faces JSF 1.2

Is it possible to navigate to another page/view from the constructor of the managed bean? I want this redirection if any exception occurred. I have tried many…
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331
4
votes
1 answer

Not redirecting to error page on exception

I am trying to navigate to error page if an exception occurred. For that I have defined: 500 /error.jspx in the web.xml. Also I have tried to do this by…
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331
4
votes
1 answer

Don't know how to iterate over supplied "items" in

I am using JSF 1.2 in my application. I am trying to iterate through a String array which is defined in my backing bean like this: private String[] services; Below is the managed bean entry in faces-config file:
user182944
  • 7,897
  • 33
  • 108
  • 174
4
votes
2 answers

Integrating Flash File Upload with JSF

I have seen that we can upload multiple files by flash file upload. Like SWFUpload or YUI Uploader. Is it possible to integrate these upload component with JSF? What I want is to choose multiple file at once. Primefaces file uploader has this…
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331
4
votes
2 answers

Creating my own ViewHandler is returning 404 error for further requests

I have a URL in this way http:/myDomain/myWAR/myServletReceiver I don't want end User to know about my WAR file name nor about the Servlet Receiver name. So, I thought I will personalize this URL into something like http:/myDomain/MyAccount . I have…
Vikas V
  • 3,176
  • 2
  • 37
  • 60
4
votes
1 answer

JSF localized paragraph with embedded links

What's the preferred way to embed an outputlink somewhere in the middle of a localized paragraph with JSF 1.2? Consider a message resource with the following: my.paragraph=If you have questions, visit our {0} for further…
fbazbo
  • 43
  • 3
4
votes
1 answer

JSF 1.2 - generate dynamic ID attributes for tables using

What is the best way to create dynamic ID attributes for tables (in a loop) using ? We use the following: JSF 1.2 JSP Sun Application Server 9.0_01 JSTL 1.1 We have a page that has 8 tables. Each table MUST have a unique ID…
jahroy
  • 22,322
  • 9
  • 59
  • 108
4
votes
3 answers

@EJB annotation vs JNDI lookup

Is there any situation where it's better to use JNDI than to inject a stateless session bean using the @EJB annotation? We're using JSF 1.2 with Sun Application Server 9.0_01. Our team is debating which approach is better when using SLSBs in a…
jahroy
  • 22,322
  • 9
  • 59
  • 108
4
votes
1 answer

Backing bean organization in JSF

I have been thinking about this for a while now and have yet to come up with a best practice for how to organize my beans/classes in a JSF project for the presentation tier. Obviously there are many factors that come into play, but I would like to…
bhouse
  • 115
  • 2
  • 7
4
votes
2 answers

JSF not parsing #{} tags

I'm new to JSP/JSF and I've run into a problem with my JSP. I have several tags that look like this:
4
votes
1 answer

JSF 1.2 startElement and writeAttribute explanation

I've had occasion to write some custom renderers for my project and that's working perfectly well. However I am somewhat confused by some of the parameters in the ResponseWriter methods. The documentation doesn't explain this very well so I'm hoping…
Steve Atkinson
  • 1,219
  • 2
  • 12
  • 30
4
votes
1 answer

Submit a form with data from other form JSF

I have a form that I want to submit with JSF/Richfaces. To execute the form action, I need to be sure a data from another form is valid. So my question is, how can I submit a form with data come from another form ? My code is like this:
Kiva
  • 9,193
  • 17
  • 62
  • 94
4
votes
1 answer

Passing backing bean action to Facelet tag file

In my JSF 1.2 project, I have created a facelet tag file and defined an inputText that has actionListener attribute to which I need to pass the backing bean method name. I tried defining a variable actionListener="#{actionListener}" in the tag file.…
phewataal
  • 1,107
  • 4
  • 12
  • 23
1 2
3
56 57