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

RichFaces Column: Saving value of attribute on a row for comparisons

Hello I'm developing a Web Application using RichFaces 3. I have a rich:dataTable with individual rich:column. One of these columns has a Date value and there is this requirement where if the date is the same on consecutive rows the value has to be…
1
vote
1 answer

How to avoid APPLY_REQUEST_VALUES phase for particular event

I have a requirement wherein the form displays many input fields from model object. And on one of the fields an external plugin is invoked and the value of that field is directly changed in the model by that plugin (not changed in UI form field),…
Satya
  • 2,094
  • 6
  • 37
  • 60
1
vote
1 answer

Find out what the current page is in JSF 1.2

I need to figure out what the current page is I'm on using a bean. Something like getting the current form id from facesContext and compare it to a const string.
akub
  • 99
  • 2
  • 10
1
vote
2 answers

Is it possible to have a form with validation and to use rich:modalPanel for data entry too?

Richfaces 3.3.3, Jsf 1.2: I have a a4j:form that uses some simple validation, mainly required="true" to ensure the form does not get submitted without some necessary data. I also have some complex data to add (optionally) to the form, so I thought…
brandstaetter
  • 932
  • 3
  • 13
  • 30
1
vote
1 answer

ui:repeat does not render data for me

web.xml javax.faces.STATE_SAVING_METHOD server javax.faces.CONFIG_FILES
Surya Govi
  • 35
  • 1
  • 6
1
vote
1 answer

why h:commandLink not working inside datatable if bean is in session scope

i am working on jsf 1.2 application. i have kept bean in request scope and used h:commandLink inside datatable which passes rowId to bean class. But it is not working if i keep bean in request scope, i needed to change it to session scope. but there…
java
  • 111
  • 2
  • 9
1
vote
3 answers

java.lang.IllegalArgumentException: Component javax.faces.component.html.HtmlDataTable is no org.apache.myfaces.custom.datalist.HtmlDataList

In my JSF application I am using data table & data list from tomhawk`s implementation as well as but sometimes I get following exception. This happens only when I am using Chrome browser only. java.lang.IllegalArgumentException: Component…
Abhishek Dhote
  • 1,638
  • 10
  • 41
  • 62
1
vote
1 answer

Cannot convert "#{bean.color}" for the attribute color of the bean javax.el.ValueExpression

I've created a custom component that display some data to the page according to the bean. The problem is I cand't bind the bean to my component. I use ValueExpresion in UIComponentELTag class. I am receiving this…
Emanuel
  • 6,622
  • 20
  • 58
  • 78
1
vote
2 answers

How can I make a Label Provider using JSF-1.2?

I want to automatically set the labels attributes for the UIInput components in my pages, to the HtmlOutputLabel components I already put, like the PrimeFaces developer did:…
Elias Dorneles
  • 22,556
  • 11
  • 85
  • 107
1
vote
2 answers

how to format the number with comma when user lost focus in

I want to format number with comma in jsf eg: when i type 100000 in the text field and when i go other field, the text field should display 100,000. I know it can be done in javascript, but I wonder know whether it can be done by jsf build in…
heng heng
  • 693
  • 3
  • 13
  • 25
1
vote
3 answers

Remove appended header from JSF page

I've written an .xhtml page with the following code: Test

P

I'm opening this page with JavaScript in a new window. Unfortunately it's displayed…
user321068
1
vote
5 answers

How to make a clickable row in a rich:datatable?

I have a JSF page with a rich:dataTable where, in each row, I put h:commandLinks to lead to pages with the details of the row selected. I wanted to make the whole row clickable, calling the action method when the user clicks anywhere in the row. Is…
Elias Dorneles
  • 22,556
  • 11
  • 85
  • 107
1
vote
1 answer

JSF no session timeout. What are the drawbacks?

I have a small JSF web application on WAS7.0 with just one page but a fairly large user base. Can i declare all(1) beans as request scope and also use javax.faces.STATE_SAVING_METHOD client without running into memory issues on the server using a…
Stefan
  • 838
  • 3
  • 13
  • 28
1
vote
1 answer

Using JSF1.2, how to raise a 404 error from the backing bean?

I saw that ExternalContext in JSF 2.0 has a method setResponseStatus, how can I do that using JSF 1.2? Thanks in advance!
Elias Dorneles
  • 22,556
  • 11
  • 85
  • 107
1
vote
1 answer

Setting LoadStyleStrategy to ALL has no effect

I'm setting the LoadStyleStrategy in my web.xml to ALL. org.richfaces.LoadStyleStrategy ALL Unfortunately this hasn't any effect. The styles are still…
user321068