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

Set focus to a form element using JavaScript / RichFaces

I am using JSF 1.2 and RichFaces. I have a requirement where on click of command button () RichFaces data table will be displayed with 3 set of rows, This is working fine but the problem is I need to set the focus in the text box of…
1
vote
1 answer

Is it possible to debug for duplicate Ids?

I'm getting a duplicate id error but I can't figure out which element is meant. java.lang.IllegalStateException: duplicate Id for a component pb_1_WAR_TEST_INSTANCE_1234_:_viewRoot:mainForm:tableOverview:j_id66 I know it has to be in tableOverview…
MadMax
  • 68
  • 6
1
vote
0 answers

how to implement the pagination for tree2 using jsf?

Hi i am working on tree2 implemetation using jsf 1.2 . I have more than 100 rows and i have to show only 10 rows in a page. can anyone let me know how to implement the pagination for tree2?
1
vote
1 answer

url("#{resource[...]}") in CSS files do not work in JSF 1.2

I am trying to add font-awesome to a JSF 1.2 project. I edited all fonts in the font-awesome css files to be like @font-face { font-family: 'FontAwesome'; src: url("#{resource['fonts/fontawesome-webfont.eot']}?v=4.3.0"); src:…
Exorcismus
  • 2,243
  • 1
  • 35
  • 68
1
vote
1 answer

ui:insert inside ui:include is not working

Is it possible to write inside ? When I am trying to use the content is not visible. When trying this with JSF 1.2, this is working but not with JSF 2.2. Can anyone help me in understanding what…
user1661892
  • 103
  • 4
  • 13
1
vote
2 answers

HashMap in JSF not showing the value if the key is a non standard Object

I have a HashMap which looks like this: HashMap so my java code looks like this: @Name("testController") @AutoCreate public class TestController { public HashMap> createAndReturnHashmap(){ …
Joergi
  • 1,527
  • 3
  • 39
  • 82
1
vote
1 answer

Primefaces Dialog doesn't update edit fields

I am doing a page on Primefaces. It has a datatable with single selection, and when i do clic on a button, it shows a Dialog. If he dialog only shows labels with ouputtext, it works fine, but if I change the labels for inputtexts, the button doesn't…
1
vote
0 answers

Cant pass method to custom component jsf 1.2

I try to add action listener into my custom component. I have custom datatable which wrapping tomahawk datatable. I have custom dataScroller which wrapping tomahawk datascroller. I need to pass into dataScroller method defined in…
Milkmaid
  • 1,659
  • 4
  • 26
  • 39
1
vote
0 answers

JDK 1.8 compatibility with JSF 1.2 and Hibernate 3.5.1

I would like upgrade a project in which I use the JDK 1.6.0.45 with JDK 1.8. The key components of the projects are: jsf 1.2 hibernate 3.5.1 and these are working well with the JDK 1.6.0.45. Do you know if there is some problem upgrading the JDK…
enneppi
  • 1,029
  • 2
  • 15
  • 33
1
vote
1 answer

JSF bean action method return string test

I tried to understand from this question the difference between returning null and "" in JSF action, but couldn't experience in real. Below is the quote form the OP From what I understand, when a JSF action returns "" (empty String) the user…
srk
  • 4,857
  • 12
  • 65
  • 109
1
vote
2 answers

How to pre-select data in h:selectManyListbox

This is a common problem and I already saw the basic solution (populate the selectManyListBox). Here is the code of my JSF 1.2 page:
humungs
  • 1,144
  • 4
  • 25
  • 44
1
vote
0 answers

h:form action Within second rich:modalPanel is not working What could be wrong?

I am using a very old version of the JSF - (faces-config version="1.2"). So I guess a lot of great things are missing. I am using a single XHTML page to do all the stuff for my small application. I have two rich:modalPanel. Both have a h:form…
Pradeep R
  • 11
  • 2
1
vote
0 answers

change the color of disabled h:selectBooleanCheckbox to black

I am using richfaces and jsf 1.2. i want to change the color of disabled h:selectBooleanCheckbox to black. I have tried: and
Ikthiander
  • 3,917
  • 8
  • 37
  • 54
1
vote
3 answers

Java 1.7 and JSF 1.2 compatibility

I'm working to upgrade JDK for a Web app from 1.4 to 1.7 and Websphere Application server 6.1 to 8.5 (WAS 6.1 to 8.5). The application is built using JSF 1.2. My question is does JSF 1.2 is compatible with Java 1.7 or does it require to upgrade JSF…
Vishwa
  • 300
  • 5
  • 16
1
vote
2 answers

ICEfaces ice:panelTooltip not showing

Ok so I've been messing around with a JSF snippet supposed to render a tooltip :
Jean-François Savard
  • 20,626
  • 7
  • 49
  • 76