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

Eclipse is making nice looking JSF code (XHTML) unreadable by autoformating

I have the problem that if I autoformat a XHTML file (JSF 1.2) in Eclipse with the keys CTRL + SHIFT + f, the output looks really bad and is not really readable anymore. My formated code:
Joergi
  • 1,527
  • 3
  • 39
  • 82
6
votes
4 answers

java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.POIXMLDocument on Jboss 5.0 EAP

Getting following exception in Jboss 5.0 EAP but it work fine in JBoss 5.1 GA. we are using POI 3.7 and jars included are poi-3.7.jar poi-ooxml-schemas.jar poi-ooxml.jar The stack trace is ERROR…
nidhin
  • 6,661
  • 6
  • 32
  • 50
5
votes
1 answer

Extend h:outputText for custom functionality

I have been using JSF + RF for over 2 years and have'nt had a chance to extend the existing capabilities of components. Now the requirement is I have to trim the string and display it if it is more than 25 characters. This has been achieved as below…
Satya
  • 2,094
  • 6
  • 37
  • 60
5
votes
1 answer

JSF error "Expected a child component type ... Found null."

When using the like described in the RichFaces example I'm always getting the following error when changing the value of the drop-down-box. Expected a child component type of UISelectItem/UISelectItems for component type…
user321068
5
votes
2 answers

How to call a Javascript function on render in JSF 1.2/Richfaces 3.3?

We have an a4j:outputPanel that is ajaxRendered. Is there a way to call a javascript function each time it is (re)rendered? I know that we could put a call in every element that could possibly submit with oncomplete, but that really isn't…
Adam
  • 3,675
  • 8
  • 45
  • 77
5
votes
1 answer

How to use f:loadbundle with facelets

Using f:loadbundle when using jsp as the view description language for an JSF application is pretty straight forward. I want to know where to put this f:loadbundle when i am using facelets
Sreeram
  • 3,160
  • 6
  • 33
  • 44
5
votes
2 answers

Avoid default long value of 0 to display in h:inputText

I have a which accepts a long value like this The property is declared like this public class ServiceTable { private long ID; // Getter and setter for ID. } When I open the page, I…
Sreeram
  • 3,160
  • 6
  • 33
  • 44
5
votes
1 answer

How to force the build phase in a JSF 1.2 page using JSTL?

I am making use of JSTL tags in my JSF application. With certain actions, I need the component tree to be rebuilt as if it was an initial build. My current symptoms are incorrect object to component associations, duplicate ids, and other issues with…
Adam
  • 3,675
  • 8
  • 45
  • 77
5
votes
3 answers

How do I implement a NamingContainer? All children get the same client ID

I try to write my own tree component. A tree node renders as a div containing child components of the tree component, for example:
Zeemee
  • 10,486
  • 14
  • 51
  • 81
5
votes
3 answers

Richfaces 3 how to make datascroller do true pagination

I'm trying to figure out how to do true pagination with richfaces datascroller. Currently my query pulls all of the data from a table and i want it so when you click the next button of the datascroller, it will query the db for the next 20 rows. I…
Catfish
  • 18,876
  • 54
  • 209
  • 353
5
votes
0 answers

a4j commandlink not working after rerender

The text with id=txt is inserted outside the commandlink after rerendering. And therefore the link is broken. A refresh of the page gets it back. Could somebody please help?
5
votes
1 answer

a4j:commandButton reRendering rich:datatable

My issue is that I am trying to have a column in my datatable show an outputtext by default, and replace that with an inputtext when the commandbutton is pressed. Have not found a solution. First post by the way. I have an a4j:commandButton that I…
TaylorSmolik
  • 116
  • 3
  • 13
5
votes
0 answers

JSF 1.2 : h:graphicImage appending jsessionid

Am using JSF 1.2 I have an image which should be clickable. Below is how I have coded, Am using h:commandLink because on…
Vikas V
  • 3,176
  • 2
  • 37
  • 60
5
votes
2 answers

java.util.MissingResourceException: Can't find bundle for base name messages, locale en_US

I am new to JSF an was trying out this piece of code.. This is my faces-config.xml: messages msg
digvijay
  • 361
  • 2
  • 4
  • 12
5
votes
2 answers

Cannot convert 4/23/12 12:00 AM of type class java.util.Date to class java.sql.Date

I'm migrating my project from WebSphere 7 to WebSphere 8 and I'm using JSF 1.2. I was facing a problem with IBM JSF/html_extended tags and also standard converters, which are mainly JSF 1.2 core components. I'm also updating my Java EE version from…
Keeran
  • 51
  • 1
  • 4
1
2
3
56 57