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

Naming conventions for `` and `` while creating custom JSF components

I am learning to create custom JSF components and have been successful in creating simple ones. One thing I would like to know is that whether there are any naming conventions to be followed while defining and for…
Naveen
  • 6,786
  • 10
  • 37
  • 85
2
votes
0 answers

HTML div display on the top of flash (flex-3) issue on Chrome & Firefox

I have a HTML div on the top of flash object(flex-3). Its coming in IE-8. But its not coming on Chrome/Firefox. Problem is that when I open developer tool of those two browser its coming. So the problem is that without developer tool its not…
Arindam
  • 21
  • 2
2
votes
0 answers

Monitor JSF Managed Bean

I want to monitor when a managed bean get created and destroyed. Specifically I want know when the constructor of the managed bean get called. I am in JSF 1.2 (ADF 11.1.1.6), so I don't have any @PostContstract or @PreDestroy. Is there any way?
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331
2
votes
1 answer

Programmatically register taglib reference

Is there a way to programmatically, in a java code, register custom taglib reference? I am using JSF 1.2_09, rich faces 3.3.3, jsf-facelets 1.1.14. Specifically: In this code, jsf Expression Language is used to do some job for us, like concatenation…
2
votes
1 answer

Passing HTML into message bundle

I am in the process of 'Internationalising' my App, which is SEAM 2 / JSF 1.2 based One thing that is annoying me is having HTML markup in the message bundle, I would like to avoid this if possible, say for example I have the following HTML

Click…

DaveB
  • 2,953
  • 7
  • 38
  • 60
2
votes
2 answers

action attribute not working in JSF 1.2

I am using JSF 1.2 for my application. In the below code, the action attribute of the Account Detailsbutton is not working, i.e. the method is not getting invoked and nothing happens when I click the button.
user182944
  • 7,897
  • 33
  • 108
  • 174
2
votes
0 answers

How to access a bean in ServletContextListener's contextDestroyed

I have a JSF application that uses JSF 1.2 and Servlets 2.3 and Seam 2.2.0. I want to run a sort of backup everytime the application closes. I have tried using the ServletContextListener like this: public class ApplicationStartupAction implements…
user2090747
  • 61
  • 1
  • 1
  • 5
2
votes
2 answers

JSF attribute `rendered` in `rich:menuItem` can't read `boolean` value from parameter

I am using JSF 1.2_09, rich faces 3.3.3, jsf-facelets 1.1.14. Looks like attribute rendered in rich:menuItem can't read boolean value from parameter enableEdit... Even if enableEdit has true value, rich:menuItem is not rendered (not visible). Does…
2
votes
0 answers

Print current html page on printer from java bean in jsf

i need to change javascript window.print() command with java backing bean process. here, i am using Jsf1.2 as programmatic, print any web page, we use window.print(). which opens one menu to select printer to print page. now i need to compress this…
Jubin Patel
  • 1,959
  • 19
  • 38
2
votes
1 answer

JSF 1.2: Options for dropdown list not updated when it is set for the first time

I have written a program using jsf 1.2 . In this program a user needs to select his country, state, and city. When he selects a country, he must see the list of states in it in a dropdown & when he selects a state, he must see the cities in it in a…
Abhishek Oza
  • 3,340
  • 1
  • 27
  • 35
2
votes
2 answers

View navigation between two different portlets?

I am working on a JSR 286 portlet using JSF 1.2 on WebSphere Portal 7. I have been trying to find a way to do navigation between two portlets on the same page. Essentially: Click a button on Portlet A. Portlet B navigates to a different view (based…
wishkres
  • 21
  • 1
2
votes
1 answer

Configuring JSF viewstate encryption in JSF 1.2 with Mojarra

I am trying to figure out how to encrypt the viewstate using JSF 1.2 and Mojarra. The odd thing is that it seems to be encrypted by default on some servers, but not on others. For example, on my localhost I see the following:
James Frank
  • 175
  • 2
  • 12
2
votes
1 answer

rich:tab apply CSS ontableave

Can anyone tell me how to change the tab header color on leaving the current tab. It seems there is an property already available "ontableave", but i am not sure how to call the css on ontableave property. I am using Richfaces 3.3 & JSF 1.2 thanks…
Shankar
  • 8,529
  • 26
  • 90
  • 159
2
votes
1 answer

Passing value from Servlet to JSF Action method in WebLogic

I am trying to pass an Object from Servlet's doPost() to JSF's Managed bean's action method. But I am unable to do that. I have tried to set the value from Servlet as: request.getSession().setAttribute(key, "JYM"); And tried to retrieve it form…
Tapas Bose
  • 28,796
  • 74
  • 215
  • 331
2
votes
1 answer

Blank underlined line in jsf in h:outputText

I have tried this but got only blank spane without underline
happy
  • 2,550
  • 17
  • 64
  • 109