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

Why does a h:commandButton fail to submit the form if it's parent is dynamically rendered?

This JSF1 code has me totally puzzled for hours. The basic setup is this page displayed with Seam2: ...
mabi
  • 5,279
  • 2
  • 43
  • 78
0
votes
1 answer

How to color individual items of tr:selectOneChoice?

Possible Duplicate: Bold second item of a selectOneMenu Is it possible to paint/color item in the select items drop down? My Code:
JohnSmith2
  • 47
  • 1
  • 11
0
votes
1 answer

Same method of the managed bean getting called twice

I am developing pagination logic using JSF1.2 and in the process I have 4 links for first, previous, next and last pages corresponding to the results. I enter the search criteria in the Search page and click submit to get some records. I have a view…
Dhana
  • 505
  • 1
  • 8
  • 27
0
votes
1 answer

Accessing HttpServletRequest inside ActionListener

I have an ActionListener for a JSF button as follows, The…
Gopi
  • 227
  • 2
  • 10
  • 30
0
votes
1 answer

How to redirect to "ErrorPage" if exception occurs in "beforePhase" method?

How to redirect to "ErrorPage" if exception occurs in "beforePhase"?. When i try to re-direct its giving me an "Response Already Committed". Regards Raj
Raj
  • 55
  • 11
0
votes
2 answers

Altering the initial value in Request scoped bean

In PhaseListener am calling initialize method. public class myBean implements Serializable { private boolean myBoolean = "true"; public void initialize() { if(someCondition) { this.setMyBoolean(true); } …
Vikas V
  • 3,176
  • 2
  • 37
  • 60
0
votes
1 answer

Patterns to check to avoid XSS attack

I have written a Filter Below is the code. public void doFilter(ServletRequest request, ServletResponse response,FilterChain chain) throws IOException, ServletException { HttpServletRequest srequest = (HttpServletRequest)…
Vikas V
  • 3,176
  • 2
  • 37
  • 60
0
votes
1 answer

JSF with trinidad tr:selectOneChoice

Assume that I'm using this component as following:
JohnSmith2
  • 47
  • 1
  • 11
0
votes
1 answer

JSF 1.2 NavigationHandler#handleNavigation called twice

I'm trying to implement a Custom Naviguation, that do the usual job and update my breadcrumb. public class CustomNaviguationHandler extends NavigationHandlerImpl{ public void handleNavigation(FacesContext context, String fromAction, String…
krampstudio
  • 3,519
  • 2
  • 43
  • 63
0
votes
2 answers

Richfaces 3 trying to get dynamic columns working - Property '0' not found on type

I'm trying to get a jsf 1.2 legacy project working using Richfaces 3.3.Final. I'm trying to create a datatable with dynamic columns and i am getting the error: Caused by: javax.el.PropertyNotFoundException: /index.xhtml @44,58…
Catfish
  • 18,876
  • 54
  • 209
  • 353
0
votes
1 answer

Triggering hover effect using Jquery

I have two banners (images) which keep switching every 4 seconds. One image is clickable and the other is not. Below is the code,
Vikas V
  • 3,176
  • 2
  • 37
  • 60
0
votes
1 answer

escape , in jsfcljs javascript function

I need to escape the comma[,] from jsfcljs function. My function looks like this: if(typeof jsfcljs ==…
0
votes
2 answers

cursor:pointer and default not reflecting immediately

I have two banners (images) which keep switching every 4 seconds. One image is clickable and the other is not. Below is the code,
Vikas V
  • 3,176
  • 2
  • 37
  • 60
0
votes
1 answer

JSF 1.2 + JBoss 5 not rendering jsf tags.

I'm trying to convert a .net app to JSF 1.2 to sit on our legacy JBoss server and I can't get the jsf tags to render. In my browser i see exactly what i see in eclipse. Any suggestions are appreciated. web.xml
Catfish
  • 18,876
  • 54
  • 209
  • 353
0
votes
1 answer

JSP & EL conflict with JSF 1.x actionListener

I was working on a JSF 1.x example, which has some EL conflict in JSPs. the line actionListener="#{helloBean.addControls} is shooting an issue. The error is : HTTP Status 500 - /JSP/hello.jsp (line: 37, column: 2) A literal value was specified for…
bali208
  • 2,257
  • 7
  • 40
  • 43