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

How to iterate over an arraylist in jsf without `` or ``

How to get the following result in JSF with
Lorem ipsum dolor sit amet,
Abhishek Dhote
  • 1,638
  • 10
  • 41
  • 62
2
votes
1 answer

Is it possible to load dynamically a Phase Listener with JSF 1.2?

I have been using a Phase Listener to debug my JSF application. Now I'm wondering if it's possible to load it dynamically depending on, for example, a system property is set or not (so I can commit the thing, and not worry about having to remove it…
Elias Dorneles
  • 22,556
  • 11
  • 85
  • 107
2
votes
1 answer

Send an f:param when a ValueChangeListener is invoked

I want to send a request parameter, everytime a ValueChangeListener is invoked. I've implemented it the following way, but unfortunately it doesn't work. Here's the code so you can get the idea.
user321068
2
votes
3 answers

How to implement JSF navigation between two pages without using navigation-case in faces-config.xml

I am looking for a another way of JSF navigation other than mentioning navigation-cases in faces-config.xml. At present i am using faces-config.xml to navigate. I want to clean it up. Please suggest all other ways so that i can use whatever suits my…
Sreeram
  • 3,160
  • 6
  • 33
  • 44
2
votes
1 answer

tr:commandLink action method does not navigate to next page.Instead loads same page again

In my JSF application ,after successful login, i am navigating to my home page of my application where i have a Logout link. Here is the related html for logout link.
Sreeram
  • 3,160
  • 6
  • 33
  • 44
2
votes
1 answer

JSF: Returning null in an Action method refreshes only input texts, but not comboboxes

I want to reset my JSF form. I've implemented an Action method that resets all properties in the backing bean. When I return a String that forwards to the same page again, all form entries are reset. Input text boxes as well as comboboxes. But when…
user321068
2
votes
2 answers

How to swallow an exception in JSF 1.2/Mojarra

The ViewExpiredException is being handled by a redirect to the login screen. The problem is that the exception is still logged, and the customer would strongly like to have the server.log exception-free. While it may be a questionable requirement…
kostja
  • 60,521
  • 48
  • 179
  • 224
2
votes
1 answer

Hot republishing/deploying of static xhtml files issues

I'm noticing a lot of issues operating the "hot deploying" of JSF pages in the following environment: Eclipse Indigo(latest version) Tomcat 5.5 JSF 1.2 Facelets View Handler I noticed that, if I modify an already rendered xhtml page (for example…
ndriamessina
  • 41
  • 1
  • 6
2
votes
1 answer

Make h:dataTable cell editable by using h:selectbooleanCheckbox linked to HashMap in the bean

I went through this question from SO How to use in to select multiple rows? Using the single checkbox as shown in above question i want to find out whether i can make h:datatable cell editable so that user…
Sreeram
  • 3,160
  • 6
  • 33
  • 44
2
votes
0 answers

How to reload

We included a page with ui:include. And when a button is clicked we want to rerender ui:included page too. Here is parent page;
Çağdaş
  • 993
  • 1
  • 12
  • 33
2
votes
1 answer

Conditionally rendered button, design, calling an action

JFS1.2 + Richfaces 3.3 Situation is as follows: JSP page renders conditionally one or another panelGroup. Within each panelGroup there are couple setters and one command button. Each of two panelGroups uses own bean for setting and performing…
wilu
  • 549
  • 1
  • 12
  • 26
2
votes
1 answer

JSF 1.2: How to open a new window and catch the fact that user tried it

I'd like to open a new browser window, with everything hidden. Also I'd like to know that the user has initiated the action and record in the backend using JSF. From reading internet, it looks like I can use window.open but then JSF is totally…
Ender Wiggin
  • 414
  • 1
  • 6
  • 16
2
votes
1 answer

Primefaces ajax charset problem

In my earlier post I managed to solve the problem. But, on forms where I tried to use Primefaces' commandButton instead of "regular" commandButton, I encountered a new problem. Somehow, Primefaces ignore charset settings (even when custom Filter is…
Vladimir
  • 305
  • 1
  • 7
  • 16
2
votes
0 answers

Bound values are not getting updated from editable datatable without setting ID in JDK1.5

Bound values are not getting updated from editable data table without setting ID in JDK 1.5. But the same does work without setting ID in JDK 1.6. Does anyone know why? Thanks Code, Bean part public void setDataTable(HtmlDataTable dataTable) { …
Johny T Koshy
  • 3,857
  • 2
  • 23
  • 40
2
votes
1 answer

Comments with jsf ui:insert

I want to put this comment into the : but comment will be removed…
Sisak
  • 559
  • 1
  • 4
  • 14